-
Notifications
You must be signed in to change notification settings - Fork 3k
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
TCPServer::accept() hardfaults if maximum number of sockets open #2523
Comments
Can you provide a code snippet? This will help increase the time it takes reproduce and fix. |
I would hope it'd have the opposite effect ;) Anyway, I hacked mbed-os-example-blinky a bit: https://gist.github.com/tommikas/870cc1a7f50bbf0643d7bc47e6cf5392 |
ARM Internal Ref: IOTMORF-427 |
Thanks for reporting this, that is an interesting corner case but should be easy to fail gracefully (returning |
That sounds like a more reasonable way to handle it. |
#2579 should resolve this problem as suggested. Let us know if there is still an issue. |
This has been fixed. Closing. |
accept()
on the TCPServer socketThe text was updated successfully, but these errors were encountered: