Fix #1546 some more. Remove expensive debug call.
This commit is contained in:
parent
711a356468
commit
8e8f36f958
@ -609,7 +609,6 @@ OutgoingMessage.prototype.write = function(chunk, encoding) {
|
|||||||
if (typeof(chunk) === 'string') {
|
if (typeof(chunk) === 'string') {
|
||||||
len = Buffer.byteLength(chunk, encoding);
|
len = Buffer.byteLength(chunk, encoding);
|
||||||
var chunk = len.toString(16) + CRLF + chunk + CRLF;
|
var chunk = len.toString(16) + CRLF + chunk + CRLF;
|
||||||
debug('string chunk = ' + util.inspect(chunk));
|
|
||||||
ret = this._send(chunk, encoding);
|
ret = this._send(chunk, encoding);
|
||||||
} else {
|
} else {
|
||||||
// buffer
|
// buffer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user