Skip to content

Commit

Permalink
Correctly mark EpollServerDomainSocketChannel.isActive() as true afte…
Browse files Browse the repository at this point in the history
…r 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.
  • Loading branch information
normanmaurer committed Dec 1, 2016
1 parent 5bc447c commit 2de6442
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ protected void doBind(SocketAddress localAddress) throws Exception {
fd().bind(localAddress);
fd().listen(config.getBacklog());
local = (DomainSocketAddress) localAddress;
active = true;
}

@Override
Expand Down

0 comments on commit 2de6442

Please sign in to comment.