You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "nic-chen (via GitHub)" <gi...@apache.org> on 2025/03/12 03:11:22 UTC

[I] help request: remove useless code [apisix]

nic-chen opened a new issue, #12041:
URL: https://github.com/apache/apisix/issues/12041

   ### Description
   
   These lines of code (https://github.com/apache/apisix/blob/master/apisix/utils/log-util.lua#L359-L361) are meaningless and have no effect, because before `core.response.hold_body_chunk` is executed, `ctx._resp_body_bytes` is nil and will not continue to execute and return.
   
   ### Environment
   
   - APISIX version (run `apisix version`): master
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
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: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] help request: remove useless code [apisix]

Posted by "nic-chen (via GitHub)" <gi...@apache.org>.
nic-chen closed issue #12041: help request: remove useless code
URL: https://github.com/apache/apisix/issues/12041


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org