Re: [Doh] How to start HTTP/2?

Stephane Bortzmeyer <bortzmeyer@nic.fr> Tue, 16 January 2018 15:24 UTC

Return-Path: <bortzmeyer@nic.fr>
X-Original-To: doh@ietfa.amsl.com
Delivered-To: doh@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 41C8E13153D for <doh@ietfa.amsl.com>; Tue, 16 Jan 2018 07:24:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9gnEB3TXUkHM for <doh@ietfa.amsl.com>; Tue, 16 Jan 2018 07:24:28 -0800 (PST)
Received: from mx4.nic.fr (mx4.nic.fr [IPv6:2001:67c:2218:2::4:12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BBECE131564 for <doh@ietf.org>; Tue, 16 Jan 2018 07:21:46 -0800 (PST)
Received: from mx4.nic.fr (localhost [127.0.0.1]) by mx4.nic.fr (Postfix) with SMTP id 4FAFB280161; Tue, 16 Jan 2018 16:21:45 +0100 (CET)
Received: by mx4.nic.fr (Postfix, from userid 500) id 49DB028017B; Tue, 16 Jan 2018 16:21:45 +0100 (CET)
Received: from relay01.prive.nic.fr (relay01.prive.nic.fr [IPv6:2001:67c:2218:15::11]) by mx4.nic.fr (Postfix) with ESMTP id 431A7280161; Tue, 16 Jan 2018 16:21:45 +0100 (CET)
Received: from b12.nic.fr (b12.users.prive.nic.fr [10.10.86.133]) by relay01.prive.nic.fr (Postfix) with ESMTP id 402C56423521; Tue, 16 Jan 2018 16:21:45 +0100 (CET)
Received: by b12.nic.fr (Postfix, from userid 1000) id 379784147F; Tue, 16 Jan 2018 16:21:45 +0100 (CET)
Date: Tue, 16 Jan 2018 16:21:45 +0100
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: Daniel Stenberg <daniel@haxx.se>
Cc: doh@ietf.org
Message-ID: <20180116152145.qhgqoo3dqmebb6aa@nic.fr>
References: <20180116150246.dvr3d3nstozqfadn@nic.fr> <alpine.DEB.2.20.1801161607110.20551@tvnag.unkk.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <alpine.DEB.2.20.1801161607110.20551@tvnag.unkk.fr>
X-Operating-System: Debian GNU/Linux 9.3
X-Kernel: Linux 4.9.0-5-amd64 x86_64
X-Charlie: Je suis Charlie
Organization: NIC France
X-URL: http://www.nic.fr/
User-Agent: NeoMutt/20170113 (1.7.2)
X-Bogosity: No, tests=bogofilter, spamicity=0.001507, version=1.2.2
X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2018.1.16.151215
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/s5yKo17EjtgCPe7t6QGeSMCEKI8>
Subject: Re: [Doh] How to start HTTP/2?
X-BeenThere: doh@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: DNS Over HTTPS <doh.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/doh>, <mailto:doh-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/doh/>
List-Post: <mailto:doh@ietf.org>
List-Help: <mailto:doh-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/doh>, <mailto:doh-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Jan 2018 15:24:29 -0000

On Tue, Jan 16, 2018 at 04:12:39PM +0100,
 Daniel Stenberg <daniel@haxx.se> wrote 
 a message of 27 lines which said:

> If you stick to HTTPS (which the spec says we must in section 4)
> then there's only one way: negotiate HTTP version with ALPN. It also
> happens to be the easiest way for clients IMHO.

OK, but could it be better to say explicitely "Servers and clients
MUST start HTTP/2 using the ALPN extension of TLS, as specified in RFC
7540, section 3.3"?

(Then, what a server should do if the client did not use ALPN? Start
HTTP/2 anyway, because of the robustness principle?)