From 00deb2efd560cb9b2d85ccdefbcfa5b13ab1b463 Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Fri, 12 Aug 2016 14:31:23 +0200 Subject: [PATCH] Remove missleading javadoc Motivation: Its completely fine to start writing before the handshake completes when using SslHandler. The writes will be just queued. Modifications: Remove the missleading and incorrect javadoc. Result: Correct javadoc. --- handler/src/main/java/io/netty/handler/ssl/SslHandler.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/handler/src/main/java/io/netty/handler/ssl/SslHandler.java b/handler/src/main/java/io/netty/handler/ssl/SslHandler.java index 7e815673f6..a5f1eb0829 100644 --- a/handler/src/main/java/io/netty/handler/ssl/SslHandler.java +++ b/handler/src/main/java/io/netty/handler/ssl/SslHandler.java @@ -75,12 +75,7 @@ import static io.netty.handler.ssl.SslUtils.getEncryptedPacketLength; * *

Beginning the handshake

*

- * You must make sure not to write a message while the handshake is in progress unless you are - * renegotiating. You will be notified by the {@link Future} which is - * returned by the {@link #handshakeFuture()} method when the handshake - * process succeeds or fails. - *

- * Beside using the handshake {@link ChannelFuture} to get notified about the completation of the handshake it's + * Beside using the handshake {@link ChannelFuture} to get notified about the completion of the handshake it's * also possible to detect it by implement the * {@link ChannelInboundHandler#userEventTriggered(ChannelHandlerContext, Object)} * method and check for a {@link SslHandshakeCompletionEvent}.