z2k/mtproxy-client
Necronicle e688fb1963 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>
2026-04-11 20:34:01 +03:00
..
builds fix: rebuild all binaries with Go 1.22, remove legacy MTProxy code, add transparent WS reconnect 2026-04-11 20:34:01 +03:00
.gitignore feat(builds): бинарники для всех архитектур в репо 2026-04-10 01:52:54 +03:00
go.mod fix: rebuild all binaries with Go 1.22, remove legacy MTProxy code, add transparent WS reconnect 2026-04-11 20:34:01 +03:00
go.sum fix: rebuild all binaries with Go 1.22, remove legacy MTProxy code, add transparent WS reconnect 2026-04-11 20:34:01 +03:00
listener.go build: recompile all 9 architectures with tunnel support 2026-04-11 01:17:30 +03:00
main.go fix: rebuild all binaries with Go 1.22, remove legacy MTProxy code, add transparent WS reconnect 2026-04-11 20:34:01 +03:00
Makefile feat(mtproxy): transparent MTProxy клиент для Telegram (WIP) 2026-04-09 20:39:37 +03:00
S97tg-mtproxy fix(mtproxy): modprobe xt_REDIRECT, stderr подавлен, ping/pong для WS 2026-04-10 13:55:07 +03:00
tunnel.go fix: rebuild all binaries with Go 1.22, remove legacy MTProxy code, add transparent WS reconnect 2026-04-11 20:34:01 +03:00