-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
0.12.7 vs 4.1.1 - Are there some changes in net.Socket? #3056
Comments
I don't believe any major changes have landed in the |
@brendanashworth I don't understand, what should I do more now. I added the minimal code for reproduction, did you try it? Did you same results? |
@o5 after changing the IP to |
@brendanashworth that is possible, but I don't want to scan local network. |
Its interesting, when you remove the "server wrapper", it works fine. |
It's also better to have a reproducible example that excludes any/all third party modules. |
Please see https://github.com/nodejs/node/wiki/API-changes-between-v0.10-and-v4#net It's possible that there were more changes than that, but I did an awful lot of digging and didn't find anything else. |
libuv is likely where changes have occurred that impact on this, perhaps have a scan through the libuv changelog to see if anything stands out |
@rvagg hmmm, ok, I'll have a look this week if I get the chance. |
Same for v4.1.2 :-/ |
Yes, until you hear here nothing will have changed. :)
|
Can anyone confirm this bug? |
Can you try running this with the latest stable? The latest stable version is v5.5.0. I am not able to reproduce the issue on it. Thanks! |
Closing for lack of any updates. Can reopen if necessary. |
Hi,
I created a small micro-service called "Port Checker Tool", but today, I tried to upgrade from
v0.12.7
tov4.1.1
but service doesn't work for now.I prepared a small code for reproduction. It does nothing special, it creates a HTTP server, listen on port 8000 and when you open
http://localhost:8000/start
in your browser, it will create a sync queue with ports for checking connection (is connection on some port is open or not). I'm using a last version of async library"async": "~1.4.2"
.index.js
There are two differences when node is 4.1.1
There is an output from terminal, when I use an old version of Node.
[~/]$ node -v v0.12.7 [~/]$ node index.js PORT:70: 1009ms CLOSED PORT:72: 1002ms CLOSED PORT:74: 1004ms CLOSED PORT:76: 1003ms CLOSED PORT:78: 1005ms CLOSED PORT:80: 15ms OPEN PORT:82: 1003ms CLOSED PORT:84: 1004ms CLOSED PORT:86: 1003ms CLOSED PORT:88: 1004ms CLOSED PORT:90: 1004ms CLOSED THE END!
and there for new Node.js.
Maybe, I have something wrong with my code which work only with old version of node.
OSX 10.10.5
Thank you!
The text was updated successfully, but these errors were encountered: