Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions source/common/http/status.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ absl::string_view statusCodeToString(StatusCode code) {
case StatusCode::CodecClientError:
return "CodecClientError";
}
NOT_REACHED_GCOVR_EXCL_LINE;
}

struct EnvoyStatusPayload {
Expand Down
4 changes: 2 additions & 2 deletions source/common/http/status.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Status codecClientError(absl::string_view message);

/**
* Returns Envoy::StatusCode of the given status object.
* If the status object does not contain valid Envoy::Status value the function will RELEASE_ASSERT.
* If the status object does not contain valid Envoy::Status value the function will ASSERT.
*/
StatusCode getStatusCode(const Status& status);

Expand All @@ -105,7 +105,7 @@ ABSL_MUST_USE_RESULT bool isCodecClientError(const Status& status);

/**
* Returns Http::Code value of the PrematureResponseError status.
* IsPrematureResponseError(status) must be true which is checked by RELEASE_ASSERT.
* IsPrematureResponseError(status) must be true which is checked by ASSERT.
*/
Http::Code getPrematureResponseHttpCode(const Status& status);

Expand Down