RE: RST_STREAM for send-only stream

Mike Bishop <mbishop@evequefou.be> Tue, 09 January 2018 18:59 UTC

Return-Path: <mbishop@evequefou.be>
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 0F5F412D77A for <quic@ietfa.amsl.com>; Tue, 9 Jan 2018 10:59:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level:
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=evequefou.onmicrosoft.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 1YXHOqtyShbC for <quic@ietfa.amsl.com>; Tue, 9 Jan 2018 10:59:16 -0800 (PST)
Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0096.outbound.protection.outlook.com [104.47.41.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0F9A8127876 for <quic@ietf.org>; Tue, 9 Jan 2018 10:59:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=evequefou.onmicrosoft.com; s=selector1-evequefou-be; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=sRWAAEF84sP3j8ibCm3P0g4YHUQ6sNdVvpWxgAxLN3k=; b=Zdr+Uhx+pwkdI9wNpzv2UoxjwdvkY3rlrq15db44NdoayU16phd/QUjBpc26GGWwdXJnEq1SeBLM5EewSS7RjPfeK/SddFqnVE/6xb+hkDJcfZcxPGQ/Re1N4nVY0dsrfQqCxGa1KoaeluSnrBkNwv61dFm7OeI/wJxETrLL75s=
Received: from MWHPR08MB2432.namprd08.prod.outlook.com (10.169.203.136) by MWHPR08MB2430.namprd08.prod.outlook.com (10.169.203.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.386.5; Tue, 9 Jan 2018 18:59:13 +0000
Received: from MWHPR08MB2432.namprd08.prod.outlook.com ([10.169.203.136]) by MWHPR08MB2432.namprd08.prod.outlook.com ([10.169.203.136]) with mapi id 15.20.0386.008; Tue, 9 Jan 2018 18:59:13 +0000
From: Mike Bishop <mbishop@evequefou.be>
To: Martin Duke <martin.h.duke@gmail.com>, IETF QUIC WG <quic@ietf.org>
Subject: RE: RST_STREAM for send-only stream
Thread-Topic: RST_STREAM for send-only stream
Thread-Index: AQHTiWs3DZICjLaK4U6UKKGYd2e0dKNr5KQA
Date: Tue, 9 Jan 2018 18:59:13 +0000
Message-ID: <MWHPR08MB2432D80D2167110601413BFEDA100@MWHPR08MB2432.namprd08.prod.outlook.com>
References: <CAM4esxRdrumkRrPueUgz1zJUVB6Y=JX2PxZfvPn+fNHGjdUDgQ@mail.gmail.com>
In-Reply-To: <CAM4esxRdrumkRrPueUgz1zJUVB6Y=JX2PxZfvPn+fNHGjdUDgQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=mbishop@evequefou.be;
x-originating-ip: [38.134.241.6]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; MWHPR08MB2430; 7:X0ukEIqM8H+46D6RmGXNKxYUjC5S4LEO0YT9+JBzW6lwRdakWA5Zc0qECTWE+C4lw9IswIIX7f8p6vHoX7h7coo/D4GrieWEFXk7UfeQx3RbDqcJOYYpocIpzzpweYyvLKjwMqW5F2h3yUWLx0dj9tPPJxGUTsBxnjFfBcMKkOg6OqPiAGWLf2NLfLV7vovitdER4dM9DMz2fxyanUgxxTFm2b2yiYn1xv+DM6N/W681j27+1n8WVTOVlVSD9L/w
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: 0a138eca-67c8-451d-e399-08d557931318
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4603075)(4627115)(201702281549075)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020); SRVR:MWHPR08MB2430;
x-ms-traffictypediagnostic: MWHPR08MB2430:
x-microsoft-antispam-prvs: <MWHPR08MB2430BE042CEE121FEED1CFCFDA100@MWHPR08MB2430.namprd08.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(28532068793085)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(3231023)(944501075)(6041268)(201703131423095)(20161123555045)(201703061421075)(20161123560045)(20161123558120)(20161123564045)(2016111802025)(20161123562045)(6043046)(6072148)(201708071742011); SRVR:MWHPR08MB2430; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:MWHPR08MB2430;
x-forefront-prvs: 0547116B72
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(39380400002)(366004)(346002)(199004)(189003)(33656002)(6436002)(229853002)(2900100001)(7736002)(102836004)(14454004)(8936002)(81166006)(3280700002)(3660700001)(81156014)(508600001)(2906002)(66066001)(5660300001)(790700001)(6116002)(74482002)(110136005)(3846002)(97736004)(6246003)(106356001)(53936002)(7696005)(8676002)(2950100002)(86362001)(99286004)(76176011)(105586002)(39060400002)(68736007)(6306002)(55016002)(6506007)(53546011)(54896002)(74316002)(77096006)(25786009)(9686003); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR08MB2430; H:MWHPR08MB2432.namprd08.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:0; MX:1; LANG:en;
received-spf: None (protection.outlook.com: evequefou.be does not designate permitted sender hosts)
x-microsoft-antispam-message-info: enPHMAFnjncmX41gzVh41ZsWB488GcODx/mB1+3pxjDhDwigUDi/HaA+gAoNdhwONpjRqUw+vEe0ha40zHqlPg==
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_MWHPR08MB2432D80D2167110601413BFEDA100MWHPR08MB2432namp_"
MIME-Version: 1.0
X-OriginatorOrg: evequefou.be
X-MS-Exchange-CrossTenant-Network-Message-Id: 0a138eca-67c8-451d-e399-08d557931318
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jan 2018 18:59:13.3594 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 41eaf50b-882d-47eb-8c4c-0b5b76a9da8f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR08MB2430
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/lI-5bjItnUyp05UIIb4JNL24_X4>
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 18:59:19 -0000

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?