Re: Proposal Towards Universal HTTP/3, with a polyfill of QUIC for TCP (Fwd: New Version Notification for draft-kazuho-httpbis-http3-on-streams-00.txt)

Kazuho Oku <kazuhooku@gmail.com> Sat, 17 February 2024 00:38 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 50274C15153F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 16 Feb 2024 16:38:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.855
X-Spam-Level:
X-Spam-Status: No, score=-2.855 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H3=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=w3.org header.b="ICpq+XdS"; dkim=pass (2048-bit key) header.d=w3.org header.b="W5hCMVAO"; dkim=pass (2048-bit key) header.d=gmail.com header.b="QmPIPIO4"
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 CAOP8tDk8dB8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 16 Feb 2024 16:38:03 -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 8FA90C1516E1 for <httpbisa-archive-bis2Juki@ietf.org>; Fri, 16 Feb 2024 16:37:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Subject:Content-Type:Cc:To:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To; bh=zB63Zmp6nJIemgeSX0D6t881LS6s/Rgk5uef8S6Pp6k=; b=ICpq+XdSw+GMGYUIRi87hOjd9A M6S6yUsRX4nsIk3dV5Eey3rpYvIeMDeV0DG+PpdllduK4yxFHkgzcxHLm5XVmDeeIIGhq6hDOyZIK OUaemCa/D2iymGhIH3dUivbKk2uGv3iM/EDHsMeAj6uLMURmhrp7nIEJm/Z1IryrrAwdE0wc9Q38H gK1nBf1hPtvtdWbA5xsDT0li6ynvL9orSuc/sdqrTPUP9iMDxpFePaUy6ICqp/gDGFmvnN79mYPOM u+2lSsQJjOz/F8HuOAHoDK7FB7u06BPgPZfVV0GDWNeMV+GUpnVNQzLTZRnD9PAfLtutOIrqC5LIq XSj80TtQ==;
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1rb8i0-00BaeS-55 for ietf-http-wg-dist@listhub.w3.org; Sat, 17 Feb 2024 00:37:36 +0000
Resent-Date: Sat, 17 Feb 2024 00:37:36 +0000
Resent-Message-Id: <E1rb8i0-00BaeS-55@lyra.w3.org>
Received: from pan.w3.org ([3.222.182.102]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <kazuhooku@gmail.com>) id 1rb8hy-00BadQ-I7 for ietf-http-wg@listhub.w3.org; Sat, 17 Feb 2024 00:37:34 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To; bh=zB63Zmp6nJIemgeSX0D6t881LS6s/Rgk5uef8S6Pp6k=; t=1708130254; x=1708994254; b=W5hCMVAO2fhwa5QBd5XDBt3pYtn+skHCAYdPRvP3H3vgH+1BA9ofQmLVA89Uab8S1bWmVkRkB61 72xHdpkzAhIQZpTiA/HkyDM9rCcFoqTs9M6LtS6DcQyu7pS5gfCe1xkFOI8GbvYHBdEGAEiO8+hJ7 Q+44pyArv14EtKxxa6Ki0oX8jePAGgFVg3axa9apt4xO7wPhuqhCsQb9eLcCv28MwR+wL8ad85YaG lXwNM7Mv1vrh6Vdzq9hFSAnnLaTNZ7cjdU/kPDNzku4XZ08GFBdxO+ZhHOdG63SEaSxwU1XT2XpiC 7MkMuQMxneGxZpt71l72CSXfH/ARIyd5tbmg==;
Received-SPF: pass (pan.w3.org: domain of gmail.com designates 2a00:1450:4864:20::52a as permitted sender) client-ip=2a00:1450:4864:20::52a; envelope-from=kazuhooku@gmail.com; helo=mail-ed1-x52a.google.com;
Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by pan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from <kazuhooku@gmail.com>) id 1rb8hx-000nlI-2Z for ietf-http-wg@w3.org; Sat, 17 Feb 2024 00:37:34 +0000
Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-564188400edso329498a12.0 for <ietf-http-wg@w3.org>; Fri, 16 Feb 2024 16:37:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708130249; x=1708735049; 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=zB63Zmp6nJIemgeSX0D6t881LS6s/Rgk5uef8S6Pp6k=; b=QmPIPIO48d4sTCeLrwpGYd4Esia9K3cIcDDqaAgzHZOsF+XWn/Gd96OrVbqlMBk6Qw ZPlF58wVcdSNW07P4UmdBV/wf69wp3WnitZ+9ONdsApbvO78plHvhNGYQ2yuhNFvEoaN 5pIqXS4JO4YDH4Scwyi7Di1Pv+jouQhdFE4aUH6KByVApYjmWpEG1kd8C809STDunUSf N+3yLgUJTOSRCB9G/AjwosBZjiADf43KMvIymu5NQ2wrcXpl3zX9hTnWHJ7FteWlLqL3 xKDa2S4Jd1XoaxIeQh/oNNjnocCazXHf8qUA63KA0Q+F+lFC3Lb6na+koGHrklV3uSa/ zitw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708130249; x=1708735049; 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=zB63Zmp6nJIemgeSX0D6t881LS6s/Rgk5uef8S6Pp6k=; b=inWb+xuARRWUbVMGXVo4LCTkzTepafmL0Ei0LOCK8xfvrbLprYui264msChTc2JUr5 tIRagBFMWP4B77qmiuZOwxvFTqWUkl6iVSia51ptfz2lSEMJcJjV6+QEIAml+OMWcKDf WHdPZCgtKQEScrIFk2P6KRgI6iw0oOvzwIsCGK+JKDmf2trSf0p/wKq1SSoqJ/OjR7M0 QcNUBMJdDFHZmTHbajQ0vWaxzzz/6f1DwhFMKJsKQyVJspaF3K8xxbPjcPPqfTS0g8pQ 35+dDh7g/eHEcKMvxdua3QqlrQ6ySuU1JI35dwh9QVIJn8YvZQlH67LO5ZodzYXf65CC hNNg==
X-Forwarded-Encrypted: i=1; AJvYcCUO40pUAGrD+Dm1lzvT67TYFhEuWJLkhCn+XZ82+nlmbI8WSO0Iw6ZiLtZHmOPdIeJzYJxhFWSvMFb+HehM8u2ETUm1
X-Gm-Message-State: AOJu0YxTPYsUCPFdPPD19xt3pUQNi2AuMigt2QejNbHX0LFIhxUXc0Ml rs/roSKgGLvvi3MILAUdGoa7MDXLV13SfDke1gjnDuYXwILccfuqeYjggBmkQQ1ulbGpKyLVSaD suRDsdWwDvOcp8zH1vE+BtaGnGZM=
X-Google-Smtp-Source: AGHT+IElkZM4nZYhE3kiK6HKTIPPrVHEoKMYyW2WJ3fiyh0kPVWq0KcWut+amDVvpadqfPx+i9JnqQxkUTQ7sMHcKHA=
X-Received: by 2002:a17:907:119c:b0:a3d:4037:73e7 with SMTP id uz28-20020a170907119c00b00a3d403773e7mr4157424ejb.48.1708130249114; Fri, 16 Feb 2024 16:37:29 -0800 (PST)
MIME-Version: 1.0
References: <170807134367.25372.9131938145722079298@ietfa.amsl.com> <CANatvzyLJnZH9UHaSoMWbv20VhEtAzY7HqRHCSWt-O65f24uwQ@mail.gmail.com> <CACsn0cmVFyLPnLr-snGy5ZWW=ndJ0bE4HriLgfrGjGRxSa16Lg@mail.gmail.com>
In-Reply-To: <CACsn0cmVFyLPnLr-snGy5ZWW=ndJ0bE4HriLgfrGjGRxSa16Lg@mail.gmail.com>
From: Kazuho Oku <kazuhooku@gmail.com>
Date: Sat, 17 Feb 2024 09:37:17 +0900
Message-ID: <CANatvzw4Miz6fESxzQaNMu7QFfz1MNhTL1mazN6truFCHk2QTQ@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Cc: IETF QUIC WG <quic@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>, Lucas Pardue <lucas@lucaspardue.com>
Content-Type: multipart/alternative; boundary="000000000000ba8a37061189108a"
X-W3C-Hub-DKIM-Status: validation passed: (address=kazuhooku@gmail.com domain=gmail.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-9.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, DMARC_PASS=-0.001, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: pan.w3.org 1rb8hx-000nlI-2Z 0e4b606cfb194a4fb1b9bd2de8a03a20
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Proposal Towards Universal HTTP/3, with a polyfill of QUIC for TCP (Fwd: New Version Notification for draft-kazuho-httpbis-http3-on-streams-00.txt)
Archived-At: <https://www.w3.org/mid/CANatvzw4Miz6fESxzQaNMu7QFfz1MNhTL1mazN6truFCHk2QTQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51790
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>

2024年2月17日(土) 7:59 Watson Ladd <watsonbladd@gmail.com>:
>
> On Fri, Feb 16, 2024 at 12:29 AM Kazuho Oku <kazuhooku@gmail.com> wrote:
> >
> > Hello QUIC and HTTP enthusiasts,
> >
> > We, Lucas and I, have submitted two drafts aimed at broadening the
reach of HTTP/3 - yes, making it available over TCP as well. We are eager
to hear your thoughts on these:
>
> >
> > Some might argue that implementing a polyfill of QUIC comes with its
own set of costs. However, it is my understanding that many QUIC stacks
already have the capability to read QUIC frames other than from QUIC
packets, primarily for testing purposes. This suggests that the effort
would be more about leveraging existing code paths rather than writing new
code from scratch. Furthermore, a QUIC polyfill would extend its benefits
beyond just HTTP, by aiding other application protocols that aim to be
built on top of QUIC, providing them accessibility over TCP.
>
> I have some mild skepticism about this design. Each QUIC extension now
> has to consider TCP transport, vs. each HTTP extension considering H2
> or H3. However I think the necessary change isn't that much for QUIC
> over TCP vs. H2/H3, unless the extension does a lot of the prohibited
> things. You don't however get much improvement: H2's TCP related
> limitations remain.
>
> Is this need for a choice supposed to also apply to non-HTTP QUIC
applications?

Thank you for your comments!

Regarding the complexity of integrating QUIC on Streams support into QUIC
extensions, I concur that it's unlikely to be a significant burden.

Among QUIC extensions, there are one RFC and one WG-adopted draft related
to how data is being sent.

RFC 9297 defines how datagrams can be sent. Its port is already defined in QUIC
on Streams draft Section 8.1
<https://kazuho.github.io/draft-kazuho-quic-quic-on-streams/draft-kazuho-quic-quic-on-streams.html#name-unreliable-datagram-extensi>.
The only change there is the inference of frame length when utilizing the
length-omitting variant of the DATAGRAM frame. It is changed the same way
as the STREAM frame of QUIC v1 has been changed.

draft-ietf-quic-reliable-stream-reset defines how streams can be reset
while delivering stream data up to a specified offset. I believe no
alterations are necessary for its compatibility with QUIC on Streams.

It is definitely true that all the TCP-related limitations will persist.
The idea here is to define a polyfill of QUIC beneath application protocols
so that all of them (i.e., H3, WebTransport over H2, and new protocols
developed on top of QUIC) can operate on top of TCP without (or with
minimal) modification.

>
> Sincerely,
> Watson



-- 
Kazuho Oku