From: qydysky Date: Tue, 8 Jun 2021 15:47:36 +0000 (+0800) Subject: stream skip some tmporary error X-Git-Tag: v0.5.10~41^2~118 X-Git-Url: http://127.0.0.1:8081/?a=commitdiff_plain;h=5e6977f9897b65186c535e08165c307092d430bc;p=bili_danmu%2F.git stream skip some tmporary error --- diff --git a/Reply/F.go b/Reply/F.go index 60515ad..35a28f1 100644 --- a/Reply/F.go +++ b/Reply/F.go @@ -1113,7 +1113,7 @@ func Savestreamf(){ if e == no_Modified { time.Sleep(time.Duration(2)*time.Second) continue - } else if reqf.IsTimeout(e) || reqf.IsDnsErr(e) { + } else if reqf.IsTimeout(e) || strings.Contains(e.Error(), "x509") { l.L(`I: `,e) continue } else { @@ -1242,6 +1242,7 @@ func Savestreamf(){ }) for i:=0;i