Andrew Beresford 290e9c37d5 Make pipe read timeout configurable via idleTimeout metadata
The 30s hardcoded readTimeout in Pipe() caused all CONNECT tunnel
connections to be hard-closed after 30s of inactivity, breaking
WebSocket and long-polling connections through the proxy.

Pipe() now accepts a WithReadTimeout(d) option. When d is 0 (the
default) no read deadline is set, relying on TCP keepalives or context
cancellation to detect dead connections instead.

The HTTP handler exposes this as the idleTimeout metadata key.

Fixes: https://github.com/go-gost/x/issues/91
2026-05-08 11:31:53 +01:00
2025-08-29 23:36:31 +08:00
2025-08-29 23:36:31 +08:00
2025-08-29 23:36:31 +08:00
2025-08-29 23:36:31 +08:00
2025-08-05 00:13:48 +08:00
WIP
2026-04-21 21:05:43 +08:00
2025-08-04 19:29:38 +08:00
2025-08-10 18:36:43 +08:00
2025-08-09 16:34:04 +08:00
2025-08-29 23:36:31 +08:00
2025-08-09 16:34:04 +08:00
2026-04-21 21:34:50 +08:00
2025-01-08 23:12:06 +08:00
2025-10-11 21:54:16 +08:00
2025-08-04 19:29:38 +08:00
2024-09-14 23:21:25 +08:00
2025-02-08 23:07:54 +08:00
2024-10-22 22:51:33 +08:00
WIP
2026-04-21 21:05:43 +08:00
2025-11-11 12:37:33 +08:00
2022-03-14 20:27:50 +08:00
fix
2026-04-21 20:53:10 +08:00

The extended (may be experimental) features outside the main gost tree.

S
Description
No description provided
Readme 8 MiB
Languages
Go 100%