Re: How to reset ALTSVC
Bence Béky <bnc@chromium.org> Sat, 29 August 2015 15:25 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 AF91C1B2CE5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 29 Aug 2015 08:25:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.09
X-Spam-Level:
X-Spam-Status: No, score=-6.09 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, 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 nfEJQiq0PINK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 29 Aug 2015 08:25:23 -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 844581B2CEA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 29 Aug 2015 08:25:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ZVhwp-0004pn-Ds for ietf-http-wg-dist@listhub.w3.org; Sat, 29 Aug 2015 15:21:39 +0000
Resent-Date: Sat, 29 Aug 2015 15:21:39 +0000
Resent-Message-Id: <E1ZVhwp-0004pn-Ds@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <bnc@google.com>) id 1ZVhwh-0004p2-KF for ietf-http-wg@listhub.w3.org; Sat, 29 Aug 2015 15:21:31 +0000
Received: from mail-io0-f173.google.com ([209.85.223.173]) by maggie.w3.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from <bnc@google.com>) id 1ZVhwg-0005lJ-1p for ietf-http-wg@w3.org; Sat, 29 Aug 2015 15:21:31 +0000
Received: by iofe124 with SMTP id e124so55236808iof.1 for <ietf-http-wg@w3.org>; Sat, 29 Aug 2015 08:21:04 -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=BoWeXF/BsPh/HlkuBOBH/LUnCAYOoDXhG1xYTPFOeBQ=; b=aCjkMzAAzZwqjdQ6Muv7BvmR7lyG2A4VFyClY177W//w7duKZFE7hV/AVYHug4OYB+ oslqyeJGjn04nNMoNuFOSaOrabRDoUiOVZhzKy2xztGATDyczgR6Rbo21I8mgkk5CUCi GwSSBqcfkk0xfVUfx0Es3u/HuKx6oSqQWs33lJ9RTW43Sivzk4uXfeYyCsnw293AL4kH /ZD0iPKQoDJhYM8q5Ph2KQPYef5HRrKg9blECaxz4t2WreF/XmFUHl+uv4MK1NBdNZJv addCv1LnLLaDyo8TsKBlI7a6oAas1kRFNqyfTTn9bYoNDbN6JEkqe9UjOAbkgdQC5Qxm 9SwA==
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=BoWeXF/BsPh/HlkuBOBH/LUnCAYOoDXhG1xYTPFOeBQ=; b=lqOQ5COr2WNd+Xpc8cBwSM7VpuHQSsMNbRgRgdqu7sd6hK9GtMmAHPL0nQ+p5/CSjS fuWlfu1qCNW3eH1ZaPENh7OGVCBqnfugsVxpNmYpYHM6GhWuz6LUOusYOS2QxDCelhaV MIJVR2LiWUPWqNTkdknR7vZZOxD5nKJwxRAbM=
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=BoWeXF/BsPh/HlkuBOBH/LUnCAYOoDXhG1xYTPFOeBQ=; b=gHGsom4WFIFHD2XsvcPER7CZTxYbvPASTZJXi7a5jFAgqw8AJIeQnOpm65Iiel5ChR Kp1ljjsNE6dFora/0on4qmb7h27ZfvlkPtu+ovwtyo7ARlkb3Mi6y/PPDXhxbPA34MWl M5w0yb0cKaiswuI3d4fwMYrnEojQs3L/CB8E70ybqj3+GwEWlpFKaYm+9D0zJHnntfed sNB8+NosqHmeTX4aqeVrSRKcLecNHo8kNs9yKtPYvgnQUQU5tLt6Abw7Fy1PGWZuq292 DnQtXHeDeFsIO3hfuBa1ThYc5fW8rZT77IXj8WbhT8+aYOOFhw/Y5MXfdRbGg0vqlBtG fDLw==
X-Gm-Message-State: ALoCoQkCbx3Wvq0IuxOHUMMKW45j31GWQb+kWd+0IO0xgqmn5gGJZHQNBpPE8ru7br3dkGvYpjwQ
X-Received: by 10.107.16.201 with SMTP id 70mr1377148ioq.5.1440861663792; Sat, 29 Aug 2015 08:21:03 -0700 (PDT)
MIME-Version: 1.0
Sender: bnc@google.com
Received: by 10.36.13.198 with HTTP; Sat, 29 Aug 2015 08:20:44 -0700 (PDT)
In-Reply-To: <CAKC-DJj7j2+dyPd0cEzUShBz7LpeC5=tDLGYsTgzjTObjzJqyQ@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> <CACMu3touFffvkA=361VRXm_d+bE49drRk8ZRAUD-oZFDjhGmTg@mail.gmail.com> <CAKC-DJj7j2+dyPd0cEzUShBz7LpeC5=tDLGYsTgzjTObjzJqyQ@mail.gmail.com>
From: Bence Béky <bnc@chromium.org>
Date: Sat, 29 Aug 2015 11:20:44 -0400
X-Google-Sender-Auth: DzyhH5SWxBondsN0QprKaOcoqnM
Message-ID: <CACMu3trN3FukbGcgYaJoDXKWxVZrwmHrHuoT00_u3pH2W-W0yA@mail.gmail.com>
To: HTTP <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.223.173; envelope-from=bnc@google.com; helo=mail-io0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-6.2
X-W3C-Hub-Spam-Report: AWL=0.452, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-1, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1ZVhwg-0005lJ-1p 3edaae500fd2846fd0c174c02d996b97
X-Original-To: ietf-http-wg@w3.org
Subject: Re: How to reset ALTSVC
Archived-At: <http://www.w3.org/mid/CACMu3trN3FukbGcgYaJoDXKWxVZrwmHrHuoT00_u3pH2W-W0yA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/30141
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, > Some more discussion here is here: > https://github.com/httpwg/http-extensions/issues/16 Thanks for the clarification. I'm sorry I missed the discussion on GitHub. >> 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? >> ... > > > It would, but we are constrained by the HTTP header field semantics. A header field value is either list-shaped or it is not. We can't choose based on the field contents. Okay, that makes sense, thank you for the explanation. Bummer. By the way, if I understand correctly, "Alt-Svc = clear, syntactically-inv\"alid-alt-value" would need to be ignored entirely because it contains an alt-value which does not conform to the grammar. However, chances are that there will be implementations that ignore the second alt-value as soon as they parse "clear". Probably does not make much difference though. Cheers, Bence
- 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