-
Notifications
You must be signed in to change notification settings - Fork 12
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
http: Put exception in the queue in connection_lost #25
base: master
Are you sure you want to change the base?
Conversation
Thanks @MarcSchmitzer for the report! I made the logic slightly more robust to also cover the situation where the connection is lost while reading a response body. Can you have a look at this branch: pr-25, and tell me if it solves your problem? |
Hi, Maybe clear EDIT: Adding a |
The client fiber may already be blocked on the queue (in getresponse) when connection_lost is invoked. The code in getresponse already handles getting an exception from the queue.
7ce4782
to
b48e14b
Compare
Any updates on this? I've updated the branch with your variant of the "Put exception in queue" commit and another commit that drops the message object in Would be nice if you could merge and release this. |
The client fiber may already be blocked on the queue (in getresponse)
when connection_lost is invoked.
The code in getresponse already handles getting an exception from the
queue.