Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110240 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 35860 invoked from network); 22 May 2020 11:16:51 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 22 May 2020 11:16:51 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3D8951804C2 for ; Fri, 22 May 2020 02:56:01 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_INVALID,DKIM_SIGNED,SPF_PASS,T_SPF_HELO_PERMERROR autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS51395 185.32.220.0/22 X-Spam-Virus: No X-Envelope-From: Received: from upstairs.ofcourseimright.com (upstairs.ofcourseimright.com [185.32.222.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 22 May 2020 02:56:00 -0700 (PDT) Received: from Lear-Air.local (31-10-155-197.cgn.dynamic.upc.ch [31.10.155.197]) (authenticated bits=0) by upstairs.ofcourseimright.com (8.15.2/8.15.2/Debian-10) with ESMTPSA id 04M9tvii015462 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Fri, 22 May 2020 11:55:57 +0200 Authentication-Results: upstairs.ofcourseimright.com; dmarc=none (p=none dis=none) header.from=lear.ch DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=lear.ch; s=upstairs; t=1590141357; bh=F8qHXWGYTD5lDmY9Pi6IjCHgm2xEVbgnjNUClhdyLyw=; h=Subject:To:References:From:Date:In-Reply-To:From; b=lCZB+F5ofc6TCzqeKRkAHDFW8eMx6TwLVhb4NUc+w7GI5gK8H1Ob4RJygzNjJNlzh 2oYXZpwNSVwK3RazRG2deHmUl8Q1UUGO+veprs8y36ue/D9+pWqipfWMm2+2OWtr9a B09IUyaQyF3n5zqLZi0vRpIgh66ttNyhxl2YJvkA= To: Rowan Tommins , PHP Internals References: X-Pep-Version: 2.0 Message-ID: <48f95e23-932e-e91f-f872-3f8faf5f0aef@lear.ch> Date: Fri, 22 May 2020 11:55:57 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US Subject: Re: [PHP-DEV] HTTP/1.1 by default in PHP 8.0 From: lear@lear.ch (Eliot Lear) [2nd try, this time with proper etiquette] Hi Rowan and Larry and others, On 21.05.20 23:53, Rowan Tommins wrote: > > I would like to propose that the client advertises HTTP/1.1 in its > requests by default in PHP 8.0.=C2=A0 Users can opt out of this behavio= ur > in a fully backwards- and forwards-compatible way if necessary using a > stream context option, e.g.: > https://gist.github.com/IMSoP/a685fed6589435530102d57138755511 > > > What are people's opinions? Does this need an RFC, or should I just > submit a PR if nobody objects? > To me the only question is whether you want HTTP1.1 or 2 to be the default.=C2=A0 version 2 is a bit more complex, to be sure, but quite powerful in avoiding blocking. Eliot