Return-Path: <noreply@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 09986130E3B
 for <quic-issues@ietfa.amsl.com>; Wed, 27 Jun 2018 15:34:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.01
X-Spam-Level: 
X-Spam-Status: No, score=-8.01 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_HI=-5, 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 uXA5J-gC3j4p for <quic-issues@ietfa.amsl.com>;
 Wed, 27 Jun 2018 15:34:18 -0700 (PDT)
Received: from out-7.smtp.github.com (out-7.smtp.github.com [192.30.252.198])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by ietfa.amsl.com (Postfix) with ESMTPS id 37261130E2C
 for <quic-issues@ietf.org>; Wed, 27 Jun 2018 15:34:18 -0700 (PDT)
Date: Wed, 27 Jun 2018 15:34:17 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
 s=pf2014; t=1530138857;
 bh=gSPu/+5VH0OMXs15Ebc6+BgKWqBy67dnWJz9RVBuqWw=;
 h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
 List-Archive:List-Post:List-Unsubscribe:From;
 b=ve70eY9aPDJacb2o9GY0EICRbIE5pS72Lnum07Zv77jlVWRrRQFGZgdgO1hHfWrX7
 Bo4kA4LzECJtyPiPXCUVJ29th2INFsYJGdEbdFFqlJoykNterxxyzqq6rC3/DbHdzE
 Mx/ew586CyjutBSQFasjDpCstnX2j5A1+2UE20iU=
From: Lucas Pardue <notifications@github.com>
Reply-To: quicwg/base-drafts
 <reply+0166e4ab0cc97f16e8e5ce29232bda2421ccf03d339755e992cf00000001174bd2e992a169ce140bbcee@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/1490/400850963@github.com>
In-Reply-To: <quicwg/base-drafts/issues/1490@github.com>
References: <quicwg/base-drafts/issues/1490@github.com>
Subject: Re: [quicwg/base-drafts] Greasing for Unidirectional Stream Types
 (#1490)
Mime-Version: 1.0
Content-Type: multipart/alternative;
 boundary="--==_mimepart_5b3410e9989b5_71f82af5b1beef5c662bc";
 charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: LPardue
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/IrcwkYPqjjgT7lHc1trul7zQ34Q>
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: Wed, 27 Jun 2018 22:34:22 -0000


----==_mimepart_5b3410e9989b5_71f82af5b1beef5c662bc
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

So taking Martin's point in mind, what about something like:

_Implementations SHOULD NOT send stream types that the peer is not already known to support. Recipients of unknown stream types MUST send a STOP_SENDING frame with an error code of HTTP_UNKNOWN_STREAM_TYPE. Greased stream types are always classed as unknown and unsupported._

This requires a receiver to only parse the first 8 bytes of a stream.

It would help to provide some guidance for HTTP/QUIC extension authors to make it clear that a mechanism (e.g. SETTINGS) for negotiating extension stream types is required, and that failure to do this will invoke the ignorant behaviour.


-- 
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/1490#issuecomment-400850963
----==_mimepart_5b3410e9989b5_71f82af5b1beef5c662bc
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p>So taking Martin's point in mind, what about something like:</p>
<p><em>Implementations SHOULD NOT send stream types that the peer is not =
already known to support. Recipients of unknown stream types MUST send a =
STOP_SENDING frame with an error code of HTTP_UNKNOWN_STREAM_TYPE. Grease=
d stream types are always classed as unknown and unsupported.</em></p>
<p>This requires a receiver to only parse the first 8 bytes of a stream.<=
/p>
<p>It would help to provide some guidance for HTTP/QUIC extension authors=
 to make it clear that a mechanism (e.g. SETTINGS) for negotiating extens=
ion stream types is required, and that failure to do this will invoke the=
 ignorant behaviour.</p>

<p style=3D"font-size:small;-webkit-text-size-adjust:none;color:#666;">&m=
dash;<br />You are receiving this because you are subscribed to this thre=
ad.<br />Reply to this email directly, <a href=3D"https://github.com/quic=
wg/base-drafts/issues/1490#issuecomment-400850963">view it on GitHub</a>,=
 or <a href=3D"https://github.com/notifications/unsubscribe-auth/AWbkq8y4=
iQIzXM_D2_mD0aVXV5ri_KWhks5uBAhpgaJpZM4U6EIM">mute the thread</a>.<img sr=
c=3D"https://github.com/notifications/beacon/AWbkqzA4fCDeHS8UflWOMBTTp84L=
GWEXks5uBAhpgaJpZM4U6EIM.gif" height=3D"1" width=3D"1" alt=3D"" /></p>
<script type=3D"application/json" data-scope=3D"inboxmarkup">{"api_versio=
n":"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":"http=
s://assets-cdn.github.com/images/email/message_cards/header.png","avatar_=
image_url":"https://assets-cdn.github.com/images/email/message_cards/avat=
ar.png","action":{"name":"Open in GitHub","url":"https://github.com/quicw=
g/base-drafts"}},"updates":{"snippets":[{"icon":"PERSON","message":"@LPar=
due in #1490: So taking Martin's point in mind, what about something like=
:\r\n\r\n_Implementations SHOULD NOT send stream types that the peer is n=
ot already known to support. Recipients of unknown stream types MUST send=
 a STOP_SENDING frame with an error code of HTTP_UNKNOWN_STREAM_TYPE. Gre=
ased stream types are always classed as unknown and unsupported._\r\n\r\n=
This requires a receiver to only parse the first 8 bytes of a stream.\r\n=
\r\nIt would help to provide some guidance for HTTP/QUIC extension author=
s to make it clear that a mechanism (e.g. SETTINGS) for negotiating exten=
sion stream types is required, and that failure to do this will invoke th=
e ignorant behaviour.\r\n"}],"action":{"name":"View Issue","url":"https:/=
/github.com/quicwg/base-drafts/issues/1490#issuecomment-400850963"}}}</sc=
ript>
<script type=3D"application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/quicwg/base-drafts/issues/1490#issuecomment=
-400850963",
"url": "https://github.com/quicwg/base-drafts/issues/1490#issuecomment-40=
0850963",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [quicwg/base-drafts] Greasing for Unidirectional Stream Typ=
es (#1490)",
"sections": [
{
"text": "",
"activityTitle": "**Lucas Pardue**",
"activityImage": "https://assets-cdn.github.com/images/email/message_card=
s/avatar.png",
"activitySubtitle": "@LPardue",
"facts": [

]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \=
"quicwg/base-drafts\",\n\"issueId\": 1490,\n\"IssueComment\": \"{{IssueCo=
mment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"q=
uicwg/base-drafts\",\n\"issueId\": 1490\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/quicwg/base-drafts/issues/1490#issuecomment-40=
0850963"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 3507655=
80\n}"
}
],
"themeColor": "26292E"
}
]</script>=

----==_mimepart_5b3410e9989b5_71f82af5b1beef5c662bc--

