diff --git a/transport/internet/splithttp/dialer.go b/transport/internet/splithttp/dialer.go index f89c71ed..c8baa23b 100644 --- a/transport/internet/splithttp/dialer.go +++ b/transport/internet/splithttp/dialer.go @@ -183,6 +183,8 @@ func createHTTPClient(dest net.Destination, streamSettings *internet.MemoryStrea if quicParams.KeepAlivePeriod == 0 { if keepAlivePeriod == 0 { quicConfig.KeepAlivePeriod = net.QuicgoH3KeepAlivePeriod + } else if keepAlivePeriod > 0 { + quicConfig.KeepAlivePeriod = keepAlivePeriod } } if quicParams.MaxIncomingStreams == 0 {