yuweizzz commented on code in PR #10733:
URL: https://github.com/apache/apisix/pull/10733#discussion_r1439181095


##########
apisix/plugins/response-rewrite.lua:
##########
@@ -227,6 +228,58 @@ local function inflate_gzip(data)
 end
 
 
+local function brotli_stream_decode(read_inputs, write_outputs)
+    -- read 64k data per times

Review Comment:
   In `brotli-ffi` module, it uses `32 * 1024` as data size in streams operate, 
 so we use `64 * 1024` here to make a high efficiency.



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