MasqueOhttpClient: Print chunked body to stdout The code that gets the answer all at once, prints the response this way, and we've been using that to pipe it to a file. This CL adds the same functionality to the chunked mode. I've confirmed locally that I get valid JSON this way. PiperOrigin-RevId: 906969022
diff --git a/quiche/quic/masque/masque_ohttp_client.cc b/quiche/quic/masque/masque_ohttp_client.cc index 3cc9cae..5acd4d8 100644 --- a/quiche/quic/masque/masque_ohttp_client.cc +++ b/quiche/quic/masque/masque_ohttp_client.cc
@@ -1043,6 +1043,7 @@ body_chunk_count_++; QUICHE_LOG(INFO) << "Received body chunk #" << body_chunk_count_ << " of size " << body_chunk.size(); + std::cout << body_chunk; response_.body += body_chunk; if (response_chunk_callback_) {