netty5/transport/src/test/java/io/netty/channel
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
..
embedded Correctly run all pending tasks for EmbeddedChannel when the Channel was closed. 2017-07-30 06:57:18 +02:00
group fix the typos 2017-04-20 04:56:09 +02:00
local Fix race in ChannelReadHandler used during LocalChannel testing. (#7904) 2018-05-04 07:36:33 +02:00
nio Recover from Selector IOException (#8569) 2018-11-19 07:41:43 +01:00
pool Improved error message in FixedChannelPool 2017-11-13 20:29:07 +01:00
socket/nio Workaround JDK bug that will cause an AssertionError when calling ServerSocketChannel.config().getOptions(). (#8183) 2018-08-09 13:11:08 +02:00
AbstractChannelTest.java Only use Mockito for mocking. 2017-02-07 08:47:22 +01:00
AbstractEventLoopTest.java [#4241] Ensure NioEventLoopGroup.shutdownGracefully(...) with no quiet period shutdown as fast as expected. 2016-08-05 07:21:17 +02:00
AdaptiveRecvByteBufAllocatorTest.java AdaptiveRecvByteBufAllocator should ramp up while reading 2017-12-03 17:25:31 -08:00
BaseChannelTest.java Revert "[#5028] Fix re-entrance issue with channelWritabilityChanged(...) and write(...)" 2016-04-09 20:32:47 +02:00
ChannelInitializerTest.java More correct fix for using ChannelInitializer with custom EventExecutor. (#8633) 2018-12-07 19:12:10 +01:00
ChannelOptionTest.java Allow to get existing ChannelOption / AttributeKey from String 2015-02-18 09:29:37 +01:00
ChannelOutboundBufferTest.java Correctly decrement pending bytes when submitting AbstractWriteTask fails. (#8349) 2018-10-11 18:46:10 +02:00
CoalescingBufferQueueTest.java AbstractCoalescingBufferQueue addFirst void promise handling 2017-11-07 11:33:53 -08:00
CombinedChannelDuplexHandlerTest.java fix the typos 2017-04-20 04:56:09 +02:00
CompleteChannelFutureTest.java Only use Mockito for mocking. 2017-02-07 08:47:22 +01:00
DefaultChannelIdTest.java ByteBuf Input Stream Reference Count Ownership 2016-11-14 16:29:55 -08:00
DefaultChannelPipelineTailTest.java Handling AUTO_READ should not be the responsibility of DefaultChannel… (#8650) 2018-12-14 10:11:34 +00:00
DefaultChannelPipelineTest.java Remove OIO transport (and transports that depend on it). (#8580) 2018-11-21 15:23:18 +01:00
DefaultChannelPromiseTest.java Fail fast when DefaultChannelPromise is constructed with null as Channel. 2018-01-18 18:57:42 +00:00
DelegatingChannelPromiseNotifierTest.java Make DelegatingChannelPromiseNotifier use Vararg overload 2017-07-28 07:29:43 +02:00
FailedChannelFutureTest.java Only use Mockito for mocking. 2017-02-07 08:47:22 +01:00
LoggingHandler.java Fix most inspector warnings 2014-07-02 19:55:07 +09:00
PendingWriteQueueTest.java PendingWriteQueue to handle write operations with void future 2018-03-16 08:23:40 +01:00
ReentrantChannelTest.java fix the typos 2017-04-20 04:56:09 +02:00
SimpleUserEventChannelHandlerTest.java Create SimpleUserEventChannelHandler convenience class (#7991) 2018-06-29 08:25:23 +02:00
SingleThreadEventLoopTest.java Revert "Ability to run a task at the end of an eventloop iteration." (#8637) 2018-12-12 10:37:07 +01:00
SucceededChannelFutureTest.java Only use Mockito for mocking. 2017-02-07 08:47:22 +01:00