Files
x/dialer
Andrew Beresford ac99425002 feat: extend TCP keepalive support to all TCP-based listeners and dialers
Add configurable TCP keepalive (keepalive, keepalive.idle,
keepalive.interval, keepalive.count) to all TCP-based transport types:
tls, mtls, mtcp, ws/wss, mws/mwss, http2, ssh, sshd listeners and
tls, mtls, mtcp, ws/wss, mws/mwss, ssh, sshd dialers.

For types that already use "keepalive" for an app-level protocol
(grpc listener/dialer, ws/mws dialers, ssh/sshd dialers), the TCP
keepalive parameters are exposed under the tcp.keepalive.* prefix to
avoid ambiguity.

Also extract shared helpers into internal/net/keepalive.go:
- WrapKeepaliveListener: applies KeepAliveConfig on every accepted TCPConn
- ApplyKeepalive: applies KeepAliveConfig to a single TCPConn

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-08 14:32:53 +01:00
..
2022-11-29 09:45:51 +08:00
2025-08-04 19:29:38 +08:00
2022-04-07 23:03:31 +08:00
2025-08-05 20:24:00 +08:00
2025-06-25 21:06:23 +08:00
2024-10-10 22:49:56 +08:00
2024-10-10 22:49:56 +08:00
2025-06-25 21:06:23 +08:00
2023-10-15 23:55:52 +08:00
2025-11-11 12:37:33 +08:00
2023-09-18 23:14:55 +08:00
2024-07-08 22:38:21 +08:00