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 unwrap (for EndpointInner
)
#283
Comments
Not sure if it's related but actively calling I'm deducing ^^^ from certain printouts but I'm not exclusively checking if that's what's happening. If you can confirm then it'll save me trying to produce that exact scenario. If the driver indeed doesn't resolve on connection closure then i think that too is not great and should be made to do so ? |
Thanks for the backtrace, this is really great testing! The backtrace indicates
The intended behavior is that the For background: the draining period exists to ensure packets that were already in-flight from the peer when we started closing will be gracefully dropped, rather than eliciting spurious stateless resets; it also gives us opportunity to retransmit the close packet if necessary. It's explicitly permitted to forego the draining period if you're about to close the socket anyway (so there's no risk of spurious resets). |
After this was closed #277 (comment) using the new code now sometimes panics with the following backtrace:
so that's probably https://github.com/djc/quinn/blob/856b2f570a0e72666568403d4ae7b6e9a8627dc3/quinn/src/endpoint.rs#L202
The text was updated successfully, but these errors were encountered: