From a69cb0d36f2f3e1840666472b54ace2703586123 Mon Sep 17 00:00:00 2001 From: bmc Date: Tue, 9 Jul 2013 23:35:13 -0500 Subject: [PATCH] Remove unused function Just a bit of code cleanup --- lib/connection.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lib/connection.js b/lib/connection.js index f604857..a48c8de 100644 --- a/lib/connection.js +++ b/lib/connection.js @@ -297,19 +297,6 @@ Connection.prototype.setBuffer = function(buffer) { 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() { var remaining = this.buffer.length - (this.offset); if(remaining < 5) {