Details
Description
We get a lot of occurrences of this message : "Create a new selector. Selected is 0, delta = 0"
accompanied with a memory leak. The SelectionKeyImpl in the fdToKey HashMap of the EPollSelectorImpl don't get remove.
I suspect that the registerNewSelector() method in the org.apache.mina.transport.socket.nio.NioProcessor class should cancel the key.