add trace logging for HTTP response

pull/38099/head
Mark D. Roth 2 weeks ago
parent 1b6db9b986
commit d3afa34b6b
  1. 2
      src/core/util/http_client/httpcli.cc

@ -244,6 +244,8 @@ void HttpRequest::AppendError(grpc_error_handle error) {
void HttpRequest::OnReadInternal(grpc_error_handle error) {
for (size_t i = 0; i < incoming_.count; i++) {
GRPC_TRACE_LOG(http1, INFO)
<< "HTTP response data: " << StringViewFromSlice(incoming_.slices[i]);
if (GRPC_SLICE_LENGTH(incoming_.slices[i])) {
have_read_byte_ = 1;
grpc_error_handle err =

Loading…
Cancel
Save