Re: RST_STREAM and FINAL flag

Jeff Pinner <jpinner@twitter.com> Thu, 25 April 2013 19: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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5D03D21F96BE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Apr 2013 12:23:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level:
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q-7u4SlaJuaL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Apr 2013 12:22:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6E2BE21F96BA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Apr 2013 12:22:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UVRkC-0000Zh-O0 for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Apr 2013 19:22:12 +0000
Resent-Date: Thu, 25 Apr 2013 19:22:12 +0000
Resent-Message-Id: <E1UVRkC-0000Zh-O0@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jpinner@twitter.com>) id 1UVRk8-0000Yx-9x for ietf-http-wg@listhub.w3.org; Thu, 25 Apr 2013 19:22:08 +0000
Received: from mail-ob0-f170.google.com ([209.85.214.170]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jpinner@twitter.com>) id 1UVRk7-0007Mf-EA for ietf-http-wg@w3.org; Thu, 25 Apr 2013 19:22:08 +0000
Received: by mail-ob0-f170.google.com with SMTP id eh20so2866806obb.15 for <ietf-http-wg@w3.org>; Thu, 25 Apr 2013 12:21:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=twitter.com; s=google; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=x2ILP29Nm6n5hJ/M5nAbuvwSAq45FmKh00Le5dWuKP8=; b=hrnw1R6F3vFPb4AZtuemh+3r1hWyMso6lFpL4WFmvKuFpKrcXvULBa6fkBlVyFsh2h w5k+fkpwbGJUF8UDfbQ+MtSJ1dVaPqqLagEhS+Fid5HV1F+u5YM0rm/U1XeoOjYJpSjE XntruMrnLmeZ9xiJhr3yZNwjh86OmOzreBUro=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=x2ILP29Nm6n5hJ/M5nAbuvwSAq45FmKh00Le5dWuKP8=; b=cEhOkiXHaZ14LvY5qwc/COJyYT0dU5iTpUkrEC6IvLV69h/UZGe1Z8jx151nvYUe5C cJZvYq4o05OeZfsjnX3fdnlRf7hGy699WkllxMG14yXVhPD29qLDDXkwbFwPzLGYL3hZ 16L5H7GnUHIYbdt6vQ44Vy9Agzvh4rKIbyQ1FAa2/+mwq89bLoJf4W0ZxPMHxtNq9PEy 9Qnc66egCgd3eGqFQHi/QyDwAYah2gJ5nAcj0vDzVCuW10xCn5z8g/ktw02Zmres6HL7 h97ZFVqZ395MNVHpMbwtycMMaJNMhV2jqrLBj5Bex+myUICr4LKo0J41swksUY82tRSo Dkew==
MIME-Version: 1.0
X-Received: by 10.182.118.42 with SMTP id kj10mr15788331obb.99.1366917701505; Thu, 25 Apr 2013 12:21:41 -0700 (PDT)
Received: by 10.182.129.197 with HTTP; Thu, 25 Apr 2013 12:21:41 -0700 (PDT)
In-Reply-To: <CABP7Rbejw54e_EHxhpn-+g3tfN=HXAkduN7Az9oh3HfxbCbhdw@mail.gmail.com>
References: <CABkgnnWWAME+moOkPxMHzO7za0t8_TvHeKwWAC-z+GEk2P_+7Q@mail.gmail.com> <CABP7Rbejw54e_EHxhpn-+g3tfN=HXAkduN7Az9oh3HfxbCbhdw@mail.gmail.com>
Date: Thu, 25 Apr 2013 12:21:41 -0700
Message-ID: <CA+pLO_jYo0z2x1BpfGt2ahvWHDOmcn23OUiw3k7jdw22UP1=gg@mail.gmail.com>
From: Jeff Pinner <jpinner@twitter.com>
To: James M Snell <jasnell@gmail.com>
Cc: Martin Thomson <martin.thomson@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d0447878d09234704db3454df
X-Gm-Message-State: ALoCoQl0AxSHH34Lm4tHw5IrYkoF/CO3gjJi9eQKRTc6KbM6VYVIMUtiXqyedunXGRkJM3VOWv2a
Received-SPF: pass client-ip=209.85.214.170; envelope-from=jpinner@twitter.com; helo=mail-ob0-f170.google.com
X-W3C-Hub-Spam-Status: No, score=-4.8
X-W3C-Hub-Spam-Report: AWL=-2.150, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1UVRk7-0007Mf-EA d332e1f5089d57301431d683f56c6df7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: RST_STREAM and FINAL flag
Archived-At: <http://www.w3.org/mid/CA+pLO_jYo0z2x1BpfGt2ahvWHDOmcn23OUiw3k7jdw22UP1=gg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17572
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>

>
> +1 ... for completeness, the definition of the RST_STREAM and GOAWAY
> frames can say that the FINAL flag is to be ignored in all cases
> because the frames themselves are terminal in nature.
>
>
GOAWAY and RST_STREAM have different semantics -- but I would note that
RST_STREAM is different than FINAL because it puts the stream in a closed
state and not half-closed and thus behaves differently when
the initiator of the stream sends it (RST_STREAM w/ CANCEL for example)