You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by GitBox <gi...@apache.org> on 2022/11/03 16:29:25 UTC
[GitHub] [tinkerpop] divijvaidya commented on a diff in pull request #1833: TINKERPOP-2814 Add configuration for SSL handshake timeout.
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`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@tinkerpop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org