[quicwg/base-drafts] Definition of Stream Final Size is ambiguous (#2481)

Dmitri Tikhonov <notifications@github.com> Tue, 19 February 2019 14:23 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 32515128B14 for <quic-issues@ietfa.amsl.com>; Tue, 19 Feb 2019 06:23:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.597
X-Spam-Level:
X-Spam-Status: No, score=-1.597 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_28=1.404, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_NONE=-0.0001, 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 mrdsLUiwrMGb for <quic-issues@ietfa.amsl.com>; Tue, 19 Feb 2019 06:23:51 -0800 (PST)
Received: from o7.sgmail.github.com (o7.sgmail.github.com [167.89.101.198]) (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 9A3081277D2 for <quic-issues@ietf.org>; Tue, 19 Feb 2019 06:23:50 -0800 (PST)
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=t+7g37I7TJMwtKyE+733SyCo3A4=; b=dzTocHqS6fP4NSpE NZh9Fbwo31KHQHIXhPFmgDIvy/a8piG/8sQ4RCgoCpfvKpxu7Z5pUjsngSqhEdcq 6pXWlIyAWHbbJmQbfkKe1On4AHJP/GapcjxsiAHepewr17BMkLSb7nuntR6vgYgE 4e14U9benSaZtio3tgWuvcTOdJU=
Received: by filter0565p1iad2.sendgrid.net with SMTP id filter0565p1iad2-23346-5C6C1175-25 2019-02-19 14:23:49.57150741 +0000 UTC m=+1188036.192392537
Received: from github-lowworker-5909e27.cp1-iad.github.net (unknown [192.30.252.35]) by ismtpd0012p1iad1.sendgrid.net (SG) with ESMTP id 15IaHd4lQkeKG4ZreTeiiA for <quic-issues@ietf.org>; Tue, 19 Feb 2019 14:23:49.482 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1]) by github-lowworker-5909e27.cp1-iad.github.net (Postfix) with ESMTP id 742E83E0F75 for <quic-issues@ietf.org>; Tue, 19 Feb 2019 06:23:49 -0800 (PST)
Date: Tue, 19 Feb 2019 14:23:49 +0000
From: Dmitri Tikhonov <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abfdc5e291099a5764cea039ea2522b98b0389091392cf000000011883d37592a169ce188dd5be@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/2481@github.com>
Subject: [quicwg/base-drafts] Definition of Stream Final Size is ambiguous (#2481)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5c6c117572799_557d3f94074d45c43766f1"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: dtikhonov
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak1389ZYavo/IJM0Peue90+ZVhKGK+aWkvyGHM eOwtRlate9rL/ST+hyqUsy/4Nn9qM72lMPSjmQ3c8JKzQDYOxj01E4lygJpLegW4raekOEZdkR+kVd 4pZezIC0c5Vxke/N9dFfUBZxGJuHh7fQQtTC03QuBFazIkILK7aR9aCCLKPYIBATq+UjJGvqY5Spqp 0=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/K1QMx2zKF41SVsADFaYjYk6bcg4>
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: Tue, 19 Feb 2019 14:23:53 -0000

The transport draft states the following (Section 4.4):

> Assuming that every contiguous byte on the stream was sent once, the final size is the number of bytes sent. More generally, this is one higher than the largest byte offset sent on the stream.

This verbiage, introduced in PR #2285, is ambiguous. _Byte offset_ may refer to the _Offset_ field in the _STREAM_ frame; in this case, the definition above is incorrect.  What we want to say is that the final size is one higher than the offset of the byte with the largest offset sent on the stream.  If no bytes were sent, the final size is zero.

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