File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ public class ConnectionFactory implements Cloneable {
8080 public static final int DEFAULT_SHUTDOWN_TIMEOUT = 10000 ;
8181
8282 /** The default SSL protocol */
83- private static final String DEFAULT_SSL_PROTOCOL = "SSLv3 " ;
83+ private static final String DEFAULT_SSL_PROTOCOL = "TLSv1 " ;
8484
8585 private String username = DEFAULT_USER ;
8686 private String password = DEFAULT_PASS ;
@@ -520,7 +520,7 @@ public void useSslProtocol(String protocol)
520520
521521 /**
522522 * Convenience method for setting up an SSL socket factory.
523- * Pass in the SSL protocol to use, e.g. "TLS " or "SSLv3 ".
523+ * Pass in the SSL protocol to use, e.g. "TLSv1 " or "TLSv1.2 ".
524524 *
525525 * @param protocol SSL protocol to use.
526526 */
You can’t perform that action at this time.
0 commit comments