Skip to content

Commit 8ab3162

Browse files
authored
fix: Enforce storage http client to use native tls (#17686)
Signed-off-by: Xuanwo <[email protected]>
1 parent 979dab1 commit 8ab3162

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/common/base/src/http_client.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ impl HttpClient {
5252
// Disable http2 for better performance.
5353
builder = builder.http1_only();
5454

55+
// Enforce to use native tls backend.
56+
builder = builder.use_native_tls();
57+
5558
// Set dns resolver.
5659
builder = builder.dns_resolver(GLOBAL_HICKORY_RESOLVER.clone());
5760

0 commit comments

Comments
 (0)