request help: response_rewrite plugin can not return result #5701
Unanswered
zhangweidongyyl
asked this question in
Q&A
Replies: 2 comments
-
plugin log is right ,but curl return curl: (52) Empty reply from server |
Beta Was this translation helpful? Give feedback.
0 replies
-
We do not check the code written by the user himself. If the issue is not relevant to the project, I will turn it into a discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue description
when i write plugin like response_rewrite ,curl can not return result, but the log is all right,this is why。response_rewrite plugin can right exec
`
do
function _M.body_filter(conf, ctx)
end
end
`
Environment
apisix version
):uname -a
):nginx -V
oropenresty -V
):curl http://127.0.0.1:9090/v1/server_info
to get the info from server-info API):luarocks --version
):Steps to reproduce
do plugin like this
Actual result
can right return res
Error log
no err log
Expected result
No response
Beta Was this translation helpful? Give feedback.
All reactions