spacewander commented on issue #4905:
URL: https://github.com/apache/apisix/issues/4905#issuecomment-906870172
I see. It is not relative to the body_filter_by_lua. When the output is
generated in the previous phase, the content phase will be skipped.
Here is a case:
```
server {
server_name 127.0.0.1; #
listen 6688;
location / {
access_by_lua_block {
ngx.log(ngx.ERR, "run access block")
ngx.say("AAA")
}
content_by_lua_block {
ngx.log(ngx.ERR, "run content block")
ngx.say("BBB")
}
}
}
```
It will skip content_by_lua_block even not body_filter_by_lua involve.
--
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]