mirror of
https://github.com/SagerNet/sing.git
synced 2025-04-04 20:37:40 +03:00
Fix quic error wrapper
This commit is contained in:
parent
b0849c43a6
commit
1453c7c8c2
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ func WrapQUIC(err error) error {
|
||||||
if err == nil {
|
if err == nil {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
if Contains(err, "canceled with error code 0") {
|
if Contains(err, "canceled by local with error code 0") {
|
||||||
return net.ErrClosed
|
return net.ErrClosed
|
||||||
}
|
}
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue