Re: How to reset ALTSVC
Bence Béky <bnc@chromium.org> Wed, 26 August 2015 21:11 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 B877F1B3332 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 26 Aug 2015 14:11:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.089
X-Spam-Level:
X-Spam-Status: No, score=-6.089 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, 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 7rhapCzJctDO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 26 Aug 2015 14:11:45 -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 25B9A1B3330 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 26 Aug 2015 14:11:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ZUhvA-0004Ba-JB for ietf-http-wg-dist@listhub.w3.org; Wed, 26 Aug 2015 21:07:48 +0000
Resent-Date: Wed, 26 Aug 2015 21:07:48 +0000
Resent-Message-Id: <E1ZUhvA-0004Ba-JB@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <bnc@google.com>) id 1ZUhv3-0004Ao-7X for ietf-http-wg@listhub.w3.org; Wed, 26 Aug 2015 21:07:41 +0000
Received: from mail-wi0-f178.google.com ([209.85.212.178]) by lisa.w3.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from <bnc@google.com>) id 1ZUhv1-0005V9-Aj for ietf-http-wg@w3.org; Wed, 26 Aug 2015 21:07:40 +0000
Received: by wijn1 with SMTP id n1so36574795wij.0 for <ietf-http-wg@w3.org>; Wed, 26 Aug 2015 14:07:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=yOzB056WtizTCrlmyh8h7CZjNYYxNoCqRjaM4M592pk=; b=YjaNK5VR14hrywWISyjZmj+LMVFdBp9z9PmQtfIiDMUlvYTjDDapt2vxVpzgvCDFmL kl37mpInfG1j6zb5eSJTZ0sSlMckEOsqKsfrHUV531hcKEIy4VBtjN5aARq8FIOCyDpB DWrILa5IF/exkVWahT3oon3gVNcqvx9z2icfYZsgdxeTsMBh3KwZywuEPA4IY5/Q7r+l 6RKoviR+qVgUaWEYH0a3ePGNTFg5ZjQtfpkmlTiS9T6hRMTVwJLhUvTPj1R9uATU6TcC ZSF45KlPIeMSy6fTxhIpzjqwJhUy08xcsw4kR8lQ/Msh0XMPSNLHMld22bYSqxZj6vur Av4w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=yOzB056WtizTCrlmyh8h7CZjNYYxNoCqRjaM4M592pk=; b=ePKDoAqHEGYf/tdfRyNkeKchEp9IoqYjaf1kJ6QUnBfMsre+6oLcZ5CPgl4kyfg3RD Mni7ZjVopnVNOF1v5svZOJ0xamRR5vHZ+6cMG+O0rwgj8znxKmOSu5isswOuK390T5J7 Qbe2/3TviZQkIPnjmJDJPQJIH67m1OQ1ocfJ4=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-type; bh=yOzB056WtizTCrlmyh8h7CZjNYYxNoCqRjaM4M592pk=; b=fCub7J3MccuY6TJVFIpKZM0f1SJE3jS8PRqTGie0jo1gYVSsGeAXdeEF8c5ocw3BZ3 ywivBh6BVBXk5qCY7IAQi22DmtGsEgsGmbwiz3EYw9RkpUIRKSV2Ckw6PbfHUPkEvrqJ VJzi9o6ojcYHdkVeRAYtzJmwYpuyDHoyEmNhcX2dfSrDzVzX9C8gJwi2X5VH/0pHgz15 adUsjqvJ/ZCLaY5a9nx0zIOl31QcjwTdXIdcZJMMAKpd4uDF/Um2BIhDE6YUhx974oDe jURachIQwIH/W8MVi50OMm/Lg5VJO2hMAu0YKx8akbVabRCw/JBI4gAAXzDE29ay7OJ2 cWCQ==
X-Gm-Message-State: ALoCoQnVqmd0r9T8ZpGYHZeKVrvmYiYmHF1lD9L6bv1hNYZ1B2pVsMd3iwTNjkkjWlOWOG/vFo3w
X-Received: by 10.194.248.234 with SMTP id yp10mr829025wjc.24.1440623232148; Wed, 26 Aug 2015 14:07:12 -0700 (PDT)
MIME-Version: 1.0
Sender: bnc@google.com
Received: by 10.28.179.68 with HTTP; Wed, 26 Aug 2015 14:06:52 -0700 (PDT)
In-Reply-To: <CAJ_4DfQUzNeHOg2vshACGC-kWGL-2dfVBHP0C35zYyGnmro2Vg@mail.gmail.com>
References: <CACMu3tp-+YH2HYx4y8PrW8CQ7fZHB-By5Qg6Wk3hGHAbYCADCg@mail.gmail.com> <CABkgnnV5qS=dhVGXH1rPiLYvW1SQivjKENypQvEt-4mCs_Df6w@mail.gmail.com> <CAJ_4DfR0e4r-iW=d2jmT5OB04pDFkZJZU4z0RNcBx7G4pzYBUg@mail.gmail.com> <64587696-EAE4-44B4-9267-84DC841F0E14@mnot.net> <CAJ_4DfQUzNeHOg2vshACGC-kWGL-2dfVBHP0C35zYyGnmro2Vg@mail.gmail.com>
From: Bence Béky <bnc@chromium.org>
Date: Wed, 26 Aug 2015 17:06:52 -0400
X-Google-Sender-Auth: nPMznw_mDUA1UkyxL7sVr6GI7YI
Message-ID: <CACMu3touFffvkA=361VRXm_d+bE49drRk8ZRAUD-oZFDjhGmTg@mail.gmail.com>
To: HTTP <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="089e01419af002263c051e3d3c61"
Received-SPF: pass client-ip=209.85.212.178; envelope-from=bnc@google.com; helo=mail-wi0-f178.google.com
X-W3C-Hub-Spam-Status: No, score=-6.5
X-W3C-Hub-Spam-Report: AWL=0.665, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1ZUhv1-0005V9-Aj c55ca704c9c23601175ec2d4122b0ede
X-Original-To: ietf-http-wg@w3.org
Subject: Re: How to reset ALTSVC
Archived-At: <http://www.w3.org/mid/CACMu3touFffvkA=361VRXm_d+bE49drRk8ZRAUD-oZFDjhGmTg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/30125
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>
Hi, I noticed that the "clear" keyword was introduced <https://github.com/httpwg/http-extensions/commit/68970e3555ba77cd56418c036e601af520b17711> to clear alternative service entries for a given origin, but I don't seem to find any discussion about this on this mailing list. Also, I was under the impression that when I brought it up at the last meeting, there was no objection to advertising an empty string for this purpose. I'm just curious what happened. I personally find it still better than the "origin itself" or "bogus entry with ma=0" hacks, though not quite as clear and foolproof to implement as an empty string. Alas, I would be interested to hear other people's opinions, in case anyone has experience implementing it since it was last discussed. Also, since "clear" clears entries including the ones in the same header, why could there be multiple alt-values? Would instead of Alt-Svc = 1#alt-value alt-value = clear / ( alternative *( OWS ";" OWS parameter ) ) the following: Alt-Svc = clear / 1#alt-value alt-value = alternative *( OWS ";" OWS parameter ) not make more sense? Thanks, Bence On Wed, Apr 1, 2015 at 11:37 PM, Ryan Hamilton <rch@google.com> wrote: > On Wed, Apr 1, 2015 at 5:17 PM, Mark Nottingham <mnot@mnot.net> wrote: > >> >> > 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*). >> > > Yes, exactly. But since Alt-Svc lists alternatives, not authorities, it > doesn't make sense to think that the authority is implicitly in the > alternatives list. > > > So if we're thinking about how to clear any alt-svc mappings that a > client might have stored, it seems perplexing to propose that be > accomplished by saying: > > Alt-Svc: <scheme>:<origin> > > Further, consider the case of an https:// origin which uses ALPN to > optionally negotiate HTTP/2 but supports HTTP/1 for legacy clients. Does it > need to list both h2 and http1? > > Sure seems more explicit to say: > > Alt-Svc: > > It *is* in the list of “places I can get stuff for this origin from”, >> however. >> > > Agreed! > > Cheers, > > Ryan > > >
- How to reset ALTSVC Bence Béky
- Re: How to reset ALTSVC Martin Thomson
- Re: How to reset ALTSVC Ryan Hamilton
- Re: How to reset ALTSVC Bence Béky
- Re: How to reset ALTSVC Martin Thomson
- Re: How to reset ALTSVC Ryan Hamilton
- Re: How to reset ALTSVC Mark Nottingham
- Re: How to reset ALTSVC Ryan Hamilton
- Re: How to reset ALTSVC Bence Béky
- Re: How to reset ALTSVC Erik Nygren
- Re: How to reset ALTSVC Martin Thomson
- Re: How to reset ALTSVC Julian Reschke
- Re: How to reset ALTSVC Bence Béky
- Re: How to reset ALTSVC Julian Reschke
- lists in header fields, was: How to reset ALTSVC Julian Reschke
- Re: lists in header fields, was: How to reset ALT… Roy T. Fielding
- Re: lists in header fields, was: How to reset ALT… Julian Reschke