Re: [quicwg/base-drafts] Error codes (#211)

Martin Thomson <notifications@github.com> Thu, 22 June 2017 01:19 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 40908129410 for <quic-issues@ietfa.amsl.com>; Wed, 21 Jun 2017 18:19:42 -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 EwQQ-Z6uRPNU for <quic-issues@ietfa.amsl.com>; Wed, 21 Jun 2017 18:19:40 -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 E90681293FD for <quic-issues@ietf.org>; Wed, 21 Jun 2017 18:19:39 -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=c+2gVY3kjP/1UCUfyf+/R/sh0tM=; b=pgw8j6260y0s3GLc eIV9rkxC1neEL1QTQDfwdvKUwSBt6YOwxnXvDdaVeHla6XcUP35TiyHFG25ZBlHg HXagpHoQpM3uDxIs2AZqSNGjXyPl7FQQVrV1R5+fmBKNDL8QS1B6Mi3LIBWPlPz5 27eYQgwTs/FusyMFjps/bx5GUZg=
Received: by filter0836p1mdw1.sendgrid.net with SMTP id filter0836p1mdw1-24434-594B1B0A-C 2017-06-22 01:19:06.13443859 +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 ismtpd0003p1iad1.sendgrid.net (SG) with ESMTP id mxmhzmPMSkalFKqnjAcoNQ for <quic-issues@ietf.org>; Thu, 22 Jun 2017 01:19:06.163 +0000 (UTC)
Date: Wed, 21 Jun 2017 18:19:06 -0700
From: Martin Thomson <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab838f0be3bf4f508fd1529445125dcabae9bc0a2092cf000000011562dd0a92a169ce0c14f746@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/310248684@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_594b1b0a14f70_210c63f9a8822dc3056023"; 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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak0uZTdaEHPW3upw19ANY/FNoHKiRDDA0WVUps CfwlQAAgRxXZv5kYJTaiIQLiltJPiVPKExDs2At2Wr+zY4hWVLl0SmOkXxlTOKWqFm5en/H7dp2Z0Y rN1mhDA/2wtesZnWuKCR3fjETKKYWTE6lMs9GuOCHw1k3nbIFYC83q4UBo8yMw2FSPux4OGRzZiuB5 U=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/d1ivwxD0bbMZxlM92FEPi3U4Qlc>
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: Thu, 22 Jun 2017 01:19:42 -0000

Moving discussion from #467 here.

@janaiyengar proposed retaining the following error codes.  Here are my reasons for removing them:

If the intent is to signal to the other side, then I can't see how HANDSHAKE_TIMEOUT or NETWORK_IDLE_TIMEOUT would be sent, so I removed it.

Similar to the timeouts, UNENCRYPTED_STREAM_DATA, INVALID_VERSION_NEGOTIATION_PACKET, and ADDRESS_VALIDATION_FAILURE can't be sent in anything.  Maybe if we managed to come to some conclusion about how to signal handshake errors (#608), then maybe this sort of error can be restored.

I have no idea how to signal PUBLIC_RESET_RECEIVED either.

TOO_MANY_RTOS seems to fall into the same category as the timeouts, but I can't tell because it isn't referenced anywhere.

All of the above seem to be best suited to passing across the interface between a QUIC stack and the application that uses it.

I removed CRYPTO_STREAM_CLOSED and PAYLOAD_MISSING on the basis that these were too specific, but I'm happy to retain them.  I'd prefer to open issues tracking their restoration so that we can add text on when they are generated (see below).

Finally, none of these error codes was referenced by text in the document.  If the document doesn't describe the conditions for generating the code, then they clearly weren't that important.

-- 
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-310248684