Re: [QUIC] Why not be explicit about Stream 3 flow control exception?

"Aron ." <aron.schats@gmail.com> Tue, 29 November 2016 18:51 UTC

Return-Path: <aron.schats@gmail.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 2AB63129C37 for <quic@ietfa.amsl.com>; Tue, 29 Nov 2016 10:51:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 zTH6fsb1BiHo for <quic@ietfa.amsl.com>; Tue, 29 Nov 2016 10:51:07 -0800 (PST)
Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (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 08AD9129C2F for <quic@ietf.org>; Tue, 29 Nov 2016 10:51:07 -0800 (PST)
Received: by mail-io0-x232.google.com with SMTP id a124so305865574ioe.2 for <quic@ietf.org>; Tue, 29 Nov 2016 10:51:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=xX94vGdXT99EKP/ITO3K3fzq7G+4odbhhWIG0HHGp7s=; b=lAvXC5rEqHKFvhXx8JB4wShoxlk4yUBR2oj9Tat1ycM0OW09dcUCx6Etk3ITi0+qkA ZCpAZmUbmVvwPsyEflCAPd1QZeYAx7uGSaCt58bRw7AglWXChFid/mzB3CBduA/YAIW5 WuOHVepl8icW1f+wFBlOcoEUzUQxwlY9i4CF3pO8lBPacHIykBCZ4u+xOireVbhjvsrZ dmUzKLNspSoe2tdEGSR9gxiSkYVX1nnJFX97dAbKmOOHbZuS6UFcREKX6dMDTyEDIFMz wLRxvwx1Jlj1HesrDsFxztAoQWHvSs0tfsF1CuHTYkvZHkidZLcLHFNTa1b39vwIf7Ib ICgg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xX94vGdXT99EKP/ITO3K3fzq7G+4odbhhWIG0HHGp7s=; b=OsRKRC6n7ao4OEehMvLpyeoVTmdTiO2fbbJWknqJjRrxMFJdhJIKDfSK7qLu4u2EM6 auQHCF5WvSkh1aLlkECak1cPVIP4UONXCL1kcwJZmQWRZeDOYtWyHMiZlq0ZCe9GL1zn tuDEnLJI0hkifpaLh5mFJ0DR6xzcUWEwK+4NEDrSd/q7a1FHUcAl0iGsEC6fYomnwuRM cPjeBnCbAiY3wpSt6Elqc+TxoaRCUN+sBsNa3U+ciShEE/AaaDw3FiNaT5qsaLYfLsxE L0+IB1Oz+jlXDLnwwzyhSxV6OHhKWtnUKsM6gteHFW3kfoNnPuojcvUF2agUWn76V8mJ HZNA==
X-Gm-Message-State: AKaTC02AAG4EDBcRJSmLo67+ZCasoh1wbeI7viDobMP6nzHrx+e5L3pQtu+Dv5QRfmUzFHvHlmWubBOXOMo1KQ==
X-Received: by 10.36.7.85 with SMTP id f82mr25059583itf.10.1480445466296; Tue, 29 Nov 2016 10:51:06 -0800 (PST)
MIME-Version: 1.0
Received: by 10.79.12.81 with HTTP; Tue, 29 Nov 2016 10:51:05 -0800 (PST)
In-Reply-To: <CAGD1bZYj3nTweFmBy4-XbvUkhhnqbwscb=q0HHtZkPrYrw0kVQ@mail.gmail.com>
References: <CAGudDpPfgQCWKXVv0v2B2MT8kkPnis2monE1ZGWRfHjyd_Tqmg@mail.gmail.com> <CAGD1bZYj3nTweFmBy4-XbvUkhhnqbwscb=q0HHtZkPrYrw0kVQ@mail.gmail.com>
From: "Aron ." <aron.schats@gmail.com>
Date: Tue, 29 Nov 2016 13:51:05 -0500
Message-ID: <CAGudDpMvccsPn7vJx9fM=hXgdCu93QUavzWZGMjE_0CrYK1cTQ@mail.gmail.com>
Subject: Re: [QUIC] Why not be explicit about Stream 3 flow control exception?
To: Jana Iyengar <jri@google.com>
Content-Type: multipart/alternative; boundary="001a113f724c20c63f05427512b0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/CR1_R1GXZultcvetnBzJWpet_C8>
Cc: IETF QUIC WG <quic@ietf.org>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.17
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: Tue, 29 Nov 2016 18:51:08 -0000

This is interesting.  Is there a way for QUIC peer to tell which protocol
over QUIC is used?  In other words, at which point do I realize that it's
not HTTP/QUIC I am talking to?  Is it for upper-level code to figure out?

On Tue, Nov 29, 2016 at 1:45 PM, Jana Iyengar <jri@google.com> wrote:

> Hi Aron,
>
> Apologies for getting to this late -- the IETF kept me busy.
>
> [draft-hamilton-quic-transport-protocol-01] states (p. 35):
>>
>> o The crypto handshake stream, Stream 1, MUST NOT be subject to
>> congestion control or connection-level flow control, but MUST be
>> subject to stream-level flow control.
>> o An application MAY exclude specific stream IDs from connection-level
>> flow control. If so, these streams MUST NOT be subject to
>> connection-level flow control.
>>
>> The second bullet point is obviously about Stream 3.  Seeing that there
>> is no way(?) to negotiate which streams are to be excluded, why not spell
>> out that Streams 1 and 3 are not subject to connection-level congestion
>> control?
>>
>
> The second bullet point is about any application-chosen stream. An
> application may choose to not exempt any stream if there are no special
> streams.
>
> This need not be negotiated on the wire, but can be known for any given
> application. Specifically, the http-mapping draft is the document which, in
> the current design, should say that stream 3 should be excluded from
> connection-level flow control.
>
> - jana
>
>