netty5/transport-native-kqueue
Norman Maurer 9bcf31977c Fail the connectPromise with the correct exception if the connection is refused when using the native kqueue transport.
Motivation:

Due a bug we happen to sometimes fail the connectPromise with a ClosedChannelException when using the kqueue transport and the remote peer refuses the connection. We need to ensure we fail it with the correct exception.

Modifications:

Call finishConnect() before calling close() to ensure we preserve the correct exception.

Result:

KQueueSocketConnectionAttemptTest.testConnectionRefused will pass always on macOS.
2017-10-07 21:33:26 +02:00
..
src Fail the connectPromise with the correct exception if the connection is refused when using the native kqueue transport. 2017-10-07 21:33:26 +02:00
pom.xml [maven-release-plugin] prepare for next development iteration 2017-09-25 06:12:32 +02:00