Skip to content

Commit 3cff862

Browse files
author
Stephane Landelle
committed
Default 10sec SSL handshake timeout, close AsyncHttpClient#483
1 parent cfaa079 commit 3cff862

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/ning/http/client/providers/netty/NettyAsyncHttpProviderConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public class NettyAsyncHttpProviderConfig implements AsyncHttpProviderConfig<Str
8787

8888
private HashedWheelTimer hashedWheelTimer;
8989

90-
private long handshakeTimeoutInMillis;
90+
private long handshakeTimeoutInMillis = 10000L;
9191

9292
public NettyAsyncHttpProviderConfig() {
9393
properties.put(REUSE_ADDRESS, "false");

0 commit comments

Comments
 (0)