Correctly mark EpollServerDomainSocketChannel.isActive() as true after bind is complete.]

Motivation:

We missed to set active = true in EpollServerDomainSocketChannel.doBind(...) which also means that channelActive(...) was never triggered.

Modifications:

Correct set active = true in doBind(...)

Result:

EpollServerDomainSocketChannel is correctly set to active when bound.
This commit is contained in:
Norman Maurer 2016-11-25 08:06:28 +01:00 committed by Norman Maurer
parent 5bc447c539
commit 2de644224c

View File

@ -75,6 +75,7 @@ public final class EpollServerDomainSocketChannel extends AbstractEpollServerCha
fd().bind(localAddress);
fd().listen(config.getBacklog());
local = (DomainSocketAddress) localAddress;
active = true;
}
@Override