Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TUN-8374: Close UDP socket if registration fails
If cloudflared was unable to register the UDP session with the edge, the socket would be left open to be eventually closed by the OS, or garbage collected by the runtime. Considering that either of these closes happened significantly after some delay, it was causing cloudflared to hold open file descriptors longer than usual if continuously unable to register sessions.
- Loading branch information