http: fix duplicated variable declaration

pull/24503/head
Shigeki Ohtsu 2012-05-28 15:36:04 +09:00 committed by Ben Noordhuis
parent c96df0e37a
commit f721d02c8a
1 changed files with 0 additions and 1 deletions

View File

@ -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.