Re: [quicwg/base-drafts] Rejection of 0-RTT: start over? (#761)
Martin Thomson <notifications@github.com> Mon, 25 September 2017 05:15 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 C55271323F7 for <quic-issues@ietfa.amsl.com>; Sun, 24 Sep 2017 22:15:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.02
X-Spam-Level:
X-Spam-Status: No, score=-2.02 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 wevGlrm5GXPu for <quic-issues@ietfa.amsl.com>; Sun, 24 Sep 2017 22:15:53 -0700 (PDT)
Received: from o1.sgmail.github.com (o1.sgmail.github.com [192.254.114.176]) (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 63EB9132396 for <quic-issues@ietf.org>; Sun, 24 Sep 2017 22:15:53 -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=APKiFcSg3U0VYXfMwX01GdmuQag=; b=pFBfOOgK5YBpdsuV 6R9ZdGngEMFdpP+98sm1uiPly4SjlXv3NxfJgVuUMQNDs/qNvg+hu+q/bynqPQ6z 6ZCFWkT+ej0BL8t18oYIx7M46BGmros/faODlgIItlDXitIe77JIqVbzjb67xZdC 4NX0kFc8bi7Yb2+xNOO99xOQLCQ=
Received: by filter1125p1mdw1.sendgrid.net with SMTP id filter1125p1mdw1-21824-59C89105-38 2017-09-25 05:15:49.915764497 +0000 UTC
Received: from github-smtp2b-ext-cp1-prd.iad.github.net (github-smtp2b-ext-cp1-prd.iad.github.net [192.30.253.17]) by ismtpd0001p1iad1.sendgrid.net (SG) with ESMTP id Ee96hK4tSrGxqqIjP1Q-kQ for <quic-issues@ietf.org>; Mon, 25 Sep 2017 05:15:49.970 +0000 (UTC)
Date: Mon, 25 Sep 2017 05:15:50 +0000
From: Martin Thomson <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abeec5c8b1ef03e1dfa30e72954e83a522c8c356d992cf0000000115e0530592a169ce0f39dd03@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/761/331779142@github.com>
In-Reply-To: <quicwg/base-drafts/issues/761@github.com>
References: <quicwg/base-drafts/issues/761@github.com>
Subject: Re: [quicwg/base-drafts] Rejection of 0-RTT: start over? (#761)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_59c89105d5c1a_e523fbdcf6a8f8414244"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: martinthomson
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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak0OLyZcQjTuHReRqjEIeZp/WFMm8e+lWPmnlr vVLY6nn9reUPvbm5re5I7AHA/VfsuUoAGrtjfuqk6otEiOt50F0is+nHyehhHKJqdKaUxXrlTSqFep q2CgSml2EWifQqfvIPeo7461ucyYhkLMrJl800kFDsl9NBCoUMg1+wnIHPujyPR/p6V5GHeaFmDalS E=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/zv91EitQAhbrMF6I4LMP48jGY5w>
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: Mon, 25 Sep 2017 05:15:55 -0000
@mikkelfj got it right. This is what we do for TLS 1.3 now. Simple example: we want to send "GET /favicon.ico", we have a 0-RTT capable ticket. We start TLS 1.3 and h2 and send the request. If we get a reject, we will mark the request as needing retry and try again. We throw away all h2 state at that point. The same connection can be used, but all the other intermediate stuff goes away. The request is matched to the "new" connection and it starts over, even reassessing the protocol. That is, if we get http/1.1 (which is possible), it works. That's a bit of a pain to implement correctly, but not too bad if you get the abstractions right. I think that the way we do it (@ddragana can confirm) is to add the connection back to the connection pool so that it gets picked up as though it were a new one. -- 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/761#issuecomment-331779142
- [quicwg/base-drafts] Rejection of 0-RTT: start ov… Martin Thomson
- Re: [quicwg/base-drafts] Rejection of 0-RTT: star… MikkelFJ
- Re: [quicwg/base-drafts] Rejection of 0-RTT: star… Ryan Hamilton
- Re: [quicwg/base-drafts] Rejection of 0-RTT: star… MikkelFJ
- Re: [quicwg/base-drafts] Rejection of 0-RTT: star… Martin Thomson
- Re: [quicwg/base-drafts] Rejection of 0-RTT: star… Martin Thomson
- Re: [quicwg/base-drafts] Rejection of 0-RTT: star… Martin Thomson