mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 20:27:34 +08:00
添加打印log
This commit is contained in:
parent
84da660754
commit
52e25fc08c
@ -95,7 +95,7 @@ void HttpSession::onRecv(const Socket::Buffer::Ptr&pBuf) {
|
||||
static uint32_t reqSize = mINI::Instance()[Config::Http::kMaxReqSize].as<uint32_t>();
|
||||
m_ticker.resetTime();
|
||||
if (m_strRcvBuf.size() + pBuf->size() >= reqSize) {
|
||||
WarnL << "接收缓冲区溢出!";
|
||||
WarnL << "接收缓冲区溢出:" << m_strRcvBuf.size() + pBuf->size() << "," << reqSize;
|
||||
shutdown();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user