[quicwg/base-drafts] 299cb8: Split error code space

Martin Thomson <martin.thomson@gmail.com> Fri, 11 August 2017 04:59 UTC

Return-Path: <bounce+565321.40f-quic-issues=ietf.org@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 2185C131CDF for <quic-issues@ietfa.amsl.com>; Thu, 10 Aug 2017 21:59:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.799
X-Spam-Level:
X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=github.com; domainkeys=pass (1024-bit key) header.sender=martin.thomson=gmail.com@github.com 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 Y200xAFAt575 for <quic-issues@ietfa.amsl.com>; Thu, 10 Aug 2017 21:59:09 -0700 (PDT)
Received: from m69-169.mailgun.net (m69-169.mailgun.net [166.78.69.169]) (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 5A471129B25 for <quic-issues@ietf.org>; Thu, 10 Aug 2017 21:59:09 -0700 (PDT)
DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1502427548; h=Content-Transfer-Encoding: Content-Type: Mime-Version: Subject: Message-ID: To: Reply-To: From: Date: Sender; bh=/ybi60M9tCxsse4m2A56IiekPT4KFvx3YrcwitPOJOI=; b=rVniVFIGCdqSV+8P9U39FzWXIaB+CuXtilQ9kX3wXTtxkgHxZvQAW/xUjd3xVRB60dIYO9Am TSJmQduL00D7bI/Zw+32uu/Akll7jcLHLTDo2Fk2P7KUNgsOGdmxGF3bFsotZZDaPEI4HlGh cH/HNjwyvwvh2EWlbS57ZRAJH9s=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=github.com; s=mailo; q=dns; h=Sender: Date: From: Reply-To: To: Message-ID: Subject: Mime-Version: Content-Type: Content-Transfer-Encoding; b=uOrTZ9F2mLI9zfRp11LbF2qe0Gf23VeBDiRlgVzrDntUM1UaNKcJ98r/pLfGVAy8KJRpWs Wpz11qkC1UcUk/cjJL3CUneXDud3ev2zjf0MtmGiFjQRd2+hLQ81yYmCs22LBhZ2sGybc+vH LFCh/OMO/AOtqXiSVJkwwvgU+wKnM=
Sender: martin.thomson=gmail.com@github.com
X-Mailgun-Sending-Ip: 166.78.69.169
X-Mailgun-Sid: WyJhNzYyYiIsICJxdWljLWlzc3Vlc0BpZXRmLm9yZyIsICI0MGYiXQ==
Received: from github.com (Unknown [192.30.252.41]) by mxa.mailgun.org with ESMTP id 598d399b.7f0d7c6ecb40-smtp-out-n02; Fri, 11 Aug 2017 04:59:07 -0000 (UTC)
Date: Thu, 10 Aug 2017 21:59:06 -0700
From: Martin Thomson <martin.thomson@gmail.com>
Reply-To: Martin Thomson <martin.thomson@gmail.com>
To: quic-issues@ietf.org
Message-ID: <598d399aaabe6_47a23f9f1e2e3c3472834@hookshot-fe5-cp1-prd.iad.github.net.mail>
Subject: [quicwg/base-drafts] 299cb8: Split error code space
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="--==_mimepart_598d399aaa805_47a23f9f1e2e3c34727a6"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/bnGXeksLMZ5oFTeBoiWG5AQ9DGs>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
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 04:59:11 -0000

  Branch: refs/heads/split-errors
  Home:   https://github.com/quicwg/base-drafts
  Commit: 299cb850d5173a058f6439885f3f00fc0b0df6d2
      https://github.com/quicwg/base-drafts/commit/299cb850d5173a058f6439885f3f00fc0b0df6d2
  Author: Martin Thomson <martin.thomson@gmail.com>
  Date:   2017-08-11 (Fri, 11 Aug 2017)

  Changed paths:
    M draft-ietf-quic-tls.md
    M draft-ietf-quic-transport.md

  Log Message:
  -----------
  Split error code space

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.