[quicwg/base-drafts] Split error code space (#722)

Martin Thomson <notifications@github.com> Fri, 11 August 2017 05:02 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 2DFED120724 for <quic-issues@ietfa.amsl.com>; Thu, 10 Aug 2017 22:02:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.02
X-Spam-Level:
X-Spam-Status: No, score=-2.02 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, 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 eauKCi3dM780 for <quic-issues@ietfa.amsl.com>; Thu, 10 Aug 2017 22:02:26 -0700 (PDT)
Received: from o1.sgmail.github.com (o1.sgmail.github.com [192.254.114.176]) (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 2A406132380 for <quic-issues@ietf.org>; Thu, 10 Aug 2017 22:02:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=rq2GkTOqVlXXxj9D4HM5RbRga/U=; b=JryBpOIcKLV3br28 vfpYkMD2zirLJthZ9Os1afRYKhaVZZ0fSj9ycpdOIEXnDquA4QeFc+YrOckgPKLP WPV7tHeS0RwXLH2gZDG00s17qEdVUfozRMS+Clj4AAQAG2NHVo8Jpmwpa1YH63yn u/RzqXfqeRxDfw51KVyChc1itK4=
Received: by filter0560p1mdw1.sendgrid.net with SMTP id filter0560p1mdw1-32731-598D3A61-7 2017-08-11 05:02:25.15303716 +0000 UTC
Received: from github-smtp2b-ext-cp1-prd.iad.github.net (github-smtp2b-ext-cp1-prd.iad.github.net [192.30.253.17]) by ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id oKZbX5NgQ2q87pR-tb2j7Q for <quic-issues@ietf.org>; Fri, 11 Aug 2017 05:02:25.099 +0000 (UTC)
Date: Fri, 11 Aug 2017 05:02:25 +0000
From: Martin Thomson <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab7adc39fbd10f7e65b1169ade518f692cb958677992cf0000000115a4fc6192a169ce0edfabce@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/722@github.com>
Subject: [quicwg/base-drafts] Split error code space (#722)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_598d3a612dd2_26de3fe9169c9c3c15161"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: martinthomson
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak2uch5plDj4GEnSvMoil4+DhnsE93OMobMprO I1C18YLSmdy0ukN7zqh/Xc6VmOVS0QZmmWOWijtq0jjIiakGtJYICOfLRZU0S2PnLIbuXyxnmc+w9+ lzqMHhwse60LARCqdArdI2DOIOBiHeNkwB8DalFYjYWD3n4tgOOyQzPceckDPwP1PBgsY2gSf2WTjA U=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/GfoyM_R06tKAF4r5BU2kiBa24vA>
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: Fri, 11 Aug 2017 05:02:28 -0000

This creates two orthogonal spaces for error codes.  Application error codes
can be used for both connection and stream errors and are under the control of
the application protocol.  Transport error codes are QUIC-controlled, but can
only terminate the connection.

To fix this, I had to add IANA considerations for error codes, plus a few extra
tweaks.  I think that the error code space could be narrowed to 16 bits after
this, if only to keep things sane.

Closes #132.

(I've stacked this on top of #721 because I don't like managing conflicts and this touches the same general area.)
You can view, comment on, or merge this pull request online at:

  https://github.com/quicwg/base-drafts/pull/722

-- Commit Summary --

  * Refactor the section on connection termination
  * Split error code space
  * s/Public Reset/Stateless Reset/

-- File Changes --

    M draft-ietf-quic-tls.md (41)
    M draft-ietf-quic-transport.md (323)

-- Patch Links --

https://github.com/quicwg/base-drafts/pull/722.patch
https://github.com/quicwg/base-drafts/pull/722.diff

-- 
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/pull/722