forked from Jigsaw-Code/outline-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed double mutex acquisition deadlock when recreating UDP session
minor: Opportunistically clean-up stale route rule in outline-cli closes Jigsaw-Code#342
- Loading branch information
Showing
2 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is purely lifestyle fix. When debugging
outline-cli
, it is possible to shutdown the process immediately - that will lead to retaining this rule in routing table. It will not interfere with networking but it will preventoutline
from running until reboot, which is annoying.Now if there is a stale rule, it will fail to run once, when it will report an error but remove the offending rule. Then on the next run it will work without problems.