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] (HTTPASYNC-50) CachingHttpAsyncClient generates incorrect HTTP request line
Date Tue, 06 Aug 2013 07:58:47 GMT

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

Oleg Kalnichevski resolved HTTPASYNC-50.
----------------------------------------

    Resolution: Incomplete
    
> CachingHttpAsyncClient generates incorrect HTTP request line
> ------------------------------------------------------------
>
>                 Key: HTTPASYNC-50
>                 URL: https://issues.apache.org/jira/browse/HTTPASYNC-50
>             Project: HttpComponents HttpAsyncClient
>          Issue Type: Bug
>    Affects Versions: 4.0-beta4
>            Reporter: Rocco Zanni
>
> When calling this version of execute()
> public Future<HttpResponse> execute(final HttpUriRequest request, final FutureCallback<HttpResponse>
callback)
> this way:
> execute(new HttpGet("http://localhost:20000/request"), new FutureCallback<HttpResponse>()
{
>             @Override
>             public void completed(HttpResponse result) {}
>             @Override
>             public void failed(Exception ex) {}
>             @Override
>             public void cancelled() {}
>         });
> the first line of the HTTP request sent on the wire is like this one:
> GET http://localhost:20000/request HTTP/1.1
> instead of the correct one:
> GET /request HTTP/1.1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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


Mime
View raw message