zchuango opened a new pull request, #3409:
URL: https://github.com/apache/brpc/pull/3409

   ### What problem does this PR solve?
   
   Issue Number: resolve #3133 PR Number: #3163
   
   Problem Summary:  when Controller response_will_be_read_progressively() it 
needs  background bthread monitor handler to solve progressive reader idle 
timeout,when hit the progressive reader idle timeout duration should close 
current client socket connection.
   
   ### What is changed and the side effects?
   
   Changed:
   
   1. add HandleIdleProgressiveReader method will run in and when controller 
call response_will_be_read_progressively method will trigger  
HandleIdleProgressiveReader monitor idle progressive reader on bthread_timer.
   2. add progressive idle case on http_c++ example http_server with 
enable_progressive_timeout arg to trigger ProgressiveAttachment write timeout 
and http_client with progressive and progressive_read_timeout_ms args test the 
progressive reader idle timeout case.
   
   Side effects:
   
   Performance effects: NO
   
   Breaking backward compatibility: NO
   
   ---
   ### Check List:
   - Please make sure your changes are compilable.
   - When providing us with a new feature, it is best to add related tests.
   - Please follow [Contributor Covenant Code of 
Conduct](https://github.com/apache/brpc/blob/master/CODE_OF_CONDUCT.md).


-- 
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