Re: Unidirectional streams PR

Martin Duke <martin.h.duke@gmail.com> Fri, 07 July 2017 16:48 UTC

Return-Path: <martin.h.duke@gmail.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 F295D131777 for <quic@ietfa.amsl.com>; Fri, 7 Jul 2017 09:48:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 HTzzRyB_SK1C for <quic@ietfa.amsl.com>; Fri, 7 Jul 2017 09:48:25 -0700 (PDT)
Received: from mail-qt0-x236.google.com (mail-qt0-x236.google.com [IPv6:2607:f8b0:400d:c0d::236]) (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 346BD131765 for <quic@ietf.org>; Fri, 7 Jul 2017 09:48:25 -0700 (PDT)
Received: by mail-qt0-x236.google.com with SMTP id i2so31668596qta.3 for <quic@ietf.org>; Fri, 07 Jul 2017 09:48:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=vlpB2uUlBoMioH0OHbkxtxcCH4E8uecT4lfGspuEVfI=; b=YwwXyHWStpvjF9nQO17Hs1bOJBofsjiQH/l5cr3WABnfPLrDABg/jo2oP3Ex7jrUNd vUCjl/3go7lSa2YljqKAojg8G3tHyA9vYjW+zpfWyqe8KVX40Knu27ZjY6kpBM4l8yw2 Xla7rc5alKcQwxpu7rZtNwR91WJPSYEXNtIagcELNW2R8stmBRHUZVmtJphel9FpW+II XiLUvMcg39eNqOzyMYwMalAwI8PJVawi9agNl83O058UYkHcrS4748XJumaWdGemBca7 MXMpb8fbuQQoGkalUtB9UYZ1GD5aLt4SsLWPILRmaiQATKnw2eWWe0LM7f4JDaMvrZLk EMcQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=vlpB2uUlBoMioH0OHbkxtxcCH4E8uecT4lfGspuEVfI=; b=H16O8ONOww0vSbFlJXJLJqFjdZAZU0h8JPGBzxMiW+cK7a6Fc2HGoWD0v3Lgbd+7Kh fBneWGbyys5Bixip1+Xb3+6TK0T4wDQdiCXmc9D5e3wTG/f+i3W4SP0dKiRaq4hM63k9 QFgD5YspyigEZ26l1U358X4dfSMjyR8HX79XQbNYGftXzOGigZcxGdD1R2zLcVw/246x 2NMrQ1ZtORgSMP+J3AZll3iVDSPsiiUsBqJxzGEqkzJNrIxFHDNmOV9jk2Rw7vfiViBz zCyFUEnjwZDkFHGPO3XKtFFMY9qdVfiFwCexamiCPXLtaLI2QaEsWZAi2k76Pif3atpB F+LA==
X-Gm-Message-State: AIVw110zUBnMJOc7pEg8EMPf2EHUYZfP9yD3Oo3kMT+9ZKd2PDvO7zz/ UUlhaPiERQ+XRSB2PKRLGlA6xrpauw==
X-Received: by 10.237.47.39 with SMTP id l36mr18156775qtd.181.1499446104414; Fri, 07 Jul 2017 09:48:24 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.91.71 with HTTP; Fri, 7 Jul 2017 09:48:23 -0700 (PDT)
In-Reply-To: <MWHPR15MB14552E4F7BB6BE5FB43A58FDB6D50@MWHPR15MB1455.namprd15.prod.outlook.com>
References: <CAN1APdc_ckZu39ZZTETv04iZieogoE_NQCBR-n0jHrC-9dM7Aw@mail.gmail.com> <5d69489d-8f46-ebbe-4e5c-fa6c02ffd8dd@huitema.net> <CAF4GZgBm7525i2GxiN-Pv66g0WqbDH==fRXN27=7ursNA70w1Q@mail.gmail.com> <20170628124221.GA15608@ubuntu-dmitri> <CAN1APdc3YO4-FEc6C--PzFGxzQiAUeBZ96HkjtjS1RR0qigrzw@mail.gmail.com> <CAE=ybzNtSZx9-bj9-n-ieLMB=YvJCjCExugvA3_JPVrdEEqK9A@mail.gmail.com> <DB5PR07MB123748F2AB7374DAC0CC9E1484DD0@DB5PR07MB1237.eurprd07.prod.outlook.com> <MWHPR21MB0141BD23011EB26F882C864787DD0@MWHPR21MB0141.namprd21.prod.outlook.com> <CABkgnnXEq9-jxedU_Rmi4XQ+t0SNUOAMbyWXcnhyLKz+OzP2CQ@mail.gmail.com> <2240c2a68910453e97fc50d42e8a1d4f@usma1ex-dag1mb5.msg.corp.akamai.com> <CAKcm_gMb9PkBKhTRF3ue2KGgwHgKN8rsanD8rqqr_wUFJ3GNZQ@mail.gmail.com> <CANatvzyKsi=+V1rYSjYwtkuGnui=V_1f0bbq1iCB36p2GJXDbQ@mail.gmail.com> <ab4e5580e8c14a8a9f2eecc87e8c9976@usma1ex-dag1mb5.msg.corp.akamai.com> <MWHPR15MB14552E4F7BB6BE5FB43A58FDB6D50@MWHPR15MB1455.namprd15.prod.outlook.com>
From: Martin Duke <martin.h.duke@gmail.com>
Date: Fri, 07 Jul 2017 09:48:23 -0700
Message-ID: <CAM4esxRN55ht7NUn6hd37L1F+G+vWYks23St4XbihL9T1mwt0g@mail.gmail.com>
Subject: Re: Unidirectional streams PR
To: Subodh Iyengar <subodh@fb.com>
Cc: "Lubashev, Igor" <ilubashe@akamai.com>, Kazuho Oku <kazuhooku@gmail.com>, Ian Swett <ianswett@google.com>, Mike Bishop <Michael.Bishop@microsoft.com>, Dmitri Tikhonov <dtikhonov@litespeedtech.com>, "Swindells, Thomas (Nokia - GB/Cambridge, UK)" <thomas.swindells@nokia.com>, Jo Kulik <jokulik@google.com>, Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com>, QUIC WG <quic@ietf.org>, Martin Thomson <martin.thomson@gmail.com>
Content-Type: multipart/alternative; boundary="94eb2c0d03ba69ddb50553bd0073"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/KAPiKwSdznOV2q99ZG8i6qP1asA>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.22
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: Fri, 07 Jul 2017 16:48:27 -0000

On Wed, Jul 5, 2017 at 10:16 PM, Subodh Iyengar <subodh@fb.com> wrote:

> > Without such a signal, a generic proxy that is not aware of your
> application internals is not able to know when to send the FIN
>
> I see, this use case does make somewhat sense, however I'm curious
> if someone has a concrete use case for a generic QUIC proxy which is not
> aware of the application protocol at all. In TCP this was more common for
> middleboxes to do because there was no end to end encryption of the
> transport, however QUIC is encrypted. Even with cases when we tunneling
> protocols at our end, we usually have some knowledge of the app that we are
> running because we need to route them differently to different backends. I
> was mostly thinking that proxies would at least have some knowledge about
> HTTP/2 or app protocols.
>

Some load balancers (including ours) terminate the transport connection.
Being trusted middleboxes, they have the certificates and this sort of
thing works in principle.

That said, in such a case it's entirely feasible to implement HTTP/2 on the
middlebox as well.

However, I think we should look forward to the day where QUIC is
implemented in kernel space and HTTP/2 (and everything else) remains an
application. I imagine counting on all applications to do this kind of
garbage collection could cause problems.