Re: Alt-Svc alternative cache invalidation (ext#16)
Erik Nygren <erik@nygren.org> Sun, 24 August 2014 01:33 UTC
Return-Path: <ietf-http-wg-request@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 846E31A6F26 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Aug 2014 18:33:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.947
X-Spam-Level:
X-Spam-Status: No, score=-6.947 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.668, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 EnexItBFV8eN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Aug 2014 18:33:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ED57B1A6F25 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 23 Aug 2014 18:33:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1XLMeO-0003OB-OH for ietf-http-wg-dist@listhub.w3.org; Sun, 24 Aug 2014 01:31:20 +0000
Resent-Date: Sun, 24 Aug 2014 01:31:20 +0000
Resent-Message-Id: <E1XLMeO-0003OB-OH@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nygren@gmail.com>) id 1XLMdd-0001rl-AC for ietf-http-wg@listhub.w3.org; Sun, 24 Aug 2014 01:30:33 +0000
Received: from mail-vc0-f182.google.com ([209.85.220.182]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <nygren@gmail.com>) id 1XLMdc-0005u6-0y for ietf-http-wg@w3.org; Sun, 24 Aug 2014 01:30:33 +0000
Received: by mail-vc0-f182.google.com with SMTP id hy4so14112451vcb.27 for <ietf-http-wg@w3.org>; Sat, 23 Aug 2014 18:30:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=KwTRSTitZSlGR2cH9dwub6cuKmdZ20bHlUbFWXbVS64=; b=Qi+v4wBiSyTKlhYhazfAq86fIkCSPnB5Xwo9115SL+bg0PPQts105LhtevoxafPioD lfXfCjpKo8ahDTETJPwjEHlnyjyihfWDjuX7vtwDs8CitPs0I8+xdLNW/m0vGLWxCcJD LDWetVOvsNluDrfUC4BIniDkkNDHsyau6ZGNzzD5G6NfQo0Uy8r5kzqiTJU5/W7RZqNy 0s7sLhrd21iKI0WjAHrT7jr62TU8TWrS4IAFK69zpovcKLo8UAjqL34rjc3xDZKGZQAt jIWfL5OIl5gu3LjbraZH8ggjxsQym22U8JjDrfhMgeY8HrhaJJYXAUwYLNsSsrur+dr8 53eQ==
MIME-Version: 1.0
X-Received: by 10.220.184.70 with SMTP id cj6mr10760280vcb.5.1408843806232; Sat, 23 Aug 2014 18:30:06 -0700 (PDT)
Sender: nygren@gmail.com
Received: by 10.221.11.16 with HTTP; Sat, 23 Aug 2014 18:30:06 -0700 (PDT)
In-Reply-To: <CABkgnnWENAO=4TnwK9Rtxudh+SQTzhrwRZdp=Et4DhPjU7m5_w@mail.gmail.com>
References: <CABkgnnUDKqPttrp0T-fyrenkgEm=YzwbdmoaJ=Jti3ER1SEAMw@mail.gmail.com> <CAKC-DJgBKoq_M3xMu5115j+OTudSNMNGwOakXjKRP=odVMPn_A@mail.gmail.com> <CABkgnnXRw7Rc7MJddW4UqSo2=hQ2E2EysLyzcaVM6_xf7h0R9g@mail.gmail.com> <CAKC-DJiG+pNAitg6z0wuL16NDnBp0tNwQhpvEWXs77x_c3f=2Q@mail.gmail.com> <53F34F02.2090807@gmx.de> <CABkgnnVQqYhDyLBvfaqD7oWGjY7WuvuSqWERwjoH=bQeh8k79g@mail.gmail.com> <CAKC-DJiD6_3SZd-k7FXCcwuA4AK7kXVupqXuy2+XuQKWtqP2xA@mail.gmail.com> <CABkgnnW+QM8brr2FkBnOHAhFi9kjdrVoZ+yThckbURq9V5jmnQ@mail.gmail.com> <CAKC-DJhHz1mk0vdVtwmwyccv=LqUb+GrYVukkUYJY4mWdHE-mg@mail.gmail.com> <CABkgnnWENAO=4TnwK9Rtxudh+SQTzhrwRZdp=Et4DhPjU7m5_w@mail.gmail.com>
Date: Sat, 23 Aug 2014 21:30:06 -0400
X-Google-Sender-Auth: wVdHDm8nHPOcY8uabvnfP6qmguk
Message-ID: <CAKC-DJjG1xv+FXM9=KVR=WBM9DcMweYEzhokKdkRZN2VyDffmg@mail.gmail.com>
From: Erik Nygren <erik@nygren.org>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="089e0141a4409d593e050156025b"
Received-SPF: pass client-ip=209.85.220.182; envelope-from=nygren@gmail.com; helo=mail-vc0-f182.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.764, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1XLMdc-0005u6-0y cfada04e8e33e93579a280d61968d106
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Alt-Svc alternative cache invalidation (ext#16)
Archived-At: <http://www.w3.org/mid/CAKC-DJjG1xv+FXM9=KVR=WBM9DcMweYEzhokKdkRZN2VyDffmg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/26721
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>
On Fri, Aug 22, 2014 at 7:50 PM, Martin Thomson <martin.thomson@gmail.com> wrote: > On 22 August 2014 14:53, Erik Nygren <erik@nygren.org> wrote: > > but does not define anything similar for the ALTSVC frame. Aligning the > > frame and the > > header would allow this to apply to both. > > I think that we would want to move the Origin field up to the header > with Max-Age. Logically, you store alternatives for different origins > separately, so requiring different frames makes sense there. It also > removes any potential for duplication. > > Also 8 bits of length is not sufficient for an HTTP origin if the name > is maximum size. I'd assume that the same applies to authority. > Agreed on both counts. What about this, then: 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Max-Age (32) | +---------------+---------------+-------------------------------+ | Origin-Len (16) | Origin? (*) ... +---------------------------------------------------------------+ |Num-Alt-Auth(8)| +---------------+---------------+-------------------------------+ | Proto-Len(8) | Protocol-ID (*) | +---------------+-----------------------------------------------+ | Alt-Auth-Len (16) | Alt-Auth (*) ... +---------------+-----------------------------------------------+ | Ext-Param? (*) ... +---------------------------------------------------------------+ where Origin-Len=0 would be used in the case where this was part of a Stream != 0 and Num-Alt-Auth>=1. The {Proto-Len, Protocol-ID, Alt-Auth-Len, Alt-Auth} would be repeated Num-Alt-Auth times. Alt-Auth is a string such as " server.example.com:443"
- Re: Alt-Svc alternative cache invalidation (ext#1… Mark Nottingham
- Re: Alt-Svc alternative cache invalidation (ext#1… Julian Reschke
- Re: Alt-Svc alternative cache invalidation (ext#1… Mark Nottingham
- Alt-Svc alternative cache invalidation (ext#16) Martin Thomson
- Re: Alt-Svc alternative cache invalidation (ext#1… Erik Nygren
- Re: Alt-Svc alternative cache invalidation (ext#1… Martin Thomson
- Re: Alt-Svc alternative cache invalidation (ext#1… Mark Nottingham
- Re: Alt-Svc alternative cache invalidation (ext#1… Erik Nygren
- Re: Alt-Svc alternative cache invalidation (ext#1… Julian Reschke
- Re: Alt-Svc alternative cache invalidation (ext#1… Martin Thomson
- Re: Alt-Svc alternative cache invalidation (ext#1… Erik Nygren
- Re: Alt-Svc alternative cache invalidation (ext#1… Martin Thomson
- Re: Alt-Svc alternative cache invalidation (ext#1… Erik Nygren
- Re: Alt-Svc alternative cache invalidation (ext#1… Martin Thomson
- Re: Alt-Svc alternative cache invalidation (ext#1… Erik Nygren
- Re: Alt-Svc alternative cache invalidation (ext#1… Mark Nottingham
- Re: Alt-Svc alternative cache invalidation (ext#1… Mark Nottingham