Re: [quicwg/base-drafts] QPACK improvement: wrap absolute index values (#1644)

Mike Bishop <notifications@github.com> Thu, 09 August 2018 17:49 UTC

Return-Path: <bounces+848413-a050-quic-issues=ietf.org@sgmail.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 69C5E130E90 for <quic-issues@ietfa.amsl.com>; Thu, 9 Aug 2018 10:49:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.009
X-Spam-Level:
X-Spam-Status: No, score=-3.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_NONE=-0.0001, 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 Yx9AmrHsUSrl for <quic-issues@ietfa.amsl.com>; Thu, 9 Aug 2018 10:49:04 -0700 (PDT)
Received: from o8.sgmail.github.com (o8.sgmail.github.com [167.89.101.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AC663130E89 for <quic-issues@ietf.org>; Thu, 9 Aug 2018 10:49:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=52juviRz82otNGuI43knVnbrZ3g=; b=fznaaKK2Dz034TtF ao7aspkyE7tEjEwFfVThjcGK/TqjszsYHHdflrrmPO79h7XUG0iqjsxC68RPsdK/ Bs9UCESHbf+9m7nS3j2w7x0B6kLoe/MaZzpH1u0FN4wdZ2W7sArF6cttVl4VE0CC wK6U9pcCJwJrt+pJy07J4kCWjiE=
Received: by filter1370p1mdw1.sendgrid.net with SMTP id filter1370p1mdw1-22677-5B6C7E8F-B 2018-08-09 17:49:03.558542215 +0000 UTC m=+162439.709479351
Received: from github-lowworker-89d05ac.cp1-iad.github.net (unknown [192.30.252.35]) by ismtpd0005p1iad1.sendgrid.net (SG) with ESMTP id BP5K01tSSQ6aQnTEo6bfXQ for <quic-issues@ietf.org>; Thu, 09 Aug 2018 17:49:03.595 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1]) by github-lowworker-89d05ac.cp1-iad.github.net (Postfix) with ESMTP id 8E864AE0445 for <quic-issues@ietf.org>; Thu, 9 Aug 2018 10:49:03 -0700 (PDT)
Date: Thu, 09 Aug 2018 17:49:03 +0000
From: Mike Bishop <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab8ccd9dd046a490a7c737adc120cfe480e13ab2dd92cf000000011784408f92a169ce14cf3287@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/1644/411841355@github.com>
In-Reply-To: <quicwg/base-drafts/issues/1644@github.com>
References: <quicwg/base-drafts/issues/1644@github.com>
Subject: Re: [quicwg/base-drafts] QPACK improvement: wrap absolute index values (#1644)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5b6c7e8f8cb45_5c5b3f94d54d45b4210882"; 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
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak3nQjdhip/4R7AD5WnnVVR5SQy8q7N+wKwxYn ccpWn8c8i+2N+DRISTOUtk/6U6/kp778Ibr88TUz9iPlNayqDhLArYhBd4AgBK35a2eOtv4ztI8zqC UMOrgsn+ZjCL0RNa4yLwYGPWYAgamikRbMIwOoV9JXZ4E+TMFNmdfKf4mhtqluMGuGILDKZDjqplYe 4=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/aCxUPWzk9IjeWxikFbFYZASBC5w>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.27
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: Thu, 09 Aug 2018 17:49:07 -0000

I don't disagree with the goals or the general mechanism.  However, given that the max table size can change unilaterally over the course of a connection, it seems problematic to use that to determine the wrapping point.  It needs to be something relatively stable over the lifetime of the connection, and that probably means the setting which bounds the max table size.

Even that can change on a 0-RTT connection when the SETTINGS frame is received, but there's a simple way around that (assuming #1641).  You tentatively calculate `MaxEntries` based on the remembered value, and prohibit sending more than `MaxEntries` entries prior to seeing the SETTINGS frame.  Once you see the SETTINGS frame, you know where the wrap point actually is and you can wrap if you need to.  For any reasonable value of the bound, that prohibition shouldn't be an issue.

-- 
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/1644#issuecomment-411841355