[quicwg/base-drafts] Some correctness issues in the HTTP/3 drafts are stream errors, not connection errors (#2511)
ianswett <notifications@github.com> Sat, 09 March 2019 08:56 UTC
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
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
- [quicwg/base-drafts] Some correctness issues in t… ianswett
- Re: [quicwg/base-drafts] Some correctness issues … Lucas Pardue
- Re: [quicwg/base-drafts] Some correctness issues … Lucas Pardue
- Re: [quicwg/base-drafts] Some correctness issues … ianswett
- Re: [quicwg/base-drafts] Some correctness issues … Lucas Pardue
- Re: [quicwg/base-drafts] Some correctness issues … ianswett
- Re: [quicwg/base-drafts] Some correctness issues … Lucas Pardue
- Re: [quicwg/base-drafts] Some correctness issues … Kazuho Oku
- Re: [quicwg/base-drafts] Some correctness issues … Kazuho Oku
- Re: [quicwg/base-drafts] Some correctness issues … ianswett
- Re: [quicwg/base-drafts] Some correctness issues … Daan De Meyer
- Re: [quicwg/base-drafts] Some correctness issues … Mike Bishop
- Re: [quicwg/base-drafts] Some correctness issues … Mike Bishop
- Re: [quicwg/base-drafts] Some correctness issues … Mike Bishop