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();