Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Vicente <avd@google.com>
  • Loading branch information
antoniovicente committed Apr 29, 2020
1 parent c796667 commit 31e0501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/common/http/http1/codec_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ void ConnectionImpl::completeLastHeader() {
auto& headers_or_trailers = headersOrTrailers();
if (!current_header_field_.empty()) {
current_header_field_.inlineTransform([](char c) { return absl::ascii_tolower(c); });
// Strip trailing whitespace if the current header value if any. Leading whitespace was trimmed
// Strip trailing whitespace of the current header value if any. Leading whitespace was trimmed
// in ConnectionImpl::onHeaderValue. http_parser does not strip leading or trailing whitespace
// as the spec requires: https://tools.ietf.org/html/rfc7230#section-3.2.4
current_header_value_.rtrim();
Expand Down

0 comments on commit 31e0501

Please sign in to comment.