savingrun opened a new issue, #8163:
URL: https://github.com/apache/apisix/issues/8163

   ### Description
   
   plugin:
   
   ```json
   //enabled globally ext-plugin-post-resp
   
   {
     "conf": [
       {
         "name": "AuthGlobalFilter",
         "value": 
"{\"token_renewal_time\":\"777\",\"token_expiration_minute\":\"43200\"}"
       }
     ],
     "disable": false
   }
   ```
   
   request: Test interface (loop splicing string output)
   ```text
   success: 
   curl --location --request GET 'http://10.0.10.165/test/leaf/429'
   // The response file is attached
   // Returns normally when the size of the Body is less than 8kb
   
   fail: 
   curl --location --request GET 'http://10.0.10.165/test/leaf/430'
   // The response file is attached
   // The request will return the truncated result as in the attached file. 
When the request time reaches 60s, the parsing of the request body will fail.
   ```
   
[429-response.txt](https://github.com/apache/apisix/files/9856566/429-response.txt)
   
[430-response.txt](https://github.com/apache/apisix/files/9856569/430-response.txt)
   
   
   
   access.log:
   ```shell
   10.0.20.150 - - [25/Oct/2022:09:47:35 +0800] 10.0.10.165 "GET /test/leaf/429 
HTTP/1.1" 200 8199 0.046 "-" "PostmanRuntime/7.29.2" - - - 
"http://10.0.10.165/test/leaf/429";
   10.0.20.150 - - [25/Oct/2022:09:47:45 +0800] 10.0.10.165 "GET /test/leaf/430 
HTTP/1.1" 200 8210 0.057 "-" "PostmanRuntime/7.29.2" - - - 
"http://10.0.10.165/test/leaf/430";
   ```
   
   
   
   ### Environment
   
   - APISIX version (run `apisix version`): `2.15`
   - Operating system (run `uname -a`): `Linux apisix-debug-10165 
5.4.217-1.el7.elrepo.x86_64 #1 SMP Thu Oct 6 13:02:21 EDT 2022 x86_64 x86_64 
x86_64 GNU/Linux`
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   
   ```shell
   TLS SNI support enabled
   configure arguments: --prefix=/usr/local/openresty/nginx --with-cc-opt='-O2 
-DAPISIX_BASE_VER=1.21.4.1.2 
-DNGX_HTTP_GRPC_CLI_ENGINE_PATH=/usr/local/openresty/libgrpc_engine.so 
-DNGX_LUA_ABORT_AT_PANIC -I/usr/local/openresty/zlib/include 
-I/usr/local/openresty/pcre/include -I/usr/local/openresty/openssl111/include' 
--add-module=../ngx_devel_kit-0.3.1 --add-module=../echo-nginx-module-0.62 
--add-module=../xss-nginx-module-0.06 --add-module=../ngx_coolkit-0.2 
--add-module=../set-misc-nginx-module-0.33 
--add-module=../form-input-nginx-module-0.12 
--add-module=../encrypted-session-nginx-module-0.09 
--add-module=../srcache-nginx-module-0.32 --add-module=../ngx_lua-0.10.21 
--add-module=../ngx_lua_upstream-0.07 
--add-module=../headers-more-nginx-module-0.33 
--add-module=../array-var-nginx-module-0.05 
--add-module=../memc-nginx-module-0.19 --add-module=../redis2-nginx-module-0.15 
--add-module=../redis-nginx-module-0.3.9 --add-module=../ngx_stream_lua-0.0.11 
--with-ld-opt='-Wl,-rpath,/usr/l
 ocal/openresty/luajit/lib -Wl,-rpath,/usr/local/openresty/wasmtime-c-api/lib 
-L/usr/local/openresty/zlib/lib -L/usr/local/openresty/pcre/lib 
-L/usr/local/openresty/openssl111/lib 
-Wl,-rpath,/usr/local/openresty/zlib/lib:/usr/local/openresty/pcre/lib:/usr/local/openresty/openssl111/lib'
 --add-module=/tmp/tmp.ec7pjaeCNo/openresty-1.21.4.1/../mod_dubbo-1.0.2 
--add-module=/tmp/tmp.ec7pjaeCNo/openresty-1.21.4.1/../ngx_multi_upstream_module-1.1.1
 
--add-module=/tmp/tmp.ec7pjaeCNo/openresty-1.21.4.1/../apisix-nginx-module-1.10.0
 
--add-module=/tmp/tmp.ec7pjaeCNo/openresty-1.21.4.1/../apisix-nginx-module-1.10.0/src/stream
 
--add-module=/tmp/tmp.ec7pjaeCNo/openresty-1.21.4.1/../apisix-nginx-module-1.10.0/src/meta
 --add-module=/tmp/tmp.ec7pjaeCNo/openresty-1.21.4.1/../wasm-nginx-module-0.6.3 
--add-module=/tmp/tmp.ec7pjaeCNo/openresty-1.21.4.1/../lua-var-nginx-module-v0.5.3
 
--add-module=/tmp/tmp.ec7pjaeCNo/openresty-1.21.4.1/../grpc-client-nginx-module-v0.2.2
 --with-poll_module --with-pcre-jit --
 with-stream --with-stream_ssl_module --with-stream_ssl_preread_module 
--with-http_v2_module --without-mail_pop3_module --without-mail_imap_module 
--without-mail_smtp_module --with-http_stub_status_module 
--with-http_realip_module --with-http_addition_module 
--with-http_auth_request_module --with-http_secure_link_module 
--with-http_random_index_module --with-http_gzip_static_module 
--with-http_sub_module --with-http_dav_module --with-http_flv_module 
--with-http_mp4_module --with-http_gunzip_module --with-threads --with-compat 
--with-stream --with-http_ssl_module
   ```
   
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`): `3.4.0`
   - APISIX Dashboard version, if relevant: `2.13.0`
   - Plugin runner version, for issues related to plugin runners: 
`java-plugin-runner-version v0.3.0`
   - LuaRocks version, for installation issues (run `luarocks --version`): 
`/usr/local/bin/luarocks 3.8.0`
   


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