Re: [quicwg/base-drafts] Explain that NST.max_stream_data is needed for 0-RTT. (#943)

ekr <notifications@github.com> Sun, 19 November 2017 04:28 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 32DF3120725 for <quic-issues@ietfa.amsl.com>; Sat, 18 Nov 2017 20:28:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.616
X-Spam-Level:
X-Spam-Status: No, score=-0.616 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_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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
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 2MJuHucE0s3J for <quic-issues@ietfa.amsl.com>; Sat, 18 Nov 2017 20:28:23 -0800 (PST)
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 4C0FC1242F5 for <quic-issues@ietf.org>; Sat, 18 Nov 2017 20:28:23 -0800 (PST)
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=ha36pQ3+oJ9NBu1vVGCB8RrUeNE=; b=H9dWgIqOhAkaI6Fo Cqett7tXxE1VmvR5JNeXcxpQZOWdtrY2elE/u0T5P0Q3y0nv41hPBy5YRr/kLqsp lZEf6Fr1wwiFwI1yhQ2k6qATi6kNd4ecBycQvWoWOW7XF82YKrrfqyz4gmkazRF5 5klQlWuGgJzD+1kDckyIKRtjVA0=
Received: by filter1184p1mdw1.sendgrid.net with SMTP id filter1184p1mdw1-29871-5A110866-24 2017-11-19 04:28:22.531153634 +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 RAbeHeN9QFu-yixngIHicw for <quic-issues@ietf.org>; Sun, 19 Nov 2017 04:28:22.421 +0000 (UTC)
Date: Sun, 19 Nov 2017 04:28:22 +0000
From: ekr <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abf80f5811917bf8add105a4cd52e4493ec4aa56d092cf000000011628ca6692a169ce1060af2c@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/943/review/77633104@github.com>
In-Reply-To: <quicwg/base-drafts/pull/943@github.com>
References: <quicwg/base-drafts/pull/943@github.com>
Subject: Re: [quicwg/base-drafts] Explain that NST.max_stream_data is needed for 0-RTT. (#943)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5a110866556b9_1d7e3fe201738f3489931"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: ekr
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
tracking:
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak3dCwSasXIHCXcHaN8GrFU37Wr+S5QcHrQt49 8ZLP4tUmJDep7LI7NCpc15vEtZHm3GQ+E7JfxesZpdyvVR+JUgaWFvcpqOPAl11VivQ9hPNo0BSrjl y5lK7FHFEYqt/2ZadoXTvZ7sxwAwfy4PUQrwPXsaT7zIzqR8MItTAtra8w==
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/0QJq4CqU2GifSbq0WNG3P3ze98g>
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: Sun, 19 Nov 2017 04:28:24 -0000

ekr commented on this pull request.



> @@ -1421,7 +1421,12 @@ enable 0-RTT in TCP.
 All the restrictions on the use of 0-RTT apply, with the exception of the ALPN
 label, which MUST only change to a label that is explicitly designated as being
 compatible.  The client indicates which ALPN label it has chosen by placing that
-ALPN label first in the ALPN extension.
+ALPN label first in the ALPN extension. In order to be usable for 0-RTT,
+the NewSessionTicket MUST contain the "max_early_data" extension with the
+value 0xffffffff; the amount of data which the client can send in 0-RTT
+is controlled by the "initial_max_data" and "initial_max_stream_data"
+parameters supplied by the server. It is an error for the server to provide
+any other value for "max_early_data".

PROTOCOL_VIOLATION perhaps?

-- 
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/943#discussion_r151854567