diff --git a/lib/tls.js b/lib/tls.js index 4324038cd4..95d9d1c0e0 100644 --- a/lib/tls.js +++ b/lib/tls.js @@ -81,6 +81,11 @@ CryptoStream.prototype.setTimeout = function(n) { }; +CryptoStream.prototype.setNoDelay = function() { + if (this.socket) this.socket.setNoDelay(); +}; + + // EG '/C=US/ST=CA/L=SF/O=Joyent/OU=Node.js/CN=ca1/emailAddress=ry@clouds.org' function parseCertString(s) { var out = {};