-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
request help: we need to support multi-nodes in upstream when pass_host == node #2620
Comments
the latest version of openresty (OpenResty 1.19.3.1 RC1) has support this feature: add the balancer.recreate_request function, which allows user to recreate request buffer in balancer phase. |
So we only need to enable this feature for users who use OpenResty 1.19.3? |
can we patch the old versions? @membphis what do you think? |
@spacewander @membphis Is there any progress on this? |
Fix apache#2620 Fix apache#4197 Signed-off-by: spacewander <spacewanderlzx@gmail.com>
only support 1.19.3 is fine. In the future, APISIX will mainly work with patched openresty to support mTLS and other new functions. |
Fix apache#2620 Fix apache#4197 Signed-off-by: spacewander <spacewanderlzx@gmail.com>
Issue description
In our current version, upstream can choose not to transparently transmit the host of the original request,
but we also impose a restriction. When
pass_host == node
, upstream can only have one node.We hope to get rid of this restriction. When upstream chooses not to transparently transmit the host (
pass_host == node
), each node transmits downwards according to its own host.Environment
The text was updated successfully, but these errors were encountered: