Skip to content

getAgent signature #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

getAgent signature #45

wants to merge 1 commit into from

Conversation

weaver
Copy link

@weaver weaver commented May 1, 2011

Hi,

The _getAgent() method is currently passing an options object to getAgent, but the signature of that function is function (host, port). This causes some strange behavior for me. This small patch fixes the problem. Tested against Node 0.4.4 and 0.4.7.

Thanks!

@indexzero
Copy link
Member

I'm going to drop this request. See the discussion here: #48 (comment)

Has to do with inconsistencies in node.js core currently. When v0.4.8 drops, the code as it stands now will work.

I'm going to push a revert commit now and push out v0.5.1

@indexzero indexzero closed this May 10, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants