Re: [quicwg/base-drafts] HTTP/3 unidirectional streams arms race (#2559)

Lucas Pardue <> Wed, 27 March 2019 03:53 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id E1E10120328 for <>; Tue, 26 Mar 2019 20:53:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -8.002
X-Spam-Status: No, score=-8.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (1024-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id gxBIyIvsEl-v for <>; Tue, 26 Mar 2019 20:53:22 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id DAE32120222 for <>; Tue, 26 Mar 2019 20:53:20 -0700 (PDT)
Date: Tue, 26 Mar 2019 20:53:19 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=pf2014; t=1553658799; bh=SI4dD8y6wf0BZgu1f18wrdYhOyPUgxwsScPYc1uMHw0=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=0/CpJY8mQ99/bU/YlPzmNeZVf2pg40wPCsf64PlQ640SkmB5TASA84/2Ns3GD9VRM PVlcEBnpPii6cgYuIH05qy1qAM/168deEAlw5az/WUcg2ejopdrW8hxn5NtUQG4/tx PHRREZaO+W1owHielSF0OJOF0+PXRzmMBFDq+eIo=
From: Lucas Pardue <>
Reply-To: quicwg/base-drafts <>
To: quicwg/base-drafts <>
Cc: Subscribed <>
Message-ID: <quicwg/base-drafts/issues/2559/>
In-Reply-To: <quicwg/base-drafts/issues/>
References: <quicwg/base-drafts/issues/>
Subject: Re: [quicwg/base-drafts] HTTP/3 unidirectional streams arms race (#2559)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5c9af3af4d3c1_3a5b3f7ef0ad45b81426c3"; charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: LPardue
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
Archived-At: <>
X-Mailman-Version: 2.1.29
List-Id: Notification list for GitHub issues related to the QUIC WG <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Wed, 27 Mar 2019 03:53:25 -0000

> So having one extra round-trip when opening one greasing stream sounds not unreasonable.

I'm ok with that but it also risks affecting all unidirectional stream types. Server push somewhat skirts the issue by providing a signal (counting PUSH_PROMISEs) that enhances the clients knowledge. QPACK is part way there because non-zero SETTINGS_QPACK_MAX_TABLE_CAPACITY implies that some credit from both ends is required. 

Perhaps we could summarise some guidance for people about the RTT incurred by these streams and ways to avoid them.

A totally different alternative that might turn out in practice easier is to simply set max_initial_uni_streams to a very large number, and set the initial_max_stream_data_uni to a low number (8 bytes would be enough to peak at the stream type). This way the client has far more insight into what the other side is attempting to do and can exercise stream control as suited to its needs. All while avoiding this weird cycle.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub: