mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
http: fix duplicated variable declaration
This commit is contained in:
committed by
Ben Noordhuis
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.
|
||||
|
||||
Reference in New Issue
Block a user