Files
x/dialer
ginuerzh 9fab332772 fix(dialer): prevent hang on HTTP+ICMP by enabling QUIC keepalive by default
The ICMP dialer required explicit keepalive:true to send QUIC PING frames,
while the regular QUIC dialer enabled keepalive by default (10s period).
Without PING frames, quic-go's 30s idle timeout silently killed connections,
causing HTTP+ICMP tunnels to hang after periods of inactivity.

Fixes go-gost/gost#352

Also in this commit:
- Release session mutex before calling GetConn() in both ICMP and QUIC
  dialers, so a dead session doesn't block all Dial() calls while
  OpenStreamSync blocks
- Add 30s timeout context to OpenStreamSync to prevent indefinite blocking
  if the QUIC session dies between liveness check and stream open
- Guard session cache deletion with pointer identity check to avoid
  evicting a newly created session during a race
2026-06-21 10:09:34 +08:00
..
2022-11-29 09:45:51 +08:00
2022-04-07 23:03:31 +08:00
2025-08-05 20:24:00 +08:00
2024-10-10 22:49:56 +08:00
2024-10-10 22:49:56 +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