pull/879/head
Tse Kit Yam 2017-04-01 23:19:57 +08:00 committed by GitHub
parent b51e5814f1
commit 1e8cf5151e
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ bool HttpServer::receiveRequest()
socketRecvBuffer_->drain(headerProcessor_->getLastBytesProcessed()); socketRecvBuffer_->drain(headerProcessor_->getLastBytesProcessed());
bodyConsumed_ = 0; bodyConsumed_ = 0;
if (setupResponseRecv() < 0) { if (setupResponseRecv() < 0) {
A2_LOG_INFO("Request path is invaild. Ignore the request body."); A2_LOG_INFO("Request path is invalid. Ignore the request body.");
} }
const std::string& contentLengthHdr = const std::string& contentLengthHdr =
lastRequestHeader_->find(HttpHeader::CONTENT_LENGTH); lastRequestHeader_->find(HttpHeader::CONTENT_LENGTH);