-
Notifications
You must be signed in to change notification settings - Fork 182
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
Example tls_async will leak sockets #375
Comments
Do you reproduce such a problem? |
@ivmarkov Yes, that's what happened to me.
I mean yes, but we are calling In my code I just changed that code to shutdown the socket and that works well for me - but I'm not sure if that's a general solution. Probably it would be enough to just take the Option to trigger the regular |
The reason why If anything in my chain of thought from above is incorrect, we need to revisit |
I understand - in the case of |
esp-idf-svc/examples/tls_async.rs
Line 172 in 730fa36
This will essentially forget the socket, thus leaking it - after a couple of dropped
EspTlsSocket
s, we'll run into IO errors due to too many open files.The text was updated successfully, but these errors were encountered: