Clarification of transport and HTTP version compatibility

Samuel Hurst <samuelh@rd.bbc.co.uk> Wed, 09 May 2018 16:05 UTC

Return-Path: <samuelh@rd.bbc.co.uk>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C057E12DA51 for <quic@ietfa.amsl.com>; Wed, 9 May 2018 09:05:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.301
X-Spam-Level:
X-Spam-Status: No, score=-2.301 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] 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 hYWuIMcY79Gy for <quic@ietfa.amsl.com>; Wed, 9 May 2018 09:05:04 -0700 (PDT)
Received: from gateh.kw.bbc.co.uk (gateh.kw.bbc.co.uk [132.185.132.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 70D3512E85E for <quic@ietf.org>; Wed, 9 May 2018 09:05:03 -0700 (PDT)
Received: from mailhub0.rd.bbc.co.uk ([172.29.120.128]) by gateh.kw.bbc.co.uk (8.14.5+Sun/8.13.6) with ESMTP id w49G51vU013545 for <quic@ietf.org>; Wed, 9 May 2018 17:05:01 +0100 (BST)
Received: from rd015072.rd.bbc.co.uk ([172.29.91.136]:46326) by mailhub0.rd.bbc.co.uk with esmtp (Exim 4.84_2) (envelope-from <samuelh@rd.bbc.co.uk>) id 1fGRaP-0001FQ-BB for quic@ietf.org; Wed, 09 May 2018 17:05:01 +0100
From: Samuel Hurst <samuelh@rd.bbc.co.uk>
Subject: Clarification of transport and HTTP version compatibility
To: IETF QUIC WG <quic@ietf.org>
Message-ID: <906fdff3-8009-238b-998b-4ea515a2684d@rd.bbc.co.uk>
Date: Wed, 09 May 2018 17:04:56 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="oYGoytREnNRT3p4KejHLe5e48cklVEiRB"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/nQGhH1Kajwk7wIdfaloNPDGB36g>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 May 2018 16:05:15 -0000

Hi all,

Does the quic-transport version and the HTTP mapping version have to
match? For example, could you negotiate QUIC draft-11, but the HTTP side
is still using an older version (such as draft-09 to avoid the
requirement of QPACK)?

As far as I understand it, the QUIC transport version is negotiated as
part of the TransportParams in the appropriate TLS extension, and the
HTTP mapping version is negotiated by ALPN. So in the example above,
would it be acceptable to negotiate 0xff00000a as the transport protocol
version, and then have an ALPN string of "hq-09"?

I'm then assuming that a valid Alt-Svc header for my example could be as
follows:

Alt-Svc: hq-09=":4443";quic="ff00000a"

The quic-tls draft mentions in Section 9.1 "The application-layer
protocol MAY restrict the QUIC version that it can operate over", but
none of the quic-http drafts that I've read list any such restriction.
Therefore, I'm then further assuming that it's safe to run whatever
version of the HTTP mapping I like, unless there's a compatibility
matrix between the various specs that I'm missing?

Best Regards,
Sam