mirror of https://github.com/nodejs/node.git
tls: fix CryptoStream.setKeepAlive()
parent
ef046bf4f6
commit
e1199fa335
|
@ -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…
Reference in New Issue