diff --git a/route/route.go b/route/route.go index aec5281c..5fadff0a 100644 --- a/route/route.go +++ b/route/route.go @@ -700,7 +700,7 @@ func (r *Router) actionSniff( } if err != nil { sniffBuffer.Release() - if !errors.Is(err, context.DeadlineExceeded) { + if !E.IsTimeout(err) { fatalErr = err return }