Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Don't wait to consume the entire request body for Connection: close requests #406
If you hit a sample app running on Kestrel with ab (apache bench which makes HTTP/1.0 requests), every request times out.
This is caused by Kestrel becoming stuck on
I think we fix this by simply not consuming the rest of the request for non keep-alive connections.
@benaadams The fix is simple. I was thinking something like:
Is this what you were thinking? The only reason this isn't in a PR yet is we need a regression test.