Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
http: fix duplicated variable declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Shigeki Ohtsu authored and bnoordhuis committed May 28, 2012
1 parent c96df0e commit f721d02
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/http.js
Expand Up @@ -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.
Expand Down

0 comments on commit f721d02

Please sign in to comment.