bug: In the rewrite phase, modifying the http request mode will cause multiple request calls #6937
Unanswered
kingmouse-yx
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I use postman to verify my route. In postman, the default parameter of the host is < calculated when request is sent >. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Current Behavior
In the rewrite phase, modifying the http request mode will cause multiple request calls
I customized a plug-in, and in the rewrite phase, I rewritten the request method and uri_args of this request. Here is my code:
But when I tested it, I found that apisix would make multiple requests. At the same time, I found a lot of such request information in the access.log:
I want to ask why my operation causes such problems in the rewrite phase?
Expected Behavior
I can modify it in rewite phase without triggering multiple calls
Error Logs
Steps to Reproduce
1.add upstream
2.add route, Enable custom plug-ins
3.access with apisix
Environment
Beta Was this translation helpful? Give feedback.
All reactions