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