netty5/transport-native-epoll/src/main
Norman Maurer cb6ae72df2
Handling AUTO_READ should not be the responsibility of DefaultChannel… (#8650)
* Handling AUTO_READ should not be the responsibility of DefaultChannelPipeline but the Channel itself.

Motivation:

At the moment we do automatically call read() in the DefaultChannelPipeline when fireChannelReadComplete() / fireChannelActive() is called and the Channel is using auto read. This is nice in terms of sharing code but imho is not the responsibility of the ChannelPipeline implementation but the responsibility of the Channel implementation.

Modifications:

Move handing of auto read from DefaultChannelPipeline to Channel implementations.

Result:

More clear responsibiliy and not depending on implemention details of the ChannelPipeline.
2018-12-14 10:11:34 +00:00
..
c Added option to do busy-wait on epoll (#8267) 2018-09-28 22:52:00 +02:00
java/io/netty/channel/epoll Handling AUTO_READ should not be the responsibility of DefaultChannel… (#8650) 2018-12-14 10:11:34 +00:00