github aeroxy/tunnix 0.1.3
tunnix v0.1.3

latest releases: 0.4.0, 0.3.0, 0.2.3...
one month ago

Fixes

  • Auto-reconnect when server restarts — Previously, if the server restarted while the client was running, the SSE stream would silently die (the upstream LB/proxy keeps the TCP socket half-open, so the client never sees an error). Every subsequent CONNECT attempt would fail with a generic "no ACK" log until you manually restarted the client. Now, when any POST to the server fails, the client immediately signals the SSE loop to reconnect, waits up to 5 s for the new stream to establish, and retries the request. Server restarts are now recovered automatically on the next request.

  • Server returns 503 for unknown sessions — When a POST arrives for a session the server doesn't recognise (e.g. after a restart), it now returns 503 Service Unavailable instead of 200 OK with plaintext "unknown session". This makes the failure unambiguous and hooks into the existing reconnect path cleanly.

  • Better CONNECT failure logs — The generic "Failed to send CONNECT or no ACK" message in SOCKS5 and HTTP proxy handlers now includes the actual error or unexpected response, making tunnel failures diagnosable from the log without reproducing.

Don't miss a new tunnix release

NewReleases is sending notifications on new releases.