[quicwg/base-drafts] Application-defined error codes (#74)
Mike Bishop <notifications@github.com> Mon, 05 December 2016 21:46 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 405E0129E38 for <quic-issues@ietfa.amsl.com>; Mon, 5 Dec 2016 13:46:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.812
X-Spam-Level:
X-Spam-Status: No, score=-5.812 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_28=1.404, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.896, 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 gdOysEQRRtSw for <quic-issues@ietfa.amsl.com>; Mon, 5 Dec 2016 13:46:23 -0800 (PST)
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 8C058129D85 for <quic-issues@ietf.org>; Mon, 5 Dec 2016 13:45:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=github.com; h=from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=xSFtvz6+jnfuHrvijLHaAUQgpUQ=; b=f3BLTPU6fk6PjJNU 2YnvxKfrXQa4lwUcoTrciC8vgcD5TSbf4OcVNIkYH54UhCkH/kg3C/PRYARmpm/A wRrzy5fBOIBprTHPCPGlg9wqy4Q6K7o4BgxgyAS3bCcl1IIywMSIlqC1oi/9H2El m03ZHdRfcpE4SEKpnrcPYl4uVY0=
Received: by filter0441p1mdw1.sendgrid.net with SMTP id filter0441p1mdw1-17488-5845DFED-7 2016-12-05 21:45:17.168692196 +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 ismtpd0006p1iad1.sendgrid.net (SG) with ESMTP id uQw-jZAwScStpioDIorT3Q for <quic-issues@ietf.org>; Mon, 05 Dec 2016 21:45:17.243 +0000 (UTC)
Date: Mon, 05 Dec 2016 13:45:17 -0800
From: Mike Bishop <notifications@github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/74@github.com>
Subject: [quicwg/base-drafts] Application-defined error codes (#74)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5845dfed22213_2ad93fc169d2f13052621b"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: MikeBishop
X-GitHub-Recipient: quic-issues
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak3+fC0lBJObTxHM/uuWIZDbunGHXHA91MFnkK y1JQgQBp73NnsySCoRn4o5B0oRxYxH735kodUWDvduAkBtQBJmneHC+mO68rNbIoYFW12goXLWH0ty 9BVk+JX6yVq0fgrExzGqE+AmeFMLvlNToQvbA3ZA5lxNVn9EeBecjAE5WZqUVX9rzcuF5tpc9byOZU s=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/IdXyXDVJNR_81gWxoo8Vi6NvI-M>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.17
Reply-To: quicwg/base-drafts <reply+0166e4ab165136cea001a11586cbd3576027fe47afdbe26192cf00000001145da1ed92a169ce0b8a633c@reply.github.com>
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: Mon, 05 Dec 2016 21:46:25 -0000
If applications want to terminate a stream or connection for a reason that isn't specific to the QUIC transport layer, they currently need to define their own error communication mechanism and wait for the frame to be acknowledged before they tell QUIC to terminate the stream/connection. That's not necessarily practical. Could we carve out a segment of the error space and define them to be application-defined, so each application mapping can add whatever error codes are relevant to it? E.g. QUIC currently defines QUIC_DECOMPRESSION_FAILURE, but QUIC defines no compression. That's really there for HPACK, I presume. We could do likewise for handshake errors, since that's also pluggable -- QUIC will have its own AEAD error codes, but things that could go wrong in the handshake will vary by which handshake protocol we're using. -- 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/74
- [quicwg/base-drafts] Application-defined error co… Mike Bishop
- Re: [quicwg/base-drafts] Application-defined erro… Mike Bishop
- Re: [quicwg/base-drafts] Application-defined erro… Mark Nottingham
- Re: [quicwg/base-drafts] Application-defined erro… Mark Nottingham