Add Keep-Alive
header if keep_alive
is on
#3532
Labels
Component: Transport
Dealing with the transport
Keep-Alive
header if keep_alive
is on
#3532
If
keep_alive
is set toTrue
, we currently set a bunch of TCP socket options. There are also respective HTTP headers (Connection
andKeep-Alive
) that we don't set.Apparently HTTP/1.1 keeps connections open by default and the
Connection
header is not needed. However, a reasonableKeep-Alive
that is in line with the timeout in the socket options would be good to add.The text was updated successfully, but these errors were encountered: