[GitHub] [apisix] spacewander commented on issue #8768: bug: failed to reply RPC_EXTRA_INFO:the max length of data is 16777215 but got 127305012

2023-02-21 Thread via GitHub
spacewander commented on issue #8768: URL: https://github.com/apache/apisix/issues/8768#issuecomment-1439316920 I would suggest doing the body rewrite in Lua. As for making the max length configurable, we need to extend the protocol and update the plugin runners and APISIX. -- This is

[GitHub] [apisix] spacewander commented on issue #8768: bug: failed to reply RPC_EXTRA_INFO:the max length of data is 16777215 but got 127305012

2023-02-20 Thread via GitHub
spacewander commented on issue #8768: URL: https://github.com/apache/apisix/issues/8768#issuecomment-1437738811 This behavior is intended. The size of length field is 3 bytes: https://github.com/apache/apisix/blob/0ebc9cb85114ed5a389b335e9b8ead7d3fdc17a0/apisix/plugins/ext-plugin/init.lua