[quicwg/base-drafts] 2bff0a: An endpoint cannot renege on advertised limits

Martin Thomson <martin.thomson@gmail.com> Wed, 01 August 2018 01:00 UTC

Return-Path: <bounce+565321.40f-quic-issues=ietf.org@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 A4D20130EB9 for <quic-issues@ietfa.amsl.com>; Tue, 31 Jul 2018 18:00:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.204
X-Spam-Level: *
X-Spam-Status: No, score=1.204 tagged_above=-999 required=5 tests=[DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 VFBNcbVBiQfd for <quic-issues@ietfa.amsl.com>; Tue, 31 Jul 2018 18:00:58 -0700 (PDT)
Received: from m69-170.mailgun.net (m69-170.mailgun.net [166.78.69.170]) (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 42ACD130EAE for <quic-issues@ietf.org>; Tue, 31 Jul 2018 18:00:58 -0700 (PDT)
DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1533085257; h=Content-Transfer-Encoding: Content-Type: Mime-Version: Subject: Message-ID: To: Reply-To: From: Date: Sender; bh=wI4QeFUvj9i3VC9Mu+2dHETnIOpfT77Nu1zQ7692yL4=; b=ha+A2yq+c6kDVL+DzvA6uYxCwT0HFkZTdR9J/Bipna8zm9gJqNDPTZrF6gZcl0rb0K3z5UiD ECA6l/U7Jo3zfNuTgDgxnV9TYWbUvHtNFxGKoRgSRnMb64AWlrUkThv+urkIeryksrrI0qUl /1tk7zqXdGCNgViGUIUeBcr20pM=
X-Mailgun-Sending-Ip: 166.78.69.170
X-Mailgun-Sid: WyJhNzYyYiIsICJxdWljLWlzc3Vlc0BpZXRmLm9yZyIsICI0MGYiXQ==
Sender: martin.thomson=gmail.com@github.com
Received: from github.com (Unknown [192.30.252.36]) by mxa.mailgun.org with ESMTP id 5b6103f1.7f1872279540-smtp-out-n01; Wed, 01 Aug 2018 00:50:57 -0000 (UTC)
Date: Tue, 31 Jul 2018 17:50:56 -0700
From: Martin Thomson <martin.thomson@gmail.com>
Reply-To: Martin Thomson <martin.thomson@gmail.com>
To: quic-issues@ietf.org
Message-ID: <5b6103f05eb86_2652abb39606f84231d@hookshot-fe-6b2eebc.cp1-iad.github.net.mail>
Subject: [quicwg/base-drafts] 2bff0a: An endpoint cannot renege on advertised limits
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="--==_mimepart_5b6103f05e5d7_2652abb39606f84230ce"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/s4aZzunSCGpVJZ6GtkyJqx-U0gM>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
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, 01 Aug 2018 01:01:00 -0000

  Branch: refs/heads/cant-renege
  Home:   https://github.com/quicwg/base-drafts
  Commit: 2bff0a9c4b2dc99c94242c1f38b157c63a31fbc5
      https://github.com/quicwg/base-drafts/commit/2bff0a9c4b2dc99c94242c1f38b157c63a31fbc5
  Author: Martin Thomson <martin.thomson@gmail.com>
  Date:   2018-08-01 (Wed, 01 Aug 2018)

  Changed paths:
    M draft-ietf-quic-transport.md

  Log Message:
  -----------
  An endpoint cannot renege on advertised limits

For MAX_DATA, MAX_STREAM_DATA, and MAX_STREAM_ID equally, having a MUST
NOT on reneging isn't aligned with practice.  Some implementations
retransmit frame contents without updating the contents of these frames
and that isn't strictly a problem.

Some would have like to police this, but we seem to have consensus to
disallow that.  It creates a coupling between frame processing and
packet numbers that we don't currently have, and it seems that we don't
really want to have either.  More to the point, it prevents the sorts of
optimizations that some people really want.

So, rather than use a MUST NOT renege, observe that it is really just a
an axiom that arises as a consequence of how processing these frames
works: if the value is reduced, then ignore the value.  Whether that is
as a result of out of order arrival, or an optimization, that's OK.

Closes #1612, #447 (the latter for real this time).



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.