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 62218129741
 for <quic-issues@ietfa.amsl.com>; Sat,  9 Mar 2019 00:56:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.001
X-Spam-Level: 
X-Spam-Status: No, score=-8.001 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, 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]
 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 9FH6KQPKGJix for <quic-issues@ietfa.amsl.com>;
 Sat,  9 Mar 2019 00:56:32 -0800 (PST)
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 2791712426E
 for <quic-issues@ietf.org>; Sat,  9 Mar 2019 00:56:32 -0800 (PST)
Date: Sat, 09 Mar 2019 00:56:30 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
 s=pf2014; t=1552121790;
 bh=bPwE9FCaSBRKxi8iANC9iPi1hOPH4HLpYUIOmD9HPYU=;
 h=Date:From:Reply-To:To:Cc:Subject:List-ID:List-Archive:List-Post:
 List-Unsubscribe:From;
 b=HbtByWkIEmYoYG7O4/2eEGTM5PN2FB+JNk7eLvr61GcZg/Uw00X7Ms8Xt8Zf1Vzha
 0urZyTvO8xuzxWSexgXKK5jOdywtwjcCR/NndT8ncNzzzw7F6vr6ydEZW2R+ldjzXn
 kxwzGpY6Ft+FJltnjrUYFKX7TZkzl0UmwPlLprO8=
From: ianswett <notifications@github.com>
Reply-To: quicwg/base-drafts
 <reply+0166e4ab350f41e797a68779012dc8fa11adc3916e08097592cf00000001189b41be92a169ce18fa336c@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/2511@github.com>
Subject: [quicwg/base-drafts] Some correctness issues in the HTTP/3 drafts are
 stream errors, not connection errors (#2511)
Mime-Version: 1.0
Content-Type: multipart/alternative;
 boundary="--==_mimepart_5c837fbe83f41_220b3fada2ed45c4826583";
 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
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/AAvWUtvVVWXsk2-J9w4-8ulfsEA>
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: Sat, 09 Mar 2019 08:56:35 -0000


----==_mimepart_5c837fbe83f41_220b3fada2ed45c4826583
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

For consistency with PR #2508 and on-list discussion, there are multiple other places in the draft an error that indicates an incorrect implementation is treated as a stream error, not a connection error.

"Only servers can push; if a server receives a client-initiated push  stream, this MUST be treated as a stream error of type HTTP_WRONG_STREAM_DIRECTION."

"A PRIORITY frame received after other frames on a request stream MUST be treated as a stream error of type HTTP_UNEXPECTED_FRAME."

Unclear:
"A PRIORITY frame that references a non-existent Push ID, a Placeholder ID greater than the server's limit, or a Stream ID the client is not yet permitted to open MUST be treated as an HTTP_LIMIT_EXCEEDED error."

"A CANCEL_PUSH frame is sent on the control stream.  Receiving a CANCEL_PUSH frame on a stream other than the control stream MUST be treated as a stream error of type HTTP_WRONG_STREAM."

Possibly should be a connection error:
"A PRIORITY frame sent on a request stream with the Prioritized Element Type set to any value other than "11" or which expresses a dependency on a request with a greater Stream ID than the current stream MUST be treated as a stream error of type HTTP_MALFORMED_FRAME."

In the appendix:
"   SETTINGS_MAX_CONCURRENT_STREAMS:  QUIC controls the largest open
      Stream ID as part of its flow control logic.  Specifying
      SETTINGS_MAX_CONCURRENT_STREAMS in the SETTINGS frame is an error.

   SETTINGS_INITIAL_WINDOW_SIZE:  QUIC requires both stream and
      connection flow control window sizes to be specified in the
      initial transport handshake.  Specifying
      SETTINGS_INITIAL_WINDOW_SIZE in the SETTINGS frame is an error.

   SETTINGS_MAX_FRAME_SIZE:  This setting has no equivalent in HTTP/3.
      Specifying it in the SETTINGS frame is an error."

-- 
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/2511
----==_mimepart_5c837fbe83f41_220b3fada2ed45c4826583
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

<p>For consistency with PR <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="418958734" data-permission-text="Issue title is private" data-url="https://github.com/quicwg/base-drafts/issues/2508" data-hovercard-type="pull_request" data-hovercard-url="/quicwg/base-drafts/pull/2508/hovercard" href="https://github.com/quicwg/base-drafts/pull/2508">#2508</a> and on-list discussion, there are multiple other places in the draft an error that indicates an incorrect implementation is treated as a stream error, not a connection error.</p>
<p>"Only servers can push; if a server receives a client-initiated push  stream, this MUST be treated as a stream error of type HTTP_WRONG_STREAM_DIRECTION."</p>
<p>"A PRIORITY frame received after other frames on a request stream MUST be treated as a stream error of type HTTP_UNEXPECTED_FRAME."</p>
<p>Unclear:<br>
"A PRIORITY frame that references a non-existent Push ID, a Placeholder ID greater than the server's limit, or a Stream ID the client is not yet permitted to open MUST be treated as an HTTP_LIMIT_EXCEEDED error."</p>
<p>"A CANCEL_PUSH frame is sent on the control stream.  Receiving a CANCEL_PUSH frame on a stream other than the control stream MUST be treated as a stream error of type HTTP_WRONG_STREAM."</p>
<p>Possibly should be a connection error:<br>
"A PRIORITY frame sent on a request stream with the Prioritized Element Type set to any value other than "11" or which expresses a dependency on a request with a greater Stream ID than the current stream MUST be treated as a stream error of type HTTP_MALFORMED_FRAME."</p>
<p>In the appendix:<br>
"   SETTINGS_MAX_CONCURRENT_STREAMS:  QUIC controls the largest open<br>
Stream ID as part of its flow control logic.  Specifying<br>
SETTINGS_MAX_CONCURRENT_STREAMS in the SETTINGS frame is an error.</p>
<p>SETTINGS_INITIAL_WINDOW_SIZE:  QUIC requires both stream and<br>
connection flow control window sizes to be specified in the<br>
initial transport handshake.  Specifying<br>
SETTINGS_INITIAL_WINDOW_SIZE in the SETTINGS frame is an error.</p>
<p>SETTINGS_MAX_FRAME_SIZE:  This setting has no equivalent in HTTP/3.<br>
Specifying it in the SETTINGS frame is an error."</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/2511">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AWbkq2-7iZUKWc7mAT4bvFNQH4rno4G4ks5vU3c-gaJpZM4bmkXl">mute the thread</a>.<img src="https://github.com/notifications/beacon/AWbkq8wT9Fo5Cz87uSuMZnt5yqCIhgZNks5vU3c-gaJpZM4bmkXl.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":"Some correctness issues in the HTTP/3 drafts are stream errors, not connection errors (#2511)"}],"action":{"name":"View Issue","url":"https://github.com/quicwg/base-drafts/issues/2511"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/quicwg/base-drafts/issues/2511",
"url": "https://github.com/quicwg/base-drafts/issues/2511",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>
----==_mimepart_5c837fbe83f41_220b3fada2ed45c4826583--

