Re: [Webtransport] Http3Transport pooling/sharing

Martin Thomson <mt@lowentropy.net> Tue, 10 November 2020 03:18 UTC

Return-Path: <mt@lowentropy.net>
X-Original-To: webtransport@ietfa.amsl.com
Delivered-To: webtransport@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A6BA03A10E8 for <webtransport@ietfa.amsl.com>; Mon, 9 Nov 2020 19:18:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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=lowentropy.net header.b=HMAhCiOV; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=OoiJjpLT
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 Ghx2jIPhLr67 for <webtransport@ietfa.amsl.com>; Mon, 9 Nov 2020 19:18:52 -0800 (PST)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5E2AA3A108A for <webtransport@ietf.org>; Mon, 9 Nov 2020 19:18:52 -0800 (PST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 8E5055C015E for <webtransport@ietf.org>; Mon, 9 Nov 2020 22:18:51 -0500 (EST)
Received: from imap10 ([10.202.2.60]) by compute1.internal (MEProxy); Mon, 09 Nov 2020 22:18:51 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm3; bh=KKJPR7KoXZqBoV6kNESLqaXKY6x+dWQ Ae/ykVfEOIEQ=; b=HMAhCiOVArJt2HGFYJXaKWqT8oFIkr/GBlVM4/lBUXVmrbN Q051P8Q/0AfL32y2/vBfyQ3gbz1fuU/8p2BWB2T+pUkEfJ+WA3/8oErfurKEQGlT t0SidyUitIqrSgOAHFg2sIAR4+vVr8cQCNVx7v0ReQkmbmkWTmZlwekVeM4NZkC/ GGIvmiYAGRGDBFRD+tYDLLIJYFs07T2saE5Wgpltt9+Ujq92O7eRNuHXIeq6XK91 aSUbaGCRo/ZHXUL0Q6acZyJmqJcCYFLonMZkmkvAeNFqW9fifoYOei6u/y6JE0Mb COKTS/AgzZahf5seAjGhDKR9qKiVVp/Zif4NFHQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=KKJPR7 KoXZqBoV6kNESLqaXKY6x+dWQAe/ykVfEOIEQ=; b=OoiJjpLTMHvO0MuvpBDfgV BP6mMcRe0kAqmVwQu01/KEVgtgGJVBKqWImfQyyOTsYMFi9GDj1Zo/m4WA8bpn4b wUnmBewxG1EdLbCd4Xw8uZLvXXzXMz6AWX/pqzThwylAZMbxnxvivILrM+Wj+5QC mPz1LguODQ57+CYMojPA+parmv+U9Dgb4Jd3ntCnrKJJoidv9bHmmufDoWxBTmDz 4CMBFvE3RROaxghqSATaETnKSryLYinAGPPFzSEuGFeW4Mj5QD5y2U/NgWG+9+ew CJk9k0eZPytbF0bdJKgBOsQxHmWOUl0aT5qDZd9v8bcVYPsjLDngnrfvYDfOOFag ==
X-ME-Sender: <xms:mwaqX0f-Lk331HPZXEGkFVOFyEylyreYQqJeY6-KFHUziGEM2qEusA> <xme:mwaqX2Mq4FhJSzn1OJCCKuGOhR0lXgfRjeeVu24aX7WLTVGXs4z2qW2x1skRpOp7g brp7sZQJDondBWCbmU>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudduiedgheelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpedfofgrrhhtihhnucfvhhhomhhsohhnfdcuoehmtheslhho figvnhhtrhhophihrdhnvghtqeenucggtffrrghtthgvrhhnpeekjeevvedvvdehveeije egffehheetgfetvedtgfeljeegkedutdehudetueeigfenucffohhmrghinhephhhtthhp fehrvghquhgvshhtrhgvshhpohhnshgvrghnugifvggsthhrrghnshhpohhrthdrihhnpd hivghtfhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehmtheslhhofigvnhhtrhhophihrdhnvght
X-ME-Proxy: <xmx:mwaqX1hWKyKaTmc3xChKVM5k7HjVDn98mmssQHssYJuVfYrrPli8cQ> <xmx:mwaqX58_CqooE2itz2OwRfleRr4Y_2U23E0Iz5RAG7AfQTVIhmlTzg> <xmx:mwaqXwu1XWBiPvwTRR6311yef2wMaoOWZTK2iO9GObFNFD35v_3R3w> <xmx:mwaqX-5KkIgjXJ7XG7hN6K3vjOwFOxZu0Yf3ygUueB2WoPIiEGH9AQ>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id EE8632038B; Mon, 9 Nov 2020 22:18:50 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.3.0-570-gba0a262-fm-20201106.001-gba0a2623
Mime-Version: 1.0
Message-Id: <2759a04d-949e-45ed-86db-bd499b7cff19@www.fastmail.com>
In-Reply-To: <CAOW+2duHJTByX_E2jrQMuapKm=cxVwiZKUYWtpz-K-nw9SWQiw@mail.gmail.com>
References: <CAOW+2duHJTByX_E2jrQMuapKm=cxVwiZKUYWtpz-K-nw9SWQiw@mail.gmail.com>
Date: Tue, 10 Nov 2020 14:18:29 +1100
From: Martin Thomson <mt@lowentropy.net>
To: webtransport@ietf.org
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/webtransport/yER101CInK4z0RDp1z2DM61xc6U>
Subject: Re: [Webtransport] Http3Transport pooling/sharing
X-BeenThere: webtransport@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <webtransport.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/webtransport>, <mailto:webtransport-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/webtransport/>
List-Post: <mailto:webtransport@ietf.org>
List-Help: <mailto:webtransport-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/webtransport>, <mailto:webtransport-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Nov 2020 03:18:54 -0000

There is a common problem with piecemeal negotiation.  I can imagine several responses to the case where you have an existing connection that doesn't support the features you want.

1. Fail.
2. Make a new connection.
3. Synthesize datagram support (probably not worth it).

Failing isn't completely unreasonable.  If the connection doesn't have the features you need, and you have no reason to believe that the negotiation would be different next time, then this is a good reaction.  Of course, you need to be offering datagram support when you make the original connection, even if you are not currently aware of the need for the feature.

The quote you provide indicates doesn't seem at all problematic: both features are negotiated at the same time, and one requires the other.  This is not particularly difficult to arrange.

There is a more difficult problem to address: what if you have a connection to a server that supports h2 and webtransport, but you get Alt-Svc indicating support for h3.  Do you upgrade?  What if the upgraded service doesn't support webtransport?  If, at the time you upgrade, you don't know, it seems reasonable to upgrade.  But then if you later learn that you need webtransport, what then?

On Tue, Nov 10, 2020, at 05:32, Bernard Aboba wrote:
> One of the use cases that has been described in the recent W3C 
> WebTransport WG meeting was sharing of an HTTP/3 QUIC connection 
> between HTTP/3 Request/Response and WebTransport. 
> 
> In looking into how this would work in practice, it appears that there 
> are some complications. 
> 
> Http3Transport requires support for HTTP/3 Datagrams. 
> draft-vvv-webtransport-http3 Section 4.1 says:
> "If "http3_transport_support" is negotiated, support for the QUIC 
> DATAGRAM extension MUST be negotiated."
> 
> What happens if there is an existing HTTP/3 connection to the same 
> Origin but that connection did not negotiate support for QUIC DATAGRAMS?
> -- 
> Webtransport mailing list
> Webtransport@ietf.org
> https://www.ietf.org/mailman/listinfo/webtransport
>