bobogu23 opened a new issue, #6292:
URL: https://github.com/apache/shenyu/issues/6292

   ### Is there an existing issue for this?
   
   - [x] I have searched the existing issues
   
   ### Current Behavior
   
   DividePlugin, if http request set header "specify-domain", gateway will 
change the url of selected upstream. If the same "specify-domain" is always 
specified, all upstream URLs will be changed to use a single URL.
   
   ### Expected Behavior
   
   DividePlugin , if http request set header "specify-domain", only change url 
for current request, do not change the url of upstream
   
   ### Steps To Reproduce
   
   1. set 2 upstream for divide selector,eg: 
"10.110.51.108:8000","10.110.52.182:8000"
   
   2. set the configuration of shenyu-bootstrap , upstreamCheck-> printEnabled: 
true  
   
   3. log of upstream print :
        [o.a.s.l.cache.UpstreamCheckTask][] [Health Check] currently healthy 
upstream: ["10.110.51.108:8000","10.110.52.182:8000"]
   
   4. initiate a http request,add header -H 
"specify-domain:10.110.51.108:8000", repeat several times
   
   5. log of upstream print :
        [o.a.s.l.cache.UpstreamCheckTask][] [Health Check] currently healthy 
upstream: ["10.110.51.108:8000","10.110.51.108:8000"]
   
   ### Environment
   
   ```markdown
   ShenYu version(s):2.6.1
   ```
   
   ### Debug logs
   
   _No response_
   
   ### Anything else?
   
   _No response_


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