Re: RST_STREAM for send-only stream

Martin Duke <martin.h.duke@gmail.com> Tue, 09 January 2018 20:39 UTC

Return-Path: <martin.h.duke@gmail.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 31A2712D871 for <quic@ietfa.amsl.com>; Tue, 9 Jan 2018 12:39:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.998
X-Spam-Level:
X-Spam-Status: No, score=-0.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 jfInYp64OuUW for <quic@ietfa.amsl.com>; Tue, 9 Jan 2018 12:39:45 -0800 (PST)
Received: from mail-wr0-x22a.google.com (mail-wr0-x22a.google.com [IPv6:2a00:1450:400c:c0c::22a]) (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 25DDB12708C for <quic@ietf.org>; Tue, 9 Jan 2018 12:39:45 -0800 (PST)
Received: by mail-wr0-x22a.google.com with SMTP id s13so13021099wra.10 for <quic@ietf.org>; Tue, 09 Jan 2018 12:39:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=XQGpxILJKb7u8AH1ExnLZcLeRtNm5w4qEqSPv0Pk+30=; b=Q6GMo6ccn6mESssy396zK5eO2iUUUu7AEJPYL3joQwqfQ+nk23PAOH1szDmEfOnkOr EJANJQNKYBwMp5KpqOMjnpmHdQhkFXk7TkyVO2ed7F083vWuCYxTekcnEQS2TZidsFIc m2B+theZwiXdYuONwBH/yJCKVFDD3wKKlrf6udLGQh83pJDH1DXhKClz3Mwt+PPbUlXw +nR5UNVhW/yaMGeVQbFbUN//ytuh4zJP5jzBLfKYxxqrXkcXdHW48IsmmHRn/WvpSgPM gvvP8suDL6EN914J1N9poLUhuo7UGuaGvhUYuCUzUVa/lpGvhxKPJvVW/dPhwp9FiIDM pnRw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=XQGpxILJKb7u8AH1ExnLZcLeRtNm5w4qEqSPv0Pk+30=; b=tyLSEq29ysKse19C3Y7dV9Lq26U9Q/PBBOR1UKLVEGRPpV1MnxzHby3LoJZN2ixy0A SaRfoK3XqtCuFr/FCYzd/WwR0foTKQ2PEEyeDWNsSzDqWdWMVUAFhp6j5kE22w6GTqzp G+X0upTHxIcY5/gEZcUF2JUw2WCAuBWIA0xiWdehlV/4vnfSuA5tf8BT8oK7178nCCNr Uuq92DxLPvmktgq1c9mBVoAn9E5tT5+iVxyyptGgFMpHshWE6h0XmAC2DBlc3EjPMzz/ pMla7/gRroW8OQ1LuIyRg4KbSToVCjAskSsfBYzfxwi2GYffojEJqLE7+VjJdK5sb6d8 ZNyw==
X-Gm-Message-State: AKGB3mJ2jSo4pmCDmMonoBBLmrk6LZE+pHrlfjhTed4y7wpAy1/Bhh80 b+fRKFdkpl1YWAu6VxrKPI8pjFnD5TDvtZ92C3I=
X-Google-Smtp-Source: ACJfBovusgtlUt+NcU6nho2KshqDVpAgHuDOs2XQ+8YbupzI7Dr06ilrJCV3yM9Zu/eBKILN2T4gjymq7LSdE2HQvj4=
X-Received: by 10.223.208.206 with SMTP id z14mr15129994wrh.109.1515530383644; Tue, 09 Jan 2018 12:39:43 -0800 (PST)
MIME-Version: 1.0
Received: by 10.223.128.1 with HTTP; Tue, 9 Jan 2018 12:39:43 -0800 (PST)
In-Reply-To: <CAN1APdehsj2NCJdrL_HBiZSfXPhZt5_Gssz9FETxtEyAcE573w@mail.gmail.com>
References: <CAM4esxRdrumkRrPueUgz1zJUVB6Y=JX2PxZfvPn+fNHGjdUDgQ@mail.gmail.com> <MWHPR08MB2432D80D2167110601413BFEDA100@MWHPR08MB2432.namprd08.prod.outlook.com> <CAKcm_gPBiR2QHeHVoMR-UGFaqictBXFsxZYJBdT0MZ8dAo1ygQ@mail.gmail.com> <CAN1APdehsj2NCJdrL_HBiZSfXPhZt5_Gssz9FETxtEyAcE573w@mail.gmail.com>
From: Martin Duke <martin.h.duke@gmail.com>
Date: Tue, 9 Jan 2018 12:39:43 -0800
Message-ID: <CAM4esxRwPDxTTWpoUyJ=qthkE0syDswFGBfJcONgSwWVZyjArg@mail.gmail.com>
Subject: Re: RST_STREAM for send-only stream
To: =?UTF-8?Q?Mikkel_Fahn=C3=B8e_J=C3=B8rgensen?= <mikkelfj@gmail.com>
Cc: Mike Bishop <mbishop@evequefou.be>, Ian Swett <ianswett@google.com>, IETF QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="f4f5e80a2e3429dd9a05625dea77"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/g6JyafOaqtvYb4cHPV7tatCE0vo>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Jan 2018 20:39:47 -0000

issue opened:
https://github.com/quicwg/base-drafts/issues/1047

On Tue, Jan 9, 2018 at 11:46 AM, Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com
> wrote:

> Fatal error, otherwise uni-directional streams starts to have to
> understand and behave and like bi-directional streams.
>
> On 9 January 2018 at 20.11.40, Ian Swett (ianswett@google.com) wrote:
>
> I would think it's a fatal error, but if we allow it, 0 would be the only
> valid offset, correct?
>
> Agreed, it should be documented.
>
> On Tue, Jan 9, 2018 at 1:59 PM, Mike Bishop <mbishop@evequefou.be>; wrote:
>
>> I could reasonably see it going either way.  If you conceive of
>> unidirectional streams as starting with one direction already closed,
>> re-closing the closed side is a no-op.  If you conceive of the reverse
>> direction simply not existing, then the frame is invalid.
>>
>>
>>
>> Either way, we should decide and write it down.  I have no strong
>> preference.
>>
>>
>>
>> *From:* QUIC [mailto:quic-bounces@ietf.org] *On Behalf Of* Martin Duke
>> *Sent:* Tuesday, January 9, 2018 8:59 AM
>> *To:* IETF QUIC WG <quic@ietf.org>;
>> *Subject:* RST_STREAM for send-only stream
>>
>>
>>
>> Is it a fatal error if I receive a RST_STREAM for my send-only stream? Is
>> it PROTOCOL_VIOLATION or STREAM_STATE_ERROR? connection-level or
>> stream-level? or should I drop the packet? drop the frame?
>>
>
>