Skip to content

Fix Stream Callback never being called in close

Compare
Choose a tag to compare
@VaporBot VaporBot released this 15 Nov 18:46
· 142 commits to main since this release
e227a63
This patch was authored and released by @0xTim.

Fixes a bug where abandoned requests mean that the stream callback is never invoked. This happens when a client sends a request, the server starts processing it but hasn't constructed the Response and then the client closes early. The response is discarded, as is the stream callback so it never gets invoked. This fixes that issue