Merge pull request #14974 from grpc/dump-unknown-accept-encoding

No dump error for unknown value in accept-encoding
pull/14980/head
Muxi Yan 7 years ago committed by GitHub
commit 9a79b78e3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/core/lib/surface/call.cc

@ -878,8 +878,8 @@ static void set_encodings_accepted_by_peer(grpc_call* call, grpc_mdelem mdel,
} else {
char* accept_encoding_entry_str =
grpc_slice_to_c_string(accept_encoding_entry_slice);
gpr_log(GPR_ERROR,
"Invalid entry in accept encoding metadata: '%s'. Ignoring.",
gpr_log(GPR_DEBUG,
"Unknown entry in accept encoding metadata: '%s'. Ignoring.",
accept_encoding_entry_str);
gpr_free(accept_encoding_entry_str);
}

Loading…
Cancel
Save