What about the ConnectContext? We have a client use-case that would profit from TCP keepalive (long-running HTTP 2.0 connections through a proxy that drops IDLE connections without keepalive)
I'd be open to provide a simple MR adding this to ConnectContext and BindContext. Implementation-wise we'd have a bit of an outlier because you cannot set tcp-keepalive in the stream-context array. Instead, we'd need to call socket_import_stream and socket_set_option on after stream_socket_server/stream_socket_client.
What about the
ConnectContext
? We have a client use-case that would profit from TCP keepalive (long-running HTTP 2.0 connections through a proxy that drops IDLE connections without keepalive)I'd be open to provide a simple MR adding this to
ConnectContext
andBindContext
. Implementation-wise we'd have a bit of an outlier because you cannot set tcp-keepalive in the stream-context array. Instead, we'd need to callsocket_import_stream
andsocket_set_option
on afterstream_socket_server
/stream_socket_client
.WDYT?