Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Enable the TCP Nagle Algorithm as recommended by Apple

  • Loading branch information...
commit 5e21b868e46c2507f4659a9d53f69c0166c33895 1 parent 97a9aeb
@argon authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/connection.js
View
1  lib/connection.js
@@ -181,6 +181,7 @@ Connection.prototype.connect = function () {
this.deferredConnection.resolve();
}.bind(this));
+ this.socket.setNoDelay(false);
this.socket.on('data', this.handleTransmissionError.bind(this));
this.socket.on("drain", this.socketDrained.bind(this));
this.socket.on('clientError', this.errorOccurred.bind(this));
Please sign in to comment.
Something went wrong with that request. Please try again.