reactor-netty icon indicating copy to clipboard operation
reactor-netty copied to clipboard

HttpServer should close the connection if response fully sent before request terminated

Open smaldini opened this issue 7 years ago • 1 comments

smaldini avatar Apr 18 '18 03:04 smaldini

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

violetagg avatar Apr 18 '18 04:04 violetagg