bug fixed
This commit is contained in:
parent
4dfda2d0d9
commit
57faa7ddc6
|
|
@ -343,7 +343,7 @@ inline HttpSession::HttpCode HttpSession::Handle_Req_GET() {
|
|||
fclose(pFp);
|
||||
});
|
||||
static uint32_t sendBufSize = mINI::Instance()[Config::Http::kSendBufSize].as<uint32_t>();
|
||||
|
||||
sock->setShouldDropPacket(false);
|
||||
weak_ptr<HttpSession> weakSelf = dynamic_pointer_cast<HttpSession>(shared_from_this());
|
||||
auto onFlush = [pFilePtr,bClose,weakSelf,piLeft]() {
|
||||
TimeTicker();
|
||||
|
|
|
|||
Loading…
Reference in New Issue