tls: fix CryptoStream.setKeepAlive()

This commit is contained in:
Shigeki Ohtsu 2012-03-22 11:50:58 +09:00 committed by Ben Noordhuis
parent ef046bf4f6
commit e1199fa335

View File

@ -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);
};