Skip to content

Commit

Permalink
Added some new lines for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
elecharny committed Apr 26, 2024
1 parent cc86146 commit 57767e4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -313,11 +313,13 @@ synchronized protected void onConnected(NextFilter next, IoSession session) thro
if (sslHandler == null) {
InetSocketAddress s = InetSocketAddress.class.cast(session.getRemoteAddress());
SSLEngine sslEngine = createEngine(session, s);

if(nonBlockingPipeline) {
sslHandler = new SSLHandlerG1(sslEngine, EXECUTOR, session);
}else {
} else {
sslHandler = new SSLHandlerG0(sslEngine, EXECUTOR, session);
}

session.setAttribute(SSL_HANDLER, sslHandler);
}

Expand Down

0 comments on commit 57767e4

Please sign in to comment.