Re: [quicwg/base-drafts] Extension frames (#1473)

ianswett <notifications@github.com> Tue, 26 June 2018 20:38 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 94772130EDE for <quic-issues@ietfa.amsl.com>; Tue, 26 Jun 2018 13:38:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.009
X-Spam-Level:
X-Spam-Status: No, score=-3.009 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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, T_DKIMWL_WL_HIGH=-0.01, 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 xwgte_kCug66 for <quic-issues@ietfa.amsl.com>; Tue, 26 Jun 2018 13:38:32 -0700 (PDT)
Received: from o11.sgmail.github.com (o11.sgmail.github.com [167.89.101.202]) (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 93D27130ECF for <quic-issues@ietf.org>; Tue, 26 Jun 2018 13:38:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=1yeA3KuZ3E7NLPBYdZN5nY2NXpE=; b=DMViJ42QaU8llh7N ywUrVCbRxfIydi4ZXUyrCkkJyfd9qqA1L3TH5IRN2gXMibsiRv6uIUlsLadsw9jy zRdsqACXbFHtFeS/N4QzzCHjLuLs207Jsd6cU8qRatea+/zd1BqQVqBK4bbWqP7w Z3PfPG7SlFmbqGJtzugmOER4k/Q=
Received: by filter0280p1iad2.sendgrid.net with SMTP id filter0280p1iad2-27625-5B32A446-9 2018-06-26 20:38:30.238899023 +0000 UTC
Received: from github-lowworker-5909e27.cp1-iad.github.net (unknown [192.30.252.35]) by ismtpd0001p1iad1.sendgrid.net (SG) with ESMTP id Q6zcIwXKR9KNhhukrLULiQ for <quic-issues@ietf.org>; Tue, 26 Jun 2018 20:38:30.185 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1]) by github-lowworker-5909e27.cp1-iad.github.net (Postfix) with ESMTP id 2AE2E3E13B4 for <quic-issues@ietf.org>; Tue, 26 Jun 2018 13:38:30 -0700 (PDT)
Date: Tue, 26 Jun 2018 20:38:30 +0000
From: ianswett <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab374cd4b2f52debc6c0315b9e64533284f058232592cf00000001174a664692a169ce13fc0fed@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/1473/review/132194934@github.com>
In-Reply-To: <quicwg/base-drafts/pull/1473@github.com>
References: <quicwg/base-drafts/pull/1473@github.com>
Subject: Re: [quicwg/base-drafts] Extension frames (#1473)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5b32a446292cc_22e2b1db6d3cf581865c0"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: ianswett
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak1iG7RWcE3h02vIkiSk1Tx59JXHcjT1KLk5WP X8LjoSshmmoCT0htLMshZH7NE76u46enyLT31jxWJiez/TejaZKqlgfixAfBm+X7wQeizXkRXTvDEx z9thfHkiL3DugAZ9rDLaPGzE0ixuEY7X333SL4QUcMLF/KolxoThgtCFpw==
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/oc0Y_TE-eZnT4LL4KqgE4UeqEL0>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.26
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, 26 Jun 2018 20:38:35 -0000

ianswett commented on this pull request.



> +implementations of frame parsing, a frame type MUST use the shortest possible
+encoding.  Though a two-, four- or eight-octet encoding of the frame types
+defined in this document is possible, the Frame Type field for these frames are
+encoded on a single octet.  For instance, though 0x4007 is a legitimate
+two-octet encoding for a variable-length integer with a value of 7, PING frames
+are always encoded as a single octet with the value 0x07.
+
+## Extension Frames
+
+QUIC frames do not use a self-describing encoding.  An endpoint therefore needs
+to understand the syntax of all frame before it can successfully process a
+packet.  This allows for efficient encoding of frames, but it means that an
+endpoint cannot send a frame of a type that is unknown to its peer.
+
+An extension to QUIC that wishes to use a new type of frame MUST first ensure
+that a peer is able to understand the frame.  An endpoint can use a transport

That sounds like a reasonable suggestion to me.

-- 
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/1473#discussion_r198289383