Re: How to reset ALTSVC

Mark Nottingham <mnot@mnot.net> Thu, 02 April 2015 00:22 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 219CF1ACED3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 1 Apr 2015 17:22:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.912
X-Spam-Level:
X-Spam-Status: No, score=-6.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 G2N3C0YipbiR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 1 Apr 2015 17:22:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5B7D41ACECF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 1 Apr 2015 17:22:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1YdSpZ-0002wv-6T for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Apr 2015 00:17:57 +0000
Resent-Date: Thu, 02 Apr 2015 00:17:57 +0000
Resent-Message-Id: <E1YdSpZ-0002wv-6T@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.80) (envelope-from <mnot@mnot.net>) id 1YdSpV-0002rF-6r for ietf-http-wg@listhub.w3.org; Thu, 02 Apr 2015 00:17:53 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1YdSpT-0007eA-BA for ietf-http-wg@w3.org; Thu, 02 Apr 2015 00:17:52 +0000
Received: from [192.168.0.16] (unknown [120.149.147.132]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id BC87222E260; Wed, 1 Apr 2015 20:17:26 -0400 (EDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAJ_4DfR0e4r-iW=d2jmT5OB04pDFkZJZU4z0RNcBx7G4pzYBUg@mail.gmail.com>
Date: Thu, 02 Apr 2015 11:17:23 +1100
Cc: Martin Thomson <martin.thomson@gmail.com>, Bence Béky <bnc@chromium.org>, HTTP <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <64587696-EAE4-44B4-9267-84DC841F0E14@mnot.net>
References: <CACMu3tp-+YH2HYx4y8PrW8CQ7fZHB-By5Qg6Wk3hGHAbYCADCg@mail.gmail.com> <CABkgnnV5qS=dhVGXH1rPiLYvW1SQivjKENypQvEt-4mCs_Df6w@mail.gmail.com> <CAJ_4DfR0e4r-iW=d2jmT5OB04pDFkZJZU4z0RNcBx7G4pzYBUg@mail.gmail.com>
To: Ryan Hamilton <rch@google.com>
X-Mailer: Apple Mail (2.2070.6)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-8.2
X-W3C-Hub-Spam-Report: AWL=1.385, BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1YdSpT-0007eA-BA 9ee223cfcdb2a1612146790205aa7a86
X-Original-To: ietf-http-wg@w3.org
Subject: Re: How to reset ALTSVC
Archived-At: <http://www.w3.org/mid/64587696-EAE4-44B4-9267-84DC841F0E14@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/29205
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 2 Apr 2015, at 10:02 am, Ryan Hamilton <rch@google.com> wrote:
> 
> On Wed, Apr 1, 2015 at 9:24 AM, Martin Thomson <martin.thomson@gmail.com> wrote:
> On 1 April 2015 at 05:11, Bence Béky <bnc@chromium.org> wrote:
> > I think the simplest way to say "the alternative services for this
> > origin is the following list: {empty list}" is to say "{empty list}"
> > instead of "{one item identical to origin, which is understood to have
> > the special meaning that it's an empty list}" or "{one item with valid
> > but arbitrary port and a special, otherwise unused value for ma, which
> > is understood to have the special meaning that it's an empty list}".
> 
> That argument only makes sense if you don't consider the origin to be
> a validate alternative.  That it's implicit and always present isn't
> of much consequence.
> 
> That's surprising to me. As I read the spec, Alt-Svc is all about specifying different ways to reach a server:
> 
>    ...document specifies "alternative services" for HTTP, which allow
>    an origin's resources to be authoritatively available at a separate
>    network location
> 
> 
> To me, that does not imply that the origin is present in the list of alternatives. If the origin is implicitly in that list, should Alt-Svc-Used be sent when using it? That doesn't seem reasonable to me, which makes me think that the origin really isn't implicitly part of the Alt-Svc list.
> 
> Am I thinking about this the wrong way?

Well, literally speaking it’s not an alternative; it’s the authority (the thing that alt-svc provides alternatives *to*). 

It *is* in the list of “places I can get stuff for this origin from”, however.

Cheers,

--
Mark Nottingham   https://www.mnot.net/