netty5/transport-native-epoll/src/main/java/io/netty/channel/epoll
Lunfu Zhong e7b3195570 Support ALLOW_HALF_CLOSURE channel option on Unix domain socket. (#8932)
Motivation:

Since DomainSocketChannel is a DuplexChannel,  which be able to shutdown input or output individually on demands, but ALLOW_HALF_CLOSURE channel option has not been supported yet.

I thought this could be a missing feature of Unix domain socket, so here the PR for it.

Modifications:

1. Added allHalfClosure property both in  EpollDomainSocketChannelConfig and KQueueDomainSocketChannelConfig,
2. Enabled isAllowHalfClosure method of native channel to support domain channel config,
3. Created EpollDomainSocketShutdownOutputByPeerTest and KQueueDomainSocketShutdownOutputByPeerTest to verify the change.

Result:

ALLOW_HALF_CLOSURE channel option can be set with DomainSocketChannel, and no more warning of Unknown channel option 'ALLOW_HALF_CLOSURE'.
2019-03-19 11:24:07 +01:00
..
AbstractEpollChannel.java Support ALLOW_HALF_CLOSURE channel option on Unix domain socket. (#8932) 2019-03-19 11:24:07 +01:00
AbstractEpollServerChannel.java Epoll and Kqueue shouldn't read by default (#8024) 2018-06-15 10:28:50 +02:00
AbstractEpollStreamChannel.java DefaultFileRegion.transferTo with invalid count may cause busy-spin (#8885) 2019-02-26 11:08:09 +01:00
Epoll.java Allow to use native transports when sun.misc.Unsafe is not present on… (#8231) 2018-08-29 19:36:33 +02:00
EpollChannelConfig.java Avoid repeating the same field and hiding it (#8335) 2018-09-28 17:37:14 +02:00
EpollChannelOption.java Allow to configure socket option SO_BUSY_POLL (#8268) 2018-09-07 20:50:51 +02:00
EpollDatagramChannel.java Reduce GC produced by native DatagramChannel implementations when in connected mode. (#8806) 2019-02-01 10:29:36 +01:00
EpollDatagramChannelConfig.java Allowed IP_FREEBIND option for UDP epoll (#8728) 2019-01-21 07:42:05 +01:00
EpollDomainSocketChannel.java Enforce writeSpinCount to limit resource consumption per socket (#7478) 2017-12-07 16:00:52 -08:00
EpollDomainSocketChannelConfig.java Support ALLOW_HALF_CLOSURE channel option on Unix domain socket. (#8932) 2019-03-19 11:24:07 +01:00
EpollEventArray.java Allow to use native transports when sun.misc.Unsafe is not present on… (#8231) 2018-08-29 19:36:33 +02:00
EpollEventLoop.java Clenaup: simplify EpollEventLoop.closeAll() (#8719) 2019-01-16 11:00:25 +01:00
EpollEventLoopGroup.java Unify {Epoll,KQueue}EventLoopGroup initialization. 2017-07-24 20:14:54 +02:00
EpollMode.java Allow to change epoll mode 2015-02-04 21:37:34 +01:00
EpollRecvByteAllocatorHandle.java Allow to use native transports when sun.misc.Unsafe is not present on… (#8231) 2018-08-29 19:36:33 +02:00
EpollRecvByteAllocatorStreamingHandle.java Update to new checkstyle plugin (#8777) (#8780) 2019-01-25 11:58:42 +01:00
EpollServerChannelConfig.java use checkPositive/checkPositiveOrZero (#8803) 2019-01-31 09:07:14 +01:00
EpollServerDomainSocketChannel.java New native transport for kqueue 2017-05-03 09:53:22 -07:00
EpollServerSocketChannel.java Correctly handle connect/disconnect in EpollDatagramChannel / KQueueDatagramChannel 2017-08-04 09:22:53 +02:00
EpollServerSocketChannelConfig.java Avoid repeating the same field and hiding it (#8335) 2018-09-28 17:37:14 +02:00
EpollSocketChannel.java Correctly handle connect/disconnect in EpollDatagramChannel / KQueueDatagramChannel 2017-08-04 09:22:53 +02:00
EpollSocketChannelConfig.java Avoid repeating the same field and hiding it (#8335) 2018-09-28 17:37:14 +02:00
EpollTcpInfo.java Correctly handle unsigned int values returned from TCP_INFO 2017-07-25 16:18:52 +02:00
LinuxSocket.java Update to new checkstyle plugin (#8777) (#8780) 2019-01-25 11:58:42 +01:00
Native.java Added option to do busy-wait on epoll (#8267) 2018-09-28 22:52:00 +02:00
NativeDatagramPacketArray.java Reduce direct memory overhead per EpollEventLoop when using EpollDatagramChannel (#8825) 2019-02-02 07:10:02 +01:00
NativeStaticallyReferencedJniMethods.java Native EPOLL Library Allows Shading 2016-02-03 14:40:28 -08:00
package-info.java Introduce a native transport for linux using epoll ET 2014-02-15 22:44:56 +01:00
TcpMd5Util.java New native transport for kqueue 2017-05-03 09:53:22 -07:00