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 A56D4130E9A
 for <quic-issues@ietfa.amsl.com>; Thu, 13 Dec 2018 12:56:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.842
X-Spam-Level: 
X-Spam-Status: No, score=-2.842 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.46, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_24=1.618,
 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 HasfN9MmWlZh for <quic-issues@ietfa.amsl.com>;
 Thu, 13 Dec 2018 12:56:23 -0800 (PST)
Received: from o3.sgmail.github.com (o3.sgmail.github.com [192.254.112.98])
 (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 8B7BF130E95
 for <quic-issues@ietf.org>; Thu, 13 Dec 2018 12:56:22 -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=9sv3VfMKIkSCFIQGyVTn09xgVBc=; b=n72R6m+bQkLASfRw
 AWvN6Q5pBvFnW9k333BBlcaJAqQdmsULHC61FbDC7VXyseUpF7g84KeBl9lxz0Vf
 gAFTepX/SQUrI4Thv5yiTOk3f2rMEDe7mUKUZyxE0sUg3bR5c3cJndxdRsaegqE1
 E306lZl2mLr7b68dI/gCYSeSuqA=
Received: by filter1696p1mdw1.sendgrid.net with SMTP id
 filter1696p1mdw1-3003-5C12C774-18
 2018-12-13 20:56:20.861339001 +0000 UTC m=+253447.353086615
Received: from github-lowworker-1ffe0ab.cp1-iad.github.net (unknown
 [192.30.252.38])
 by ismtpd0005p1iad2.sendgrid.net (SG) with ESMTP id A_7Np79CSIi38VVBHEIAlQ
 for <quic-issues@ietf.org>; Thu, 13 Dec 2018 20:56:20.842 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1])
 by github-lowworker-1ffe0ab.cp1-iad.github.net (Postfix) with ESMTP id
 C7370380F18
 for <quic-issues@ietf.org>; Thu, 13 Dec 2018 12:56:20 -0800 (PST)
Date: Thu, 13 Dec 2018 20:56:20 +0000 (UTC)
From: ekr <notifications@github.com>
Reply-To: quicwg/base-drafts
 <reply+0166e4abe817b20ddd00e0a32e6d4e1c3c79ae5f86e358ff92cf00000001182a897492a169ce174bfecb@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/2155@github.com>
Subject: [quicwg/base-drafts] Checking frame type encoding? (#2155)
Mime-Version: 1.0
Content-Type: multipart/alternative;
 boundary="--==_mimepart_5c12c774c5e74_7d633fd971ad45b4342852";
 charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: ekr
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak12UW4X2Mq38Egz8gCZwHi947eZhYk45Y6cay
 wg3lhBQRioY5TswzCQLSj2uyphxlB46dzdN1bnPw+qyNhcSiCfeWLm7brtwrt5RnDYoHKOZHKHN3er
 qpZSGuQyAjy4SExj0C8G2625S8VUeGFfQwThMT0hkzrS7wQcnMAxHl9AKQ==
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/jHIgeCqBcDmIXFNfObiWHhz8FPE>
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: Thu, 13 Dec 2018 20:56:25 -0000

----==_mimepart_5c12c774c5e74_7d633fd971ad45b4342852
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit


```
encoded as a single byte with the value 0x07.  An endpoint MUST treat the
receipt of a frame type that uses a longer encoding than necessary as a
connection error of type PROTOCOL_VIOLATION.
```

Why does this requirement exist? It seems like an odd place to be
picky when we're generally allowing implementations to do unusual
things without requiring checking. To be clear, I'm fine with the
shortest encoding rule, but the must check seems unnecessary
and inconvenient.



-- 
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/2155
----==_mimepart_5c12c774c5e74_7d633fd971ad45b4342852
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

<pre><code>encoded as a single byte with the value 0x07.  An endpoint MUST treat the
receipt of a frame type that uses a longer encoding than necessary as a
connection error of type PROTOCOL_VIOLATION.
</code></pre>
<p>Why does this requirement exist? It seems like an odd place to be<br>
picky when we're generally allowing implementations to do unusual<br>
things without requiring checking. To be clear, I'm fine with the<br>
shortest encoding rule, but the must check seems unnecessary<br>
and inconvenient.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/quicwg/base-drafts/issues/2155">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AWbkq2S7GEPhooh8_TVFWtDPQKJKO6TTks5u4r70gaJpZM4ZSaMc">mute the thread</a>.<img src="https://github.com/notifications/beacon/AWbkq3Wo7idHz2ZlOragUmz50bQjbcGpks5u4r70gaJpZM4ZSaMc.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/quicwg/base-drafts","title":"quicwg/base-drafts","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/quicwg/base-drafts"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Checking frame type encoding? (#2155)"}],"action":{"name":"View Issue","url":"https://github.com/quicwg/base-drafts/issues/2155"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/quicwg/base-drafts/issues/2155",
"url": "https://github.com/quicwg/base-drafts/issues/2155",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>
----==_mimepart_5c12c774c5e74_7d633fd971ad45b4342852--

