Yukang-Lian opened a new pull request, #67223:
URL: https://github.com/apache/doris/pull/67223

   ### What problem does this PR solve?
   
   Issue Number: N/A
   
   Related PR: apache/doris#65212
   
   Problem Summary: Internal FE HTTP callers are coupled to the OSS 
enable_https transport and cannot obtain URL normalization or TLS-aware clients 
from an extension. Add a public ServiceLoader provider with an OSS fallback, 
preserve the existing FE HTTPS trust behavior, and route the centralized FE 
URL, connection, Apache HTTP, and RestTemplate call paths through it. The 
rewrite keeps BE manager calls on plain HTTP, preserves raw encoded URI 
components, keeps SSRF cleanup unchanged, and does not alter group-commit 
forwarding fallback.
   
   ### Release note
   
   Add an extension point for TLS-aware internal FE HTTP clients.
   
   ### Check List (For Author)
   
   - Test: Unit Test: ./run-fe-ut.sh --run 
org.apache.doris.httpv2.client.OssInternalHttpClientProviderTest,org.apache.doris.common.util.HttpURLUtilTest,org.apache.doris.httpv2.rest.manager.HttpUtilsTest
 (16 passed)
   - Behavior changed: Yes. Internal FE HTTP clients can be supplied by a 
ServiceLoader provider; OSS enable_https behavior is centralized without 
changing BE HTTP routing.
   - Does this need documentation: No
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to