tzssangglass commented on issue #189:
URL: 
https://github.com/apache/apisix-java-plugin-runner/issues/189#issuecomment-1223912849

   > 看起来是APISIX的这个ext-plugin-post-resp由于上游的http状态码是204调用了多次
   
   I use openresty as upstream, conf as
   
   ```
       server {
           listen 1980;
   
           access_log off;
           location / {
               content_by_lua_block {
                   ngx.status = 204
                   ngx.say("hello, world")
               }
           }
       }
   ```
   
   test access upstream directly:
   
   ```
   curl http://127.0.0.1:1980/get -i
   HTTP/1.1 204 No Content
   Server: openresty/1.21.4.1
   Date: Tue, 23 Aug 2022 10:57:44 GMT
   Connection: keep-alive
   ```
   
   test proxy by APISIX, and add the breakpoint in the `postFilter` function, T 
found that it only ran once.
   
   I cannot reproduce the bug you mentioned, can you provide a minimal 
reproduction use case so that I can reproduce it locally?


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