Handle WireGuardError::ConnectionExpired
TitanNano opened this issue · 1 comments
TitanNano commented
In wg.rs
when an WireGuardError::ConnectionExpired
is encountered, the error is just being logged.
Line 123 in 85195d8
It would be much better if this error was handled and the connection re-established.
aramperes commented
Looks like boringtun closes the UDP socket when this happens. I suppose we'd have to reopen a new one and reinitialize Tunn.
PR is welcome, otherwise I'll address this when I have time