http: Put exception in the queue in connection_lost#25
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.