Closed
Description
We currently have:
ConnectionStrategy#keepAlive
that takes aHttpRequest
and aHttpResponse
so it doesn't know anything about the bodyNettyResponseBodyPart#closeConnection
: ugly as it's a mutable field, and that's aware of theHttpResponse
and the body parts, but not the request
We could have a cleaner solution:
- a Handler can be aware of the
HttpRequest
if it extendsAsyncHandlerExtensions
- instead of using a mutable field, we could add new
State
s:ABORT_AND_CLOSE
andCONTINUE_AND_CLOSE
@jfarcand WDYT?