mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-14 13:47:24 +08:00
fix listener stop accept after failure
This commit is contained in:
@@ -183,7 +183,7 @@ and the vpn client is in network of 10.14.14.0/24"
|
||||
|
||||
#[arg(
|
||||
long,
|
||||
help = "path to the log file, if not set, will print to stdout",
|
||||
help = "latency first mode, will try to relay traffic with lowest latency path, default is using shortest path",
|
||||
default_value = "false"
|
||||
)]
|
||||
latency_first: bool,
|
||||
@@ -528,6 +528,13 @@ pub async fn async_main(cli: Cli) {
|
||||
));
|
||||
}
|
||||
|
||||
GlobalCtxEvent::ListenerAcceptFailed(p, msg) => {
|
||||
print_event(format!(
|
||||
"listener accept failed. listener: {}, msg: {}",
|
||||
p, msg
|
||||
));
|
||||
}
|
||||
|
||||
GlobalCtxEvent::ListenerAdded(p) => {
|
||||
if p.scheme() == "ring" {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user