From 57faa7ddc6dd8ea412f0721c31209b264ba521af Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Wed, 31 Jan 2018 09:55:55 +0800 Subject: [PATCH] bug fixed --- src/Http/HttpSession.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Http/HttpSession.cpp b/src/Http/HttpSession.cpp index 8947f439..0081e6a1 100644 --- a/src/Http/HttpSession.cpp +++ b/src/Http/HttpSession.cpp @@ -343,7 +343,7 @@ inline HttpSession::HttpCode HttpSession::Handle_Req_GET() { fclose(pFp); }); static uint32_t sendBufSize = mINI::Instance()[Config::Http::kSendBufSize].as(); - + sock->setShouldDropPacket(false); weak_ptr weakSelf = dynamic_pointer_cast(shared_from_this()); auto onFlush = [pFilePtr,bClose,weakSelf,piLeft]() { TimeTicker();