Browse Source

Fix #1546 some more. Remove expensive debug call.

v0.7.4-release
Ben Noordhuis 14 years ago
parent
commit
8e8f36f958
  1. 1
      lib/http2.js

1
lib/http2.js

@ -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…
Cancel
Save