Re: Our ALPN protocol IDs

Martin Thomson <martin.thomson@gmail.com> Thu, 05 December 2013 21:03 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 79C461AE116 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 5 Dec 2013 13:03:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.003
X-Spam-Level:
X-Spam-Status: No, score=-7.003 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 I9T7dGIs5R0g for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 5 Dec 2013 13:03:30 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8843A1AE0EA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 5 Dec 2013 13:03:30 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Vog4H-0002x0-DR for ietf-http-wg-dist@listhub.w3.org; Thu, 05 Dec 2013 21:02:41 +0000
Resent-Date: Thu, 05 Dec 2013 21:02:41 +0000
Resent-Message-Id: <E1Vog4H-0002x0-DR@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1Vog3t-0002uX-EZ for ietf-http-wg@listhub.w3.org; Thu, 05 Dec 2013 21:02:17 +0000
Received: from mail-we0-f170.google.com ([74.125.82.170]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1Vog3s-00023C-5D for ietf-http-wg@w3.org; Thu, 05 Dec 2013 21:02:17 +0000
Received: by mail-we0-f170.google.com with SMTP id w61so17390218wes.29 for <ietf-http-wg@w3.org>; Thu, 05 Dec 2013 13:01:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Jf3Izvl/32Zy2evuUtRpaLk7b/hyF5X5dPaVpMIN79E=; b=NfaLL1sdvIIYKSnOJ+nsNE3NzqdYrV596YnfmLgncuLw84TCNewe0G2MAv5+rfK8JA 5XTwJQdPqOZY2PJEj76CTvMed+pH/TNHo6W1VFTY201Uxt4U6IFu1tlqEgtto6LWdXiG qdjyixvmKU+ezycJf8tolqoPwhV6uENv08fj3x1IZWYu7jN2KCd0wIt4Xb4AZW2Rh3wf ORDoHkJSJ/GuEoDX5ZeyPFJ0osMcilI/hIaUGGUSrJUC/UIj9zNXSzd6V+LMOdYks4oU OmmJ+PDjQYNxcU8xN6Zg0Tt4OSJpSFZx4KMD/+PO1H1+qwgitHEXO3XImN4x/CXAU6fR Cu2A==
MIME-Version: 1.0
X-Received: by 10.180.9.74 with SMTP id x10mr13714113wia.56.1386277309991; Thu, 05 Dec 2013 13:01:49 -0800 (PST)
Received: by 10.227.134.195 with HTTP; Thu, 5 Dec 2013 13:01:49 -0800 (PST)
In-Reply-To: <20131205202650.GA27966@1wt.eu>
References: <5983C983-BC5D-45E7-8E3A-7B03AB725235@mnot.net> <7FBC87A7-6A2C-4D37-B0C2-FEF9810B03DB@tzi.org> <CABkgnnVTOGLywRqh2Q1F-5EvhT=0VOMWAkH5daz0c_5HqGDtyw@mail.gmail.com> <9410CC66-C9AF-4D38-9ADE-08B983C66BA7@tzi.org> <CABkgnnXC=436fDtHGdC_JbKMkwJGnFXQVncp=Kiba-GfP3kb8g@mail.gmail.com> <25950523-31D5-421F-B2E7-C82DDBDE2DFB@tzi.org> <20131205202650.GA27966@1wt.eu>
Date: Thu, 05 Dec 2013 13:01:49 -0800
Message-ID: <CABkgnnWHrJzBGKzJCsTXHo7OaVEeXZw_4Z9mJyCQU-DGbn+BUQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Carsten Bormann <cabo@tzi.org>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=74.125.82.170; envelope-from=martin.thomson@gmail.com; helo=mail-we0-f170.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.705, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Vog3s-00023C-5D 8711f917a9d3b165d8d85ec0b0a51c53
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Our ALPN protocol IDs
Archived-At: <http://www.w3.org/mid/CABkgnnWHrJzBGKzJCsTXHo7OaVEeXZw_4Z9mJyCQU-DGbn+BUQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/21433
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On 5 December 2013 12:26, Willy Tarreau <w@1wt.eu> wrote:
> so what needs to be documented is more how to pick the best
> version when several ones are compatible between two agents.

That's inherent in ALPN at least: the server picks the option that
suits it best.  The same goes for Upgrade.  Alt-Svc/Alternate-Protocol
let the client pick, unless that means encountering ALPN or Upgrade on
the way there.  The main thing is, all mechanisms will unambiguously
select just one protocol stack.

> I don't see why it would be useful to insist on pretending to be 2.0 when
> connecting to a 2.0 and at the same time expect 2.1 to be transported if
> you can't gain any benefit from this. I even fear that we could reintroduce
> the 1.0/1.1 issues that proxies had to suffer about for decades by doing so.

That's a reasonable point, and I think one that others expressed too.
The amount of flexibility we allow within a single negotiation
protocol version is something we're still discussing.  Some want
basically zero flexibility (I tend to favour this, but not strongly).
Others understandably want to be able to experiment within the
envelope allowed by the protocol.  For HTTP/2.0, that's currently a
very narrow envelope.  That might change if we do something like
http://tools.ietf.org/html/draft-bishop-http2-extension-frames-00
(though I understand that even the author of this draft doesn't really
like this idea any more :)