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
127.0.0.1:0 causes exception in io.js@2 #67
Comments
@stevenvachon hm... I get this error only on |
Is there an io.js ticket for this? If not, can you open one? I don't see how this is relevant to |
var req = require("http").request({hostname:"127.0.0.1",port:0});
req.on("error",function(e){throw e}); does not produce the same error |
Again, for me it makes no sense to attempt to connect to port 0… |
It doesn't, and is the cause of dev error. But should it throw an error when all other errors are passed in the callback (in "request" and "got" libs) |
Ahhh, I understand now! Indeed it would make sense for all errors to be async. |
Seems like it's fixed in Node 4:
|
request lib also has this issue: request/request#1596
The text was updated successfully, but these errors were encountered: