Baoyuantop commented on issue #13026:
URL: https://github.com/apache/apisix/issues/13026#issuecomment-3956282166

   Hi @arulrajnet, thank you for submitting this detailed and well-researched 
feature request.
   
   Your analysis is correct. The `proxy_http_version` is a static NGINX 
directive that is configured when APISIX starts, and it cannot be dynamically 
altered on a per-request basis using Lua variables during the access phase. 
This is a known limitation within the NGINX request lifecycle.
   
   Your proposal to support dynamic configuration of the HTTP version for 
upstream requests is very valuable, as it would provide greater flexibility for 
integrating with diverse backend services, especially legacy systems that may 
require HTTP/1.0.
   
   Implementing this feature would likely require changes to the core of 
APISIX, potentially by adding a new attribute to the Route or Upstream entities 
to specify the desired HTTP version. The internal configuration generation 
logic would then need to be adapted to handle this. We need to carefully 
evaluate the design to ensure it doesn't introduce performance overhead.


-- 
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]

Reply via email to