netty5/transport/src
Norman Maurer 30fe2e868f Call finishConnect() before try to call read(...) / write(...) when using NIO
Motivation:

The JDK implementation of SocketChannel has an internal state that is tracked for its operations. Because of this we need to ensure we call finishConnect() before try to call read(...) / write(...) as otherwise it may produce a NotYetConnectedException.

Modifications:

First process OP_CONNECT flag.

Result:

No more possibility of NotYetConnectedException because OP_CONNECT is handled not early enough when processing interestedOps for a Channel.
2016-09-01 08:55:02 +02:00
..
main/java/io/netty Call finishConnect() before try to call read(...) / write(...) when using NIO 2016-09-01 08:55:02 +02:00
test/java/io/netty Fix write watermarks comparison to use less than and greater than. 2016-08-24 15:58:02 +02:00