mirror of https://github.com/nodejs/node.git
http: fix duplicated variable declaration
parent
c96df0e37a
commit
f721d02c8a
|
@ -1284,7 +1284,6 @@ function socketCloseListener() {
|
|||
var parser = socket.parser;
|
||||
var req = socket._httpMessage;
|
||||
debug('HTTP socket close');
|
||||
var req = socket._httpMessage;
|
||||
req.emit('close');
|
||||
if (req.res && req.res.readable) {
|
||||
// Socket closed before we emitted 'end' below.
|
||||
|
|
Loading…
Reference in New Issue