tzssangglass commented on issue #5643:
URL: https://github.com/apache/apisix/issues/5643#issuecomment-985145426
I will turn this issue into a discussion, which has nothing to do with the
project.
--
This is an automated message from the Apache Git Service.
To respond to the message,
tzssangglass commented on issue #5643:
URL: https://github.com/apache/apisix/issues/5643#issuecomment-985145226
> but my ngx.socket.tcp() always return 400 Bad Request,how can i reslove
this problem
This is a matter of the request method or request parameters. It has to do
with
tzssangglass commented on issue #5643:
URL: https://github.com/apache/apisix/issues/5643#issuecomment-983449154
> based on last request returned Status to send different req
you can last request returned Status get by `get_last_failure`,
tzssangglass commented on issue #5643:
URL: https://github.com/apache/apisix/issues/5643#issuecomment-983446028
As I've already said, if you want to send the request in the body_filter
phase, you can use ngx.timer to do so,see:
tzssangglass commented on issue #5643:
URL: https://github.com/apache/apisix/issues/5643#issuecomment-982618806
I cannot got what you want to do.
BTW, ngx.redirect is unavailable in `body_filter_by_lua`, see:
https://github.com/openresty/lua-nginx-module#ngxredirect
--
This is an
tzssangglass commented on issue #5643:
URL: https://github.com/apache/apisix/issues/5643#issuecomment-982353405
we can use a 0 delay `ngx.timer.at`, see:
https://github.com/openresty/lua-nginx-module#ngxtimerat
--
This is an automated message from the Apache Git Service.
To respond to