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:
Sijie.Sun
2024-08-31 12:44:12 +08:00
committed by GitHub
parent 6964fb71fc
commit 2058dbc470
3 changed files with 43 additions and 9 deletions

View File

@@ -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),