socks5_reconnect: handle socks5 server down
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
ad2c892192
commit
d968ed3029
@ -216,7 +216,7 @@ impl RendezvousMediator {
|
||||
},
|
||||
Some(Err(e)) => bail!("Failed to receive next {}", e), // maybe socks5 tcp disconnected
|
||||
None => {
|
||||
// unreachable!()
|
||||
bail!("Socket receive none. Maybe socks5 server is down.");
|
||||
},
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user