Will check later today

> Am 25.11.2016 um 04:45 schrieb byeongguk.gim <notifications@github.com>:
> 
> Netty version: 4.1.0.Final
> 
> Context: I found bug on EpollServerDomainSocketChannel class. Its isActive() method always return false. It is required to set isActive = true in doBind() operation. (same as EpollServerSocketChannel)
> 
> Steps to reproduce:
> 
> Use EpollServerDomainSocketChannel class to server bootstrap's channel class
> Bind any unix domain socket.
> Server Channel's channelActive() is not called due to EpollServerDomainSocketChannel.isActive() return false.
> $ java -version
> java version "1.8.0_45"
> Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
> Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
> 
> Operating system: Cent OS 7.2 64-bit
> 
> $ uname -a
> Linux 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 23 17:05:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
> 
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub, or mute the thread.
> 
 @byoengguk thanks for reporting... you are right. Let me fix this Fixed by https://github.com/netty/netty/pull/6078
EpollServerDomainSocketChannel.isActive() return false after bind operation succeed
Netty version: 4.1.0.Final

Context: I found bug on EpollServerDomainSocketChannel class. Its isActive() method always return false. It is required to set isActive = true in doBind() operation like EpollServerSocketChannel.

Steps to reproduce:
1. Use EpollServerDomainSocketChannel class to server bootstrap's channel class
2. Bind any unix domain socket.
3. Server Channel's channelActive() is not called due to EpollServerDomainSocketChannel.isActive() return false.

$ java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

Operating system: Cent OS 7.2 64-bit

$ uname -a
Linux  3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 23 17:05:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
transport-native-epoll/src/main/java/io/netty/channel/epoll/EpollServerDomainSocketChannel.java
transport-native-epoll/src/main/java/io/netty/channel/epoll/EpollServerDomainSocketChannel.java
diff --git a/transport-native-epoll/src/main/java/io/netty/channel/epoll/EpollServerDomainSocketChannel.java b/transport-native-epoll/src/main/java/io/netty/channel/epoll/EpollServerDomainSocketChannel.java
index 958d85a4240..c533d24ea1c 100644
--- a/transport-native-epoll/src/main/java/io/netty/channel/epoll/EpollServerDomainSocketChannel.java
+++ b/transport-native-epoll/src/main/java/io/netty/channel/epoll/EpollServerDomainSocketChannel.java
@@ -75,6 +75,7 @@ protected void doBind(SocketAddress localAddress) throws Exception {
         fd().bind(localAddress);
         fd().listen(config.getBacklog());
         local = (DomainSocketAddress) localAddress;
+        active = true;
     }
 
     @Override
