Re: FRAME_SIZE_ERROR in RFC 9113

Kazu Yamamoto <kazu@iij.ad.jp> Tue, 05 July 2022 00:05 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 0A49EC14F72C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 4 Jul 2022 17:05:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.758
X-Spam-Level:
X-Spam-Status: No, score=-2.758 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=iij.ad.jp
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Kn7prT1gHJSm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 4 Jul 2022 17:05:05 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1F089C14F606 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 4 Jul 2022 17:05:04 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1o8W0m-00Cx5y-QG for ietf-http-wg-dist@listhub.w3.org; Tue, 05 Jul 2022 00:01:52 +0000
Resent-Date: Tue, 05 Jul 2022 00:01:52 +0000
Resent-Message-Id: <E1o8W0m-00Cx5y-QG@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <kazu@iij.ad.jp>) id 1o8W0l-00Cx4q-2E for ietf-http-wg@listhub.w3.org; Tue, 05 Jul 2022 00:01:51 +0000
Received: from mo1410.iij.ad.jp ([202.214.79.34] helo=omgo.iij.ad.jp) by titan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <kazu@iij.ad.jp>) id 1o8W0i-009d1u-Or for ietf-http-wg@w3.org; Tue, 05 Jul 2022 00:01:50 +0000
DKIM-Signature: v=1;a=rsa-sha256;c=relaxed/simple;d=iij.ad.jp;h=Date: Message-Id:To:Cc:Subject:From:In-Reply-To:References:Mime-Version: Content-Type:Content-Transfer-Encoding;i=kazu@iij.ad.jp;s=omgo2;t=1656979270; x=1658188870;bh=MlO9rBv5pk05iBPecBx6BHBYuK/+lyI5QsQ4w8SU3kA=;b=eFSAE0gIwJXs3V uDxJUAoctQ+MWbIJXzwoRAUZlWLMjl4ph3caURq8ZW1DYxUcstRlxdNCD4kKaWQk2vPaneJ3uLZ4z NNw6dqtD4idNxTEBRnAOu70lNuL+2wcz5EXJWx8fBZIBHgBH0tb129iNGOJhwjsv4PtGoWZeNRckv BrueVjVyvQys6fXUS4XPDix4AN+arqGFs/yw/v01IZk44Q+CxO3UVrtk7gIWlr28nF9fSb7ICdJ6Y S8/RLsuD6ubuEk+OXJhrRAFaDIo4uyM6rBgcXZ9JJgrv4ujEhVxEwS0O70tQ3kODHv+ZbeGtxN3PV 2gvdthGSqdMkOAobmcuw==;
Received: by omgo.iij.ad.jp (of-mo1410) id 26501AL2012066; Tue, 5 Jul 2022 09:01:10 +0900
X-ENVID: IIJ
X-Iguazu-Qid: C8IbabrX5cGdb9dZrd
X-Iguazu-QSIG: v=2; s=0; t=1656979270; q=B4WBYT2xxkiKKAO6ts; m=FvqB7EGmwSDO8nipxaHTo3mjyZ3W2IQHcRlQCIgWGZI=
Date: Tue, 05 Jul 2022 09:01:06 +0900
Message-Id: <20220705.090106.1501064701248030211.kazu@iij.ad.jp>
To: w@1wt.eu
Cc: ietf-http-wg@w3.org
From: Kazu Yamamoto <kazu@iij.ad.jp>
In-Reply-To: <20220627124915.GA15792@1wt.eu>
References: <20220627.140712.2068556426929617634.kazu@iij.ad.jp> <20220627124915.GA15792@1wt.eu>
X-Mailer: Mew version 6.8 on Emacs 27.2
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=202.214.79.34; envelope-from=kazu@iij.ad.jp; helo=omgo.iij.ad.jp
X-W3C-Hub-DKIM-Status: validation passed: (address=kazu@iij.ad.jp domain=iij.ad.jp), signature is good
X-W3C-Hub-DKIM-Status: validation passed: (address=kazu@iij.ad.jp domain=kazu@iij.ad.jp), signature is good
X-W3C-Hub-Spam-Status: No, score=-5.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1o8W0i-009d1u-Or 38d33738caf53392e0d5234bf92a82b6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FRAME_SIZE_ERROR in RFC 9113
Archived-At: <https://www.w3.org/mid/20220705.090106.1501064701248030211.kazu@iij.ad.jp>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40239
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: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Hi Willy,
Thank you for your reply.

>> Most FRAME_SIZE_ERRORs are sent as connection errors.
>> But only for the PRIORITY frame, it is sent as a *stream* error.
>> 
>> Why is the PRIORITY frame an exception?
> 
> Though I don't know for this one, never forget that you may always
> at your convenience "promote" a stream error to a connection error
> if that helps.

I decided to treat this case as a connection error in my
implementation.

--Kazu