Re: REFUSED_STREAM and CANCEL

Roberto Peon <grmocg@gmail.com> Tue, 26 March 2013 20:29 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 CEF8421F8D7F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Mar 2013 13:29:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.555
X-Spam-Level:
X-Spam-Status: No, score=-10.555 tagged_above=-999 required=5 tests=[AWL=0.043, BAYES_00=-2.599, 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 6KLH3bN1rI3B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Mar 2013 13:29:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3077121F8D1E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 26 Mar 2013 13:29:27 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UKaUE-00072D-LU for ietf-http-wg-dist@listhub.w3.org; Tue, 26 Mar 2013 20:28:50 +0000
Resent-Date: Tue, 26 Mar 2013 20:28:50 +0000
Resent-Message-Id: <E1UKaUE-00072D-LU@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1UKaU3-00071J-Na for ietf-http-wg@listhub.w3.org; Tue, 26 Mar 2013 20:28:39 +0000
Received: from mail-oa0-f41.google.com ([209.85.219.41]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1UKaU2-0000KX-Qr for ietf-http-wg@w3.org; Tue, 26 Mar 2013 20:28:39 +0000
Received: by mail-oa0-f41.google.com with SMTP id f4so5545936oah.28 for <ietf-http-wg@w3.org>; Tue, 26 Mar 2013 13:28:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=4E4dycQTN1DTy+tndNv6BLyVjuVOy6EupcmfzoV4Epw=; b=Dk3usX7Dhv7YAJEc923LaDAr+4GYxTUkx3KdIVwMZ9Bc5/C14xCH3Zxslhez37E82K +ubLHotn6G/gwfZqr7jMhxyK0Oh069FKufhzYBczxy9EeFRjnszHdIpXdoFxpFUMnaiw S22RUXbtks7LZwO1BUFSPQ+TSSAUYrcf99ww7WEnwsRH+Xthf3s4Q598uIrMoxFKr1hO tlfnq945aK6Z+G2WOcwl0d09I1XrClhAygQTdr8+QTlK7ePVK/43gT/W4kcAUPl0jPGH yAlGtuoaUBPPe4W9GPOA6GCdSbz/tMDVEal2DXtuIWYAXRW0P05CLVbcLt5gJnE0YTe8 BpCw==
MIME-Version: 1.0
X-Received: by 10.60.146.162 with SMTP id td2mr1752123oeb.32.1364329692792; Tue, 26 Mar 2013 13:28:12 -0700 (PDT)
Received: by 10.76.109.72 with HTTP; Tue, 26 Mar 2013 13:28:12 -0700 (PDT)
In-Reply-To: <CABkgnnWRLV0Kv-xixfN-4uR=3p5KZu+ynjiO4cV7oguGih_caQ@mail.gmail.com>
References: <CABkgnnXtjrZ6rqucN3EToVfV1iaz73RBEbd-D3P9iaSczcqw0Q@mail.gmail.com> <CAA4WUYhU+gtsiAu_gp-aXS1vcme50FkPpCQAmJBqiikmAUAR8Q@mail.gmail.com> <CABkgnnWRLV0Kv-xixfN-4uR=3p5KZu+ynjiO4cV7oguGih_caQ@mail.gmail.com>
Date: Tue, 26 Mar 2013 13:28:12 -0700
Message-ID: <CAP+FsNefrP7Sb_4THAPDLUGV0zFOZNRFtfXhAh=RUisvv=bd_A@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: "William Chan (陈智昌)" <willchan@chromium.org>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="047d7b5d42d8b25c5304d8d9c27c"
Received-SPF: pass client-ip=209.85.219.41; envelope-from=grmocg@gmail.com; helo=mail-oa0-f41.google.com
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-1.708, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1UKaU2-0000KX-Qr eeed59eda7fd88715111b90cb46cfd08
X-Original-To: ietf-http-wg@w3.org
Subject: Re: REFUSED_STREAM and CANCEL
Archived-At: <http://www.w3.org/mid/CAP+FsNefrP7Sb_4THAPDLUGV0zFOZNRFtfXhAh=RUisvv=bd_A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17152
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>

You (rather, a browser) can automatically send the request again in the
case where a non-idempotent method such as POST was used.
With cancel, the browser would have to ask the client to confirm before
doing so.
-=R


On Tue, Mar 26, 2013 at 1:16 PM, Martin Thomson <martin.thomson@gmail.com>wrote:

> On 26 March 2013 12:42, William Chan (陈智昌) <willchan@chromium.org> wrote:
> > REFUSED_STREAM says it was refused before any processing happened.
>
> The temporal distinction ("before any processing happened") isn't a
> useful one.  "Do not want" and "do not want any more" are so finely
> graded in distinction as to be meaningless.
>
> More importantly, given that a stream can contain frames that mutate
> session state, ALL frames need to be processed to some extent.  If
> this is to mean that it never surfaced above the framing layer, I
> don't believe that information is actionable.
>
> > The
> > client knows that it's safe to retry the SYN_STREAM later on [...]
>
> Presumably not for the same stream ;)
>
>
> Bottom line: what do I do differently in response to a refused stream
> as opposed to a cancelled one?
>
>