Return-Path: X-Original-To: apmail-hc-httpclient-users-archive@www.apache.org Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E6DC317B2E for ; Fri, 9 Jan 2015 06:15:59 +0000 (UTC) Received: (qmail 71993 invoked by uid 500); 9 Jan 2015 06:16:00 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 71949 invoked by uid 500); 9 Jan 2015 06:16:00 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 71937 invoked by uid 99); 9 Jan 2015 06:15:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2015 06:15:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of apache@elyograg.org designates 166.70.79.219 as permitted sender) Received: from [166.70.79.219] (HELO frodo.elyograg.org) (166.70.79.219) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jan 2015 06:15:35 +0000 Received: from localhost (localhost [127.0.0.1]) by frodo.elyograg.org (Postfix) with ESMTP id E4E4781BF for ; Thu, 8 Jan 2015 23:15:07 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=elyograg.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :references:subject:subject:mime-version:user-agent:from:from :date:date:message-id:received:received; s=mail; t=1420784107; bh=csz27DsQ9CjxhLPrtnOT+iltVJgPlsyjFm3aifir/Dk=; b=keBhmu0mEo7O VvOEkSh1cWduCYtm/fQrrWs1Yh0ElBvw1N5VD9OJUr7jveM92vDUSpwN1o8J4WL6 BP76Tt0+iFvO6NyWCSNK0lmncLBYepwvvop9iccrwWf8Do9XMJarYBX8yPLbOkuO se/hnqiAI5HybLJUmeU8gnDVzOZhcSY= X-Virus-Scanned: Debian amavisd-new at frodo.elyograg.org Received: from frodo.elyograg.org ([127.0.0.1]) by localhost (frodo.elyograg.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JWmGsAwLDQ-D for ; Thu, 8 Jan 2015 23:15:07 -0700 (MST) Received: from [192.168.1.102] (102.int.elyograg.org [192.168.1.102]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: elyograg@elyograg.org) by frodo.elyograg.org (Postfix) with ESMTPSA id 9B4CE47F3 for ; Thu, 8 Jan 2015 23:15:07 -0700 (MST) Message-ID: <54AF71EA.7030808@elyograg.org> Date: Thu, 08 Jan 2015 23:15:06 -0700 From: Shawn Heisey User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: HttpClient User Discussion Subject: Re: HTTP 2 and Apache HTTP client References: <1420726817.4116.5.camel@apache.org> <54AF048D.4060507@elyograg.org> <8B27DAC7-33DD-47E9-9063-26BC722FBD55@gmail.com> In-Reply-To: <8B27DAC7-33DD-47E9-9063-26BC722FBD55@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 1/8/2015 5:28 PM, Stefan Magnus Landrø wrote: > Maybe consider jetty instead? > > https://github.com/eclipse/jetty.project/blob/jetty-http2/jetty-http2/http2-client/src/test/java/org/eclipse/jetty/http2/client/Client.java For an Apache project like Solr (which uses HttpClient and is my primary reason for being here), I see two problems with that idea: One problem is the "eating your own dog food" argument -- if software from an Apache project fits all of the requirements and has no significant disadvantages compared to a competitor, we should choose to use the software from Apache. Both projects are likely to benefit. http://en.wikipedia.org/wiki/Eating_your_own_dog_food The other problem is that switching to a completely different http client would likely involve significant development time, both for the switch itself and for fixing the inevitable bugs that are a direct result. Seeing that competing projects are already focusing effort on HTTP/2 is even more reason to accelerate HttpClient towards HTTP/2. Even Oracle has fairly concrete plans for a new client in Java itself: https://bugs.openjdk.java.net/browse/JDK-8042950 Thanks, Shawn --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org For additional commands, e-mail: httpclient-users-help@hc.apache.org