Re: Final DATA frames

Ryan Hamilton <rch@google.com> Tue, 11 December 2018 01:34 UTC

Return-Path: <rch@google.com>
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 7FB20128D68 for <quic@ietfa.amsl.com>; Mon, 10 Dec 2018 17:34:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -18.959
X-Spam-Level:
X-Spam-Status: No, score=-18.959 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-1.459, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 Em0JVtb1tyne for <quic@ietfa.amsl.com>; Mon, 10 Dec 2018 17:34:50 -0800 (PST)
Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BD9321277D2 for <quic@ietf.org>; Mon, 10 Dec 2018 17:34:49 -0800 (PST)
Received: by mail-wm1-x32c.google.com with SMTP id y139so515443wmc.5 for <quic@ietf.org>; Mon, 10 Dec 2018 17:34:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KsyJtBtQfLmuieYR+QDknrVs1YpzzJsP/afoh5WlsjE=; b=PPtfHuy+y2eCqKm+nqb9+uCxgbY6Y9ar2rcuLXulPdISz3EyE3YfQKlXWd7288WPfo em5IGuI2sx0WDzelyRfGhGsXaOeVWcHB0F4ZZXVkHzoZiclwKslifRHpnrDcsRifHYLJ X11VLUzIyVT+GdOVT5Z4zxmFI6tDvkYTR6vRbegRuuIT7BsXyw7M5z3Q0L1m8fue2Hva Db4oajtWYSzCPk/Y+/NxwkA0JvYUu2x1feQQCyR11BXUBDckGQEAHo3VBTJ5keVOijVH 4RfXwqUqEYFkF05U+2DTcJfOfRqzq6Na4YD93Zl2SOeeFU/RZG8NztuG8SsCwqg+amHJ wVFw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KsyJtBtQfLmuieYR+QDknrVs1YpzzJsP/afoh5WlsjE=; b=CbRYBvdtPVeeSixp+kL9BLKEPdkQdwHmFcg94GyaZavZ9MIAohEJVMJir3aymvJZYm gEzDSI62QV+P93QinxWi+8hWdy/xiSOLTSFoSpwv8sDUAjufe9hP3Jv0Oz7CtYO7XRv2 FdjZJvWVy+aL+XBHUbyMQvGeiSbc0Sb18Vp6c0JlbxovQQtZSMpu7wEi2A4ERamw+p4k /f219fyi0s3NILXBhZeEweruWMszIsHfj19woIObxPwMvK8XAX215pliPZJgsrhWGZCA mXiE8x4iWGUVPigoQIHOxmt11qlPAJUyo3kAdV8+a4hl05bCzv33o+qkSmbA5dBvD3LA u74Q==
X-Gm-Message-State: AA+aEWbePcY7IimprMdqFgiojn7pnFjsUZ5GnKoHH1dy44r/2UlJybXt n01rnCzq2iQVi/igzJ922w6+zjlguNpJa0RA5HSQwA==
X-Google-Smtp-Source: AFSGD/VQiCMC01PgpVBjrRwQu6XK/0vH6SVMI+Lt6E6PwVgFtWE+iDzP5h8n5nzMHxVkj8tssql1cMZGe1ngeBW+Hl8=
X-Received: by 2002:a1c:4e08:: with SMTP id g8mr508938wmh.46.1544492087883; Mon, 10 Dec 2018 17:34:47 -0800 (PST)
MIME-Version: 1.0
References: <8D72549D-DFDB-419A-BEC7-2ADCA7EFEF2F@fb.com> <CAJ_4DfTYwFHE6w1gF8OVzn=F0fuKWpW7vsKrRF2eniTsX+1O9Q@mail.gmail.com> <CALGR9oZEwN_c10R1Mqwvoug9mYJBhbznE3DR-G_e3p02oaVMHQ@mail.gmail.com> <4A67AC5C-860F-45C7-85ED-9CF72B52A438@fb.com> <CY4PR22MB0983059788B10A5522CA9CBFDAAA0@CY4PR22MB0983.namprd22.prod.outlook.com> <CALGR9oahgd3roD8E2J0aoeOje4+Vvf=6PnJxCGx4hK-8+PZgWg@mail.gmail.com> <CY4PR22MB0983F6A15A81D7E7C0FFD714DAAB0@CY4PR22MB0983.namprd22.prod.outlook.com> <CALGR9obVA=Z-jXzih6PuoV+8mRnOBR=cUbkzZWsBK_MbPvdO+A@mail.gmail.com> <CY4PR22MB098307407311C53A286E5135DAAB0@CY4PR22MB0983.namprd22.prod.outlook.com> <CANatvzxr7bEA+WXoBKk2_Yw61zqqO5woRKrTRR2fssXz_9daZA@mail.gmail.com> <20181209212632.GA2419@ubuntu-dmitri> <CY4PR22MB098351EC18E0ADDAE6258CCADAA50@CY4PR22MB0983.namprd22.prod.outlook.com> <CABkgnnUCSxmHvr3jgx4q-BntyR5B0mT5xr44o+98wvW2eC9SjA@mail.gmail.com>
In-Reply-To: <CABkgnnUCSxmHvr3jgx4q-BntyR5B0mT5xr44o+98wvW2eC9SjA@mail.gmail.com>
From: Ryan Hamilton <rch@google.com>
Date: Mon, 10 Dec 2018 17:34:34 -0800
Message-ID: <CAJ_4DfT_iu1gR4qu-uQCs4TExGDLB-NvJXTNQkcUWLJ=wd2z-A@mail.gmail.com>
Subject: Re: Final DATA frames
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Mike Bishop <mbishop@evequefou.be>, Dmitri Tikhonov <dtikhonov@litespeedtech.com>, Kazuho Oku <kazuhooku@gmail.com>, Jana Iyengar <jri.ietf@gmail.com>, Roberto Peon <fenix@fb.com>, HTTP Working Group <ietf-http-wg@w3.org>, Lucas Pardue <lucaspardue.24.7@gmail.com>, IETF QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000422f55057cb516c8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/P_QSmbbhoZngEfUGaTEnJSA5yWU>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
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, 11 Dec 2018 01:34:52 -0000

As you say, there's a valid use case here. There's nothing about this
particular design which would prevent any sort of "send the body on a
unidirectional stream" extension from being worked on or implemented. That
some future extension might (or might not) be a better solution to this use
case does not seem to me to be a terribly compelling argument for reverting
this, particularly given the simplicity of this design.

(I'll also point out that delivering the body on a unidirectional stream
doesn't necessarily work will with server push, as the PUSH_PROMISE is
required to arrive before the reference to the promised resource. So if the
PUSH_PROMISE happens on the main stream and the body goes on a different
stream, that ordering is not guaranteed without some addition properties.)

On Mon, Dec 10, 2018 at 4:19 PM Martin Thomson <martin.thomson@gmail.com>
wrote:

> FWIW, there is a valid use case here, but I'm not happy with the
> specific design.
>
> For instance, an extension that used a unidirectional stream for the
> body of a request might be a better option.
>
> On that basis, I would revert the change.
>