Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7A91C10ABE for ; Mon, 28 Oct 2013 07:30:43 +0000 (UTC) Received: (qmail 46477 invoked by uid 500); 28 Oct 2013 07:30:40 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 46343 invoked by uid 500); 28 Oct 2013 07:30:35 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 46320 invoked by uid 99); 28 Oct 2013 07:30:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Oct 2013 07:30:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Oct 2013 07:30:32 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id BBD6B23888E7; Mon, 28 Oct 2013 07:30:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1536267 - /cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java Date: Mon, 28 Oct 2013 07:30:12 -0000 To: commits@cxf.apache.org From: ningjiang@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20131028073012.BBD6B23888E7@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ningjiang Date: Mon Oct 28 07:30:12 2013 New Revision: 1536267 URL: http://svn.apache.org/r1536267 Log: CXF-5333 polish the code of AsyncHTTPConduit Modified: cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java Modified: cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java?rev=1536267&r1=1536266&r2=1536267&view=diff ============================================================================== --- cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java (original) +++ cxf/trunk/rt/transports/http-hc/src/main/java/org/apache/cxf/transport/http/asyncclient/AsyncHTTPConduit.java Mon Oct 28 07:30:12 2013 @@ -460,9 +460,6 @@ public class AsyncHTTPConduit extends UR entity.removeHeaders("Content-Type"); entity.setEntity(null); } - if (url.getScheme().equals("https") && tlsClientParameters == null) { - tlsClientParameters = new TLSClientParameters(); - } HttpClientContext ctx = HttpClientContext.create();