Re: [quicwg/base-drafts] Asymmetry in the handling of SETTINGS frame (#1846)

Kazuho Oku <notifications@github.com> Wed, 10 October 2018 02:33 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 ED9C7130E4C for <quic-issues@ietfa.amsl.com>; Tue, 9 Oct 2018 19:33:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.456
X-Spam-Level:
X-Spam-Status: No, score=-8.456 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.456, 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] 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 stRAo7EEu0EY for <quic-issues@ietfa.amsl.com>; Tue, 9 Oct 2018 19:33:16 -0700 (PDT)
Received: from out-4.smtp.github.com (out-4.smtp.github.com [192.30.252.195]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C54FA130E53 for <quic-issues@ietf.org>; Tue, 9 Oct 2018 19:33:16 -0700 (PDT)
Date: Tue, 09 Oct 2018 19:33:15 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1539138795; bh=RzxIAzhf5Rg4kxFHQF6Qw6xYWHWmYC65Hx4E7EVkqXk=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=bHTr0nierIviHQ7TqNGtguYf5YyeuMy8Rwe2wbxDW5ORTYdfRIPpxDTZh/MLprVX3 TRIRh3sSGOg0/55lMBtHlG15I+rR20tr4CICU4siLBhJowZdeQTDkanH2cLYxxfNOE HhFpD6lomupRCiHfcJlSAsT3AWDTREiW7Mrz27Tc=
From: Kazuho Oku <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab274ac9963730140ad71bd79508ee5dc9e6c2941492cf0000000117d526eb92a169ce15f10683@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/1846/428417336@github.com>
In-Reply-To: <quicwg/base-drafts/issues/1846@github.com>
References: <quicwg/base-drafts/issues/1846@github.com>
Subject: Re: [quicwg/base-drafts] Asymmetry in the handling of SETTINGS frame (#1846)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5bbd64ebb7dad_46cc3f9e852d45c022888a"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: kazuho
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/9_iVhsC_Am_tln0ureYZg1HoBv4>
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: Wed, 10 Oct 2018 02:33:19 -0000

@MikeBishop Yes. That is precisely the model I am interested in having. I also agree with your observation stated in the last paragraph.

I think I might rephrase my question to: why don't we block the client from sending *anything* until it receives SETTINGS, rather than just blocking the requests?

The benefits are:
* We can have offer-select semantics.
* We have the chance of reducing the number of unidirectional streams:
  * We might want to state that an endpoint opens a QPACK encoder stream only when it sees the peer advertising a non-zero table size, and that an endpoint opens a QPACK decoder stream only when it sees the peer opening the encoder stream. This would be a natural if we block the client from sending anything until it sees SETTINGS.
  * Then, a memory-constrained device would need to have only one slot for unidirectional streams in each direction, assuming that it advertises a QPACK table size of zero. This is better than the current requirement which requires us of having slots for three incoming unidirectional streams even though they might become idle.
* Expanding on the previous point, we even have the freedom to replace QPACK with something else; for example, we could have XPACK that uses a unidirectional stream identifier of 'X'.

Compared to these benefits, I do not see any downside in particular.

-- 
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/1846#issuecomment-428417336