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

Mirja Kuehlewind <mirja.kuehlewind@ericsson.com> Fri, 16 October 2020 08:44 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 42F883A0DED; Fri, 16 Oct 2020 01:44:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.2
X-Spam-Level:
X-Spam-Status: No, score=-3.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-1.2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=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 ru9u-TM115Mz; Fri, 16 Oct 2020 01:44:45 -0700 (PDT)
Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2069.outbound.protection.outlook.com [40.107.20.69]) (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 121F23A0DEB; Fri, 16 Oct 2020 01:44:44 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zf0i02mBdHOdwux+lHfxpcxurFaasz9BpDdiFBTbG9wslVZ2uya340nv/mQNuiKgoRA8vrr7KxCJlrufLoesY80ktrdBQX03fxX6Ij+fWc0y62PR4rZyCBFYbUkRILoY35KQX0ATuVS9xt0uqkM3H4eyLFOJGNNkspilFNm/gmGrWUyZXES5yebYZ2gn4nFAEsKH34KxqUc7iZi7JKA/Kq9HeIF6nLbPEY8LVupcl2dhhmLRLk02LEwaAzDDGGeaFzH0oSviCtr8YO1VfXPk7XSRJyV0g1y4bo9fUGIhzZWQW7E3ZRsTk5AJm5U9UTzHbeTERH9fzuSOUpIbxE1wfw==
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=PnPvBcoi1zEh7FyMf5KciNLnGvMO5ppVKFeLkZmG7XM=; b=bMQS/kE/ygU5nMliv0O8g6Ozk5dARR10WI6SF5I3z2erqj9/y2W+3BheN5ZXr2cyJ8NrUdLUkKDG3gjZdpC2PzOnHX7gt1YPEjrcBBItzNciJVx+OmAYIYvi4npGkiP3l5X0P3rBRVLmRkdlq18FnYz5N2HBEFLryqDyx2TD4MKw5NqWZhHMMIbMAL2g+xdNvEtUE/pf4Td0cmJmbsVOinzNS8rNGrYbWe+SowZGX55BhV+C3aLtXji2WXVo7gssUGzavs2q80hCk8eQmtbUb8mCuTI1ae21hPCP3FLlri9hnI6F6zWuGj2dzdI6mbn6BXWbXES1M7RCp+KkZlP50Q==
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=PnPvBcoi1zEh7FyMf5KciNLnGvMO5ppVKFeLkZmG7XM=; b=Kq8j/hEs+05nKeP9Wd0LwwoPWxsk4d+32XoCwnRA0vwPM1VWlGtKRO+Nh2B/rnwfnBGdipxv3xgth9j3jfUvwbuMufsYJhIVE8NIcVauVo0MnzuoeNNqQ8LPPAaTolrvhq8MW1BDiAeQIv/HZ1mk5kn8bbkffQ4NZc3pZi1mOYE=
Received: from AM0PR0702MB3713.eurprd07.prod.outlook.com (2603:10a6:208:19::10) by AM0PR07MB4274.eurprd07.prod.outlook.com (2603:10a6:208:bb::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.11; Fri, 16 Oct 2020 08:44:42 +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.009; Fri, 16 Oct 2020 08:44:42 +0000
From: Mirja Kuehlewind <mirja.kuehlewind@ericsson.com>
To: David Schinazi <dschinazi.ietf@gmail.com>, Mike Bishop <mbishop@evequefou.be>
CC: "masque@ietf.org" <masque@ietf.org>, "quic@ietf.org" <quic@ietf.org>
Subject: Re: [Masque] HTTP DATA frames for HTTP CONNECT?
Thread-Topic: [Masque] HTTP DATA frames for HTTP CONNECT?
Thread-Index: AQHWoxCDA3i4eNYU6UycrV+M0Q16L6mY+HZggAABuKCAADlYAIAA2Q4A
Date: Fri, 16 Oct 2020 08:44:42 +0000
Message-ID: <A50ACE49-E067-44ED-988D-B70E261482ED@ericsson.com>
References: <A92255DF-F477-4DE6-9AA2-33373959E792@ericsson.com> <MN2PR22MB20934245C43D7DDA5BC8F5D4DA020@MN2PR22MB2093.namprd22.prod.outlook.com> <MN2PR22MB20933D2E25F5425EA848E0D7DA020@MN2PR22MB2093.namprd22.prod.outlook.com> <CAPDSy+62-q83vK0zuPs9kQXP4Akm6KX5Khp1q4PD_2wDpacKNw@mail.gmail.com>
In-Reply-To: <CAPDSy+62-q83vK0zuPs9kQXP4Akm6KX5Khp1q4PD_2wDpacKNw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.41.20091302
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [2003:de:e713:1b00:7c4b:3dc8:29f8:9da3]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 4af08f64-3b07-4529-a6bd-08d871afb9f0
x-ms-traffictypediagnostic: AM0PR07MB4274:
x-microsoft-antispam-prvs: <AM0PR07MB4274625B711A865A05C162A4F4030@AM0PR07MB4274.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 4dykrEFyqZbLttvmkq54fK4jI7ED4Ya/zVNzqJjeTI3kvpcqPxAsXAS5T7doxaw9SYt6kyh+soormDwNV/hOUNjoeEO9Vi+HKHgaKPdU5ZpM8aipkO5HH/boTXKKpOP8eEuPYQBq86C3BD6gryralfbCV9r+8j7zPww3Mk56RrVnBg7J4qab9cl++P6tonMInTJA6rXPuXkJeO7VN/068thsHCrsxbhc2Lh5KFUtcqwpYPrXE3j8aYl+05VOLK7xapwj7J1nsbd2VSSjnN22AHp8A8V2TdTvQoSwWDSuCnbSNzCKVAQ75op7PTzPzdlS6/rrGuJ3Ial1wzY4AS3fT8U2kXRKBZ6CWXGpRShyG/yFREZlgVA5XF61XPOic5hBJtoNDwqlhUZXAUx7Nd2BrA==
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)(136003)(366004)(39860400002)(396003)(376002)(66446008)(44832011)(4326008)(2906002)(166002)(71200400001)(6506007)(83380400001)(21615005)(8936002)(53546011)(8676002)(33656002)(478600001)(76116006)(36756003)(5660300002)(6512007)(86362001)(966005)(64756008)(186003)(110136005)(6486002)(54906003)(2616005)(66556008)(66946007)(316002)(66476007); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: LRlpoMAKYzJmuWVpzQEAdZinswzUbq0lFBB9x7Hpb+9k01ITcG316FgpzRbx+00qaWQhb1oyCbznwuF/Y1YYbSdPFP5LnjjofReq6mR6xcgNoaMaknpKKrsNuASPeskkOLrgJuD6uCijfETHw540XTrDDzLfNNg+8tAX4+6kvP8VlprQqv3mMMShuS00RD5E2p0NAlfAS8Co8Xn+yNIfrq9TtOB0E3lqpMSM5JzLYWVgTishqTopVXNO1ha2+ksWNuXK4x0J0QXpWKF529PG2zWMwmgmUxvoNgxYfR/IXFc4T3EfOEmrSy85NPjjzR9++a5KPKtN/ajoUm+TxJgurR5Nf+9y0kedGjr0UW8mUPWbRoYEL1eMB9HyY22SSiGsEzhsJfc9MiMYLz2T15++nrTGE09ymd/ckTwGqbZEacq+NaZ+/bk6NhvGpVzO9Oh09AElYQhezVy8YG6DUQpC+5Adqm2RnBaAgf7PetbLnkDJupWibH/PlCI5IJwtC12cH2P0nH4Sr3t1AUap0orYl1LeypPH6KgCG3f/TwiX5Ao88qrCMJDwLfKcvlCXYC5p5yu2ZwAAU4M+OHzOck/0JWTc7VGtMUfrL9W4KQCzxcrofljbgIsXE3NJ+cCRlCuRDNzS4qhU+FWH85Ng2EuunqI7beTn/ZndAt7kQrT/XET14zwqZrf/hVQnvH52zpuHSmS6s6tgAzGnkiNUs/b+aQ==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_A50ACE49E06744ED988DB70E261482EDericssoncom_"
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: 4af08f64-3b07-4529-a6bd-08d871afb9f0
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Oct 2020 08:44:42.5167 (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: 6O5hc/EJRmxeHqMZg2+EkRpHpmjO4a8L4OW6KdKG9fBVVCVb32qg85xCPYqLwcIpUrCCovQlmIJVYQkZolP7JHuJY2/nSzONSyoWXqbDuKg=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB4274
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/PtyWL3TmcGWDzQN1LwE-nJIo8cE>
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: Fri, 16 Oct 2020 08:44:47 -0000

Hi David,

I was sending this request to exactly understand if or what the issues are/could be in not having the DATA frame. Can you maybe further explain which issue you see?

Mirja


From: David Schinazi <dschinazi.ietf@gmail.com>
Date: Thursday, 15. October 2020 at 23:48
To: Mike Bishop <mbishop@evequefou.be>
Cc: Mirja Kuehlewind <mirja.kuehlewind@ericsson.com>, "masque@ietf.org" <masque@ietf.org>
Subject: Re: [Masque] HTTP DATA frames for HTTP CONNECT?

I agree with Alex, Lucas and Mike here.
Skipping HTTP frames entirely will cause issues.
The best solution IMO here is to define an extension
to HTTP/3 that defines a length-less DATA frame
(call it the DATUM frame perhaps) that extends until
the end of the stream. That would be beneficial for
HTTP GETs as well, not just MASQUE - so I'd
suggest bringing this to the QUIC or HTTP WG.

David

On Thu, Oct 15, 2020 at 11:24 AM Mike Bishop <mbishop@evequefou.be<mailto:mbishop@evequefou.be>> wrote:
(For example, see https://mikebishop.github.io/quic-external-data/draft-bishop-quic-external-data.html<https://protect2.fireeye.com/v1/url?k=fb1cf432-a5bc5aff-fb1cb4a9-86073b36ea28-e7aae7271a6c7151&q=1&e=b9526845-8195-474e-90cf-c7f907ea5f65&u=https%3A%2F%2Fmikebishop.github.io%2Fquic-external-data%2Fdraft-bishop-quic-external-data.html>.)

-----Original Message-----
From: Masque <masque-bounces@ietf.org<mailto:masque-bounces@ietf.org>> On Behalf Of Mike Bishop
Sent: Thursday, October 15, 2020 2:19 PM
To: Mirja Kuehlewind <mirja.kuehlewind=40ericsson.com@dmarc.ietf.org<mailto:40ericsson.com@dmarc.ietf.org>>; masque@ietf.org<mailto:masque@ietf.org>
Subject: Re: [Masque] HTTP DATA frames for HTTP CONNECT?

We had a similar conversation about the framing of large HTTP responses when the server knows it has no (more) pushes or headers to communicate.  There were proposals for DATA-compatible frames without a length that implicitly last until the end of the stream, as well as references to unframed unidirectional streams.  Ultimately, the WG decided against adopting any of those into the core protocol, but this seems like fertile ground for an HTTP/3 extension.

-----Original Message-----
From: Masque <masque-bounces@ietf.org<mailto:masque-bounces@ietf.org>> On Behalf Of Mirja Kuehlewind
Sent: Thursday, October 15, 2020 12:31 PM
To: masque@ietf.org<mailto:masque@ietf.org>
Subject: [Masque] HTTP DATA frames for HTTP CONNECT?

Hi all,

We recently looked into HTTP CONNECT as specified in  draft-ietf-quic-http (section 4.2.) and realized that all payload is required to be encapsulated in HTTP DATA frames after the CONNECT is completed. I can only guess that this is a “left-over” from HTTP/2 as in HTTP/2 this is required to realize multiplexing within the HTTP layer. However, for HTTP/3 multiplexing is realized by QUIC and as such it should be possible to simply forward all payload on a given QUIC stream after the CONNECT without the overhead of any additional HTTP framing. I believe that would actually be inline with how the CONNECT method worked in HTTP/1.1 and could simply save some overhead.

I’m raising this on the mailing list to understand first if there are any other reasons to have the HTTP DATA frame required or if this is maybe an issue that is still worth raising and could be easily addressed at the current state.

We are looking into this for similar use cases as for masque but in cases where only TCP is supported by the target server. For these use cases the proxy could easily support the HTTP CONNECT semantic but any additional HTTP semantics would not only be overhead but also increase complexity. So if it turns out there is no good reason to stuck with the requirement to have payload encapsulated in HTTP DATA frames, it should probably easy to just remove that requirement.

Mirja

--
Masque mailing list
Masque@ietf.org<mailto:Masque@ietf.org>
https://www.ietf.org/mailman/listinfo/masque
--
Masque mailing list
Masque@ietf.org<mailto:Masque@ietf.org>
https://www.ietf.org/mailman/listinfo/masque