mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-17 15:17:23 +08:00
fix wg client hang after some time (#297)
wg portal doesn't know client disconnect causing msg overstocked in queue, make entire peer packet process pipeline hang.
This commit is contained in:
@@ -187,10 +187,6 @@ pub enum SocksError {
|
||||
#[error("Error with reply: {0}.")]
|
||||
ReplyError(#[from] ReplyError),
|
||||
|
||||
#[cfg(feature = "socks4")]
|
||||
#[error("Error with reply: {0}.")]
|
||||
ReplySocks4Error(#[from] socks4::ReplyError),
|
||||
|
||||
#[error("Argument input error: `{0}`.")]
|
||||
ArgumentInputError(&'static str),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user