Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
tls: fix CryptoStream.setKeepAlive()
Browse files Browse the repository at this point in the history
  • Loading branch information
Shigeki Ohtsu authored and bnoordhuis committed Mar 22, 2012
1 parent ef046bf commit e1199fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tls.js
Expand Up @@ -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);
};


Expand Down

0 comments on commit e1199fa

Please sign in to comment.