Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

This 'end' listener should have been removed with the previous commit.

  • Loading branch information...
commit 316522c95f3e4a5461eeddecc0ea32a4077f6fca 1 parent b1e3d6a
@argon authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  lib/connection.js
View
1  lib/connection.js
@@ -195,7 +195,6 @@ Connection.prototype.connect = function () {
this.socket.on("data", this.handleTransmissionError.bind(this));
this.socket.on("drain", this.socketDrained.bind(this));
this.socket.on("clientError", this.errorOccurred.bind(this));
- this.socket.on("end", this.destroyConnection.bind(this));
this.socket.once("close", this.restartConnection.bind(this));
this.socket.socket.connect(this.options['port'], this.options['gateway']);
Please sign in to comment.
Something went wrong with that request. Please try again.