Re: [Wish] Use entity-tags for solving out of order PATCH requests
Lorenzo Miniero <lorenzo@meetecho.com> Wed, 02 March 2022 17:24 UTC
Return-Path: <lorenzo@meetecho.com>
X-Original-To: wish@ietfa.amsl.com
Delivered-To: wish@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 261D13A0902 for <wish@ietfa.amsl.com>; Wed, 2 Mar 2022 09:24:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level:
X-Spam-Status: No, score=-1.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=aruba.it
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 7nmCXyye4U3E for <wish@ietfa.amsl.com>; Wed, 2 Mar 2022 09:24:47 -0800 (PST)
Received: from smtpcmd01-sp1.aruba.it (smtpcmd01-sp1.aruba.it [62.149.158.218]) by ietfa.amsl.com (Postfix) with ESMTP id 03E193A08F2 for <wish@ietf.org>; Wed, 2 Mar 2022 09:24:46 -0800 (PST)
Received: from lminiero ([2.232.93.8]) by Aruba Outgoing Smtp with ESMTPSA id PSiSnXoxSroAhPSiSnwlqG; Wed, 02 Mar 2022 18:24:44 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1646241884; bh=DH28Dw7DJShAOMyZlhwu0K2iV2Y+Ifm8+PIy0Ma5UsA=; h=Date:From:To:Subject:MIME-Version:Content-Type; b=TCaH8Qdig7xOb26mI/rUEo2jmd/NKhYhH3uPsyFgVoekcVgWakMUHWaw4TSWaoiNT whqV0g2j0TK8VoPaFS/Ke9StRsushz7uCbnnL5AvFD8HCkuEwrxZD4mcpgFBoQ+H8D Nwgzj1WqY2GDaipXXCksfF8fcCPaqKM2suejlK2RuTmDmwOURMwzJ6fd3k7Py8f5xa CG+hzHj5Q3cFBSso/U0l24tKd8wdnTY0BuLAyANzlSYQym0R2ihSq+di8JVKS8Idd+ qjOxZ5JzSmmsIP93+7m85SI/ux1a4zdnoEDbxcKqfUo7eSBkHT6nPob/e3tROYo0ZY stQOFZvU5v/3A==
Date: Wed, 02 Mar 2022 18:24:43 +0100
From: Lorenzo Miniero <lorenzo@meetecho.com>
To: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>
Cc: WISH List <wish@ietf.org>
Message-ID: <20220302182443.0b20caa6@lminiero>
In-Reply-To: <CA+ag07bXRH9en5rWg3FBXOFp4OCz1N5HtpyK6+nbjycj1jkTaA@mail.gmail.com>
References: <CA+ag07bXRH9en5rWg3FBXOFp4OCz1N5HtpyK6+nbjycj1jkTaA@mail.gmail.com>
Organization: Meetecho
X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.31; x86_64-redhat-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfFYVvR0k9m4dg2N9ROqS5je44x8mm+Kkm0nAYaYbIyCxAf3PwiJMworJYz76FheFLFMkQexTwxNBADYYNS+j+xK6jp/KG9uiIula4kILKEvGOkG+9daB JW1I1cgVR5V/STp1XWsKVRhDcs84r+1V4mSglOHFBchDPryDPJnUPrHJddptdiEvrNvkX0bQzpxTGA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/wish/OkgtfFrqMnWfG815qP_wkZIW53I>
Subject: Re: [Wish] Use entity-tags for solving out of order PATCH requests
X-BeenThere: wish@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: WebRTC Ingest Signaling over HTTPS <wish.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/wish>, <mailto:wish-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/wish/>
List-Post: <mailto:wish@ietf.org>
List-Help: <mailto:wish-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/wish>, <mailto:wish-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Mar 2022 17:24:52 -0000
On Wed, 2 Mar 2022 17:58:11 +0100 Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com> wrote: > Hi all, > > I have prepared a PR for the draft to address the issue of how to > protect WHIP against out of order PATCH requests based on the > entity-tags as discussed at the latest IETF meeting. > > You can find the changes here: > > https://github.com/wish-wg/webrtc-http-ingest-protocol/pull/24/files?short_path=6ca9ae6#diff-6ca9ae63875a605dbaf6d8e45c08b5945951d62135ae0661065b7fe9ebb04d84 > > Please, provide any feedback in the github PR so we can merge it and > prepare a new draft before the next meeting. > > I had reviewed my notes and minutes from the last meeting and I think > there are no other pending topics as there was some pushback for > the proposed changes, so I will just leave the draft without changes > on those areas. > > Anything else that I am missing? > > Best regards > Sergio Hi Sergio, I think the changes look fine, I just have a couple of comments: * What error should be returned in case a PATCH to trigger an ICE restart does NOT contain the "*" If-Match value? The draft says it's a MUST, but doesn't elaborate on the consequences if that doesn't happen. Intuitively a 412 could be returned as well, but the PATCH for ICE restart could actually contains the last valid ETag, and so in that case a 412 sounds "wrong". * It's also not clear to me if ETags apply to other requests addressed to a WHIP resource. Thinking of the DELETE to tear down the PeerConnection, for instance, would that need the right ETag to be provided as well? Or would ETags be limited exclusively to PATCH? If so, it might be better to clarify it in the doc to limit the scope. Thanks, Lorenzo -- I'm getting older but, unlike whisky, I'm not getting any better https://twitter.com/elminiero
- [Wish] Use entity-tags for solving out of order P… Sergio Garcia Murillo
- Re: [Wish] Use entity-tags for solving out of ord… Lorenzo Miniero
- Re: [Wish] Use entity-tags for solving out of ord… Juliusz Chroboczek
- Re: [Wish] Use entity-tags for solving out of ord… Sergio Garcia Murillo
- Re: [Wish] Use entity-tags for solving out of ord… Lorenzo Miniero
- Re: [Wish] Use entity-tags for solving out of ord… Juliusz Chroboczek
- Re: [Wish] Use entity-tags for solving out of ord… Sergio Garcia Murillo
- Re: [Wish] Use entity-tags for solving out of ord… Juliusz Chroboczek
- Re: [Wish] Use entity-tags for solving out of ord… Juliusz Chroboczek
- Re: [Wish] Use entity-tags for solving out of ord… Lorenzo Miniero
- Re: [Wish] Use entity-tags for solving out of ord… Sergio Garcia Murillo
- Re: [Wish] Use entity-tags for solving out of ord… Sergio Garcia Murillo