From: qydysky Date: Fri, 9 Jun 2023 00:58:14 +0000 (+0800) Subject: Fix 读超时 X-Git-Tag: v0.9.12~2 X-Git-Url: http://127.0.0.1:8081/?a=commitdiff_plain;h=49d825f78b58810a3661353902c7f4c55e9c8f70;p=bili_danmu%2F.git Fix 读超时 --- diff --git a/Reply/stream.go b/Reply/stream.go index 0a29bae..445e59e 100644 --- a/Reply/stream.go +++ b/Reply/stream.go @@ -796,7 +796,7 @@ func (t *M4SStream) saveStreamFlv() (e error) { NoResponse: true, Async: true, Proxy: t.common.Proxy, - WriteLoopTO: 3000, + WriteLoopTO: readTO * 2 + 1, Header: map[string]string{ `Host`: surl.Host, `User-Agent`: `Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0`,