Re: [quicwg/base-drafts] Don't store or retransmit PATH_RESPONSE frames, avoid buffering (#2729)

Jana Iyengar <notifications@github.com> Thu, 30 May 2019 22:57 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 3C001120176 for <quic-issues@ietfa.amsl.com>; Thu, 30 May 2019 15:57:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.009
X-Spam-Level:
X-Spam-Status: No, score=-3.009 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_HELO_NONE=0.001, 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 vwQ8pq7E3qWK for <quic-issues@ietfa.amsl.com>; Thu, 30 May 2019 15:57:22 -0700 (PDT)
Received: from o9.sgmail.github.com (o9.sgmail.github.com [167.89.101.2]) (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 7975F12016F for <quic-issues@ietf.org>; Thu, 30 May 2019 15:57:22 -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=Y/pPUmSm5e5FvJrd1cseePj2y88=; b=rcUBdcjaD5gBbFB5 nqQ1jecbmkL3BNrAyGukj67vc3/ggd5MB65jWLGr/E4q+MVrDwF3U8pM6kHPut7F iFLDfiGH0sLvJDcvGaQ+3qlypfhtS9Nf0LcL2V8W4dLUXM8QQ60O9iO3JcQCDlLZ XPFApSn6geRJwHwDzLSzfc1rUiU=
Received: by filter0885p1las1.sendgrid.net with SMTP id filter0885p1las1-10720-5CF05FD0-2D 2019-05-30 22:57:20.858131031 +0000 UTC m=+91668.965056213
Received: from github-lowworker-e55e3e3.cp1-iad.github.net (unknown [140.82.115.13]) by ismtpd0029p1mdw1.sendgrid.net (SG) with ESMTP id 9oFobLXtSYqOjJXh0F7C9w for <quic-issues@ietf.org>; Thu, 30 May 2019 22:57:20.757 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1]) by github-lowworker-e55e3e3.cp1-iad.github.net (Postfix) with ESMTP id A84E21805C1 for <quic-issues@ietf.org>; Thu, 30 May 2019 15:57:20 -0700 (PDT)
Date: Thu, 30 May 2019 22:57:21 +0000
From: Jana Iyengar <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+AFTOJK4BYRK3XNDLLGW6AYN27WJFBEVBNHHBVGEZF4@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/2729/review/244067541@github.com>
In-Reply-To: <quicwg/base-drafts/pull/2729@github.com>
References: <quicwg/base-drafts/pull/2729@github.com>
Subject: Re: [quicwg/base-drafts] Don't store or retransmit PATH_RESPONSE frames, avoid buffering (#2729)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5cf05fd0a6862_17e23fc03cccd968874db"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: janaiyengar
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak13jFAFar80R41TLXwZoQ0r+h/srEYz54zLzo Cw13DF+llLT9kxJxvRTfIP/lLm91xUh+g86XTRsmrcU0NXEAlsktIPAn/e6KaoTc1rxDlKw7CJnFCE dqBI08P/cgpQed7TL4VdPSdyDN/zlbH3apGWYTTBt1TKHwhUL50+Ze/VjuAaT1ukHskipnsq34fqDD c=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/z0M__gBF0tAhEpke8UeqZEeEZsc>
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: Thu, 30 May 2019 22:57:24 -0000

janaiyengar commented on this pull request.

The MUST NOT store 

> @@ -1721,7 +1721,12 @@ it can associate the peer's response with the corresponding PATH_CHALLENGE.
 ## Path Validation Responses
 
 On receiving a PATH_CHALLENGE frame, an endpoint MUST respond immediately by
-echoing the data contained in the PATH_CHALLENGE frame in a PATH_RESPONSE frame.
+echoing the data contained in the PATH_CHALLENGE frame in a PATH_RESPONSE frame,
+unless it has PATH_RESPONSE frames buffered for the same destination connection
+ID and wishes to limit memory consumption.

I don't think this addition is necessary.  QUIC does not require or suggest that PATH_RESPONSE be buffered, so an implementation would simply send or queue subsequent PATH_RESPONSE frames, as it should. Memory considerations are much larger with data, and I would argue that memory pressure due to too many PATH_CHALLENGEs isn't interesting.

> @@ -1721,7 +1721,12 @@ it can associate the peer's response with the corresponding PATH_CHALLENGE.
 ## Path Validation Responses
 
 On receiving a PATH_CHALLENGE frame, an endpoint MUST respond immediately by
-echoing the data contained in the PATH_CHALLENGE frame in a PATH_RESPONSE frame.
+echoing the data contained in the PATH_CHALLENGE frame in a PATH_RESPONSE frame,
+unless it has PATH_RESPONSE frames buffered for the same destination connection
+ID and wishes to limit memory consumption.
+
+An endpoint MUST NOT store or retransmit a PATH_RESPONSE frame, as a new

I prefer @kazuho's rewording here: "And endpoint MUST NOT send more than one PATH_RESPONSE in response to a PATH_CHALLENGE frame, as a new ..."

-- 
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/2729#pullrequestreview-244067541