better-argo-tunnels/cmd/server
Leopere 8024cddc7c
ci/woodpecker/push/woodpecker Pipeline was successful Details
Fix stale Traefik labels causing 502 on tunnel reconnect
Three failure modes fixed:
- Startup: purge all tunnel-* labels so container restarts don't leave
  dead routes pointing to ports that no longer exist
- Reconnect: tear down old listener/port before registering new one for
  the same domain, preventing port leaks
- Race: cleanupConnection skips label removal if a newer connection has
  already taken over the tunnel key

Made-with: Cursor
2026-02-28 20:03:57 -05:00
..
main.go Fix stale Traefik labels causing 502 on tunnel reconnect 2026-02-28 20:03:57 -05:00