mirror of
https://github.com/necronicle/z2k.git
synced 2026-04-29 12:00:30 +00:00
fix: rebuild all binaries with Go 1.22, remove legacy MTProxy code, add transparent WS reconnect
- Build all 9 arch binaries with Go 1.22.12 to fix MIPS crash (Go issue #71591) - Remove dead MTProxy/transparent mode code (relay.go, secret.go, transparent.go, dcmap.go) - Drop gotd/td dependency — only gorilla/websocket + stdlib remain - Tunnel is now the only mode, --tunnel flag removed - Transparent WS reconnect: keep client TCP alive during CF Worker WS drops - Re-CONNECT surviving streams after WS reconnects — seamless for clients - streamReadLoop waits for WS instead of dying on disconnect - New connections wait up to 5s for WS during reconnect instead of dropping - Drain connect semaphore on WS disconnect to prevent deadlock - Worker: MAX_STREAMS 200→100, improved logging Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
0b263e1c52
commit
e688fb1963
19 changed files with 162 additions and 1575 deletions
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue