netty5/transport/src
Norman Maurer 095dadcbec
Fix race in ChannelReadHandler used during LocalChannel testing. (#7904)
Motivation:

ChannelReadHandler is used in tests added via f4d7e8de14. In the handler we verify the number of messages we receive per read() call but missed to sometimes reset the counter which resulted in exceptions.

Modifications:

Correctly reset read counter in all cases.

Result:

No more unexpected exceptions when running LocalChannel tests.
2018-05-04 07:36:33 +02:00
..
main/java/io/netty Respect MAX_MESSAGES_PER_READ in LocalChannel / LocalServerChannel. (#7885) 2018-04-26 07:58:56 +02:00
test/java/io/netty Fix race in ChannelReadHandler used during LocalChannel testing. (#7904) 2018-05-04 07:36:33 +02:00