-
Notifications
You must be signed in to change notification settings - Fork 21
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
Panic in src/responder.rs:114:18 { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable } #33
Comments
Backtrace of bug
|
Fix has been deployed |
The problem was with the way responses were sent to clients. This is the problematic block in responder.rs let bytes_sent = socket
.send_to(&resp_bytes, &src_addr)
.expect("send_to failed"); Roughtime's server is non-blocking (async) built on Mio. The client The The "fix" is a band-aid: check the return value of One might think "a correct fix is to re-attempt delivery". That's probably correct but the retry logic must ensure that the |
Full log message was:
thread 'main' panicked at 'send_to failed: Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }', src/responder.rs:114:18
Seen on
roughtime.int08h.com
The text was updated successfully, but these errors were encountered: