hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Byström (JIRA) <j...@apache.org>
Subject [jira] [Updated] (HTTPASYNC-19) Exception in thread when exceeding max routes
Date Wed, 25 Apr 2012 13:00:19 GMT

     [ 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

View raw message