-
Notifications
You must be signed in to change notification settings - Fork 340
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
Socket leak starting with async-std 1.6.4 #891
Comments
Oh no; thanks for the report! This may be related to #888, which was tracked back to the changes in the latest |
This may also be related to smol-rs/async-io#31; not sure. |
So smol-rs/async-io#31 is fixed and this bug is still there on async-io 1.1.5. |
The bug was introduced when I pushed a fix a moment ago in Thanks for the bug report! |
Yes it works. Thanks for the fix! |
This example:
Crashes with
thread 'main' panicked at 'Unexpected error: Too many open files (os error 24)', examples/test-connect.rs:6:23
while it shouldn't and didn't crash in 1.6.3. The crash means file descriptors are leaking (maybe because of a memory leak, but I didn't investigate further).This file descriptor leak is still there in 1.6.5 and master as of f09fa42.
The text was updated successfully, but these errors were encountered: