Re: [quicwg/base-drafts] Error codes (#211)
Mike Bishop <notifications@github.com> Wed, 28 June 2017 18:56 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 B048312EAB9 for <quic-issues@ietfa.amsl.com>; Wed, 28 Jun 2017 11:56:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.021
X-Spam-Level:
X-Spam-Status: No, score=-2.021 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, 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 gfY2cuB4BcBp for <quic-issues@ietfa.amsl.com>; Wed, 28 Jun 2017 11:56:09 -0700 (PDT)
Received: from o11.sgmail.github.com (o11.sgmail.github.com [167.89.101.202]) (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 DF6C712EAB1 for <quic-issues@ietf.org>; Wed, 28 Jun 2017 11:56:08 -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=DVyEmcy+IAdPXgDX/qQ7PpGI5b4=; b=pcVHn3WaO8mn9XDg 4YEdBncCvcYZSl+VqVIcu8Wtl70iL5OKSfWNSMLGlZ/c8gvjtOvWWRUhvYkNCHnK KjSd93O8NGXHE3gX26rushUe1vWyY9/UYryzsyzKgB9qKlhFpPfHnXBuzwvHbHr7 og+dvfcKKMucqscIzYpw566bSDE=
Received: by filter1135p1mdw1.sendgrid.net with SMTP id filter1135p1mdw1-5795-5953FBC7-23 2017-06-28 18:56:07.592505006 +0000 UTC
Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2a-ext-cp1-prd.iad.github.net [192.30.253.16]) by ismtpd0005p1iad1.sendgrid.net (SG) with ESMTP id 0dX1EgquQkGT13yWG1pLvQ for <quic-issues@ietf.org>; Wed, 28 Jun 2017 18:56:07.527 +0000 (UTC)
Date: Wed, 28 Jun 2017 11:56:07 -0700
From: Mike Bishop <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abef6f4cb34d19d34fbc2893e965f0cb7738188baf92cf00000001156bbdc792a169ce0c14f746@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/211/311754415@github.com>
In-Reply-To: <quicwg/base-drafts/issues/211@github.com>
References: <quicwg/base-drafts/issues/211@github.com>
Subject: Re: [quicwg/base-drafts] Error codes (#211)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5953fbc76bd25_47513fed7e6d3c3c63061"; 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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak2E+6um0MBuSPSY3JbNoiAXRh7gI5I2c0nY56 YdBgp/H5zz9BlxQvzyiIm5GkhgHXXz5kI/+YSz3ixdFDVXL/RAOKWyXJ9XHi8f7M436YvyoHWGL1kk SUEWCPRdCipOv/F8OJZfQjuWU5VGW7+bDKhXkaglX2lmPcUygyEVGJG9Zghbo7NRrTXQVRyo+PetW6 A=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/w2YmyrTD3n1mEyzWeFjkkc-0ehQ>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.22
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, 28 Jun 2017 18:56:12 -0000
@martinthomson, the application can also use these error codes, or so I've been assuming. So the HTTP layer will generate QUIC_CLOSED_CRITICAL_STREAM if the session control stream is closed. You could split that up, but then every application will wind up defining its own version of "you broke it, dummy!". True, after the handshake. I envision this as being the following scenario: - Application has called the QUIC library to open a connection and dumped data into the first streams in hopes of 0-RTT (or 0.5 RTT on the server) - QUIC library accidentally leaks this pending data into handshake cleartext packets - Recipient generates this error on the affected streams or connection, depending on how aggressive it wants to be. It's a fairly specific bug, sure. It's effectively not possible after the handshake. If you want to generalize it somehow, go for it. But it *is* a valid form of peer misbehavior that you might want to signal to the other side. -- 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/211#issuecomment-311754415
- [quicwg/base-drafts] Narrow the error code space … Martin Thomson
- Re: [quicwg/base-drafts] Narrow the error code sp… Martin Thomson
- Re: [quicwg/base-drafts] Error codes (#211) Martin Thomson
- Re: [quicwg/base-drafts] Error codes (#211) ianswett
- Re: [quicwg/base-drafts] Error codes (#211) Mike Bishop
- Re: [quicwg/base-drafts] Error codes (#211) Martin Thomson
- Re: [quicwg/base-drafts] Error codes (#211) Mark Nottingham
- Re: [quicwg/base-drafts] Error codes (#211) Mike Bishop
- Re: [quicwg/base-drafts] Error codes (#211) Martin Thomson
- Re: [quicwg/base-drafts] Error codes (#211) Mark Nottingham
- Re: [quicwg/base-drafts] Error codes (#211) Mike Bishop
- Re: [quicwg/base-drafts] Error codes (#211) Martin Thomson
- Re: [quicwg/base-drafts] Error codes (#211) Patrick McManus
- Re: [quicwg/base-drafts] Error codes (#211) janaiyengar