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

Commit

Permalink
Browse files Browse the repository at this point in the history
http: use self insted of this
  • Loading branch information
koichik committed Jan 5, 2012
1 parent 3452477 commit baebd30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/http.js
Expand Up @@ -903,7 +903,7 @@ function Agent(options) {
self.requests[name].shift().onSocket(socket);
if (self.requests[name].length === 0) {
// don't leak
delete this.requests[name];
delete self.requests[name];
}
} else {
// If there are no pending requests just destroy the
Expand Down

0 comments on commit baebd30

Please sign in to comment.