Re: [Masque] HTTP DATA frames for HTTP CONNECT?

Mirja Kuehlewind <mirja.kuehlewind@ericsson.com> Mon, 19 October 2020 10:04 UTC

Return-Path: <mirja.kuehlewind@ericsson.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 89E443A09EE; Mon, 19 Oct 2020 03:04:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.202
X-Spam-Level:
X-Spam-Status: No, score=-0.202 tagged_above=-999 required=5 tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 tvbHEUXTICzk; Mon, 19 Oct 2020 03:04:02 -0700 (PDT)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40083.outbound.protection.outlook.com [40.107.4.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 15BDE3A09EA; Mon, 19 Oct 2020 03:04:00 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R+xT4OvuPwIyHoEdr1+X9cSM5/uKk0rOmtW2KJKRtGtJPsH7Et158INFxLozcuP4YEJp38BSknItDC+A9m40D04/alhBP75+EV7hnT81TVAiMDhwgWkDKNzhKxjBEi56w/aVMzb9b8+SZygwojXS+u6TZKmEM9p4Tlg78/EPPNXteTA/cFBvwH1nkixlfaULqK8vNSATQkHEzoSP6J/H0Clxal6ohxO1xivVKoXqdKfoO8jfIWObmuvNfSLeOGjL6jnY4DDHG8vTTeA9GryHDhPgyH1msvEV51jf8JiKlbm/Jo8xZ2YaDHqbJvkiaXr7xl1wxZ5gz9wv5K+e97+sIA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Vd3Ss8PTqd31i9K7z8lhkhzN138t5U4J2Ty7scrC0fg=; b=Q6JGfGmtx+wlaM4Rt3bV4US0QyPhPo6qTUzM497mxM53I9ggXfIO/CNjMlv5beo1I+7pSoWDEC17WIhjV1W8R8wdk+7ZBCzWTIJp0eqqpwZyJfgUNpuCEWB1MVyLf+r3diHWYFllIKHjRL9M/F4Jg0V41gNknPvMtPDoz6huDZs0MPIbiwl5F/29A039xhP3/WlTHYwHm5obQ4ome63nAMxTKjPLBwAZ2DIVrNa/n63I1T5dqugfeVWasFv8mvtkgHSroin6Yjah1FFJCls1aUT2td3Q2FTu3WDXWhdKD0nM8jNC/WW/KEJqMoBY/EnlZnPoQX6HMHxizMtJQFDCyA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Vd3Ss8PTqd31i9K7z8lhkhzN138t5U4J2Ty7scrC0fg=; b=nnKYZSlFQrweXwFHQr8pjqWyuvKJ0e7P+tVgfzLiUBkrhmvI+RI42MAFgUdZaEsMQCb7NNSP+fs0juVmaQBpf4zgifH1+kSe0m4Fk1AVgqc1Mwuryp9Rccaj5e8q9gH9iMq6KZ6qiUwHJCsi9U+QmHJ40LtWn0Uecwc620Fbh/U=
Received: from AM0PR0702MB3713.eurprd07.prod.outlook.com (2603:10a6:208:19::10) by AM0PR07MB5491.eurprd07.prod.outlook.com (2603:10a6:208:10b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3499.7; Mon, 19 Oct 2020 10:03:56 +0000
Received: from AM0PR0702MB3713.eurprd07.prod.outlook.com ([fe80::9820:af8a:cdbc:73b0]) by AM0PR0702MB3713.eurprd07.prod.outlook.com ([fe80::9820:af8a:cdbc:73b0%7]) with mapi id 15.20.3499.014; Mon, 19 Oct 2020 10:03:56 +0000
From: Mirja Kuehlewind <mirja.kuehlewind@ericsson.com>
To: Mark Nottingham <mnot@mnot.net>
CC: Lucas Pardue <lucaspardue.24.7@gmail.com>, Alex Chernyakhovsky <achernya@google.com>, "quic@ietf.org" <quic@ietf.org>, "masque@ietf.org" <masque@ietf.org>
Subject: Re: [Masque] HTTP DATA frames for HTTP CONNECT?
Thread-Topic: [Masque] HTTP DATA frames for HTTP CONNECT?
Thread-Index: AQHWoxCDA3i4eNYU6UycrV+M0Q16L6mY6MqAgAAEMYCAAIiYAIAElOoAgADPN4A=
Date: Mon, 19 Oct 2020 10:03:56 +0000
Message-ID: <C6484B6B-A994-4DE4-BE20-2EDC56E32968@ericsson.com>
References: <A92255DF-F477-4DE6-9AA2-33373959E792@ericsson.com> <CAHbWFkRvGKpHRfBrstVpHdfDZLkQyks77O2sc-j0uV8tCWyS2Q@mail.gmail.com> <CALGR9oYC6o8BYgO5Sxb0yMFibzFn241OpWTh3njnMh3KQK8ejQ@mail.gmail.com> <72706E88-C329-4E8B-A09F-CAE27D223DC8@ericsson.com> <6646CD6C-A3B5-49C1-915D-C99497D77557@mnot.net>
In-Reply-To: <6646CD6C-A3B5-49C1-915D-C99497D77557@mnot.net>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.42.20101102
authentication-results: mnot.net; dkim=none (message not signed) header.d=none;mnot.net; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [31.19.191.239]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 529b274b-0a66-4643-9dc5-08d874164ae1
x-ms-traffictypediagnostic: AM0PR07MB5491:
x-microsoft-antispam-prvs: <AM0PR07MB5491C63C51D4334443098630F41E0@AM0PR07MB5491.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: rBo/+hJKJA/ohLrqi7gKH47pL1/8zOzzqM9BlEFyRw9XL8nJAX8Uz2nKH40f2Ehdp9JhMkE8RAei17ci0vwu26oySgICFzBOuB7jEx/su0adpH9/tWVV22Ct31l+nTCOKbIbx1vL5d3RBDoNNAYL9cgCURkQ9Mconc4UxTAxTJLsz4LhPtFBOPPNHTXZSYZrpXIrUmaUXi0uzOC+jy8o9rAaqrJ70iwuYkeZH+16a5/j+JPOWxT5HHSI1I1+tHwD9Z0F/KWBAqQowlzCWTvSLL3aIHwr1F6q5hkG/9ysfx8K3F4uw9/QHaAMaSDgHkxD7cSph3ow2KTyj2S9CV96GaeIHr3pZp6w4/OmUz/a/OoqpmfAQrBGRwIfNdP0WbgplZn5bvIAUEWz6N368WcqoA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR0702MB3713.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(396003)(39860400002)(376002)(136003)(366004)(186003)(2616005)(6486002)(44832011)(26005)(2906002)(4326008)(54906003)(316002)(6506007)(66446008)(83380400001)(53546011)(6916009)(71200400001)(86362001)(5660300002)(6512007)(8676002)(36756003)(33656002)(8936002)(478600001)(64756008)(76116006)(66556008)(66476007)(66946007)(966005); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: nmbfxziWUOi3UP1qcnY98I9fQNRFMB8VwtK6fBS/seMd+Q2Baigcypiu3EvdZR1ao4PjDdPEe435+vjiJlw/KL/evEndMRWm7tragm1tjGQLC5yFiJA+vsIPH/yQptxTa/1foRJIAozgo0mUJFwlqmTRPxQut3s9hsonddDPB35YjCnyyLav1gYF0jEuVYeSe5Jjb248OiC9jg8eCFhzbB/479k4Du8Ha01gODmoRrGyyaINlbAs3X9OUkyFL0VJJDiKnu8l3bRWvCrctVm6OZhCp/HMernSfdzfqELvprmNCPK7xkGVIR+HsMkS0egdbzh67IFzvlJlVEMk/sMnDdAgIDdL5Jz27rJySpCyZi8psuos6DgKGVUvNIGX8eDuk0QFZ0rejA4J2T1kFzB3sSSHcF3vcOomIE8aY+ed10/lN8chDPQAfZul34AV4T3ixt1ibusHfZZ+X5xnedoBDjHx1+DRow1YIhmCd7WsBWROP/AQHeEH2oyMKhX62Xg7PWlt5FaWOh7D3ih9HhvA31ho8xzrzkt5x2xoFjmd7hU/as1qH0MyyHbXORg6RQbcaFPfZJXDApFNM1nY6nwahP2hPX6ohGz9vrVR6u+iiPal64TJYkotAeZZRuXMbZ/KTMCIyp96QHiQsGCdTJz6kg==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <C0323B274532154B873E6442C6AE7C61@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM0PR0702MB3713.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 529b274b-0a66-4643-9dc5-08d874164ae1
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Oct 2020 10:03:56.6228 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: zG3iIZTehCLilwdDg4dJ0S4auDUBn+uIDbGRUMwuKDp0fGgGChbcfPWtaJZpSQ5yyb1GblNvythyt0mVUZGbcDqoNq/VZPofRlrQFlYDm58=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB5491
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/gsGSVo25Twt_vIMGe72Pv1AkODI>
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: Mon, 19 Oct 2020 10:04:05 -0000

Hi Mark,

understood. However, given this is version specific, I'm questioning if we should actually convert a whole stream into a tunnel with h3 rather than unnecessary sticking to the same model as used for h2.

Mirja


On 19.10.20, 01:42, "Mark Nottingham" <mnot@mnot.net> wrote:



    > On 16 Oct 2020, at 10:44 am, Mirja Kuehlewind <mirja.kuehlewind=40ericsson.com@dmarc.ietf.org> wrote:
    > 
    > HI Lucas,
    >  
    > RFC7231 defines CONNECT originally like this:
    >  
    > “The CONNECT method requests that the recipient establish a tunnel to
    >    the destination origin server identified by the request-target and,
    >    if successful, thereafter restrict its behavior to blind forwarding
    >    of packets, in both directions, until the tunnel is closed.”
    >  
    > So I would interpret that the connection is not really a HTTP connection anymore after it has concluded the CONNECT. Again in HTTP/2 this did work because of multiplexing but in HTTP/3 is would work again and effectively maybe be the more flexible solution.

    In the current revision of the spec <https://protect2.fireeye.com/v1/url?k=cfef5661-914ff8ac-cfef16fa-866132fe445e-03675e5a9023d07a&q=1&e=ca64d89b-a8c1-4842-81bf-58f120339203&u=https%3A%2F%2Fhttpwg.org%2Fhttp-core%2Fdraft-ietf-httpbis-semantics-latest.html%23CONNECT>, that's followed by:

    > Because CONNECT changes the request/response nature of an HTTP connection, specific HTTP versions might have different ways of mapping its semantics into the protocol's wire format.

    Note that it *doesn't* say (in either version) that the *connection* is converted into a tunnel; rather, only that one is established. As we now more explicitly point out, the mapping to transport connections depends on the version of the protocol in use; in h3, it isn't the whole connection.

    Additional background here: <https://protect2.fireeye.com/v1/url?k=21efee0c-7f4f40c1-21efae97-866132fe445e-86d1213e0f8bf20b&q=1&e=ca64d89b-a8c1-4842-81bf-58f120339203&u=https%3A%2F%2Fgithub.com%2Fhttpwg%2Fhttp-core%2Fissues%2F144>

    Cheers,


    --
    Mark Nottingham   https://protect2.fireeye.com/v1/url?k=3f3b8401-619b2acc-3f3bc49a-866132fe445e-607fe695c30ded20&q=1&e=ca64d89b-a8c1-4842-81bf-58f120339203&u=https%3A%2F%2Fwww.mnot.net%2F