mirror of https://github.com/nodejs/node.git
http: fix duplicate var initialization
IncomingMessage function contained duplicate initialization of this._pendings. Line with one of those expressions has been removed.pull/24504/head
parent
bc764f3dff
commit
eef0ccbcaf
|
@ -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…
Reference in New Issue