reactor-netty
reactor-netty copied to clipboard
HttpServer should close the connection if response fully sent before request terminated
Here is what we have in the specification
A server MUST read
the entire request message body or close the connection after sending
its response, since otherwise the remaining data on a persistent
connection would be misinterpreted as the next request. Likewise, a
client MUST read the entire response message body if it intends to
reuse the same connection for a subsequent request.
https://tools.ietf.org/html/rfc7230#section-6.3