Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

http: use `self` insted of `this`

  • Loading branch information
koichik committed Jan 5, 2012
1 parent 3452477 commit baebd30eeec84d73617183be4b5be92557518d6c
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/http.js
@@ -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

0 comments on commit baebd30

Please sign in to comment.
You can’t perform that action at this time.