Browse Source

tls: fix CryptoStream.setKeepAlive()

v0.9.1-release
Shigeki Ohtsu 13 years ago
committed by Ben Noordhuis
parent
commit
e1199fa335
  1. 2
      lib/tls.js

2
lib/tls.js

@ -177,7 +177,7 @@ CryptoStream.prototype.setNoDelay = function(noDelay) {
CryptoStream.prototype.setKeepAlive = function(enable, initialDelay) {
if (this.socket) this.socket.setNoDelay(enable, initialDelay);
if (this.socket) this.socket.setKeepAlive(enable, initialDelay);
};

Loading…
Cancel
Save