Skip to content

Commit

Permalink
[api] Added agent.current for traversing
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Nov 19, 2010
1 parent 38d44d3 commit 4a43a96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/http-agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ httpAgent.HttpAgent.prototype = {
self.emit('next', err);
}

self.current = options;
self._visited.unshift(url);
self.response = response;
self.body = body;
Expand Down

0 comments on commit 4a43a96

Please sign in to comment.