Re: Nits and suggestions for draft-kazuho-h2-cache-digest

Kazuho Oku <kazuhooku@gmail.com> Tue, 31 May 2016 07:17 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 35BEE12D140 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 May 2016 00:17:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.447
X-Spam-Level:
X-Spam-Status: No, score=-8.447 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.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426, SPF_HELO_PASS=-0.001, 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 lSNIy5JaC_g8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 31 May 2016 00:17: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 79A9E12D119 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 31 May 2016 00:17: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 1b7drM-00083l-II for ietf-http-wg-dist@listhub.w3.org; Tue, 31 May 2016 07:13:04 +0000
Resent-Date: Tue, 31 May 2016 07:13:04 +0000
Resent-Message-Id: <E1b7drM-00083l-II@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <kazuhooku@gmail.com>) id 1b7drI-00082q-89 for ietf-http-wg@listhub.w3.org; Tue, 31 May 2016 07:13:00 +0000
Received: from mail-io0-f174.google.com ([209.85.223.174]) by lisa.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <kazuhooku@gmail.com>) id 1b7drG-0007ST-4H for ietf-http-wg@w3.org; Tue, 31 May 2016 07:12:59 +0000
Received: by mail-io0-f174.google.com with SMTP id t40so124366082ioi.0 for <ietf-http-wg@w3.org>; Tue, 31 May 2016 00:12:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=8O1cD7iD+xUJH7FI+4fCDLRYdIzNM9Z6FCQHumunOiE=; b=c/AYMOMg4pgsb5C9YIs7Bfr/MF1HVd9dFPa6I1P+5iGUH4N90qsS6lpZS+aQiB7n/g BOjurA3+t/qlvGu6sbYKMJpZFYPBnaf2DQy91b+qgeuF/EMD4xvKZm1VOI1qNdD7trJk YJB9jQ+KocA4KdozXB6toUvG67lIG6PNAP7nykyqnSjM733mcP18raWT2/SZLqVWPCWU hNE/rTCBPtub9a2s+fFDul1hATXS9MCFBuoQ7hwtOBXfObl8y7urDxfiZ1D781rGGmUa XSwmnd02NuSDqFjt2FWzLUA+QdvRMYbCzhvCW/Csa7qCjTGhQxnIPAmKfbF+s/CdjG2u qSuw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=8O1cD7iD+xUJH7FI+4fCDLRYdIzNM9Z6FCQHumunOiE=; b=EzCK23s2kfXsfRPk0vFkIeTk/BWUIXbSXpyE++Lx9yC6AhNWbz0N+qF5YGKYoTbdpX L7aCQqTEWquSXpkNj76XGCP+WsNClkLIq8KCnGZV0DPGolJqATYN+9h127VDRvbspv0j 1QVPkwMeAfPhPYbQdBU2V08RtkvOYtcllaT8L/24KAu+HI26mYVzicAL7sPiGW85ehwT mQQS2VvHUm0yt21T+tnjTBUi2xNiLfWB1HA7+xBXVsDTUUtixhoxNwtBICHPHzdWCTwu CGu8xQIq8FaVzNcCuiqXItgCxwhJrYseyNQGufzmpFFhs45ctl9x9PEKcu6lVUjDMYda rBoA==
X-Gm-Message-State: ALyK8tLj34FaD60MvxCjjofHXFpua3GN2UoPPE79L2g2eupQ0yGbRt5pn6LZNRRZegrRe1/MjVPAnSDWsiUULg==
MIME-Version: 1.0
X-Received: by 10.36.11.84 with SMTP id 81mr12016621itd.76.1464678751927; Tue, 31 May 2016 00:12:31 -0700 (PDT)
Received: by 10.107.20.137 with HTTP; Tue, 31 May 2016 00:12:31 -0700 (PDT)
In-Reply-To: <974C0CB0-69C9-4085-A280-27367692DEAB@mnot.net>
References: <CABkgnnX38oLEgZRxzL4OzfZX5u5haU_Q7eka5iewqnTge20_vg@mail.gmail.com> <974C0CB0-69C9-4085-A280-27367692DEAB@mnot.net>
Date: Tue, 31 May 2016 16:12:31 +0900
Message-ID: <CANatvzziDCY1CyJTaTTF=4isLDUC8f6vupuKES9TF3T-z3y87w@mail.gmail.com>
From: Kazuho Oku <kazuhooku@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Martin Thomson <martin.thomson@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.223.174; envelope-from=kazuhooku@gmail.com; helo=mail-io0-f174.google.com
X-W3C-Hub-Spam-Status: No, score=-4.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1b7drG-0007ST-4H 43206816ce9438cc595540780f2ba200
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Nits and suggestions for draft-kazuho-h2-cache-digest
Archived-At: <http://www.w3.org/mid/CANatvzziDCY1CyJTaTTF=4isLDUC8f6vupuKES9TF3T-z3y87w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/31676
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>

2016-05-31 14:24 GMT+09:00 Mark Nottingham <mnot@mnot.net>:
>
>> On 15 May 2016, at 1:43 AM, Martin Thomson <martin.thomson@gmail.com> wrote:
>>
>>> From small to large:
>>
>> Nit:
>>       2.  If "W" and "V" are equal, continue to the next "V".
>>
>> This should be next "W", I think.
>
> There is no next W...
>
>
>> I think that Q would be better encoded as a series of 0 bits followed
>> by a 1 bit.  The reason I say that is that it is (marginally) easier
>> to generate the values then by masking in the R value in the right
>> place in a freshly calloc'd piece of memory.
>
> I'm not fussed; Kazuho?

I do not mind either way, so it might be better to change it now.

>
>> This document really needs to describe what the contents of the cache
>> digest are, and to describe how to decode the cache digest.  Without
>> defining what it means to receive and decode this information, this
>> specification almost says nothing at all.
>
> Whatever happened to "left as an exercise to the reader?"
>
> :)
>
> Yes, we do.
>
> Cheers,
>
>
> --
> Mark Nottingham   https://www.mnot.net/
>



-- 
Kazuho Oku