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:
parent
5bc447c539
commit
2de644224c
@ -75,6 +75,7 @@ public final class EpollServerDomainSocketChannel extends AbstractEpollServerCha
|
|||||||
fd().bind(localAddress);
|
fd().bind(localAddress);
|
||||||
fd().listen(config.getBacklog());
|
fd().listen(config.getBacklog());
|
||||||
local = (DomainSocketAddress) localAddress;
|
local = (DomainSocketAddress) localAddress;
|
||||||
|
active = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user