You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Erik Byström (JIRA)" <ji...@apache.org> on 2012/04/25 15:00:19 UTC

[jira] [Updated] (HTTPASYNC-19) Exception in thread when exceeding max routes

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

Erik Byström updated HTTPASYNC-19:
----------------------------------

    Attachment: AsyncClientHttpExchangeFutureCallbackFail.java

Modification of the AsyncExchange example that illustrates the problem.
                
> Exception in thread when exceeding max routes
> ---------------------------------------------
>
>                 Key: HTTPASYNC-19
>                 URL: https://issues.apache.org/jira/browse/HTTPASYNC-19
>             Project: HttpComponents HttpAsyncClient
>          Issue Type: Bug
>    Affects Versions: 4.0-beta1
>            Reporter: Erik Byström
>         Attachments: AsyncClientHttpExchangeFutureCallbackFail.java
>
>
> The IO workers throw an "java.lang.IllegalArgumentException: HTTP request may not be null" in the worker thread when the maximum number of connections / total or route is reached. It would be much more practical if the exception was throw when in the execute method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org