Docker HTTP/1.1 handoff for a host listener that owns the downstream stream.
The host passes the parsed request, its bounded body and any bytes already read after that body. After admission and an accepted engine handshake the relay writes the response and owns both streams. Otherwise the host retains its stream and can send the returned ordinary HTTP response.
Summary
Functions
Forward a raw-capable request using separate admission and stream deadlines.
Functions
Forward a raw-capable request using separate admission and stream deadlines.
The request contains :method, :path, :query, :headers and :body
with optional host peer metadata. Header names are lowercase. The listener
must parse HTTP/1.1 framing before handing off and authenticate via the
configured host callback.