netty5/transport-native-unix-common-tests
Scott Mitchell 1d7c3fb7ee KQueue detect peer close without EVFILT_READ
Motivation:
The EPOLL transport uses EPOLLRDHUP to detect when the peer closes the write side of the socket. Currently KQueue is not able to mimic this behavior and the only way to detect if the peer has closed is to read. It may not always be appropriate to read for backpressure and other reasons at the application level.

Modifications:
- Support EVFILT_SOCK filter which provides notification when the peer closes the socket

Result:
KQueue transport has more consistent behavior with Epoll transport for detecting peer closure.
2017-08-18 11:00:18 -07:00
..
src/main/java/io/netty/channel/unix/tests KQueue detect peer close without EVFILT_READ 2017-08-18 11:00:18 -07:00
pom.xml [maven-release-plugin] prepare for next development iteration 2017-08-02 12:55:10 +00:00