hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HTTPCLIENT-1821) Syncronous and asynchronous versions of the client report exception in a slightly different way
Date Tue, 02 May 2017 14:15:04 GMT

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

Oleg Kalnichevski resolved HTTPCLIENT-1821.
-------------------------------------------
    Resolution: Won't Fix

> Syncronous and asynchronous versions of the client report exception in a slightly different
way
> -----------------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1821
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1821
>             Project: HttpComponents HttpClient
>          Issue Type: Task
>            Reporter: Sebastiano Vigna
>            Priority: Minor
>             Fix For: 5.0
>
>
> This is more a "surprising behaviour" report than a true bug report. We noticed that
if you use the asynchronous client and perform too many redirects, the exception passed to
the FutureCallback is a RedirectException. However, if you use the synchronous client the
execute() method throws a ClientProtocolException whose cause is a RedirectException. If this
behaviour is intended it should be probably documented.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message