mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
tls: fix CryptoStream.setKeepAlive()
This commit is contained in:
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
Block a user