[ 
https://issues.apache.org/jira/browse/TINKERPOP-2814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17628402#comment-17628402
 ] 

ASF GitHub Bot commented on TINKERPOP-2814:
-------------------------------------------

divijvaidya commented on code in PR #1833:
URL: https://github.com/apache/tinkerpop/pull/1833#discussion_r1013137255


##########
gremlin-driver/src/main/java/org/apache/tinkerpop/gremlin/driver/Cluster.java:
##########
@@ -986,13 +996,26 @@ public Builder port(final int port) {
          * handshake and SSL handshake. Beyond this duration an exception 
would be thrown.
          *
          * Note that this value should be greater that SSL handshake timeout 
defined in
-         * {@link io.netty.handler.ssl.SslHandler} since WebSocket handshake 
include SSL handshake.
+         * {@link io.netty.handler.ssl.SslHandler} since WebSocket handshake 
include SSL handshake. This value should be
+         * less than {@link Builder#maxWaitForConnection}.

Review Comment:
   I am sorry sorry, copy/paste attempt resulted in wrong comment. 
   
   What I wanted to say was to update the java doc comment since "Note that 
this value should be greater that SSL handshake timeout defined in SslHandler" 
is not true anymore. We should replace this with information with the new 
timeout we are introducing `sslHandshakeTimeoutMillis`





> Add a SSL handshake timeout configuration to the driver
> -------------------------------------------------------
>
>                 Key: TINKERPOP-2814
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2814
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: driver
>    Affects Versions: 3.5.4
>            Reporter: Stephen Mallette
>            Priority: Blocker
>
> The java driver currently relies on the default 10 second SSL handshake 
> timeout defined by Netty. Add a configuration to the driver to allow users to 
> change that setting.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to