cloudflare / boringtun

Userspace WireGuard® Implementation in Rust
BSD 3-Clause "New" or "Revised" License
5.92k stars 396 forks source link

Stop leaking file descriptors #387

Open thomasqueirozb opened 5 months ago

thomasqueirozb commented 5 months ago

Fixes #170

~The thread::sleep isn't ideal but I didn't see a simple way to wait until the queue is dropped to check the number of fds.~