[quicwg/base-drafts] Articulate principles for definition of error codes (#2388)

Martin Thomson <notifications@github.com> Wed, 30 January 2019 06:06 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 2DEDA1311C0 for <quic-issues@ietfa.amsl.com>; Tue, 29 Jan 2019 22:06:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.935
X-Spam-Level:
X-Spam-Status: No, score=-5.935 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-4.553, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_24=1.618, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_NONE=-0.0001, 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 NVJGslnne2Xo for <quic-issues@ietfa.amsl.com>; Tue, 29 Jan 2019 22:06:29 -0800 (PST)
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 52B021311B3 for <quic-issues@ietf.org>; Tue, 29 Jan 2019 22:06:29 -0800 (PST)
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=SvkNrZUCpngJ4MKnUdCupSZjnB4=; b=lvAcsby4D0krq0s/ ZWXVFtNChziJ/0aUijj/3wlBDl2GYkSmBy59FJZ7Bwt7LmrLWC1ODm/EIFyy6c/h dJea7aiPmxwjGKXv3Q3s2GeRcg07nmFB9uwtRSTcQLxqU4d3ohCD0HNw17ukQPw7 s9LjcgGFxEIbhTOyy8yedPDcqiA=
Received: by filter1625p1mdw1.sendgrid.net with SMTP id filter1625p1mdw1-18425-5C513EE4-1 2019-01-30 06:06:28.100240741 +0000 UTC m=+106275.882727189
Received: from github-lowworker-e711880.cp1-iad.github.net (unknown [192.30.252.45]) by ismtpd0046p1iad1.sendgrid.net (SG) with ESMTP id w8K_d5tDRTG2Q3pAn5HVkA for <quic-issues@ietf.org>; Wed, 30 Jan 2019 06:06:28.118 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1]) by github-lowworker-e711880.cp1-iad.github.net (Postfix) with ESMTP id 1B25B4408ED for <quic-issues@ietf.org>; Tue, 29 Jan 2019 22:06:28 -0800 (PST)
Date: Wed, 30 Jan 2019 06:06:28 +0000
From: Martin Thomson <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab0fd099d98665579418bfc8d10404b2f73ab4764c92cf00000001186900e492a169ce181df4d8@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/2388@github.com>
Subject: [quicwg/base-drafts] Articulate principles for definition of error codes (#2388)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5c513ee419f6f_5d363fe84ccd45b4666174"; 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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak3Zix1cgcXykP2R8jDUMjG9/VhZlfRtdk+sNv tna2euKDe7KPKLTDHTSucL7meOLn9rqMA5M5xBEydpRvzjwkVHaLdwubLd07r7VhX0N65csDMZqMDY K2VJAcFeWyCT7mQAdaKcUmyxyfw57YWF5DFDsiYTYEv6/wguhGxC++D2pzW121wP0Aih44bBtAr7WK c=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/K0U9yGICQQ3ysnTa_Adhia3F1Qw>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
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, 30 Jan 2019 06:06:31 -0000

We don't really have any real principles that we agree on for deciding what error codes we are describing.

Proposal:

1. if the error carries distinct semantics (like stream rejection in HTTP), then it gets a new error code

2. if the error is frequent or particularly significant, then it gets a new error code

3. otherwise, target a more generic error code that identifies the broad area of the protocol

4. finally, if there is no more specific applicable error code, use PROTOCOL_VIOLATION

-- 
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/2388