mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 20:27:34 +08:00
优化日志
This commit is contained in:
parent
e63daba2f0
commit
9fe6587bd3
@ -1 +1 @@
|
||||
Subproject commit d01d88829a033b49dc3cfdb4418cf1b8225af68a
|
||||
Subproject commit efa7c8ee4f1cc61cac11d32832a09d900008f44b
|
@ -139,7 +139,7 @@ void HttpClient::onRecvBytes(const char* data, int size) {
|
||||
for(auto &pr: _parser.getValues()){
|
||||
printer << pr.first << ":" << pr.second << "\r\n";
|
||||
}
|
||||
FatalL << _totalBodySize << ":" << _recvedBodySize << "\r\n" << (printer << endl);
|
||||
ErrorL << _totalBodySize << ":" << _recvedBodySize << "\r\n" << (printer << endl);
|
||||
shutdown();
|
||||
return;
|
||||
}
|
||||
@ -168,7 +168,7 @@ void HttpClient::onRecvBytes(const char* data, int size) {
|
||||
for(auto &pr: _parser.getValues()){
|
||||
printer << pr.first << ":" << pr.second << "\r\n";
|
||||
}
|
||||
FatalL << _totalBodySize << ":" << _recvedBodySize << "\r\n" << (printer << endl);
|
||||
ErrorL << _totalBodySize << ":" << _recvedBodySize << "\r\n" << (printer << endl);
|
||||
shutdown();
|
||||
}
|
||||
|
||||
|
@ -61,7 +61,7 @@ std::shared_ptr<uint32_t> MultiCastAddressMaker::obtain(uint32_t iTry) {
|
||||
return obtain(--iTry);
|
||||
}
|
||||
//分配完了,应该不可能到这里
|
||||
FatalL;
|
||||
ErrorL;
|
||||
return nullptr;
|
||||
}
|
||||
m_setBadAddr.emplace(iGotAddr);
|
||||
|
Loading…
Reference in New Issue
Block a user