INT-1361 Protect Listener Thread from NPE
This commit is contained in:
@@ -151,6 +151,9 @@ public class TcpNioServerConnectionFactory extends AbstractServerConnectionFacto
|
||||
Socket socket = channel.socket();
|
||||
setSocketAttributes(socket);
|
||||
TcpNioConnection connection = createTcpNioConnection(channel);
|
||||
if (connection == null) {
|
||||
continue;
|
||||
}
|
||||
connection.setTaskExecutor(this.taskExecutor);
|
||||
connection.setLastRead(now);
|
||||
connections.put(channel, connection);
|
||||
|
||||
Reference in New Issue
Block a user