From: qydysky Date: Fri, 9 Jun 2023 01:03:14 +0000 (+0000) Subject: Fix 读超时 X-Git-Tag: v0.9.12~1 X-Git-Url: http://127.0.0.1:8081/?a=commitdiff_plain;h=5003e9167e3f2b101baa48296cea19f358e54680;p=bili_danmu%2F.git Fix 读超时 --- diff --git a/Reply/stream.go b/Reply/stream.go index 445e59e..ed568bb 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: readTO * 2 + 1, + WriteLoopTO: int(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`,