You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "By default, Netty threads are blocked during dns resolution, namely InetAddress.getByName is used under the hood. Now, there's an option to configure the NettyNioAsyncHttpClient in order to use a non blocking dns resolution strategy."
Copy file name to clipboardExpand all lines: http-clients/netty-nio-client/src/main/java/software/amazon/awssdk/http/nio/netty/NettyNioAsyncHttpClient.java
Copy file name to clipboardExpand all lines: http-clients/netty-nio-client/src/main/java/software/amazon/awssdk/http/nio/netty/internal/AwaitCloseChannelPoolMap.java
Copy file name to clipboardExpand all lines: http-clients/netty-nio-client/src/main/java/software/amazon/awssdk/http/nio/netty/internal/BootstrapProvider.java
+13-5
Original file line number
Diff line number
Diff line change
@@ -43,19 +43,27 @@ public class BootstrapProvider {
43
43
44
44
/**
45
45
* Creates a Bootstrap for a specific host and port with an unresolved InetSocketAddress as the remoteAddress.
46
-
* @param host The unresolved remote hostname
47
-
* @param port The remote port
48
-
* @return A newly created Bootstrap using the configuration this provider was initialized with, and having an
49
-
* unresolved remote address.
46
+
*
47
+
* @param host The unresolved remote hostname
48
+
* @param port The remote port
49
+
* @param useNonBlockingDnsResolver If true, uses the default non-blocking DNS resolver from Netty. Otherwise, the default
50
+
* JDK blocking DNS resolver will be used.
51
+
* @return A newly created Bootstrap using the configuration this provider was initialized with, and having an unresolved
0 commit comments