jagerzhang commented on issue #11421:
URL: https://github.com/apache/apisix/issues/11421#issuecomment-2264937575

   @zhoujiexiong 
   Thank you for your response! I noticed that your previous replies all 
involve routes directly bound to a host. However, our practice has always been 
to use a service to bind the host. In certain situations, to distinguish 
requests, we pick a host from within the service to bind to a specific route.
   
   
![image](https://github.com/user-attachments/assets/e406213c-cb1d-460e-851b-fc87111ec1be)
   
   
   Our expectation is that a request to this host+URI should hit the route 
that's bound to the host, not a route that isn't bound to any host. 
Historically, the behavior of our gateway has been in line with this 
expectation. When a request is made to a specific host+URI, it prioritizes the 
route that's bound to that host.
   
   The problem you've described only started appearing recently. We haven't 
made any version updates in the meantime, which leaves us puzzled as to why 
this discrepancy has suddenly arisen.
   
   Based on my past experience, a host bound on the service is considered a 
default setting. If a route binds to a host, then a request to that host should 
prioritize hitting that route. I would greatly appreciate any insights or 
clarifications from the experts on this issue.
   


-- 
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: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to