Fix HTTP spelling.
GitOrigin-RevId: f7d5626657406c1506434053efa68f28b4b6d674
This commit is contained in:
parent
36a545bc08
commit
f435fe62a1
@ -30,7 +30,7 @@ Result<size_t> Transport::read_next(BufferSlice *message, uint32 *quick_ack) {
|
|||||||
return r_size;
|
return r_size;
|
||||||
}
|
}
|
||||||
if (http_query_.type_ != HttpQuery::Type::RESPONSE) {
|
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) {
|
if (http_query_.container_.size() != 2u) {
|
||||||
return Status::Error("Wrong response");
|
return Status::Error("Wrong response");
|
||||||
|
@ -70,7 +70,7 @@ void HttpConnectionBase::write_ok() {
|
|||||||
|
|
||||||
void HttpConnectionBase::write_error(Status error) {
|
void HttpConnectionBase::write_error(Status error) {
|
||||||
CHECK(state_ == State::Write);
|
CHECK(state_ == State::Write);
|
||||||
LOG(WARNING) << "Close http connection: " << error;
|
LOG(WARNING) << "Close HTTP connection: " << error;
|
||||||
state_ = State::Close;
|
state_ = State::Close;
|
||||||
loop();
|
loop();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user