Re: [quicwg/base-drafts] Rewrite text about Version Negotiation (#1039)

Martin Thomson <notifications@github.com> Tue, 13 February 2018 22:58 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 B5EA8127078 for <quic-issues@ietfa.amsl.com>; Tue, 13 Feb 2018 14:58:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.028
X-Spam-Level:
X-Spam-Status: No, score=-2.028 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_32=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-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 m5E6Ts8sHq2j for <quic-issues@ietfa.amsl.com>; Tue, 13 Feb 2018 14:58:18 -0800 (PST)
Received: from o4.sgmail.github.com (o4.sgmail.github.com [192.254.112.99]) (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 B5EF612D94D for <quic-issues@ietf.org>; Tue, 13 Feb 2018 14:58:18 -0800 (PST)
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=JrWga0SZqXcmc3K7JZisVKFjeK0=; b=gbMFlj0RtVXlawUY K7Tey052A9uoaI7Oa1LSeVGIKjDMoDKutlg3qksodEHjJoaASqvIgGskLH4HBGMR ATIXVZHqxp6XHsRc9xswakHREVYUeVHCRI8Ib9xqePDk9Dr1jVYEJ0sLx0wqsksW 5Gxd8qahDO6Pza98Ic8yqXM2guI=
Received: by filter0223p1iad2.sendgrid.net with SMTP id filter0223p1iad2-21069-5A836D89-16 2018-02-13 22:58:17.677614539 +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 ismtpd0025p1iad2.sendgrid.net (SG) with ESMTP id LCofDzp4QDyBU_9teYo8aA for <quic-issues@ietf.org>; Tue, 13 Feb 2018 22:58:17.784 +0000 (UTC)
Date: Tue, 13 Feb 2018 22:58:17 +0000
From: Martin Thomson <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab20d94b63396d228be288e646049853b7ec0530a192cf00000001169b2f8892a169ce1115d834@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/1039/review/96333093@github.com>
In-Reply-To: <quicwg/base-drafts/pull/1039@github.com>
References: <quicwg/base-drafts/pull/1039@github.com>
Subject: Re: [quicwg/base-drafts] Rewrite text about Version Negotiation (#1039)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5a836d88d17ac_73ac3fc4848eaf3418212a"; 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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak0jsSdJvCYl4YtK7d7v5IlWN9DrJ8+wkodidi ja7bs1lqyPhqnttLNZ65nd8oLZwASt3Q1jReHuTDkVa99HECJNeRXBPuhH+sY9i22kl6ATebDW2nxz 0rZygyfC0cutxdYpykzjmjIv2x0ZlHBfR3JUa7t4pg6eH4De5r1KCswaj4ag7lMgQ6E+t85shW4qmP w=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/RDC9e0yXeIvrrEohLd-4t-5a3N0>
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: Tue, 13 Feb 2018 22:58:21 -0000

martinthomson commented on this pull request.



> -used - and they MUST be padded to at least 1200 octets.
-
-The server receives this packet and determines whether it potentially creates a
-new connection (see {{packet-handling}}).  If the packet might generate a new
-connection, the server then checks whether it understands the version that the
-client has selected.
-
-If the packet contains a version that is acceptable to the server, the server
-proceeds with the handshake ({{handshake}}).  This commits the server to the
-version that the client selected.
+with an existing connection, or - for servers - potentially create a new
+connection.
+
+First, hosts try to associate the packet with an existing connection. If the
+packet has a connection ID corresponding to an existing connection, QUIC
+processes that packet accordingly. Note that a NEW_CONNECTION_ID frame

I think that it would be OK for a retransmission of an Initial to be handled statelessly.  If that results in progressing to establishing a connection, then I think that it might pay to check if you don't already have one for the same client-chosen connection ID.  That is special logic, but probably necessary (unless the server copies the client connection ID).

-- 
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/1039#discussion_r168030202