SWJTU-ZhangLei commented on code in PR #32906: URL: https://github.com/apache/doris/pull/32906#discussion_r1551425598
########## fe/fe-core/src/main/java/org/apache/doris/httpv2/rest/LoadAction.java: ########## @@ -428,13 +429,46 @@ private TNetworkAddress selectCloudRedirectBackend(String clusterName, String re throw new LoadException("Invalid header host: " + reqHost); } - if (InetAddressValidator.getInstance().isValid(reqHost) - && publicHostPort != null && reqHost == publicHostPort.first) { - return new TNetworkAddress(publicHostPort.first, publicHostPort.second); - } else if (privateHostPort != null) { - return new TNetworkAddress(reqHost, privateHostPort.second); + if (!Strings.isNullOrEmpty(Config.security_checker_class_name)) { + // ip Review Comment: 后面改个配置名区分不同逻辑 -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org