Browse Source

http: fix duplicate var initialization

IncomingMessage function contained duplicate initialization
of this._pendings. Line with one of those expressions has been
removed.
v0.9.7-release
Alexandr Emelin 12 years ago
committed by Ben Noordhuis
parent
commit
eef0ccbcaf
  1. 1
      lib/http.js

1
lib/http.js

@ -289,7 +289,6 @@ function IncomingMessage(socket) {
// XXX This implementation is kind of all over the place
// When the parser emits body chunks, they go in this list.
// _read() pulls them out, and when it finds EOF, it ends.
this._pendings = [];
this.socket = socket;
this.connection = socket;

Loading…
Cancel
Save