Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:90038 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58085 invoked from network); 5 Jan 2016 02:14:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jan 2016 02:14:39 -0000 X-Host-Fingerprint: 2.218.134.247 unknown Received: from [2.218.134.247] ([2.218.134.247:11437] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 83/C8-07292-E072B865 for ; Mon, 04 Jan 2016 21:14:39 -0500 Message-ID: <83.C8.07292.E072B865@pb1.pair.com> To: internals@lists.php.net References: Date: Tue, 5 Jan 2016 02:14:35 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 2.218.134.247 Subject: Re: [PHP-DEV] Re: Testing HTTP/2 support in PHP From: ajf@ajf.me (Andrea Faulds) Hi Pierre, Pierre Joye wrote: > Hi Andrea, > On Jan 5, 2016 12:16 AM, "Andrea Faulds" wrote: >> >> >> Hmm, this would mean a new dependency, and more potential complexity. I'm > not sure if HTTP/2 justifies it. >> >> Also, don't all the major client implementations of HTTP/2 require TLS? > Or is localhost given a free pass? > > To me it would be a huge and hard work to reinvent the wheel by manually > implement http2 support. > > This library is widely used and well maintained. It provides all we need > (easy api for frames, push and co, hpack etc.). It is an acceptable trade > off to add one dep to have a compliant http2 support. Ah, don't get me wrong, I didn't think we should reimplement HTTP/2 ourselves! I just worried about the complexity. But yeah, since it's a library, I probably shouldn't worry too much. :) Thanks. -- Andrea Faulds https://ajf.me/