ExecutionContext to be used for all Future continuations WARNING: The ExecutionContext should trampoline or risk possibly unhandled stack overflows
ExecutionContext to be used for all Future continuations WARNING: The ExecutionContext should trampoline or risk possibly unhandled stack overflows
Check Connection header and add applicable headers to response
Check Connection header and add applicable headers to response
Makes a EntityBody and a function used to drain the line if terminated early.
Makes a EntityBody and a function used to drain the line if terminated early.
starting ByteBuffer
to use in parsing.
If the other end hangs up, this is the condition used in the Process for termination.
The desired result will differ between Client and Server as the former can interpret
and Command.EOF
as the end of the body while a server cannot.
Cleans out any remaining body from the parser
Cleans out any remaining body from the parser
Called when a fatal error has occurred The method logs an error and shuts down the stage, sending the error outbound
Called when a fatal error has occurred The method logs an error and shuts down the stage, sending the error outbound
Get the proper body encoder based on the message headers, adding the appropriate Connection and Transfer-Encoding headers along the way
Get the proper body encoder based on the message headers, adding the appropriate Connection and Transfer-Encoding headers along the way
Get the proper body encoder based on the message headers
Get the proper body encoder based on the message headers
Utility bits for dealing with the HTTP 1.x protocol