pull/32229/head^2
Craig Tiller 2 years ago committed by GitHub
parent 54ad01cf01
commit f06ebb7407
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      src/core/ext/transport/chttp2/transport/hpack_parser.cc

@ -1300,10 +1300,9 @@ grpc_error_handle HPackParser::Parse(const grpc_slice& slice, bool is_last) {
}
grpc_error_handle HPackParser::ParseInput(Input input, bool is_last) {
global_stats().IncrementHttp2MetadataSize(frame_length_);
if (ParseInputInner(&input)) {
return absl::OkStatus();
}
bool parsed_ok = ParseInputInner(&input);
if (is_last) global_stats().IncrementHttp2MetadataSize(frame_length_);
if (parsed_ok) return absl::OkStatus();
if (input.eof_error()) {
if (GPR_UNLIKELY(is_last && is_boundary())) {
return GRPC_ERROR_CREATE(

Loading…
Cancel
Save