z2k/mtproxy-client/builds/tg-mtproxy-client-linux-amd64
Necronicle 98ccaf255d fix(tunnel): Worker closes WS after 40 connects to avoid CF subrequest limit
CF Workers free plan has a per-invocation subrequest limit. After ~50
outbound connect() calls, new connections silently fail (CONNECT_FAIL).
Worker now proactively closes the WS after 40 connects, forcing the
client to reconnect to a fresh invocation. Also closes WS immediately
when connect() throws after 10+ total connects (limit already hit).

Rebuilt all 9 architecture binaries with current tunnel.go.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 23:37:30 +03:00

4.4 MiB
Executable file