[quicwg/base-drafts] Don't wait for FIN to process complete messages (#2003)

Mike Bishop <notifications@github.com> Wed, 14 November 2018 19:29 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 C0C85130DBE for <quic-issues@ietfa.amsl.com>; Wed, 14 Nov 2018 11:29:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.469
X-Spam-Level:
X-Spam-Status: No, score=-3.469 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.47, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_NONE=-0.0001, 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 X6OTchq0WBxB for <quic-issues@ietfa.amsl.com>; Wed, 14 Nov 2018 11:29:21 -0800 (PST)
Received: from o5.sgmail.github.com (o5.sgmail.github.com [192.254.113.10]) (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 30F9412777C for <quic-issues@ietf.org>; Wed, 14 Nov 2018 11:29:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=4gZMPQ4hKJFpanbaAqfg4+nx5Ko=; b=Qn8m84YHVs5RQEx3 Lx/RClATNO/a8oiFmF/XOuPH1MtvGFYgw3p5wFukSlkzNmFrIha5m4B6TPAAVFry MD5NrSxcyvv8sw9ffG0HnQFSKIv/nJSe+1oGeicXxUdwhh80Mmd9RGRZwjvvoeU3 KLZcoHzT6yXIuih1C90X8DkaqGo=
Received: by filter1288p1mdw1.sendgrid.net with SMTP id filter1288p1mdw1-4444-5BEC7790-1 2018-11-14 19:29:20.020666719 +0000 UTC m=+609894.089071148
Received: from github-lowworker-b40b5a4.cp1-iad.github.net (unknown [192.30.252.36]) by ismtpd0010p1iad1.sendgrid.net (SG) with ESMTP id VKPtnDLSTCKQCT73QzE2eQ for <quic-issues@ietf.org>; Wed, 14 Nov 2018 19:29:20.026 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1]) by github-lowworker-b40b5a4.cp1-iad.github.net (Postfix) with ESMTP id 041AA3E12E0 for <quic-issues@ietf.org>; Wed, 14 Nov 2018 11:29:20 -0800 (PST)
Date: Wed, 14 Nov 2018 19:29:20 +0000
From: Mike Bishop <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab09895e12548908affaf1eb71c8517e39b89b4eee92cf000000011804399092a169ce16b355af@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/2003@github.com>
Subject: [quicwg/base-drafts] Don't wait for FIN to process complete messages (#2003)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5bec77902a93_58273f86868d45b8664895"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: MikeBishop
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak0W8xywL0ajDaXuJp9cob8NBWZBg2q/pyyghQ doHXZHwYY1LflZLacH3HR/mRsc0ZS+SaEy1TVYtN43XZ0KNAK1Zg5QBXZl5g+sclV7MvLRxsG5HHws Y2YAW8jQyiUaxT8oRT6QPd3qXAWZuMc4S1oCwUzVDCP0aZq1U0XoYwdeD9TI3Hu1VpwSyLIqwYkZTK 4=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/xe2Ze0K_c7V1Ag6tjV-vaocxhTg>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
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, 14 Nov 2018 19:29:23 -0000

Fixes #1972.

While the discussion on the issue wasn't conclusive in either direction, I think the presence of CONNECT and early response means servers will need to be processing HTTP messages as they arrive, rather than waiting for the FIN as an end-of-message signal.  Also, if the message is large, the alternative risks deadlock on a large POST.

This PR expands on the "stream state change isn't part of the message framing" language to clarify that both peers MUST be able to process complete HTTP messages regardless of whether the stream has been closed or not.
You can view, comment on, or merge this pull request online at:

  https://github.com/quicwg/base-drafts/pull/2003

-- Commit Summary --

  * FIN is irrelevant

-- File Changes --

    M draft-ietf-quic-http.md (28)

-- Patch Links --

https://github.com/quicwg/base-drafts/pull/2003.patch
https://github.com/quicwg/base-drafts/pull/2003.diff

-- 
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/pull/2003