mirror of
https://github.com/SagerNet/sing.git
synced 2025-04-03 11:57:39 +03:00
Update quic bad error list
This commit is contained in:
parent
0d701cfff0
commit
5a3d0edd1c
1 changed files with 4 additions and 1 deletions
|
@ -55,7 +55,10 @@ func WrapQUIC(err error) error {
|
|||
if err == nil {
|
||||
return nil
|
||||
}
|
||||
if Contains(err, "canceled by local with error code 0") {
|
||||
if Contains(err,
|
||||
"canceled by remote with error code 0",
|
||||
"canceled by local with error code 0",
|
||||
) {
|
||||
return net.ErrClosed
|
||||
}
|
||||
return err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue