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

Mike Bishop <notifications@github.com> Tue, 26 June 2018 20:35 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 27BEB130E3A for <quic-issues@ietfa.amsl.com>; Tue, 26 Jun 2018 13:35:12 -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 lF7xqIxJHquJ for <quic-issues@ietfa.amsl.com>; Tue, 26 Jun 2018 13:35:10 -0700 (PDT)
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 27A5E130E2C for <quic-issues@ietf.org>; Tue, 26 Jun 2018 13:35:10 -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=hs3JHDHSdTOIAEeh8K5GZOuCm0E=; b=EHxDUjJmCGJ/3BZV aSuPbdQvbFmafEPW40H8mh44lDTNpo1R9xHCnQDXN+AnDVUfwdAuxgjVwYsFXGgu 1CxptkxzbYXnYNtC9Ma2ACnNhdeRSB85BzfOpfaAhBlj9Yg9BY79xsaJkek2DK5x 2XIWnh6mXPua7Y6vUa1zMxOguvk=
Received: by filter0440p1iad2.sendgrid.net with SMTP id filter0440p1iad2-10529-5B32A37B-8 2018-06-26 20:35:07.128663356 +0000 UTC
Received: from github-lowworker-89d05ac.cp1-iad.github.net (unknown [192.30.252.35]) by ismtpd0008p1iad1.sendgrid.net (SG) with ESMTP id 7Ut6bsEOR3e0m0dsp1DJ5Q for <quic-issues@ietf.org>; Tue, 26 Jun 2018 20:35:07.062 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1]) by github-lowworker-89d05ac.cp1-iad.github.net (Postfix) with ESMTP id 0CC1EAE02E7 for <quic-issues@ietf.org>; Tue, 26 Jun 2018 13:35:07 -0700 (PDT)
Date: Tue, 26 Jun 2018 20:35:07 +0000
From: Mike Bishop <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ababa26330caf3967b45b23ffb8e37c347ce39530492cf00000001174a657b92a169ce13fc0fed@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/132193714@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_5b32a37ba7db_f2e2b0faaffef58786a1"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: MikeBishop
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak33/qMTsDoUgSw9Mcjs7Z4qwD6DjWP2XB+KxK cQn65B/0YF7mtaFtPvx624LEMScSrRd1sFdyyPBaTz/Xt83f2vD3cueuGyib5vMIWacsbptbQci1b9 y5Eqa6n6/kxdNNGes62Ry0Ytqze+MMwUKt1S7daMzkNaLwRfYAZc6a1PyZrBrTV3CJdWH6+Coy5h1H 8=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/Fw1AT8Bz3DYfs_hjeCA-zT8hZjQ>
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:35:13 -0000

MikeBishop 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

There's always @larseggert's suggestion that BLOCKED et al. should be extensions.  That's been on hold while we wait for an extension mechanism to be defined, but it's a perfectly reasonable one.  Define a transport parameter `inform_if_blocked` and if that's set, the various BLOCKED frames are understood.

-- 
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_r198288379