Skip to content

Commit 4d0416c

Browse files
committed
Add setNoDelay to cryptostream
1 parent b22b5e3 commit 4d0416c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

lib/tls.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ CryptoStream.prototype.setTimeout = function(n) {
8181
};
8282

8383

84+
CryptoStream.prototype.setNoDelay = function() {
85+
if (this.socket) this.socket.setNoDelay();
86+
};
87+
88+
8489
// EG '/C=US/ST=CA/L=SF/O=Joyent/OU=Node.js/CN=ca1/emailAddress=ry@clouds.org'
8590
function parseCertString(s) {
8691
var out = {};

0 commit comments

Comments
 (0)