Skip to content
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

Making requests to host name in format something.something makes requestify slow #14

Open
arttu76 opened this issue Mar 3, 2014 · 0 comments

Comments

@arttu76
Copy link

arttu76 commented Mar 3, 2014

Hi and first of all thanks for an amazing module!

I had the following entries in my /etc/hosts

127.0.0.1 foo.local
127.0.0.1 foolocal
127.0.0.1 foo

Whenever making a get request with the name "foo.local", requestify took over 5 seconds to start the request - as if it spent ages in host name lookup. If I used any of the other two variations (or used a plain ip address), then requestify worked ok.

If the requests were done from, for example, a web browser, every request was very fast.

This is on OSX, requestify version is 0.1.16 and with node 0.10.26 (tested it with node 0.8.x and requestify behaved similarly).

I'm sorry I haven't really looked deeply into this - perhaps this is not a requestify issue after all - but every other http library worked just fine so I thought maybe you were interested in testing this at your end...

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

No branches or pull requests

1 participant