From ec9b8c6471e6ccff0fc5885d13b41113dd0640ac Mon Sep 17 00:00:00 2001 From: ziyue <1213642868@qq.com> Date: Fri, 13 Aug 2021 10:57:04 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=8D=E4=BD=8Ehttp=E9=93=BE=E6=8E=A5?= =?UTF-8?q?=E6=96=AD=E5=BC=80=E6=97=A5=E5=BF=97=E7=BA=A7=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Http/HttpSession.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Http/HttpSession.cpp b/src/Http/HttpSession.cpp index dcc7b152..ebe83bea 100644 --- a/src/Http/HttpSession.cpp +++ b/src/Http/HttpSession.cpp @@ -118,9 +118,9 @@ void HttpSession::onError(const SockException& err) { } //http客户端 - if(_ticker.createdTime() < 10 * 1000){ + if (!_is_live_stream) { TraceP(this) << err.what(); - }else{ + } else { WarnP(this) << err.what(); } }