mirror of
https://github.com/SagerNet/sing.git
synced 2025-04-05 04:47:40 +03:00
Crazy sekai overturns the small pond
This commit is contained in:
parent
72db784fc7
commit
0f2447a95b
15 changed files with 588 additions and 138 deletions
|
@ -12,7 +12,6 @@ type TimeoutError interface {
|
|||
func IsTimeout(err error) bool {
|
||||
var netErr net.Error
|
||||
if errors.As(err, &netErr) {
|
||||
//goland:noinspection GoDeprecation
|
||||
//nolint:staticcheck
|
||||
return netErr.Temporary() && netErr.Timeout()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue