Re: [quicwg/base-drafts] Acknowledging *_CLOSE (#733)
MikkelFJ <notifications@github.com> Wed, 16 August 2017 08:06 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 6308B132641 for <quic-issues@ietfa.amsl.com>; Wed, 16 Aug 2017 01:06:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, SPF_PASS=-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 RKxvMceN5F8G for <quic-issues@ietfa.amsl.com>; Wed, 16 Aug 2017 01:05:59 -0700 (PDT)
Received: from o3.sgmail.github.com (o3.sgmail.github.com [192.254.112.98]) (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 63FEB13263F for <quic-issues@ietf.org>; Wed, 16 Aug 2017 01:05:59 -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=xaggdBBr9vREMxbwmgxCBPThO38=; b=kACSV4fA6ul8rCSx HQhdTcfCjEi3R7AfFgUDqaTKCjVPEml946nOOYJ5mANBvobDbeS2W/0ZHAfidQzS 8VH3GGCR5xcipk3hRXT0GIGh1N4UEqbxedkdMueRBYMCHvuRGG66tGW4hx1KzegE cwaBeE/v0zQnHnN116cJrGuT7C0=
Received: by filter0831p1mdw1.sendgrid.net with SMTP id filter0831p1mdw1-10769-5993FCE5-40 2017-08-16 08:05:57.846203989 +0000 UTC
Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2a-ext-cp1-prd.iad.github.net [192.30.253.16]) by ismtpd0001p1iad1.sendgrid.net (SG) with ESMTP id X9vnL3p1TPWOT7Fru2hHtA for <quic-issues@ietf.org>; Wed, 16 Aug 2017 08:05:57.815 +0000 (UTC)
Date: Wed, 16 Aug 2017 08:05:57 +0000
From: MikkelFJ <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abf869ad7661c49884225bf68ac23b4fb63fb8279992cf0000000115abbee592a169ce0eed37cd@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/733/322697055@github.com>
In-Reply-To: <quicwg/base-drafts/issues/733@github.com>
References: <quicwg/base-drafts/issues/733@github.com>
Subject: Re: [quicwg/base-drafts] Acknowledging *_CLOSE (#733)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5993fce5b4cf4_71933f9207f9fc309817c"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: mikkelfj
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak2yYt2wim6KiZ3CQlXq1PEqG3LekUppWX03nt mhQJl4RqxHUkWNY2fhBZx/LRFDyERpkXnjdGQj3Z7x7tfg+9DdeXInn95/DGUtZD3Dc4bAujFwPQUx PnopfofalInffcPAc9WC0vUxsFo+fgnjXy6P1W7DIuq2+3TsEofVEVd4F/RJxvmB8Nkk0OEmDIIlxj 8=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/FiHTQDJ7U925VN-bVE4UAYl9ak4>
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: Wed, 16 Aug 2017 08:06:01 -0000
This is a two-phase commit problem. I am also concerned with state lingering until timeout. Explicit confirmation is complex though. Like: 1. (A) generates close token (CT) and sends PREPARE_CLOSE(CT) periodically. 2. (B) receives (CT) and responds with CORFIRM_CLOSE(CT) periodically. 3. (A) receives CONFIRM_CLOSE(CT) and stops sending PREPARE_CLOSE(CT) sends CLOSE(CT) a few times then destroys context including CT. If CONFIRM close is not received within timeout, the context is destroyed. 4. (B) receives CLOSE(CT) or times out and destroys context. There ought to be general application timeout as well so a lost PREPARE_CLOSE will also close the connection, but this timeout would be long. I'm not really sure a CT token is needed but it might make it possible to drop most app context early. The timeout can be short like 4RTT or so, because there is an expected response. There is no ACK involved in this and the timeouts are different because ACK can be delayed by an endpoint but CONFIRM_CLOSE and CLOSE must be ASAP. In a proper two-phase commit context the state should be serialized to disk in order to handle crashes, but we do this with timeout instead. -- 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/733#issuecomment-322697055
- [quicwg/base-drafts] Acknowledging *_CLOSE (#733) Mike Bishop
- Re: [quicwg/base-drafts] Acknowledging *_CLOSE (#… Marten Seemann
- Re: [quicwg/base-drafts] Acknowledging *_CLOSE (#… Nick Banks
- Re: [quicwg/base-drafts] Acknowledging *_CLOSE (#… MikkelFJ
- Re: [quicwg/base-drafts] Acknowledging *_CLOSE (#… Christian Huitema
- Re: [quicwg/base-drafts] Acknowledging *_CLOSE (#… MikkelFJ
- Re: [quicwg/base-drafts] Acknowledging *_CLOSE (#… Martin Thomson