Skip to content

Commit a2cd037

Browse files
committed
Set timeout back to reasonable value
1 parent 240cdf3 commit a2cd037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servlet/security-clientcert/src/test/java/org/javaee7/servlet/security/clientcert/SecureServletTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ public void checkServerTrusted(X509Certificate[] chain, String authType) throws
211211
SSLSocketFactory factory = context.getSocketFactory();
212212

213213
try (SSLSocket socket = (SSLSocket) factory.createSocket(host, port)) {
214-
socket.setSoTimeout(0);
214+
socket.setSoTimeout(15000);
215215
socket.startHandshake();
216216
socket.close();
217217
}

0 commit comments

Comments
 (0)