[ 
https://issues.apache.org/jira/browse/HTTPCORE-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517255
 ] 

Oleg Kalnichevski commented on HTTPCORE-108:
--------------------------------------------

Alexander,

I am pretty sure the port will not become available _immediately_ after the 
shutdown on some platforms. This is quite normal and there is nothing we can do 
about it. There is always a certain time lag involved depending on OS / JRE / 
TCP/IP stack implementation  Are you sure the port stays allocated for the 
entire JVM lifetime?

Oleg

> DefaultListeningIOReactor does not provide access to the ServerSocketChannel 
> nor to the bound socket
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HTTPCORE-108
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-108
>             Project: HttpComponents Core
>          Issue Type: Bug
>          Components: HttpCore NIO
>    Affects Versions: 4.0-alpha5
>         Environment: any
>            Reporter: Alexander Veit
>            Priority: Blocker
>
> DefaultListeningIOReactor does not provide access to the ServerSocketChannel 
> nor to the bound socket.
> org.apache.http.impl.nio.reactor.DefaultListeningIOReactor#listen(SocketAddress)
>  opens a ServerSocketChannel and bind to the given address. However there is 
> no way to free the allocated system resources. They are being used unti the 
> Java VM terminates.
> This leads to problems in all circumstances where the listener should be 
> restarted within the same VM.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to