Re: Alt-Svc and HTTP Extensions

Patrick McManus <mcmanus@ducksong.com> Wed, 16 October 2019 20:13 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 5B8921200B5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 16 Oct 2019 13:13:43 -0700 (PDT)
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 (1024-bit key) header.d=ducksong.com header.b=gI1eLvs7; dkim=pass (2048-bit key) header.d=outbound.mailhop.org header.b=OYa5vFBM
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 xBsWjF7nH7OO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 16 Oct 2019 13:13:40 -0700 (PDT)
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 C7C4B12008B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 16 Oct 2019 13:13:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1iKpdW-0008Pr-5z for ietf-http-wg-dist@listhub.w3.org; Wed, 16 Oct 2019 20:11:10 +0000
Resent-Date: Wed, 16 Oct 2019 20:11:10 +0000
Resent-Message-Id: <E1iKpdW-0008Pr-5z@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 <mcmanus@ducksong.com>) id 1iKpdU-0008P4-AV for ietf-http-wg@listhub.w3.org; Wed, 16 Oct 2019 20:11:08 +0000
Received: from outbound1b.ore.mailhop.org ([54.200.247.200]) by titan.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mcmanus@ducksong.com>) id 1iKpdS-0005zo-Ki for ietf-http-wg@w3.org; Wed, 16 Oct 2019 20:11:08 +0000
ARC-Seal: i=1; a=rsa-sha256; t=1571256665; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=neS7GvX+y4C2ie86mFn0EUb074kpeniG7HHCKdhs2hMLKKqexSDwIqlGaHK1OMe/tTypJ37tiUz6i QSewOyJx3/lUAEyQRam6ZejjOHAFM4ckTnjRCcCcvSjAKHTSOj8CVU9Ub5feOyIlDk1d64JLhkNko1 mavX1TD5SDItJKl58FbMcx934Q5IwgVFsdtj5/IHLyiJaaOvqMUCvWqr1ZfB6MRE0Hit+oQe1WyCpZ otGeb3GxGgOt4Q2YzWVfq+7V91t/IZ6ze14l0iFLddrtrGsDs7Z9goy9cxFjZXnmtzhyXdlt7a2i/R eVpaUYhW+hP2vhKAhmT1kdovTw/5R3A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-type:cc:to:subject:message-id:date:from:in-reply-to:references: mime-version:dkim-signature:dkim-signature:from; bh=kMiZQBaSJScibDe8qymPpxLCai1DvEq5lBsXMk3WqB0=; b=RENWYbvSSfo/7y9U2YGqvkqLQU/GDiLEKVn8Bp4c3Lv1SW9HPA837myNB9eLd6v6QDbQjvHgzWtxe 9cbf0TbdaOalPvTDNfkoGfI/ccY+8VUfcSBcwC7I9tW4FDIB6CWAepFVb5RHiw70MiqspoNyeRasfg ++FuTwpJtygY809b26/c/P9a7Gg8wT16/KWGmJRPtIAD+G7HV/B/htAIZBth2Uf+FeRtIfWrG8+rJW PLaUStTD62+iEifm/93pKlJiWjRRjUUehpHSLLXhg2x7RClzTF0/c/FIJYeh0wFispoOiylW+0/HQ4 tMUOkFYPh7lHt6kyLaEr7X1xRMLSOIQ==
ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=pass smtp.mailfrom=ducksong.com smtp.remote-ip=209.85.210.54; dmarc=none header.from=ducksong.com; arc=none header.oldest-pass=0;
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ducksong.com; s=duo-1537391512170-ea99bbb3; h=content-type:cc:to:subject:message-id:date:from:in-reply-to:references: mime-version:from; bh=kMiZQBaSJScibDe8qymPpxLCai1DvEq5lBsXMk3WqB0=; b=gI1eLvs7lMZOkOvb50kW41tu4tcQeYXr+7pfUHE7Mqw8HomN0UFNbkZRJDI3qd5zzbyEcMQYn5+EN wn8YvtPDdLzBdGy2U259lC9tkZVl1ZG4G1/qCiieMS+iAbvZy8hNf2QG+KCUsievuz6l3Se0LyYvL+ w2skp+h1lIA1iCSc=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-type:cc:to:subject:message-id:date:from:in-reply-to:references: mime-version:from; bh=kMiZQBaSJScibDe8qymPpxLCai1DvEq5lBsXMk3WqB0=; b=OYa5vFBMfJrMsLwSRMHsKdWhL8OCnbKpcNJJegwyQUqzY2F97fasMGmB1I1g4qEeLYHAa/lNR6odH eB1xU3tEcvLPM6UsWNv2MD6hvEp5t3eQL+c8ySVF4pGQM6FUgjMJBxQFVL/MkSLXKSfRzBVe7zyK3E /gOfhBc/QT6x6/5mWHZcZ7l+F79/syf00F9ZjVigPc3J4kKL/ABHopKlYt7UXNr08/2UOwwHAzuVNH Ntp1lrOM9JVYH14bIP0UcGqaMygRle0+BprZzymySBWSx+KSt+4BnOSizrkP+ge8DnVkQeDoqrbKv0 WnMNG5CypAVRTqpqTHGUXgF0+WCC5Yw==
X-MHO-RoutePath: bWNtYW51cw==
X-MHO-User: 13cd2923-f051-11e9-955f-dfabc1efb494
X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information
X-Originating-IP: 209.85.210.54
X-Mail-Handler: DuoCircle Outbound SMTP
Received: from mail-ot1-f54.google.com (unknown [209.85.210.54]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id 13cd2923-f051-11e9-955f-dfabc1efb494; Wed, 16 Oct 2019 20:11:04 +0000 (UTC)
Received: by mail-ot1-f54.google.com with SMTP id g13so21294981otp.8 for <ietf-http-wg@w3.org>; Wed, 16 Oct 2019 13:11:02 -0700 (PDT)
X-Gm-Message-State: APjAAAVPQsE3lkpsBnVvNWGtgkNnTMhPvD6pvmXL9Moxov3PMBTFkN/5 LWeAK5B/+rAd0VRm4VAcPuwGvtzWzeHrFZ8JBbE=
X-Google-Smtp-Source: APXvYqyIASN95dBQzwblHV8//lqu2/Y0wEII3E8lp1lx8sgMIg9NJM342P9A4A/cr2x/p80R8IIlW3yM6x+qoECVYRs=
X-Received: by 2002:a05:6830:1e59:: with SMTP id e25mr50568otj.340.1571256662478; Wed, 16 Oct 2019 13:11:02 -0700 (PDT)
MIME-Version: 1.0
References: <CALGR9oYaMWKbmRzP7=F8pj999k6L42M2Nxp+1r2JFWLXfeLh9w@mail.gmail.com>
In-Reply-To: <CALGR9oYaMWKbmRzP7=F8pj999k6L42M2Nxp+1r2JFWLXfeLh9w@mail.gmail.com>
From: Patrick McManus <mcmanus@ducksong.com>
Date: Wed, 16 Oct 2019 13:10:50 -0700
X-Gmail-Original-Message-ID: <CAOdDvNoCk9ufkRh_cDsG5AB9h8yKdmyJSjYDXb-6ztoQ8a9B2Q@mail.gmail.com>
Message-ID: <CAOdDvNoCk9ufkRh_cDsG5AB9h8yKdmyJSjYDXb-6ztoQ8a9B2Q@mail.gmail.com>
To: Lucas Pardue <lucaspardue.24.7@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="00000000000037d8d805950cb3de"
Received-SPF: permerror client-ip=54.200.247.200; envelope-from=mcmanus@ducksong.com; helo=outbound1b.ore.mailhop.org
X-W3C-Hub-Spam-Status: No, score=-5.1
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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1iKpdS-0005zo-Ki c0b08be7882e4f41142c5c63e19b1669
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Alt-Svc and HTTP Extensions
Archived-At: <https://www.w3.org/mid/CAOdDvNoCk9ufkRh_cDsG5AB9h8yKdmyJSjYDXb-6ztoQ8a9B2Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37059
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>

On Wed, Oct 16, 2019 at 12:03 PM Lucas Pardue <lucaspardue.24.7@gmail.com>;
wrote:

This is a well explained predicate. thanks!


> So the question is, was it correct or fair for the HTTP/2 server to
> advertise the alternative that cannot satisfy the exact same desired
> properties of the active connection?
>

I would think if another service wasn't really an alternate for the scope
of the issued alt-svc then its probably a bug that would benefit from an
error code. alt-svc is not resource scoped after all. For most services,
however, this is a more narrow question than the exact same set of
properties.. extensions like origin or secondary certificates for example
might not be critical to still being an alternate for the scope of the
alt-svc.. websockets is a good example of something that would be a problem.


> It seems like a class of error similar to Misdirect Request, caused by
> accidental advertisement due to poor coordination. However, extensions may
> not be bound to request/response, so perhaps there might be some benefit in
> defining a new error code that allows an endpoint to reset streams or close
> connections.
>
> a new code makes sense to me.