[ 
https://issues.apache.org/jira/browse/DIR-11?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emmanuel Lecharny closed DIR-11.
--------------------------------


> Channel registration in InputManager blocks
> -------------------------------------------
>
>                 Key: DIR-11
>                 URL: https://issues.apache.org/jira/browse/DIR-11
>             Project: Directory
>          Issue Type: Bug
>            Reporter: Alex Karasulu
>            Assignee: Alex Karasulu
>            Priority: Critical
>
> After a new client is accepted by the ListenerManager a ConnectEvent
> is fired on the event router to inform subscribers of the new client socket 
> connection.  The InputManager is a ConnectEvent subscriber and it needs to be 
> able to register these new channels with its own
> selector to be able to detect incoming IO but within the inform(ConnectEvent) 
> method of the DefaultInputManager implementation the call to register hangs.  
> Even with surrounding m_selector.wakeup() calls I cannot get the code to 
> unblock.  
> The code unblocks when the l_channel.configureBlocking( false ) line just 
> above the register() line is commented out or set to true.  I'm screwing 
> something up here and perhaps it requires another set of eyes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to