Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

http: use `self` insted of `this`

  • Loading branch information...
commit baebd30eeec84d73617183be4b5be92557518d6c 1 parent 3452477
@koichik koichik authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/http.js
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.