mivanac commented on a change in pull request #6156:
URL: https://github.com/apache/geode/pull/6156#discussion_r654498060



##########
File path: 
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/AcceptorImpl.java
##########
@@ -1424,10 +1439,18 @@ private void handleNewClientConnection(final Socket 
socket) throws IOException {
     // for 'server to client' communication, send it to the CacheClientNotifier
     // for processing.
     final CommunicationMode communicationMode;
+    final NioFilter ioFilter;
     try {
       if (isSelector()) {
-        communicationMode = getCommunicationModeForSelector(socket);
+        if (socketCreator.forCluster().useSSL()) {
+          ioFilter = createNIOSSLEngine(socket.getChannel());
+          communicationMode = getCommunicationModeForSSLSelector(socket, 
ioFilter);
+        } else {
+          ioFilter = new NioPlainEngine(bufferPool);
+          communicationMode = getCommunicationModeForSelector(socket);

Review comment:
       updated




-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to