Re: [quicwg/base-drafts] Need a way to send big values in stream 0 (#825)

Martin Thomson <notifications@github.com> Tue, 03 October 2017 19:45 UTC

Return-Path: <bounces+848413-a050-quic-issues=ietf.org@sgmail.github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C3FF61331E7 for <quic-issues@ietfa.amsl.com>; Tue, 3 Oct 2017 12:45:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.018
X-Spam-Level:
X-Spam-Status: No, score=-2.018 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_32=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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=github.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 1iViueCB2za7 for <quic-issues@ietfa.amsl.com>; Tue, 3 Oct 2017 12:45:33 -0700 (PDT)
Received: from o7.sgmail.github.com (o7.sgmail.github.com [167.89.101.198]) (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 4D3701331D7 for <quic-issues@ietf.org>; Tue, 3 Oct 2017 12:45:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=nhMwpziKJ48TAe7967yjZUdg6EY=; b=mcNEF1ABZQ4mP9Lk T9HjJr7X7GS6T57uDLgFM3oioqsWz2Q/UP517PmasvHuY1LqI6j468EY4N1mg3Vy g6CeXSN+dFTwLgXRn+s8K837UClBmwfOE70k3XGAQv2dupFX8wckNcZJ9Kibu6qR QRzrTyTZGU1FZqGZuo/tDY2+d7o=
Received: by filter0172p1las1.sendgrid.net with SMTP id filter0172p1las1-3473-59D3E8DC-2 2017-10-03 19:45:32.08535798 +0000 UTC
Received: from github-smtp2b-ext-cp1-prd.iad.github.net (github-smtp2b-ext-cp1-prd.iad.github.net [192.30.253.17]) by ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id Uo3j2mvZTlmOLrbCJcpLig for <quic-issues@ietf.org>; Tue, 03 Oct 2017 19:45:31.991 +0000 (UTC)
Date: Tue, 03 Oct 2017 19:45:32 +0000
From: Martin Thomson <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abf712427d97f57c394960f629dffe679c92f3ebb392cf0000000115ebaadb92a169ce0fa614bd@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/825/333956530@github.com>
In-Reply-To: <quicwg/base-drafts/issues/825@github.com>
References: <quicwg/base-drafts/issues/825@github.com>
Subject: Re: [quicwg/base-drafts] Need a way to send big values in stream 0 (#825)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_59d3e8dbd852f_2d8d43fd1693caf305298d"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: martinthomson
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak0P8NrOogWwv86LBBve3VDiC0bKdUCXEbPLVj cJFwF3ccx/kVbInyLd5zQ9KmgRwxauIACfgk/+RH2FqLEFF44do11/SHuM8S/I/4EMTbXgbo8T7HWV cUJ0uWbeXeJW5Dj2+4eufS9sIWTn8BRXN8XCk4gaVdAfUxX22rM2sM2c6wxqlKxBZW7DwzX9hRIfTN E=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/Q_ckNtYU5LDYzPV3WNeI3p1MFPk>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.22
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Oct 2017 19:45:35 -0000

Note that this is only a problem for the Server Cleartext.  Client Initial is fixed in size. Client Cleartext is sent after the 1-RTT keys are available, so the server can send MAX_STREAM_DATA.

The other idea was to split flow control for stream 0 across the handshake: MAX_STREAM_DATA can be sent by the client (and server) in the clear, but any flow control is reset once the handshake completes (the consumed flow control on the stream is reset, the final offset is set back to the initial value, and maybe also the stream offset goes back to zero).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/quicwg/base-drafts/issues/825#issuecomment-333956530