Re: [EXTERNAL] Re: HTTP Alternative Services Best Practices?

Lucas Pardue <lucaspardue.24.7@gmail.com> Tue, 17 December 2019 23:10 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 034A81200B1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Dec 2019 15:10:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.75
X-Spam-Level:
X-Spam-Status: No, score=-2.75 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 g33nWbS8EJR5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Dec 2019 15:10:22 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [IPv6:2603:400a:ffff:804:801e:34:0:38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6D69F120058 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Dec 2019 15:10:22 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ihLwC-0000Pp-7s for ietf-http-wg-dist@listhub.w3.org; Tue, 17 Dec 2019 23:07:32 +0000
Resent-Date: Tue, 17 Dec 2019 23:07:32 +0000
Resent-Message-Id: <E1ihLwC-0000Pp-7s@frink.w3.org>
Received: from titan.w3.org ([2603:400a:ffff:804:801e:34:0:4c]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <lucaspardue.24.7@gmail.com>) id 1ihLw8-0000Oy-Pc for ietf-http-wg@listhub.w3.org; Tue, 17 Dec 2019 23:07:28 +0000
Received: from mail-ua1-x92d.google.com ([2607:f8b0:4864:20::92d]) by titan.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <lucaspardue.24.7@gmail.com>) id 1ihLw7-00078Z-EG for ietf-http-wg@w3.org; Tue, 17 Dec 2019 23:07:28 +0000
Received: by mail-ua1-x92d.google.com with SMTP id z17so4104683uac.5 for <ietf-http-wg@w3.org>; Tue, 17 Dec 2019 15:07:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4BWl+UWx5pSJpWoU1Ryaz8bpMxQfnx3K4NzTZmLYDKU=; b=MANu+5FiVQItQob3Dqo1Q1jnmtxK8gGYmrHXkP66lWfCFB8q+ZGSmV1E3vxS836Dc+ I/ovBboHQZemxInLet7kNpgnblwCkT4MgDlJYezU6N9fxgsYnOcPoSev0mFVjlri0+IQ UwCYwk92mKB5q7mqkYfjovZ7n8EQGMS4rUaVMhgjSvX5pDu2XgcC2HolnK+SruoB/MEO ALEIZS1aGG9GNFrIp/2GdvljHb6PUpW1ALdr33ByWv7Nn3X5eikTcLbiTY0rmXp/GuTo lUZ4OHWzJeTD9Ps0OSeacJjM2BDuk17YX07mupIGsq1SJQjFK6vthMm2Tc/s04r32UtT H1bw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4BWl+UWx5pSJpWoU1Ryaz8bpMxQfnx3K4NzTZmLYDKU=; b=uP5xEqfFcH9VkDK3Y/u0x04OR0kfw23Pr6uhqv9ZvZMTzCEWNl9Wdg82Oor5sDWY+Z iuVMMcF4FUSXvERsfSfJmOEfC8mBzV/ugc0NzT+/Rnkxj5gA//V/qsyo6jYERN/wizsY o5KszW5uKfBtTQkpi6p7K2Lt1D309JVkx1SFEheaX5G6JBLNyEYYgp4/KbkpuRS7ghQK oINIOUpE/0iUCA/Mw/LgjI/UEkigEJRJTAMa6bszAk8f/+AE45Si6sVHHC+IplXVPnPC 1fj0C55rf7SCGB6YSvF3245tsVByn9DgZzatfZgPdXz1i2xXRRHc9502VGmMaRGs/jon FBeA==
X-Gm-Message-State: APjAAAXZJ/ooMSPMBs17frpJsncYpcLC9FVbmYy85a0M36mbNvHZc2wH AHvESNQEbZFpOwNZ/3glafIWPoEvuE/bzcToAyc=
X-Google-Smtp-Source: APXvYqwuTSZoLqcB1GpRC22oPpwQpTdfNaCoHFJzbzAMUHsabssQPOKL/SKxVAZDwz03QXkALFRE7VA1acDI7crUOAY=
X-Received: by 2002:a9f:2c8b:: with SMTP id w11mr5468559uaj.69.1576624046260; Tue, 17 Dec 2019 15:07:26 -0800 (PST)
MIME-Version: 1.0
References: <CALGR9oaCNigDAZP=ue-sORxCJFzkVynhaJszjjY_ohN56ewy8g@mail.gmail.com> <CAJ_4DfQDgaouwoMyG1f2v4_CndWWNpqft+9=zbOfeM_ek7mSHA@mail.gmail.com> <DM6PR22MB20105A0DA471BB9419E6BDEADA500@DM6PR22MB2010.namprd22.prod.outlook.com> <CALGR9oYAURH4KnzHKmASQdOA6-rH+V-v2Ro2cekVQpnzZS-XNA@mail.gmail.com> <DM5PR21MB084181A43FC4A8CFEEB35151FD500@DM5PR21MB0841.namprd21.prod.outlook.com>
In-Reply-To: <DM5PR21MB084181A43FC4A8CFEEB35151FD500@DM5PR21MB0841.namprd21.prod.outlook.com>
From: Lucas Pardue <lucaspardue.24.7@gmail.com>
Date: Tue, 17 Dec 2019 23:07:18 +0000
Message-ID: <CALGR9oY6DzjsH46AT6C4BXTx0MtH0JCsBsgrBeWRcjA4rXKGVA@mail.gmail.com>
To: Cory Nelson <Cory.Nelson@microsoft.com>
Cc: Mike Bishop <mbishop@evequefou.be>, Ryan Hamilton <rch=40google.com@dmarc.ietf.org>, QUIC WG <quic@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="00000000000038c85d0599ee6466"
Received-SPF: pass client-ip=2607:f8b0:4864:20::92d; envelope-from=lucaspardue.24.7@gmail.com; helo=mail-ua1-x92d.google.com
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1ihLw7-00078Z-EG e9c9242fd8c1aa72085206b2d16efbe2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [EXTERNAL] Re: HTTP Alternative Services Best Practices?
Archived-At: <https://www.w3.org/mid/CALGR9oY6DzjsH46AT6C4BXTx0MtH0JCsBsgrBeWRcjA4rXKGVA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37228
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: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Hi Cory,

I think your questions are probably good implementation-oriented ones but
less about BCP to my mind. If there is something worth documenting, my
instinct is a separate document that compliments RFC7838.

To answer:

On Tue, 17 Dec 2019, 22:46 Cory Nelson, <Cory.Nelson@microsoft.com> wrote:

> Two questions I had while implementing Alt-Svc, and ended up looking at
> other implementations for guidance:
>
>
>
> Is it valid to have Alt-Svc: clear followed by, on another line, more
> Alt-Svc to replace the old services?
>
RFC7838 says about Alt-Svc:

"The field value consists either of a list of values, each of which
indicates one alternative service, or the keyword "clear"."

So I think it is clear that it is invalid to have both clear and an
alt-value. But what might be less clear is the expected failure mode if
this does actually occur.

> Is it valid for an authority to extend their lease by sending an Alt-Svc
> for themselves?
>
If you mean is it valid for a selected alternative to advertise itself and
therefore keep itself fresh, then yes, the alternative is fully
authoritative and I think that this is captured in the specification.

Cheers
Lucas

>