fix(tunnel): 8 stability fixes from code audit + rebuild all binaries

Go client (tunnel.go, listener.go):
- Fix ping goroutine leak on WS reconnect (per-connection wsDone channel)
- Fix muxCLOSE bypassing closeOnce (remoteClose flag)
- Fix stream ID collision on exhaustion (idFound guard)
- Fix connSemaphore release in stream.close() instead of goroutine wrapper
- Fix IPv6 byte order in getOriginalDst (NativeEndian)

Cloudflare Worker (worker.js):
- Fix head-of-line blocking in MUX_DATA (fire-and-forget write)
- Fix double CLOSE frame (cleanupStream guard)
- Add Telegram DC IP allowlist

All 9 binaries rebuilt with Go 1.22.12.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Necronicle 2026-04-12 10:55:12 +03:00
parent 24c069fb74
commit 31f361a8c0
12 changed files with 100 additions and 35 deletions