Re: draft-ietf-httpbis-http2-latest, 6.8 GOAWAY

Martin Thomson <martin.thomson@gmail.com> Sat, 05 July 2014 21:23 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AC6581B287C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 5 Jul 2014 14:23:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.653
X-Spam-Level:
X-Spam-Status: No, score=-7.653 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.651, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 0P-2qEsangeu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 5 Jul 2014 14:23:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3FF321B2873 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 5 Jul 2014 14:23:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1X3XLt-0000T1-PD for ietf-http-wg-dist@listhub.w3.org; Sat, 05 Jul 2014 21:18:33 +0000
Resent-Date: Sat, 05 Jul 2014 21:18:33 +0000
Resent-Message-Id: <E1X3XLt-0000T1-PD@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1X3XLi-0000SI-7v for ietf-http-wg@listhub.w3.org; Sat, 05 Jul 2014 21:18:22 +0000
Received: from mail-wg0-f48.google.com ([74.125.82.48]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1X3XLe-00016Q-F8 for ietf-http-wg@w3.org; Sat, 05 Jul 2014 21:18:22 +0000
Received: by mail-wg0-f48.google.com with SMTP id m15so1796326wgh.7 for <ietf-http-wg@w3.org>; Sat, 05 Jul 2014 14:17:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=Zk1k+YPNnuUJbg4CggzLtwhm0Wwq0zo1ItVKo/ME32w=; b=NrwYmekr4JOoTp9jcTC4AUqoJ87M0pE1jnuCpcEKrPgf6KBdW3BJBXYEFHS/r2RDKU QzfylIf1YviDbPiYHkiKv+ElxdDKTzU1wPWzF44eH1w3efp6CAiClSayF5iPt93Ffc5V i7P7iAvCbbY2z618M9gIyybxzXbSP+C3CXkNPPYmOJkUXoVCs+ng0pjW7DfG7mr4vVsz L9Tv2h3rmynwaGW//XtPTQwJvbklWAt8kG6Nuh0Juv/gN/rTE3suVFQ6E/lQrjSbMCre zOU6n88hbZugKjjbGIP+wd5niWgUCWVoyfPJd00QHHep9n/rNMGgIJEPEAw6UFos1p8y keGQ==
MIME-Version: 1.0
X-Received: by 10.180.81.37 with SMTP id w5mr64972652wix.65.1404595071820; Sat, 05 Jul 2014 14:17:51 -0700 (PDT)
Received: by 10.194.110.6 with HTTP; Sat, 5 Jul 2014 14:17:51 -0700 (PDT)
In-Reply-To: <20140705072947.5D9615BC010@smtp4.welho.com>
References: <20140705072947.5D9615BC010@smtp4.welho.com>
Date: Sat, 05 Jul 2014 14:17:51 -0700
Message-ID: <CABkgnnVXv86k7P2_WCUbMYT9vQyRJ00O6cfhcU9x7M4P5yc_yQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Kari Hurtta <hurtta-ietf@elmme-mailer.org>
Cc: HTTPBIS working group mailing list <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=74.125.82.48; envelope-from=martin.thomson@gmail.com; helo=mail-wg0-f48.google.com
X-W3C-Hub-Spam-Status: No, score=-4.5
X-W3C-Hub-Spam-Report: AWL=-1.792, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1X3XLe-00016Q-F8 a9d840b617de92c7f95c55a7732d0c99
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-ietf-httpbis-http2-latest, 6.8 GOAWAY
Archived-At: <http://www.w3.org/mid/CABkgnnVXv86k7P2_WCUbMYT9vQyRJ00O6cfhcU9x7M4P5yc_yQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/25299
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Good catch, I think that we'd all be assuming things:
https://github.com/http2/http2-spec/commit/36f06f5e7c481e2559f429a7c27646f322634759

On 5 July 2014 00:29, Kari Hurtta <hurtta-ietf@elmme-mailer.org> wrote:
>
> Hypertext Transfer Protocol version 2
> http://http2.github.io/http2-spec/
> July 3, 2014
>
> 6.8 GOAWAY
> http://http2.github.io/http2-spec/#rfc.section.6.8
>
> | There is an inherent race condition between an endpoint starting new
> | streams and the remote sending a GOAWAY frame. To deal with this case,
> | the GOAWAY contains the stream identifier of the last stream which was
> | or might be processed on the sending endpoint in this connection. …
>
> I do not see that explicitly mentioned, but I suppose that:
>
>   If http server sends GOAWAY frame, Last-Stream-ID is stream identifier which
>   http client is created and server is started processing. ( If http
>   client have not created any streams, Last-Stream-ID is 0. )
>
>   If http client sends GOAWAY frame, Last-Stream-ID is stream identifier
>   which http server is created and client is started processing. ( If http
>   server have not created any streams, Last-Stream-ID is 0. )
>
> That is implicitly mentioned on
>
> | The last stream identifier in the GOAWAY frame contains the highest
> | numbered stream identifier for which the sender of the GOAWAY frame
> | might have taken some action on, or might yet take action on. All
> | streams up to and including the identified stream might have been
> | processed in some way. The last stream identifier can be set to 0 if
> | no streams were processed.
>
> / Kari Hurtta