Re: [Technical Errata Reported] RFC9204 (7277)
Lucas Pardue <lucaspardue.24.7@gmail.com> Mon, 29 January 2024 15:22 UTC
Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=ietf.org@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 53EB3C14F6F5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 29 Jan 2024 07:22:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.755
X-Spam-Level:
X-Spam-Status: No, score=-2.755 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.249, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=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=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 gSK033QZhUkD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 29 Jan 2024 07:22:27 -0800 (PST)
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 4F85AC14CF12 for <httpbisa-archive-bis2Juki@ietf.org>; Mon, 29 Jan 2024 07:22:08 -0800 (PST)
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1rUTSN-000PiH-ED for ietf-http-wg-dist@listhub.w3.org; Mon, 29 Jan 2024 15:21:55 +0000
Resent-Date: Mon, 29 Jan 2024 15:21:55 +0000
Resent-Message-Id: <E1rUTSN-000PiH-ED@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <lucaspardue.24.7@gmail.com>) id 1rUTSL-000PhE-NA for ietf-http-wg@listhub.w3.org; Mon, 29 Jan 2024 15:21:53 +0000
Received: from mail-oi1-x22f.google.com ([2607:f8b0:4864:20::22f]) by mimas.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from <lucaspardue.24.7@gmail.com>) id 1rUTSI-006Eht-Uz for ietf-http-wg@w3.org; Mon, 29 Jan 2024 15:21:53 +0000
Received: by mail-oi1-x22f.google.com with SMTP id 5614622812f47-3be48947186so610442b6e.3 for <ietf-http-wg@w3.org>; Mon, 29 Jan 2024 07:21:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706541707; x=1707146507; darn=w3.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+lqBUvzxOImf92dXwry8tiUSiEL5ZBq1gXkNI9nHy3w=; b=gXot3yIpRLNlY8wh5AY7vMGyu60vzmiNugNfTTgSP0U+oLygFy7CUglVuMltI6Vt0/ vWeDtO1E/OOiB5632R/LSf1yy1mV1rEize9hxqGxlYDzERcBulzUJGQt4xD5WBdshvNi 7hUMUS1BwJHREgAz0dS5ktHt50TDJTVy1AZj33o7jBTiUBdORMmwd6ZYhsv/AkY+6JGj lT02dHbZxdfq0QsJ9enrLtNs9qapkxSoe2DiY2gfTOXOceOAckc3rkpg3PTEfvxW9sqv b/w6/6hkzf62pW8MF0SXC3Zov24B7CgWOIrhFBO8u8kjVs9BEi+RVyvOSl87+aP5+B+N 7J9w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706541707; x=1707146507; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+lqBUvzxOImf92dXwry8tiUSiEL5ZBq1gXkNI9nHy3w=; b=t/l6RuMhzEj7t7vRjHZcTHq2fyRgV+2soMAlA50VsKAUu3dc7P2/ZjT1G+YrbJ3no5 cBU6w6UbEukwdZ2mSJTMxoFmBFFdEEREyx9tlwcPonqSzJHMke3ouidf+95hklnWEZA4 B9Fe7xOSuVrUj3Mzt8PAs4h4ed6Ml2brd1PjhcFR4xPOxj5OXI5JGRfUsLH9sBvkO/Wq e7za0A1n9ETRO6S5KMm/HsFQhaF8uqXEeqEaa4yjm4AHn8kLPpehfp2+XkmXSVdreXtL faTufcwjEd3rFGFwv9hIlDz9psPyoDqEtH0ghP9LIdxRa29KdL7mViGp6qBWFw0g+h3p 8ZUA==
X-Gm-Message-State: AOJu0YzQ0LAKiMYrAGh7KXoIKW0a3KVpKZB6eAzI/GNFAaMiYNQo03K8 /DNAI2MhBRklLz8OQKm+Gfg0U3TlJdFP09NDRFKBEwzHujBUlqxe6toRij1aJOsNX9mcb9zYgRa w+hwyaUXaS5Rfme2R+BX+S5bwH3U=
X-Google-Smtp-Source: AGHT+IEmhhcuRbI3wVH6PNVwFVgWK5wyHFTZrzeTxwQzmipUZ7MlsBmVXOs3Rz3EZbGuC8bQKq10XKla3GVQIExOKgU=
X-Received: by 2002:a05:6870:40d2:b0:210:7f85:18ff with SMTP id l18-20020a05687040d200b002107f8518ffmr5197989oal.29.1706541706814; Mon, 29 Jan 2024 07:21:46 -0800 (PST)
MIME-Version: 1.0
References: <AM0PR07MB6019FE11E37D09E25974336D987E2@AM0PR07MB6019.eurprd07.prod.outlook.com>
In-Reply-To: <AM0PR07MB6019FE11E37D09E25974336D987E2@AM0PR07MB6019.eurprd07.prod.outlook.com>
From: Lucas Pardue <lucaspardue.24.7@gmail.com>
Date: Mon, 29 Jan 2024 15:21:35 +0000
Message-ID: <CALGR9oaTQguNs58qKPbH=Hp5DaxuRENHLmyzxtFG=AXZqNqv-w@mail.gmail.com>
To: Francesca Palombini <francesca.palombini@ericsson.com>
Cc: Magnus Westerlund <magnus.westerlund@ericsson.com>, Martin Thomson <mt@lowentropy.net>, Julian Reschke <julian.reschke@gmx.de>, "Roy T. Fielding" <fielding@gbiv.com>, "quic@ietf.org" <quic@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="0000000000003aaa5e061017341e"
Received-SPF: pass client-ip=2607:f8b0:4864:20::22f; envelope-from=lucaspardue.24.7@gmail.com; helo=mail-oi1-x22f.google.com
X-W3C-Hub-DKIM-Status: validation passed: (address=lucaspardue.24.7@gmail.com domain=gmail.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-3.9
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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: mimas.w3.org 1rUTSI-006Eht-Uz 6d0f3aeb8dfda39d19aa1b2413d480c5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [Technical Errata Reported] RFC9204 (7277)
Archived-At: <https://www.w3.org/mid/CALGR9oaTQguNs58qKPbH=Hp5DaxuRENHLmyzxtFG=AXZqNqv-w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51748
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/email/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
(+ HTTP WG) I could live with a hold, and people can use this erratum to decide the scope of work if QPACK is ever revved. Cheers Lucas On Mon, Jan 29, 2024 at 9:16 AM Francesca Palombini < francesca.palombini@ericsson.com> wrote: > Hi Lucas, > > > > This to me sounds like “Hold for doc update”, not necessarily to do design > changes but just to clarify these points. Would you agree? > > > > Francesca > > > > > Hey, > > > > > > Arguably from a QPACK perspective, these entries are not useless, since > > > they can be used by a server that wants to encode a header field with > that > > > name and value. QPACK doesn't have an opinion on header syntax, as long > as > > > the entries in its table meet its own rules things are ok. That can > > > sometimes surprise people, something higher up the stack has to deal with > > > validating fields themselves. For a HTTP proxy, if it were passing > through > > > "access-control-allow-credentials: TRUE" it's likely to be doing so > > > verbatim, and so QPACK offers the chance to do it using a smaller > encoding. > > > > > > It's also worth noting that QPACK encoding can use an indexed field name > > > without needing to use the value, for instance using the indexed field > name > > > (entry 73 or 74) and a string literal "true". And given the length of the > > > string "access-control-allow-credentials" there are still compression > > > savings to be had from using its index instead. Or an implementation > could > > > try to match "access-control-allow-credentials: true" to a static table, > > > fail and just insert it into their dynamic table without batting an > eyelid. > > > > > > The background to the choice of QPACK static table entries is probably > > > sumamrised best on > > > https://github.com/quicwg/base-drafts/wiki/QPACK-Static-Table. > > > > > > I agree it's unfortunate that we captured some information in the table > > > that turned out not to be compliant with its related specification. Any > > > design change to support alternative static tables is going to be hard > and > > > disruptive. A note to say the entry values are non-standard might help. > > > However, we'd want to understand who the target audience is and whether > > > they'd really care about what we said. > > > > > > Cheers > > > Lucas > > > > > > On Fri, Dec 16, 2022 at 10:07 AM Magnus Westerlund <magnus.westerlund= > > > 40ericsson.com@dmarc.ietf.org> wrote: > > > > > > > Hi, > > > > > > > > > > > > > > > > Isn’t this a Hold for Update case? The table is wrong in the sense > that it > > > > contains useless entries as they don’t represent syntactically correct > > > > values. And in the future if the static table is revised and a way of > > > > knowing that the peer uses the revised table this should be addressed. > So I > > > > would think a Hold for Update is an appropriate response to this > errata. Or > > > > even just to clarify in the spec that these are mostly useless. > > > > > > > > > > > > > > > > Cheers > > > > > > > > > > > > > > > > Magnus Westerlund > > > > > > > > > > > > > > > > *From: *QUIC quic-bounces@ietf.org on behalf of Martin Thomson < > > > > mt@lowentropy.net> > > > > *Date: *Friday, 16 December 2022 at 01:31 > > > > *To: *quic@ietf.org quic@ietf.org > > > > *Subject: *Re: [Technical Errata Reported] RFC9204 (7277) > > > > > > > > Unfortunately, I think we have to reject this report. Though the > values > > > > for these entries might be useless, we can't change this without > creating > > > > interoperability issues. > > > > > > > > On Fri, Dec 16, 2022, at 10:31, RFC Errata System wrote: > > > > > The following errata report has been submitted for RFC9204, > > > > > "QPACK: Field Compression for HTTP/3". > > > > > > > > > > -------------------------------------- > > > > > You may review the report below and at: > > > > > https://www.rfc-editor.org/errata/eid7277 > > > > > > > > > > -------------------------------------- > > > > > Type: Technical > > > > > Reported by: Rory Hewitt rory.hewitt@gmail.com > > > > > > > > > > Section: Appendix A > > > > > > > > > > Original Text > > > > > ------------- > > > > > In the static table, entry 73 has a value of: > > > > > > > > > > access-control-allow-credentials: TRUE > > > > > > > > > > and entry 74 has a value of: > > > > > > > > > > access-control-allow-credentials: FALSE > > > > > > > > > > Corrected Text > > > > > -------------- > > > > > Entry 73 should have a value of: > > > > > > > > > > access-control-allow-credentials: true > > > > > > > > > > (note the lower-case value of "true") > > > > > > > > > > and entry 74 should NOT EXIST since "FALSE" (in upper-case > > > > > or lower-case) is not a valid value for this header. > > > > > > > > > > Notes > > > > > ----- > > > > > The "access-control-allow-credentials" header is a CORS header. It > only > > > > > has one allowed value - "true" (without quotes, MUST be in > lower-case). > > > > > Values of "TRUE", "FALSE" and "false" are all invalid values, as is > any > > > > > mixed-case version of "true". > > > > > > > > > > See the latest WHATWG spec at > > > > > https://fetch.spec.whatwg.org/#cors-protocol-and-credentials which > > > > > notes the required case-sensitivity of the "true" value and that it > is > > > > > the only valid value. > > > > > > > > > > Also see the prior W3C spec at > > > > > > > > > > https://www.w3.org/TR/2020/SPSD-cors-20200602/#access-control-allow-credentials-response-header > > > > > which says the same thing. Note that the W3C spec was superseded by > the > > > > > WHATWG spec. > > > > > > > > > > Note that there are many instances of > > > > > "access-control-allow-credentials: false" being returned from server > > > > > responses (which is presumably why these values were added to the > > > > > table), but they are invalid and the servers that send them are not > > > > > following the CORS specification. > > > > > > > > > > There may be case to be made that the static table is defined to make > > > > > the QPACK algorithm as performant as possible and therefore it should > > > > > include not only commonly-used valid values, but also commonly-used > > > > > invalid values. However, the static table should ideally contain only > > > > > valid header values. > > > > > > > > > > Instructions: > > > > > ------------- > > > > > This erratum is currently posted as "Reported". If necessary, please > > > > > use "Reply All" to discuss whether it should be verified or > > > > > rejected. When a decision is reached, the verifying party > > > > > can log in to change the status and edit the report, if necessary. > > > > > > > > > > -------------------------------------- > > > > > RFC9204 (draft-ietf-quic-qpack-21) > > > > > -------------------------------------- > > > > > Title : QPACK: Field Compression for HTTP/3 > > > > > Publication Date : June 2022 > > > > > Author(s) : C. Krasic, M. Bishop, A. Frindell, Ed. > > > > > Category : PROPOSED STANDARD > > > > > Source : QUIC > > > > > Area : Transport > > > > > Stream : IETF > > > > > Verifying Party : IESG > > > > > > > >
- Re: [Technical Errata Reported] RFC9204 (7277) Lucas Pardue