[quicwg/base-drafts] Crisp definition of BLOCKING and friends (#1889)

Martin Thomson <notifications@github.com> Fri, 19 October 2018 04:30 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 804AA129385 for <quic-issues@ietfa.amsl.com>; Thu, 18 Oct 2018 21:30:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.063
X-Spam-Level:
X-Spam-Status: No, score=-3.063 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.064, 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, 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 qNsPhwcrXGmc for <quic-issues@ietfa.amsl.com>; Thu, 18 Oct 2018 21:30:46 -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 602E4127148 for <quic-issues@ietf.org>; Thu, 18 Oct 2018 21:30:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=KPTMrvjXH82sIpwoJyuP+Ff29tY=; b=Hlmj0ni+yjc2Qsws zf7D6qyJMZOwNw4ZLSOF5pXwxIngwUSSH2cy09q52WHIVUKuJQq9OmacJL6O551w 33qMuSbZOx/pSRsg/25kzgpwghXP1mwCeWba7DrB9l3qRWgtTwfLtWhpy16iM98N wswkSzxaB7/Wqk/oTA/F71rQ9UU=
Received: by filter0730p1las1.sendgrid.net with SMTP id filter0730p1las1-9291-5BC95DF4-35 2018-10-19 04:30:44.91740834 +0000 UTC m=+17190.892991737
Received: from github-lowworker-e711880.cp1-iad.github.net (unknown [192.30.252.45]) by ismtpd0019p1iad2.sendgrid.net (SG) with ESMTP id xO4BfF85TUOBhbt33RQh-w for <quic-issues@ietf.org>; Fri, 19 Oct 2018 04:30:44.813 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1]) by github-lowworker-e711880.cp1-iad.github.net (Postfix) with ESMTP id C71E0440141 for <quic-issues@ietf.org>; Thu, 18 Oct 2018 21:30:44 -0700 (PDT)
Date: Fri, 19 Oct 2018 04:30:45 +0000
From: Martin Thomson <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abb007db1ff325bd9a0dcaf79df98f425d26dfe29b92cf0000000117e11ff492a169ce16294480@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/1889@github.com>
Subject: [quicwg/base-drafts] Crisp definition of BLOCKING and friends (#1889)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5bc95df4c08db_55ee3fe92d0d45c0106731"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: martinthomson
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak1vH7ePYH45mT9pnTmV+G1STVpImkKtWcC5yd JDSh7jrFfaHaRRkwxqsVdqJDhBFaF1Yj3sSYHomyHZpiGrIIUrK+Jib2ad1OGP0+3AMuc/zZDExivm /X9EHwKV1jScxMVIQ5RFiCFmWBjVYYyAQFSeakjhxcyjufDLgKkpPCLjjAKh2xsUzBIFiE0nTOHfWg Y=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/mWuST0W3XYC9CV_vEEpHwFFjgSc>
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: Fri, 19 Oct 2018 04:30:49 -0000

Recent discussion around the use of BLOCKING frames highlighted some
inconsistency - and even disagreement - about what the purpose of the
frames are.  If you read through all the text for the flow
control-related frames, it is clear that the frame carries the *limit*
at the time the frame is sent.

> These frames always include the limit that is causing blocking at the
> time that they are transmitted.

This enacts that change more consistently, especially for
STREAM_ID_BLOCKED, which was the most unclear.

The discussion on #1851 suggested that there was value in knowing what
the sender (or stream opener) wanted to get to.  That is, the frames
would carry a higher value.  If the limit was X and the sender wanted to
send octet X+Y (or open stream X+Y), they would convey that information
instead.  The theory here is that the larger value (X+Y) would be sent,
allowing the receiver to make those resources available.

The problem with this alternative approach is that the value advertised
changes over time and it is difficult to connect the signal (a BLOCKED
frame), with the limit that was in force at the time.

I suspect that there is value in signaling the desired limits as well,
but that would require greater justification.  It also entails a change
and I'm leery of feature creep at this stage.

Closes #1851, #1850.
You can view, comment on, or merge this pull request online at:

  https://github.com/quicwg/base-drafts/pull/1889

-- Commit Summary --

  * Crisp definition of BLOCKING and friends

-- File Changes --

    M draft-ietf-quic-transport.md (13)

-- Patch Links --

https://github.com/quicwg/base-drafts/pull/1889.patch
https://github.com/quicwg/base-drafts/pull/1889.diff

-- 
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/1889