Re: [quicwg/base-drafts] Error codes (#211)
Mike Bishop <notifications@github.com> Wed, 28 June 2017 21:22 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 DDA2F12EA6A for <quic-issues@ietfa.amsl.com>; Wed, 28 Jun 2017 14:22:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.801
X-Spam-Level:
X-Spam-Status: No, score=-4.801 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_H2=-2.8, 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 O9wdJvJciyah for <quic-issues@ietfa.amsl.com>; Wed, 28 Jun 2017 14:22:27 -0700 (PDT)
Received: from o5.sgmail.github.com (o5.sgmail.github.com [192.254.113.10]) (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 EFE4B12EC73 for <quic-issues@ietf.org>; Wed, 28 Jun 2017 14:22:26 -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=ZB4fN0XRn2EGpniC7tgKFZnyi/4=; b=AeTzplnB64sRID8U JggCzHydGYrr7CQpd6IRxe7jrUgnLzwIaxatp6fx0Uzfcry8IEsAIAg9XtJw6xiH BjgoRry0odI7mRJoSga8aZ5C77q9Xwy3BoSS2WB28uKckiztajUMC1E9Cqv/Q0LG Pa6oY3G3wFhh6Fb+wQ7ZOJcAZLc=
Received: by filter0471p1mdw1.sendgrid.net with SMTP id filter0471p1mdw1-7685-59541E0A-22 2017-06-28 21:22:18.276986482 +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 ismtpd0029p1mdw1.sendgrid.net (SG) with ESMTP id 0p-mt47GSm2M7F2HeCZaXg for <quic-issues@ietf.org>; Wed, 28 Jun 2017 21:22:18.235 +0000 (UTC)
Date: Wed, 28 Jun 2017 21:22:18 +0000
From: Mike Bishop <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abd4af86ca53fcc75917f73910fd3db7bf72aa17f592cf00000001156be00992a169ce0c14f746@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/311795942@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_59541e09ce0b3_56a3f99ea099c3c172387"; 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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak2tG3b6HRjxyI0+0JKDQ7E+SYSIvEKnPjko1q 2qdIkQ8pj3jhpds6ZAOCVWEJ+ztWFQ+wEQLw14HNImPMaCgQpiDhEJfCol5W32qUEIJvcXr6clDROP IlrRwz2YhQGMEZMd6wGg1OVYZ8Pdez1r9sEOozqXYiIilOXC63R/e5ht9vGPmoLekluZsGKfnVH9vj 4=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/rFv3LfTdraF2u6RMmJj_k54rDCk>
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 21:22:31 -0000
Ah, so move in a direction where there aren’t just distinct ranges, but: * CONNECTION_CLOSE specifies a QUIC error code * RST_STREAM delivers an application-specified close reason with no transport-layer semantics That would certainly allow us to dramatically shrink the error code space. That implies, as you alluded to, that the transport should never abort an individual stream. With the move to max-stream-ID, that seems possible, since using a stream ID beyond the limit could more reasonably be considered a fatal error. It also implies that the application can’t abruptly close a connection, though, which I’m more conflicted about. From: Martin Thomson [mailto:notifications@github.com] Sent: Wednesday, June 28, 2017 1:34 PM To: quicwg/base-drafts <base-drafts@noreply.github.com> Cc: Mike Bishop <Michael.Bishop@microsoft.com>; Comment <comment@noreply.github.com> Subject: Re: [quicwg/base-drafts] Error codes (#211) I'm increasingly of the opinion that applications shouldn't be using QUIC error codes, but you are right that doing that means some duplication of work across applications. Based on what we currently have, the generic codes are either properly generic (NO_ERROR, INTERNAL_ERROR) or they are maybe only applicable to a subset of applications (CLOSED_CRITICAL_STREAM, CANCELLED). I can't properly justify generalizing those codes at this point. Management of error code spaces is not a feature that the transport needs to do, and meddling in that space is where we are currently headed. I'd prefer to leave the RST_STREAM error code open for use by applications and leave the semantics of the code points entirely unspecified in QUIC. — You are receiving this because you commented. Reply to this email directly, view it on GitHub<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fquicwg%2Fbase-drafts%2Fissues%2F211%23issuecomment-311780840&data=02%7C01%7CMichael.Bishop%40microsoft.com%7C38d86edd4b394d98185008d4be6513da%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636342788729724436&sdata=Qef5oB4AY%2FGsOEUhkkJtY2l5DNVvPyqSi874uDslPd4%3D&reserved=0>, or mute the thread<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEE2hQn3KBjhVSgvgZNmhOQLJ5Q8ZBpAks5sIrjTgaJpZM4LrwmI&data=02%7C01%7CMichael.Bishop%40microsoft.com%7C38d86edd4b394d98185008d4be6513da%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636342788729734444&sdata=HdFc0ULYUXExmLsrybytkNkGIsD7HDM1wcnkONu1JZU%3D&reserved=0>. -- 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-311795942
- [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