spacewander commented on a change in pull request #5163:
URL: https://github.com/apache/apisix/pull/5163#discussion_r720665587



##########
File path: apisix/upstream.lua
##########
@@ -293,7 +293,7 @@ function _M.set_by_route(route, api_ctx)
     end
 
     if nodes_count > 1 then
-        local checker = fetch_healthchecker(up_conf)
+        local checker = fetch_healthchecker(up_conf, api_ctx.var.host)

Review comment:
       ```suggestion
           local checker = fetch_healthchecker(up_conf, 
api_ctx.var.upstream_host)
   ```
   Not the one sent by client




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