This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 04157ad6111 [chore](http)httputils execute use getHttpClient function 
(#58595)
04157ad6111 is described below

commit 04157ad6111f4f50f104c2dd2bfb2ee218145678
Author: koarz <[email protected]>
AuthorDate: Sat Dec 27 02:02:49 2025 +0800

    [chore](http)httputils execute use getHttpClient function (#58595)
---
 .../src/main/java/org/apache/doris/httpv2/rest/manager/HttpUtils.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/httpv2/rest/manager/HttpUtils.java 
b/fe/fe-core/src/main/java/org/apache/doris/httpv2/rest/manager/HttpUtils.java
index 0dffb612217..694e5572952 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/httpv2/rest/manager/HttpUtils.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/httpv2/rest/manager/HttpUtils.java
@@ -130,7 +130,7 @@ public class HttpUtils {
     }
 
     private static String executeRequest(HttpRequestBase request) throws 
IOException {
-        CloseableHttpClient client = HttpClientBuilder.create().build();
+        CloseableHttpClient client = getHttpClient();
         return client.execute(request, httpResponse -> 
EntityUtils.toString(httpResponse.getEntity()));
     }
 


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

Reply via email to