Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 985E7F758 for ; Tue, 6 Aug 2013 07:58:55 +0000 (UTC) Received: (qmail 18618 invoked by uid 500); 6 Aug 2013 07:58:55 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 18373 invoked by uid 500); 6 Aug 2013 07:58:49 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 18363 invoked by uid 99); 6 Aug 2013 07:58:47 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Aug 2013 07:58:47 +0000 Date: Tue, 6 Aug 2013 07:58:47 +0000 (UTC) From: "Oleg Kalnichevski (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HTTPASYNC-50) CachingHttpAsyncClient generates incorrect HTTP request line MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 execute(final HttpUriRequest request, final FutureCallback callback) > this way: > execute(new HttpGet("http://localhost:20000/request"), new FutureCallback() { > @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