blckngm / titun

Simple, fast, and cross-platform IP tunnel written in Rust. WireGuard compatible.
GNU General Public License v3.0
45 stars 2 forks source link

Fix ns test #266

Closed blckngm closed 4 years ago

blckngm commented 4 years ago

There was a bug introduced in #149, but our integration test failed to detect it.

This bug seems to be that setting listening port does not correctly wake up the UDP receiving task. This is fixed by switching to futures::select_biased macro instead of tokio::select.

blckngm commented 4 years ago

bors r+

bors[bot] commented 4 years ago

Canceled.

blckngm commented 4 years ago

bors retry

bors[bot] commented 4 years ago

Build succeeded: