Re: [quicwg/base-drafts] QPACK editorial revision (#2759)
afrind <notifications@github.com> Tue, 25 June 2019 00:02 UTC
Return-Path: <noreply@github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7C37E12015D for <quic-issues@ietfa.amsl.com>; Mon, 24 Jun 2019 17:02:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8
X-Spam-Level:
X-Spam-Status: No, score=-8 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=github.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 WvEAOElx5oqS for <quic-issues@ietfa.amsl.com>; Mon, 24 Jun 2019 17:02:15 -0700 (PDT)
Received: from out-24.smtp.github.com (out-24.smtp.github.com [192.30.252.207]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B4FBA120041 for <quic-issues@ietf.org>; Mon, 24 Jun 2019 17:02:15 -0700 (PDT)
Date: Mon, 24 Jun 2019 17:02:14 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1561420934; bh=VkXhaKGFCEh+1JxSivvDYx5DUemPcAbOGpXe0UTg3XM=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=fOT6qV2z7uioaWup8rv499jjZSCWe27UmUfeS2Y3WWDcNsPXaD4QQLybBfJ8qy394 X0AOT4j+bfEkn3lGTJVzoramFjDygOvzuYSyCz5hFPnp2dYeqk1Mcq+Hgf6XqRAmUm 2fI/OV7hWIkM/edxtwbcmJSkg3/tArFuqSP8yuNY=
From: afrind <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+AFTOJK4N6HEKZ773VJ3WO753D2LQNEVBNHHBVUIAB4@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/2759/review/253702347@github.com>
In-Reply-To: <quicwg/base-drafts/pull/2759@github.com>
References: <quicwg/base-drafts/pull/2759@github.com>
Subject: Re: [quicwg/base-drafts] QPACK editorial revision (#2759)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5d1164867bfd7_46073f96b18cd96c390877"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: afrind
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/wcG5ZZKm3b_itc9ypnC_u__l9MY>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Jun 2019 00:02:19 -0000
afrind commented on this pull request. Thanks for the comments all! > ### State Synchronization -The decoder instructions ({{decoder-instructions}}) signal key events at the -decoder that permit the encoder to track the decoder's state. These events are: +The decoder signals the following key events by emitting decoder instructions +({{decoder-instructions}}) on the decoder stream. + +#### Completed Processing of a Header Block + +When the decoder finishes decoding a header block containing dynamic table +references, it emits a Header Acknowledgement instruction +({{header-acknowledgement}}). The same Stream ID can be identified by multiple +Header Acknowledgement instructions, as multiple header blocks can be sent on a +single stream in the case of intermediate responses, trailers, and pushed +requests. Since frames carrying header blocks on each stream are received and +processed in order, this gives the encoder precise feedback on which header +blocks within a stream have been fully processed. There isn't a requirement in QPACK that the blocks are "processed" in the order they are received on the stream -- that's an HTTP requirement. I think I should change this to something else, that indicates that the encoder must interpret the acknowledgements in the order the frames were sent. I came up with this, but it feels like it could use a MUST or MUST NOT in there: "The encoder interprets each Header Acknowledgement instruction as acknowledging the earliest unacknowledged header block containing dynamic table references sent on the given stream." > + +When the decoder finishes decoding a header block containing dynamic table +references, it emits a Header Acknowledgement instruction +({{header-acknowledgement}}). The same Stream ID can be identified by multiple +Header Acknowledgement instructions, as multiple header blocks can be sent on a +single stream in the case of intermediate responses, trailers, and pushed +requests. Since frames carrying header blocks on each stream are received and +processed in order, this gives the encoder precise feedback on which header +blocks within a stream have been fully processed. + +#### Abandonment of a Stream + +When an endpoint receives a stream reset before the end of a stream or before +all header blocks are processed on that stream, or when it abandons reading of a +stream, it generates a Stream Cancellation instruction (see +{{stream-cancellation}}). This signals to the encoder that all references to This is old language (see line 825 in the old spec). I'm not clear on what is unclear. > @@ -1035,17 +1038,19 @@ values that are not to be put at risk by compressing them (see Section 7.1 of ~~~~~~~~~~ {: title="Literal Header Field With Name Reference"} -For entries in the static table or in the dynamic table with an absolute index -less than the Base, the header field name is represented using the relative -index of that entry, which is represented as an integer with a 4-bit prefix (see -Section 5.1 of [RFC7541]). The `S` bit indicates whether the reference is to the -static (S=1) or dynamic (S=0) table. +The fourth (`S`) bit indicates whether the reference is to the static (S=1) or +dynamic (S=0) table. Finally, the header field name is represented using the +static or relative index of that entry, which is represented as an integer with I added one sentence in the static table section describing the index. I also normalized the three instructions that have an S bit to all use similar language. For header block instructions, do I need to specify that 'relative' indexes are relative to Base from the enclosing header block? Is it sufficient to just say 'relative' or 'relative to Base'? > An encoder MUST NOT insert an entry into the dynamic table (or duplicate an -existing entry) if doing so would evict a blocking entry. In this case, the -encoder can send literal representations of header fields. +existing entry) if doing so would evict a blocking entry. An encoder can always +send literal representations of header fields when the dynamic table is full I'm going to try omitting the entire sentence. People will figure out that they should send a literal? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/quicwg/base-drafts/pull/2759#pullrequestreview-253702347
- [quicwg/base-drafts] QPACK editorial revision (#2… afrind
- Re: [quicwg/base-drafts] QPACK editorial revision… ianswett
- Re: [quicwg/base-drafts] QPACK editorial revision… Bence Béky
- Re: [quicwg/base-drafts] QPACK editorial revision… Bence Béky
- Re: [quicwg/base-drafts] QPACK editorial revision… Martin Thomson
- Re: [quicwg/base-drafts] QPACK editorial revision… Lucas Pardue
- Re: [quicwg/base-drafts] QPACK editorial revision… Mike Bishop
- Re: [quicwg/base-drafts] QPACK editorial revision… Mike Bishop
- Re: [quicwg/base-drafts] QPACK editorial revision… Mike Bishop
- Re: [quicwg/base-drafts] QPACK editorial revision… Mike Bishop
- Re: [quicwg/base-drafts] QPACK editorial revision… Mike Bishop
- Re: [quicwg/base-drafts] QPACK editorial revision… afrind
- Re: [quicwg/base-drafts] QPACK editorial revision… Mike Bishop
- Re: [quicwg/base-drafts] QPACK editorial revision… Mike Bishop
- Re: [quicwg/base-drafts] QPACK editorial revision… Mike Bishop
- Re: [quicwg/base-drafts] QPACK editorial revision… afrind
- Re: [quicwg/base-drafts] QPACK editorial revision… afrind
- Re: [quicwg/base-drafts] QPACK editorial revision… afrind