tokers commented on issue #4074:
URL: https://github.com/apache/apisix/issues/4074#issuecomment-822107779


   > @Firstsawyou I refer to this plugin to write a new plugin. there are tow 
defferences:
   > 1、 The ‘body' which is not static, is from the backend service;
   > 2、The body content is very large. function of body_filter executed many 
times;
   > I try to concatenate the chunck of every body_filter function received 
from backend,but can't not correct serialize to integrated json document.
   
   I took a glance of your custom `_M.body_filter`, where is your 
`backend_content` variable? Also, when the response body is large, the string 
concatenation is inefficient.


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

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


Reply via email to