Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:90003 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70038 invoked from network); 4 Jan 2016 20:44:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jan 2016 20:44:59 -0000 Authentication-Results: pb1.pair.com header.from=me@daveyshafik.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=me@daveyshafik.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain daveyshafik.com from 74.125.82.42 cause and error) X-PHP-List-Original-Sender: me@daveyshafik.com X-Host-Fingerprint: 74.125.82.42 mail-wm0-f42.google.com Received: from [74.125.82.42] ([74.125.82.42:37120] helo=mail-wm0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 01/9A-07292-AC9DA865 for ; Mon, 04 Jan 2016 15:44:58 -0500 Received: by mail-wm0-f42.google.com with SMTP id f206so140739wmf.0 for ; Mon, 04 Jan 2016 12:44:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daveyshafik-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=qR3pLwepfm2+hGnypfWr8gIrGzqfGTGGkPJBnIqL2DQ=; b=yTgaSwuM0mE77krAnGa3FjBc5M8oDZIpFTnuedqjhciJ/dWekucNxOWjHkH3jWOERo NLqOIrDpV2YNtxAxENMy+n5aDGRShYgkZ3PTwd9FTPX3kV33RwpWvDUEppZ2u0fydOJn MK/TomHy0ItDpRfe/U9lLA+6gTMdqYEW4qc9fmvZPwK2PEfTwmM7PQ9D5soNaFiKYqDe wAM+OG6t+ksgJ1Ykd98Kx/vffVNLBHh4PfqdwFPsEE6awRXSr+1NPARrWNvUdFwpLcoP SWftQlE2TbkYKio33zDNCl/RLoNqayhsqo6+y7IIflqYobMu0B7lv+8UX8p4tMPlRCkn Qcgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=qR3pLwepfm2+hGnypfWr8gIrGzqfGTGGkPJBnIqL2DQ=; b=NsATmWcDL1Hu6s/MSUmVSf3u1MoEqJ8Re75/TsLJgYK3jjK21c7NzHCYKHhGhdPr37 fixmzRLl2/vkoyPmu1m+8/gkq7FHtt4NT2cAHfhEC0MlRsNVwHFXqFoM7J/Fj5asLx+v gvvib0bU7DkCy5k8CqNwO8emDtcbe3XX3mdJIBlJinFYjVihDxjpH8udMBljebW2VOOL 3zyAyw7N+CaXpc3Fwz8BvK593+7PgfsYeBzZe9bcAb23O6z40HujnBqoh5MyIp+NfSAI yIW1CFrA8gHDFmK4MgYmsAVd36+mJDVuacd90+bxR4HRnM8vpk5C7fNZvE2ccHGbkFtY 4cnw== X-Gm-Message-State: ALoCoQnLIErFIRQO7gPw7hEORqQNipyHR1Bsr/qdpGMNH2FFXh4sF+zVGRW0ICMDNgFdhZyvk8PkjfcgGrfAOihxLGUz+V1ci+qgpHQOPNpIoyOYuzyc5oI= MIME-Version: 1.0 X-Received: by 10.28.189.11 with SMTP id n11mr358214wmf.3.1451940294941; Mon, 04 Jan 2016 12:44:54 -0800 (PST) Sender: me@daveyshafik.com Received: by 10.194.83.198 with HTTP; Mon, 4 Jan 2016 12:44:54 -0800 (PST) In-Reply-To: References: Date: Mon, 4 Jan 2016 20:44:54 +0000 X-Google-Sender-Auth: PwPFqbPG12V17syNjYiyL7sctKs Message-ID: To: Andrea Faulds Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a114b15dc83fd3d0528883182 Subject: Re: [PHP-DEV] Re: Testing HTTP/2 support in PHP From: davey@php.net (Davey Shafik) --001a114b15dc83fd3d0528883182 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Andrea On Mon, Jan 4, 2016 at 5:16 PM, Andrea Faulds wrote: > Hi Davey, > > Davey Shafik wrote [snip] We could also add a flag (e.g. --[no-]http2) on the CLI for >> enabling/disabling it =E2=80=94 this would be helpful for testing HTTP/2= client >> fallback when it's not supported. >> > > Hmm, this would mean a new dependency, and more potential complexity. I'm > not sure if HTTP/2 justifies it. > This is the main reason I think it should be optional. But I do think HTTP/2 justifies it none-the-less. HTTP/2 has the potential to completely disrupt our HTTP architecture =E2=80=94 it removes the need for things like= JS/CSS inlining, JS/CSS minifying, CSS image sprites, domain sharding, and more. > Also, don't all the major client implementations of HTTP/2 require TLS? O= r > is localhost given a free pass? All browser implementations do require TLS, most other clients do not. Given that cli-server is intended for development only so shipping some "self" signed certs might be fine. I'd suggest integrating with letsencrypt but they can't issue certs for localhost (no public CA can). > This is a much more useful tool than relying on node for make tests, and >> allows us to test adding HTTP/2 support to ext/curl, the HTTP stream >> (which >> could also use libnghttp2=E2=80=A6), userland HTTP/2 clients, pecl_http = (if that's >> still a thing), etc. >> > > If added, I suppose it would be useful for PHP developers testing HTTP/2 > features like Server Push, assuming the CLI server supported it. > If we use nghttp2 it should. Thanks, - Davey --001a114b15dc83fd3d0528883182--