Re: [quicwg/base-drafts] Length-prefixes and flow control (#1432)
Mike Bishop <notifications@github.com> Tue, 12 June 2018 03:56 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 39EED130F1B for <quic-issues@ietfa.amsl.com>; Mon, 11 Jun 2018 20:56:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.009
X-Spam-Level:
X-Spam-Status: No, score=-8.009 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, URIBL_BLOCKED=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 bGsojQzsi4n9 for <quic-issues@ietfa.amsl.com>; Mon, 11 Jun 2018 20:56:54 -0700 (PDT)
Received: from out-6.smtp.github.com (out-6.smtp.github.com [192.30.252.197]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D8CD5130DCE for <quic-issues@ietf.org>; Mon, 11 Jun 2018 20:56:53 -0700 (PDT)
Date: Mon, 11 Jun 2018 20:56:53 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1528775813; bh=DjMFibohyQmhPjDrUkjJ5F5O8EaB6DOxHA+l/ZMm5iU=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=1LTkQD7J8rVMORXkQqQoRt67lDWpzrTCqE9SGdDGWiZjcwBmyeoLhnRKrvf379E1E cCqNlBhlYxcIIqxDzrE5KINOhHrpxGKgU4tUUn8x7rFZyXEs6oy7b4zWDQQA+Laguh IwHH2fCUgi8of7G9nsgGD82NfzFLqM1NVucIFPwI=
From: Mike Bishop <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab08e494bec5e4e0fbd1279028ffacc24f1eb9ce1492cf000000011737068592a169ce13b52edd@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/1432/396458126@github.com>
In-Reply-To: <quicwg/base-drafts/issues/1432@github.com>
References: <quicwg/base-drafts/issues/1432@github.com>
Subject: Re: [quicwg/base-drafts] Length-prefixes and flow control (#1432)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5b1f4485b811_13192b1213334f50425348"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: MikeBishop
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/R9x3mHy6unaaF1xjHfPlhMWCGVA>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.26
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, 12 Jun 2018 03:56:58 -0000
IIRC, HPACK EOS is so long because you never actually send all of it – if the Huffman-encoded string doesn’t end on a byte boundary (and it probably doesn’t), you put as many bits of the EOS symbol as needed to reach the byte boundary. The whole thing should never appear on the wire; at most seven bits of it. Of course, if you’re depending on recognizing it as it goes by, that requires parsing each symbol as it passes; the length prefix makes it much easier. From: Dmitri Tikhonov <notifications@github.com> Sent: Monday, June 11, 2018 5:43 PM To: quicwg/base-drafts <base-drafts@noreply.github.com> Cc: Mike Bishop <mbishop@evequefou.be>; Comment <comment@noreply.github.com> Subject: Re: [quicwg/base-drafts] Length-prefixes and flow control (#1432) @martinthomson<https://github.com/martinthomson>, mine wasn't a suggestion, but rather something to keep in mind as we weigh different options. That is, there is a way to not use prefix length at all. Your analysis is correct. The biggest downside to me is that the EOS symbol is so long. — You are receiving this because you commented. Reply to this email directly, view it on GitHub<https://github.com/quicwg/base-drafts/issues/1432#issuecomment-396429945>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AEE2ha2hZGTKuCUGPvAxuog8eYQzTuTCks5t7w6KgaJpZM4UgCd3>. -- 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/issues/1432#issuecomment-396458126
- Re: [quicwg/base-drafts] Length-prefixes and flow… Mike Bishop
- Re: [quicwg/base-drafts] Length-prefixes and flow… Kazuho Oku
- Re: [quicwg/base-drafts] Length-prefixes and flow… Dmitri Tikhonov
- Re: [quicwg/base-drafts] Length-prefixes and flow… Martin Thomson
- Re: [quicwg/base-drafts] Length-prefixes and flow… Dmitri Tikhonov
- Re: [quicwg/base-drafts] Length-prefixes and flow… MikkelFJ
- Re: [quicwg/base-drafts] Length-prefixes and flow… Martin Thomson
- Re: [quicwg/base-drafts] Length-prefixes and flow… MikkelFJ
- [quicwg/base-drafts] Length-prefixes and flow con… Martin Thomson
- Re: [quicwg/base-drafts] Length-prefixes and flow… Mike Bishop
- Re: [quicwg/base-drafts] Length-prefixes and flow… janaiyengar
- Re: [quicwg/base-drafts] Length-prefixes and flow… Kazuho Oku
- Re: [quicwg/base-drafts] Length-prefixes and flow… Mike Bishop
- Re: [quicwg/base-drafts] Length-prefixes and flow… krasic
- Re: [quicwg/base-drafts] Length-prefixes and flow… janaiyengar
- Re: [quicwg/base-drafts] Length-prefixes and flow… Martin Thomson
- Re: [quicwg/base-drafts] Length-prefixes and flow… Ryan Hamilton
- Re: [quicwg/base-drafts] Length-prefixes and flow… Dmitri Tikhonov
- Re: [quicwg/base-drafts] Length-prefixes and flow… Martin Thomson
- Re: [quicwg/base-drafts] Length-prefixes and flow… Dmitri Tikhonov
- Re: [quicwg/base-drafts] Length-prefixes and flow… Martin Thomson
- Re: [quicwg/base-drafts] Length-prefixes and flow… Ryan Hamilton
- Re: [quicwg/base-drafts] Length-prefixes and flow… ianswett
- Re: [quicwg/base-drafts] Length-prefixes and flow… Ryan Hamilton
- Re: [quicwg/base-drafts] Length-prefixes and flow… mirjak
- Re: [quicwg/base-drafts] Length-prefixes and flow… Dmitri Tikhonov
- Re: [quicwg/base-drafts] Length-prefixes and flow… Dmitri Tikhonov
- Re: [quicwg/base-drafts] Length-prefixes and flow… Mike Bishop
- Re: [quicwg/base-drafts] Length-prefixes and flow… Martin Thomson
- Re: [quicwg/base-drafts] Length-prefixes and flow… Martin Thomson