RE: Multiple Alt-Svc parameters of the same type
Lucas Pardue <Lucas.Pardue@bbc.co.uk> Mon, 16 January 2017 18:34 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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E2E0E129603 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jan 2017 10:34:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.12
X-Spam-Level:
X-Spam-Status: No, score=-10.12 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-3.199, SPF_HELO_PASS=-0.001, 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 iLzAGSYFIU34 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 16 Jan 2017 10:34:02 -0800 (PST)
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 C0203129604 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 16 Jan 2017 10:34:02 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1cTC4S-0003BE-Pu for ietf-http-wg-dist@listhub.w3.org; Mon, 16 Jan 2017 18:31:56 +0000
Resent-Date: Mon, 16 Jan 2017 18:31:56 +0000
Resent-Message-Id: <E1cTC4S-0003BE-Pu@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <Lucas.Pardue@bbc.co.uk>) id 1cTC4P-0003AO-QQ for ietf-http-wg@listhub.w3.org; Mon, 16 Jan 2017 18:31:53 +0000
Received: from mailout1.telhc.bbc.co.uk ([132.185.161.180]) by titan.w3.org with esmtps (TLS1.2:DHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <Lucas.Pardue@bbc.co.uk>) id 1cTC4J-0005dh-IY for ietf-http-wg@w3.org; Mon, 16 Jan 2017 18:31:48 +0000
Received: from BGB01XI1010.national.core.bbc.co.uk (bgb01xi1010.national.core.bbc.co.uk [10.161.14.14]) by mailout1.telhc.bbc.co.uk (8.15.2/8.14.3) with ESMTP id v0GIVMdn007992; Mon, 16 Jan 2017 18:31:22 GMT
Received: from BGB01XUD1012.national.core.bbc.co.uk ([10.161.14.10]) by BGB01XI1010.national.core.bbc.co.uk ([10.161.14.14]) with mapi id 14.03.0319.002; Mon, 16 Jan 2017 18:31:22 +0000
Content-Type: multipart/mixed; boundary="_000_7CF7F94CB496BF4FAB1676F375F9666A376B9ACBbgb01xud1012_"
From: Lucas Pardue <Lucas.Pardue@bbc.co.uk>
To: Kari Hurtta <hurtta-ietf@elmme-mailer.org>
CC: HTTP working group mailing list <ietf-http-wg@w3.org>
Thread-Topic: Multiple Alt-Svc parameters of the same type
Thread-Index: AdJwD1nipE7N1BWkQ6a91Y0rjdnjyQAFZJCAAABpN5A=
Date: Mon, 16 Jan 2017 18:31:20 +0000
Message-ID: <7CF7F94CB496BF4FAB1676F375F9666A376B9ACB@bgb01xud1012>
References: <7CF7F94CB496BF4FAB1676F375F9666A376B9A92@bgb01xud1012> <20170116181825.4A39514617@welho-filter1.welho.com>
In-Reply-To: <20170116181825.4A39514617@welho-filter1.welho.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator: <7CF7F94CB496BF4FAB1676F375F9666A376B9ACB@bgb01xud1012>
x-originating-ip: [172.19.161.212]
x-exclaimer-md-config: c91d45b2-6e10-4209-9543-d9970fac71b7
x-tm-as-product-ver: SMEX-11.0.0.4179-8.000.1202-22828.001
x-tm-as-result: No--14.058900-0.000000-31
x-tm-as-user-approved-sender: Yes
x-tm-as-user-blocked-sender: No
MIME-Version: 1.0
Received-SPF: pass client-ip=132.185.161.180; envelope-from=Lucas.Pardue@bbc.co.uk; helo=mailout1.telhc.bbc.co.uk
X-W3C-Hub-Spam-Status: No, score=-6.6
X-W3C-Hub-Spam-Report: AWL=0.334, BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-3.199, SPF_PASS=-0.001, W3C_NW=0.5
X-W3C-Scan-Sig: titan.w3.org 1cTC4J-0005dh-IY 15f580a9aa634a4b0d550a0aa8f116b9
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Multiple Alt-Svc parameters of the same type
Archived-At: <http://www.w3.org/mid/7CF7F94CB496BF4FAB1676F375F9666A376B9ACB@bgb01xud1012>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33293
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 Kari, Thanks for spotting the obvious mistake on my part. Your "ma" examples much better illustrate my thoughts on this. Lucas > -----Original Message----- > From: hurtta@hurtta09lk.keh.iki.fi [mailto:hurtta@hurtta09lk.keh.iki.fi] On > Behalf Of Kari Hurtta > Sent: 16 January 2017 18:18 > To: Lucas Pardue <Lucas.Pardue@bbc.co.uk> > Cc: HTTP working group mailing list <ietf-http-wg@w3.org>; Kari Hurtta > <hurtta-ietf@elmme-mailer.org> > Subject: Re: Multiple Alt-Svc parameters of the same type > > > For example, is it OK for a server to generate multiple “persist” > > parameters perhaps with different values, how should a client deal > > with that? Perhaps I’m worrying too much. > > Bad example, I think. > > https://tools.ietf.org/html/rfc7838#section-3.1 > > | This specification only defines a single value for "persist". > | Clients MUST ignore "persist" parameters with values other than "1". > > > I think that > persist=1 > and > persist=1;persist=1 > > are equivalent. And all other persists values are ignored. > > ( Although it also make sense treat that same way than unknown > parameter values. ) > > > But betetr question is, what client should do > when there is several "ma" paramater values. > > https://tools.ietf.org/html/rfc7838#section-3.1 > > | Syntax: > | > | ma = delta-seconds; see [RFC7234], Section 1.2.1 > | > | The delta-seconds value indicates the number of seconds since the > | response was generated for which the alternative service is > | considered fresh. > > There is only > > | This specification defines two parameters: "ma" and "persist", > | defined in Section 3.1. Unknown parameters MUST be ignored. That > | is, the values (alt-value) they appear in MUST be processed as if the > | unknown parameter was not present. > > Because this is not defined all of these make sense > > ∙ Pick first value > ∙ Pick last value > ∙ Pick smallest "ma" value > ∙ Pick largest "ma" value > ∙ Treate that as unknown parameter > ∙ Consider alternative service as invalid because > max-age is unclear > > / Kari Hurtta >
- Multiple Alt-Svc parameters of the same type Lucas Pardue
- Re: Multiple Alt-Svc parameters of the same type Kari Hurtta
- RE: Multiple Alt-Svc parameters of the same type Lucas Pardue
- Re: Multiple Alt-Svc parameters of the same type Martin Thomson
- Re: Multiple Alt-Svc parameters of the same type Martin Thomson
- RE: Multiple Alt-Svc parameters of the same type Mike Bishop
- Re: Multiple Alt-Svc parameters of the same type Martin Thomson
- RE: Multiple Alt-Svc parameters of the same type Lucas Pardue
- Re: Multiple Alt-Svc parameters of the same type Martin Thomson