Add a NoDelayAcceptor that can be used to set the TCP_NODELAY flag on accepted streams. Also exposes a Builder from hyper-util to allow for a user to configure the HTTP options they previously did.
Unfortunately, the hyper-util builder is not Clone or Debug, even though the field types are, so I needed to manually derive Debug for Server and used an Arc to reuse the Builder in the various accept tasks. Those workarounds can be removed if hyperium/hyper-util#72 is accepted.
Add a
NoDelayAcceptor
that can be used to set theTCP_NODELAY
flag on accepted streams. Also exposes aBuilder
fromhyper-util
to allow for a user to configure the HTTP options they previously did.Unfortunately, the
hyper-util
builder is notClone
orDebug
, even though the field types are, so I needed to manually deriveDebug
forServer
and used anArc
to reuse theBuilder
in the various accept tasks. Those workarounds can be removed if hyperium/hyper-util#72 is accepted.