diff --git a/lib/tls.js b/lib/tls.js index 58481206131..96af640b5d4 100644 --- a/lib/tls.js +++ b/lib/tls.js @@ -241,7 +241,7 @@ CryptoStream.prototype._push = function() { while (this._writeState == true) { var bytesRead = 0; var chunkBytes = 0; - var pool = new Buffer(4096); // alloc every time? + var pool = new Buffer(16 * 4096); // alloc every time? do { chunkBytes = this._pusher(pool, bytesRead, pool.length - bytesRead);