netty5/handler/src/main/java/io/netty
Norman Maurer 4a18a143d2 Only set lastReadTime if an read actually happened before in IdleStateHandler.
Motivation:

IdleStateHandler and ReadTimeoutHandler could mistakely not fire an event even if no channelRead(...) call happened.

Modifications:

Only set lastReadTime if a read happened before.

Result:

More correct IdleStateHandler / ReadTimeoutHandler.
2016-09-13 16:57:29 -07:00
..
handler Only set lastReadTime if an read actually happened before in IdleStateHandler. 2016-09-13 16:57:29 -07:00