Remove unused function
Just a bit of code cleanup
This commit is contained in:
parent
e778348fe1
commit
a69cb0d36f
@ -297,19 +297,6 @@ Connection.prototype.setBuffer = function(buffer) {
|
|||||||
this.offset = 0;
|
this.offset = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
Connection.prototype.readSslResponse = function() {
|
|
||||||
var remaining = this.buffer.length - (this.offset);
|
|
||||||
if(remaining < 1) {
|
|
||||||
this.lastBuffer = this.buffer;
|
|
||||||
this.lastOffset = this.offset;
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return {
|
|
||||||
name: 'sslresponse',
|
|
||||||
text: this.buffer[this.offset++]
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
Connection.prototype.parseMessage = function() {
|
Connection.prototype.parseMessage = function() {
|
||||||
var remaining = this.buffer.length - (this.offset);
|
var remaining = this.buffer.length - (this.offset);
|
||||||
if(remaining < 5) {
|
if(remaining < 5) {
|
||||||
|
Loading…
Reference in New Issue
Block a user