Re: [quicwg/base-drafts] hq: Does ignored data/frames cause flow control updates? (#1580)

Lucas Pardue <notifications@github.com> Wed, 18 July 2018 17:30 UTC

Return-Path: <noreply@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 CE29C130E2B for <quic-issues@ietfa.amsl.com>; Wed, 18 Jul 2018 10:30:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.009
X-Spam-Level:
X-Spam-Status: No, score=-8.009 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, 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 fnIDrFGA92yd for <quic-issues@ietfa.amsl.com>; Wed, 18 Jul 2018 10:30:56 -0700 (PDT)
Received: from out-7.smtp.github.com (out-7.smtp.github.com [192.30.252.198]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5DE4C127AC2 for <quic-issues@ietf.org>; Wed, 18 Jul 2018 10:30:56 -0700 (PDT)
Date: Wed, 18 Jul 2018 10:30:54 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1531935054; bh=yTkYa1WGcLzEkhoFquo8k41mG+QFgeB0uWLZolh2sZs=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=m3WLMNM17we0GLAf6fDBz6NVJCJjlYLnorZqAq8/T5emYqYgT9pSkvZf/F7bhQ4Y/ WCLAiU9wzLcBiNFW9Z1A1kd25bnWAcevX16TinHBdWh3pAQEN1M8sOzDu+w10LsEfM JCoNKAo98q+kVYmUp/yn0TtXJwYFdVozFGyL1b4I=
From: Lucas Pardue <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab68d19f29b56d3b982c0c0fb06fdefa9c511f792192cf0000000117673b4e92a169ce1467cce7@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/1580/406012069@github.com>
In-Reply-To: <quicwg/base-drafts/issues/1580@github.com>
References: <quicwg/base-drafts/issues/1580@github.com>
Subject: Re: [quicwg/base-drafts] hq: Does ignored data/frames cause flow control updates? (#1580)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5b4f794e7d0d0_d8f3fb541accf5c54841e"; 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
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/tQz7cwzblHU46MsDCjMLuoHHEgc>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.27
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: Wed, 18 Jul 2018 17:31:00 -0000

@mikkelfj I'm not sure what level of API you are talking. For HTTP/QUIC the spec in [3.3](https://quicwg.org/base-drafts/draft-ietf-quic-http.html#stream-mapping). currently says:

> A QUIC stream provides reliable in-order delivery of bytes, but makes no guarantees about order of delivery with regard to bytes on other streams. On the wire, data is framed into QUIC STREAM frames, but this framing is invisible to the HTTP framing layer. A QUIC receiver buffers and orders received STREAM frames, exposing the data contained within as a reliable byte stream to the application.

So I guess I'm asking for clarification or guidance on whether an application-level receiver is expected to influence transport flow control when ignoring certain kinds of STREAM data that are not HTTP/QUIC frames. e.g. a statement to the effect of "ignored bytes still count towards STREAM flow control credit and should be a handled in as defined elsewhere". 

Why is this important? The HTTP/QUIC spec has just added greasing in https://quicwg.org/base-drafts/draft-ietf-quic-http.html#rfc.section.3.3.1

> Stream types of the format 0x1f * N are reserved to exercise the requirement that unknown types be ignored. These streams have no semantic meaning, and can be sent when application-layer padding is desired. They MAY also be sent on connections where no request data is currently being transferred.

earlier in the text we have:

> Recipients of unknown stream types MAY trigger a QUIC STOP_SENDING frame with an error code of HTTP_UNKNOWN_STREAM_TYPE, but MUST NOT consider such streams to be an error of any kind.

In this case the MAY is never enacted.

-- 
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/1580#issuecomment-406012069