Fix HTTP spelling.

GitOrigin-RevId: f7d5626657406c1506434053efa68f28b4b6d674
This commit is contained in:
levlam 2018-12-05 18:46:19 +03:00
parent 36a545bc08
commit f435fe62a1
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ Result<size_t> Transport::read_next(BufferSlice *message, uint32 *quick_ack) {
return r_size;
}
if (http_query_.type_ != HttpQuery::Type::RESPONSE) {
return Status::Error("Unexpected http query type");
return Status::Error("Unexpected HTTP query type");
}
if (http_query_.container_.size() != 2u) {
return Status::Error("Wrong response");

View File

@ -70,7 +70,7 @@ void HttpConnectionBase::write_ok() {
void HttpConnectionBase::write_error(Status error) {
CHECK(state_ == State::Write);
LOG(WARNING) << "Close http connection: " << error;
LOG(WARNING) << "Close HTTP connection: " << error;
state_ = State::Close;
loop();
}