kyroslin opened a new pull request #6012:
URL: https://github.com/apache/apisix/pull/6012


   ### What this PR does / why we need it:
   
   Fix #5915
   add limit_size field to the hold_body_chunk method to truncate response_body
   
   Combine limit_size with the context's body_buffer_size, body_hold_flag 
fields to control the truncation of response body, where limit_size is 
controlled by specific business plugins
   
   ### Pre-submission checklist:
   
   * [x] Did you explain what problem does this PR solve? Or what new features 
have been added?
   * [ ] Have you added corresponding test cases?
   * [ ] Have you modified the corresponding document?
   * [x] Is this PR backward compatible? **If it is not backward compatible, 
please discuss on the [mailing 
list](https://github.com/apache/apisix/tree/master#community) first**


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


Reply via email to