-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
libnative does not close port cleanly under some circumstances #11835
Comments
Strangely though, if instead of using a browser you use curl, the problem doesn't happen. |
I think #11845 addresses this? |
I would guess that #11845 is the fix, I'll test manually once it's merged. |
Shouldn't it be calling |
@thestinger shutdown() on a listen socket returns ENOTCONN. The issue here is the two minute grace time (or whatever the platform default is) for TCP ports. |
[`missing_asserts_for_indexing`]: accept length equality checks Fixes rust-lang#11835 The lint now allows indexing with indices 0 and 1 when an `assert!(x.len() == 2);` is found. (Also fixed a typo in the doc example) changelog: [`missing_asserts_for_indexing`]: accept len equality checks as a valid assertion
Machine: Ubuntu 13.10, 64-bit
rustc version: 0.10-pre (master)
Steps to reproduce:
Now you should see a task failure like this:
The text was updated successfully, but these errors were encountered: