Clarifying the Data Read state

Hugo Landau <hlandau@openssl.org> Fri, 22 March 2024 08:24 UTC

Return-Path: <hlandau@openssl.org>
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 B94A6C14F5F7 for <quic@ietfa.amsl.com>; Fri, 22 Mar 2024 01:24:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.108
X-Spam-Level:
X-Spam-Status: No, score=-7.108 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_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=openssl.org
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QGKdexu88vWh for <quic@ietfa.amsl.com>; Fri, 22 Mar 2024 01:24:09 -0700 (PDT)
Received: from mta.openssl.org (mta.openssl.org [IPv6:2600:1900:4060:bf9:0:3::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A0AB9C14F6B7 for <quic@ietf.org>; Fri, 22 Mar 2024 01:24:09 -0700 (PDT)
Received: from [192.168.1.12] (cpc117822-heme13-2-0-cust624.9-1.cable.virginm.net [81.111.210.113]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mta.openssl.org (Postfix) with ESMTPSA id 6320DE1225 for <quic@ietf.org>; Fri, 22 Mar 2024 08:24:06 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openssl.org; s=dkim-2020-2; t=1711095846; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6KBdLRLlFq5QrX4MlJoToINrMUlfwMo+zMb0PCsVtIg=; b=phpEyGsm0qGYSChUP5dBS0dSuGHo4nKdqlFB0KHjE8wP1qnBOdxcXFsBD1e4KVjMSJ1zwu OhJqlguiew/LVDWn0MM4yyB++WJ813hMabKHeIEP1qvQzvatJ/1IclW5W41oeUnUBEv2Bn SNCNTk+6fnk1ZZfag5oKStD8GALKhffIqMwB+k5ruKbi3DPZ+8q1r9erb7wUltwGCcFz8U q5ngrVGFXAbmcj2B71SvMhFkvPj8XrrVtqDp9rhzjwM5NrDQUAkR5oAbEMd1qDc1zYl8rt YTDTsDe7ZZfFsv19FwLggDlkGVAWmHTO1GS6epU2mHDXnp+lVrzqR2gYoaiXdQ==
Authentication-Results: ORIGINATING; auth=pass smtp.auth=hlandau smtp.mailfrom=hlandau@openssl.org
Message-ID: <e0adf945-3777-4309-b3df-4504f2678db9@openssl.org>
Date: Fri, 22 Mar 2024 08:24:04 +0000
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: quic@ietf.org
From: Hugo Landau <hlandau@openssl.org>
Subject: Clarifying the Data Read state
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Rspamd-Action: no action
X-Rspamd-Server: mta
X-Rspamd-Queue-Id: 6320DE1225
X-Spamd-Bar: /
X-Spamd-Result: default: False [-0.09 / 15.00]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_COUNT_ZERO(0.00)[0]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5089, ipnet:81.110.0.0/15, country:GB]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_SIGNED(0.00)[openssl.org:s=dkim-2020-2]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM(0.00)[0.826]
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/SYTLsKKo7ixpNE8Jd3dSRss7fFc>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.39
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: Fri, 22 Mar 2024 08:24:13 -0000

The Data Read state is intended to reflect all of a stream's data having 
been passed to an application. It's unclear to me from reading RFC 9000 
whether the Data Read state is intended to be reached after the 
FIN/end-of-stream event has been passed to the application, or simply 
when all data has been read by the application (but not necessarily the 
end-of-stream event).

In other words, does the "App Read All Data" event in the diagram in RFC 
9000 s. 3.2 include or exclude the FIN in that definition?