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

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

> Calling cancel on Future returned by InternalHttpAsyncClient gives incorrect 
> boolean result
> -------------------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-2168
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2168
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient (async)
>            Reporter: H Nguyen
>            Priority: Minor
>         Attachments: FutureWrapper.png, InternalHttpAsyncClient.png
>
>
> *Problem:* I used InternalHttpAsyncClient.execute() to perform a file 
> download from the internet. However when I tried to cancel the future, the 
> boolean returned is always false because it's being cancelled twice (first 
> time successful, the second time it's already canceled so it returned false). 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to