Re: [quicwg/base-drafts] Optional Idle Timeout (#1765)

Martin Thomson <notifications@github.com> Tue, 18 September 2018 20:01 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 46076130E6F for <quic-issues@ietfa.amsl.com>; Tue, 18 Sep 2018 13:01:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.01
X-Spam-Level:
X-Spam-Status: No, score=-3.01 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, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] 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 Oy_02_gpMHHI for <quic-issues@ietfa.amsl.com>; Tue, 18 Sep 2018 13:01:51 -0700 (PDT)
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 280E0120072 for <quic-issues@ietf.org>; Tue, 18 Sep 2018 13:01:51 -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=OEBTZsl19qu/zG1XyJHKn92BSSk=; b=FEz2Kyp+gxN/X4iC Oh5hS18R14gA0yEFDMCqk3gl7ije3O8do/bVz4dXLYBs+k01E33BybUST83vTFcO TeQeDqeJBSQZnhFkTobxEk0+H/udrtTtuAdPrZeaTdgsE2UEXTBG93YMA6zeBaT7 qcCFv6mIsizfvJ8iqUG8BDVTp1k=
Received: by filter0415p1iad2.sendgrid.net with SMTP id filter0415p1iad2-16473-5BA159AD-27 2018-09-18 20:01:49.783193827 +0000 UTC m=+1029212.481488181
Received: from github-lowworker-dcc078e.cp1-iad.github.net (unknown [192.30.252.44]) by ismtpd0001p1iad1.sendgrid.net (SG) with ESMTP id iR4f_MRBQq2Hf2HCN43ruw for <quic-issues@ietf.org>; Tue, 18 Sep 2018 20:01:49.758 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1]) by github-lowworker-dcc078e.cp1-iad.github.net (Postfix) with ESMTP id B6C342C06B4 for <quic-issues@ietf.org>; Tue, 18 Sep 2018 13:01:49 -0700 (PDT)
Date: Tue, 18 Sep 2018 20:01:50 +0000
From: Martin Thomson <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab90333a9f12bbf855b76a9f2c50c42aa8ea3b640792cf0000000117b91bad92a169ce158a0a4f@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/1765/review/156542883@github.com>
In-Reply-To: <quicwg/base-drafts/pull/1765@github.com>
References: <quicwg/base-drafts/pull/1765@github.com>
Subject: Re: [quicwg/base-drafts] Optional Idle Timeout (#1765)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5ba159adb0c4c_505d3fa30fad45c01743e4"; 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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak3kIynyTjlGnYq0YAewFHiTBGvMEYuJ30LPhs 4mhO8mrT9F62TCfrHttgo5W3MFeLiDO1lKzwLwaNxws3zI6/yLHJD+3Qw6NRXADZH3bGHRNr6eYWrv YmCvsKdasqk8gy1GFfFGSDya87swb4RwpNgzWqOAp/Cyhml8glqUi2Dpj9MjeSAUPJa4YIcksxHpFp c=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/wyx9f0_9y3jJ4ngqKV5CPfCCZxw>
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: Tue, 18 Sep 2018 20:01:53 -0000

martinthomson commented on this pull request.

I really like that we no longer have any mandatory transport parameters.

> @@ -1666,6 +1654,18 @@ ack_delay_exponent (0x0007):
   value is also used for ACK frames that are sent in Initial and Handshake
   packets.  Values above 20 are invalid.
 
+initial_max_uni_streams (0x0008):

Please don't move this.  The numbers are all out of order, but I do hope to fix that eventually.

> @@ -2531,9 +2531,9 @@ source address.
 
 ### Idle Timeout
 
-A connection that remains idle for longer than the advertised idle timeout (see
-{{transport-parameter-definitions}}) is closed.  A connection enters the
-draining state when the idle timeout expires.
+If the idle timeout is enabled, a connection that remains idle for longer than

This change isn't needed.  There is always an idle timeout, it's just that it is sometimes infinite.

>  
-: The initial maximum unidirectional streams parameter contains the initial
-  maximum number of unidirectional streams the peer may initiate, encoded as an
-  unsigned 16-bit integer.  If this parameter is absent or zero, unidirectional
-  streams cannot be created until a MAX_STREAM_ID frame is sent.  Setting this
-  parameter is equivalent to sending a MAX_STREAM_ID ({{frame-max-stream-id}})
-  immediately after completing the handshake containing the corresponding Stream
-  ID. For example, a value of 0x05 would be equivalent to receiving a
-  MAX_STREAM_ID containing 18 when received by a client or 19 when received by a
-  server.
+: The idle timeout is a value in seconds that is encoded as an unsigned 16-bit
+  integer.  There is no maximum value besides the maximum encodable value of
+  0xFFFF (about 18 hours).  If this parameter is absent or zero then the idle

I wouldn't bother with the maximum sentence thing.

>  
-: The initial maximum unidirectional streams parameter contains the initial
-  maximum number of unidirectional streams the peer may initiate, encoded as an
-  unsigned 16-bit integer.  If this parameter is absent or zero, unidirectional
-  streams cannot be created until a MAX_STREAM_ID frame is sent.  Setting this
-  parameter is equivalent to sending a MAX_STREAM_ID ({{frame-max-stream-id}})
-  immediately after completing the handshake containing the corresponding Stream
-  ID. For example, a value of 0x05 would be equivalent to receiving a
-  MAX_STREAM_ID containing 18 when received by a client or 19 when received by a
-  server.
+: The idle timeout is a value in seconds that is encoded as an unsigned 16-bit
+  integer.  There is no maximum value besides the maximum encodable value of
+  0xFFFF (about 18 hours).  If this parameter is absent or zero then the idle
+  timeout is disabled.  In this case, the transport never closes the connection
+  in response to being idle.

drop this last sentence too

-- 
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/1765#pullrequestreview-156542883