You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Sam Berlin (JIRA)" <ji...@apache.org> on 2008/03/21 05:47:24 UTC

[jira] Commented: (HTTPCLIENT-760) Abort Before Execute & Various Other Times Fails

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12581003#action_12581003 ] 

Sam Berlin commented on HTTPCLIENT-760:
---------------------------------------

I should mention the patch also has a minor API touchup of removing the InterruptedException declaration from the various execute methods.  Since the only way it can happen is by an abort, and it's possible that an abort may also cause an IOException, it didn't make much sense to distinguish the exceptions.  So now the potential InterruptedException is wrapped by an IOException, consolidating the kinds of exceptions that can happen from an execute down to an HttpException and an IOException.

> Abort Before Execute & Various Other Times Fails
> ------------------------------------------------
>
>                 Key: HTTPCLIENT-760
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-760
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.0 Alpha 2
>            Reporter: Sam Berlin
>             Fix For: 4.0 Alpha 4
>
>         Attachments: changes.txt
>
>
> With svn commit #639506, a few more scenarios become testable & can be fixed.  These are: aborting before HttpClient.execute is called, aborting between setting the connection request for aborting and setting the connection release trigger, and aborting after a redirected route uses a new connection request.  As of r639506, those three scenarios fail to abort correctly.

-- 
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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org