TangSiyang2001 commented on code in PR #2210:
URL: https://github.com/apache/brpc/pull/2210#discussion_r1168138986


##########
src/brpc/policy/http_rpc_protocol.cpp:
##########
@@ -1545,6 +1549,26 @@ void ProcessHttpRequest(InputMessageBase *msg) {
     } else {
         // A http server, just keep content as it is.
         cntl->request_attachment().swap(req_body);
+        if (imsg_guard->read_body_progressively()) {
+            accessor.set_readable_progressive_attachment(imsg_guard.get());
+            const int sc = req_header.status_code();

Review Comment:
   Sorry, I borrowed some logic from `ProcessHttpResponse` and forgot to check 
the details, I'll modify it. lol. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to