Re: [quicwg/base-drafts] Clients can send GOAWAY too (#3129)
Mike Bishop <notifications@github.com> Wed, 29 January 2020 18:09 UTC
Return-Path: <noreply@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 6F88312004C for <quic-issues@ietfa.amsl.com>; Wed, 29 Jan 2020 10:09:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8
X-Spam-Level:
X-Spam-Status: No, score=-8 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=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 n3gX6hbe7GXY for <quic-issues@ietfa.amsl.com>; Wed, 29 Jan 2020 10:09:13 -0800 (PST)
Received: from out-19.smtp.github.com (out-19.smtp.github.com [192.30.252.202]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C4BB5120019 for <quic-issues@ietf.org>; Wed, 29 Jan 2020 10:09:13 -0800 (PST)
Date: Wed, 29 Jan 2020 10:09:12 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1580321352; bh=UKTpJKQL6+gxloYYVE9dzukEXmYjQBHq2cxI88E2hzk=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=nTW+eVgf+KA9ER9DjKB/36fooLlM7QEc2x9oW0cE/1hoQJb9DQDKzQftHMw/ydUGH torlDQYvEqrnAkhl+eJascPMJn0O9Yv3Q84tbUVKDmJiMHU/N31U5CfexgzhfLgDWW DiJTDowpsUXO7E/QGbD0WORXWboeUba2f26d1nzM=
From: Mike Bishop <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+AFTOJK4FQH4J2TX3GRWZLYF4H36MREVBNHHB44NAVM@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/3129/review/350314843@github.com>
In-Reply-To: <quicwg/base-drafts/pull/3129@github.com>
References: <quicwg/base-drafts/pull/3129@github.com>
Subject: Re: [quicwg/base-drafts] Clients can send GOAWAY too (#3129)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5e31ca48b8ead_1cf33f84f5ccd9681709b5"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: MikeBishop
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/jiE_rsR4Oq2e0UY89y6nOVC9hyU>
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, 29 Jan 2020 18:09:17 -0000
MikeBishop commented on this pull request. > +The information in the GOAWAY frame enables a client and server to agree on +which requests or pushes were accepted prior to the connection shutdown. Upon +sending a GOAWAY frame, the endpoint SHOULD explicitly cancel (see +{{request-cancellation}} and {{frame-cancel-push}}) any requests or pushes that +have identifiers greater than or equal to that indicated, in order to clean up +transport state for the affected streams. The endpoint SHOULD continue to do so +as more requests or pushes arrive. + +Endpoints MUST NOT initiate new requests or promise new pushes on the connection +after receipt of a GOAWAY frame from the peer. Clients MAY establish a new +connection to send additional requests. + +Some requests or pushes might already be in transit. Upon receipt of a GOAWAY +frame, if the endpoint has already sent requests or promised pushes with an +identifier greater than or equal to that received in a GOAWAY frame, those +requests or pushes will not be processed. The endpoint that initiated these I wound up separating these further, and in the process maybe breaking up the wall of text this section has become. > +which requests or pushes were accepted prior to the connection shutdown. Upon +sending a GOAWAY frame, the endpoint SHOULD explicitly cancel (see +{{request-cancellation}} and {{frame-cancel-push}}) any requests or pushes that +have identifiers greater than or equal to that indicated, in order to clean up +transport state for the affected streams. The endpoint SHOULD continue to do so +as more requests or pushes arrive. + +Endpoints MUST NOT initiate new requests or promise new pushes on the connection +after receipt of a GOAWAY frame from the peer. Clients MAY establish a new +connection to send additional requests. + +Some requests or pushes might already be in transit. Upon receipt of a GOAWAY +frame, if the endpoint has already sent requests or promised pushes with an +identifier greater than or equal to that received in a GOAWAY frame, those +requests or pushes will not be processed. The endpoint that initiated these +requests or pushes MAY cancel them. Clients MAY retry such requests on a I reduced the MAY to a "can" and made it a separate paragraph further down. > +sending a GOAWAY frame, the endpoint SHOULD explicitly cancel (see +{{request-cancellation}} and {{frame-cancel-push}}) any requests or pushes that +have identifiers greater than or equal to that indicated, in order to clean up +transport state for the affected streams. The endpoint SHOULD continue to do so +as more requests or pushes arrive. + +Endpoints MUST NOT initiate new requests or promise new pushes on the connection +after receipt of a GOAWAY frame from the peer. Clients MAY establish a new +connection to send additional requests. + +Some requests or pushes might already be in transit. Upon receipt of a GOAWAY +frame, if the endpoint has already sent requests or promised pushes with an +identifier greater than or equal to that received in a GOAWAY frame, those +requests or pushes will not be processed. The endpoint that initiated these +requests or pushes MAY cancel them. Clients MAY retry such requests on a +different connection. By removing the intervening sentence, this seems like less of a throwaway sentence. See if you like this flow better? > -for a client-initiated, bidirectional stream (i.e. 2^62-4 in case of QUIC -version 1). This GOAWAY frame signals to the client that shutdown is imminent -and that initiating further requests is prohibited. After allowing time for any -in-flight requests to reach the server, the server can send another GOAWAY frame -indicating which requests it will accept before the end of the connection. This -ensures that a connection can be cleanly shut down without causing requests to -fail. - -Once all accepted requests have been processed, the server can permit the -connection to become idle, or MAY initiate an immediate closure of the -connection. An endpoint that completes a graceful shutdown SHOULD use the -H3_NO_ERROR code when closing the connection. +when the server closes the connection. An endpoint MAY send multiple GOAWAY +frames indicating different identifiers, but MUST NOT increase the identifier +value they send, since clients might already have retried unprocessed requests +on another connection. Symmetry. If clients are going to send Push IDs, then I'd rather have the same processing rules in both directions -- even if the reason it really matters only applies to clients. -- 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/3129#discussion_r372543822
- [quicwg/base-drafts] Clients can send GOAWAY too … afrind
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Mike Bishop
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Mike Bishop
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Mike Bishop
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Mike Bishop
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Kazuho Oku
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Mike Bishop
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Kazuho Oku
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Mike Bishop
- Re: [quicwg/base-drafts] Clients can send GOAWAY … afrind
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Mike Bishop
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Mike Bishop
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Mike Bishop
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Mike Bishop
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Mike Bishop
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Mike Bishop
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Mike Bishop
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Martin Thomson
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Martin Thomson
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Mike Bishop
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Mike Bishop
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Kazuho Oku
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Kazuho Oku
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Mike Bishop
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Martin Thomson
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Mike Bishop
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Mike Bishop
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Mike Bishop
- Re: [quicwg/base-drafts] Clients can send GOAWAY … ianswett
- Re: [quicwg/base-drafts] Clients can send GOAWAY … Mike Bishop