浏览代码

Merge pull request #879 from tsekityam/patch-1

Fix typo
Tatsuhiro Tsujikawa 8 年之前
父节点
当前提交
1d77985abd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/HttpServer.cc

+ 1 - 1
src/HttpServer.cc

@@ -188,7 +188,7 @@ bool HttpServer::receiveRequest()
     socketRecvBuffer_->drain(headerProcessor_->getLastBytesProcessed());
     bodyConsumed_ = 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 =
         lastRequestHeader_->find(HttpHeader::CONTENT_LENGTH);