Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix some corner case client errors #3971
It turns out that the trigger in #3969 does indeed contain a bug. Namely that a request, that is aborted during the request lifecycle, can cause a timeout, and log a 503 response even though nothing was ever sent down the wire.
Further investigation found that this was caused by the stream draining code in the default handler, which never completes if the stream is aborted. This in turn means that the
The other part of the patch relates to the
I have updated the handler, to send a