[quicwg/base-drafts] make payload length 0 special (#1301)

Marten Seemann <notifications@github.com> Wed, 18 April 2018 05:05 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 1EBDD12421A for <quic-issues@ietfa.amsl.com>; Tue, 17 Apr 2018 22:05:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.606
X-Spam-Level:
X-Spam-Status: No, score=-1.606 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] 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 k2KjODwDokay for <quic-issues@ietfa.amsl.com>; Tue, 17 Apr 2018 22:05:35 -0700 (PDT)
Received: from o5.sgmail.github.com (o5.sgmail.github.com [192.254.113.10]) (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 77FA11201F8 for <quic-issues@ietf.org>; Tue, 17 Apr 2018 22:05:35 -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=cC+gSRRyxoIGTpNnaMG47xNor44=; b=k8N+t6Pfa14P0BEf FEOqPDDMdqoSJRmMhoTgRzkcGEDjnilYcBMTIsU5FGg1PByChY7nT7qZRivh7w30 kyPCT1Xc3JaEsCLeQqUweMUyS5wnZVmrVK9mWcBpL73/mRfLPGNNe3CBWmKy0wbF nXtDy19Et9Awnfgcs3dPekvpekM=
Received: by filter0489p1las1.sendgrid.net with SMTP id filter0489p1las1-31971-5AD6D21E-C 2018-04-18 05:05:34.355646758 +0000 UTC
Received: from smtp.github.com (out-2.smtp.github.com [192.30.252.193]) by ismtpd0011p1iad2.sendgrid.net (SG) with ESMTP id y5NOJp_sQT27goq6i_kyRA for <quic-issues@ietf.org>; Wed, 18 Apr 2018 05:05:34.057 +0000 (UTC)
Date: Wed, 18 Apr 2018 05:05:34 +0000
From: Marten Seemann <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab83a898f34b1953c6855b6bb805723193b1b6fe5b92cf0000000116ee941e92a169ce12cb96b7@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/1301@github.com>
Subject: [quicwg/base-drafts] make payload length 0 special (#1301)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5ad6d21eb489_2382aef35facf54816db"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: marten-seemann
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
X-CSA-Complaints: whitelist-complaints@eco.de
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak1TdZselqCY68zipyEiYapMxI9IyYzhpqmxLQ DsVZ/LykcjO/mmGZj7G6fMgaL7qUZty/hOecRU5qdPEk6WBtmb5l8/Eynafp/iC+mWWoHjBoSV1rVX Z6RZhfy5ds9624OhCEjH96bpJ+PCqIf/R8bx5Fr+OKdHg98r7rJQdFA8joKbvD/1okmO/EFGGYZudv 4=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/9lF1i-bbwxKObUmRrfkdvVT7qFM>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.22
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, 18 Apr 2018 05:05:37 -0000

0 is currently a valid value for the payload length, but sending a packet with no payload is not allowed. By making this value special, we can give it a clearly defined meaning, and save a byte in the common case (and potentially make implementations easier).
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * make payload length 0 special

-- File Changes --

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

-- Patch Links --

https://github.com/quicwg/base-drafts/pull/1301.patch
https://github.com/quicwg/base-drafts/pull/1301.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/1301