As mentioned in API documentation (I'm talking about MINA-1.1.7), IoSession instances are supposed to be thread-safe. But access to variables idleTimeForRead, idleTimeForWrite and idleTimeForBoth in BaseIoSession class is performed without any synchronization. So, it seems that altering the idle time from any thread other than the processor thread isn't guaranteed to be visible by the processor thread. Shouldn't these variables be made volatile, or am I missing some point?
Best regards, Dmitry Batrak
