http: fix duplicate var initialization
IncomingMessage function contained duplicate initialization of this._pendings. Line with one of those expressions has been removed.
This commit is contained in:
parent
bc764f3dff
commit
eef0ccbcaf
@ -289,7 +289,6 @@ function IncomingMessage(socket) {
|
|||||||
// XXX This implementation is kind of all over the place
|
// XXX This implementation is kind of all over the place
|
||||||
// When the parser emits body chunks, they go in this list.
|
// When the parser emits body chunks, they go in this list.
|
||||||
// _read() pulls them out, and when it finds EOF, it ends.
|
// _read() pulls them out, and when it finds EOF, it ends.
|
||||||
this._pendings = [];
|
|
||||||
|
|
||||||
this.socket = socket;
|
this.socket = socket;
|
||||||
this.connection = socket;
|
this.connection = socket;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user