Return-Path: <noreply@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 7B1EA126BFD
 for <quic-issues@ietfa.amsl.com>; Fri,  4 May 2018 05:47:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.606
X-Spam-Level: 
X-Spam-Status: No, score=-6.606 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_28=1.404, HTML_MESSAGE=0.001,
 MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001,
 T_DKIMWL_WL_HIGH=-0.01] 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 7aOn9IFM763Q for <quic-issues@ietfa.amsl.com>;
 Fri,  4 May 2018 05:47:03 -0700 (PDT)
Received: from out-5.smtp.github.com (out-5.smtp.github.com [192.30.252.196])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by ietfa.amsl.com (Postfix) with ESMTPS id C6A34120047
 for <quic-issues@ietf.org>; Fri,  4 May 2018 05:47:03 -0700 (PDT)
Date: Fri, 04 May 2018 05:47:02 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
 s=pf2014; t=1525438022;
 bh=IMNKh5Zp2SWG+1n/xv/O2NyAVQQ9oosMaeoCah3wjHM=;
 h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
 List-Archive:List-Post:List-Unsubscribe:From;
 b=BF/WHDlwzyEASAmRJdoT4bEy+G9ttLtDAwDj44M1OOcbZeOS2s34+tU1NSUx9VUEZ
 B7M5F2erdKzlfWbhO4o1WI3mElOwH8lfFS3p+d3P7hmcWFsSRVXUFvJ3VJ12fBOi9d
 DAc1+Jr06uzoNYekOGxx1oBzfMLEAgPH3Tpwjzrc=
From: ianswett <notifications@github.com>
Reply-To: quicwg/base-drafts
 <reply+0166e4abe6c5c0ae363d359420283eb618272a5c68c61ac492cf000000011704184692a169ce131475f5@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/1336/386590536@github.com>
In-Reply-To: <quicwg/base-drafts/issues/1336@github.com>
References: <quicwg/base-drafts/issues/1336@github.com>
Subject: Re: [quicwg/base-drafts] Consistent presenting Connection ID in
 packet or frame (#1336)
Mime-Version: 1.0
Content-Type: multipart/alternative;
 boundary="--==_mimepart_5aec5646b166c_1f233fe0e27c8f78767c6";
 charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: ianswett
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/vNrjphdWtSQhLJdKkUz-CB14kjI>
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: Fri, 04 May 2018 12:47:05 -0000


----==_mimepart_5aec5646b166c_1f233fe0e27c8f78767c6
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

If a client uses an ephemeral port to connect to a peer, the client would have to choose to re-use that port to create a new QUIC connection.  I don't see why it wouldn't know whether that was possible when it created the connection?

I expect most client code will not use the same port for multiple QUIC connections, but if they support that(ie: maybe server to server connections?), then they should't use 0-len CIDs.

Do you have a use case in mind where typically you don't need a CID and then suddenly you do?

-- 
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/1336#issuecomment-386590536
----==_mimepart_5aec5646b166c_1f233fe0e27c8f78767c6
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p>If a client uses an ephemeral port to connect to a peer, the client wo=
uld have to choose to re-use that port to create a new QUIC connection.  =
I don't see why it wouldn't know whether that was possible when it create=
d the connection?</p>
<p>I expect most client code will not use the same port for multiple QUIC=
 connections, but if they support that(ie: maybe server to server connect=
ions?), then they should't use 0-len CIDs.</p>
<p>Do you have a use case in mind where typically you don't need a CID an=
d then suddenly you do?</p>

<p style=3D"font-size:small;-webkit-text-size-adjust:none;color:#666;">&m=
dash;<br />You are receiving this because you are subscribed to this thre=
ad.<br />Reply to this email directly, <a href=3D"https://github.com/quic=
wg/base-drafts/issues/1336#issuecomment-386590536">view it on GitHub</a>,=
 or <a href=3D"https://github.com/notifications/unsubscribe-auth/AWbkq5_T=
MPv1ZXT0dDA0xMZmn9aybBknks5tvE3GgaJpZM4Tx5-h">mute the thread</a>.<img sr=
c=3D"https://github.com/notifications/beacon/AWbkq6JO9AzFPaZwga0IghCVNtel=
i0TIks5tvE3GgaJpZM4Tx5-h.gif" height=3D"1" width=3D"1" alt=3D"" /></p>
<div itemscope itemtype=3D"http://schema.org/EmailMessage">
<div itemprop=3D"action" itemscope itemtype=3D"http://schema.org/ViewActi=
on">
  <link itemprop=3D"url" href=3D"https://github.com/quicwg/base-drafts/is=
sues/1336#issuecomment-386590536"></link>
  <meta itemprop=3D"name" content=3D"View Issue"></meta>
</div>
<meta itemprop=3D"description" content=3D"View this Issue on GitHub"></me=
ta>
</div>

<script type=3D"application/json" data-scope=3D"inboxmarkup">{"api_versio=
n":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name"=
:"GitHub"},"entity":{"external_key":"github/quicwg/base-drafts","title":"=
quicwg/base-drafts","subtitle":"GitHub repository","main_image_url":"http=
s://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6=
-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubuserconte=
nt.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","=
action":{"name":"Open in GitHub","url":"https://github.com/quicwg/base-dr=
afts"}},"updates":{"snippets":[{"icon":"PERSON","message":"@ianswett in #=
1336: If a client uses an ephemeral port to connect to a peer, the client=
 would have to choose to re-use that port to create a new QUIC connection=
.  I don't see why it wouldn't know whether that was possible when it cre=
ated the connection?\r\n\r\nI expect most client code will not use the sa=
me port for multiple QUIC connections, but if they support that(ie: maybe=
 server to server connections?), then they should't use 0-len CIDs.\r\n\r=
\nDo you have a use case in mind where typically you don't need a CID and=
 then suddenly you do?"}],"action":{"name":"View Issue","url":"https://gi=
thub.com/quicwg/base-drafts/issues/1336#issuecomment-386590536"}}}</scrip=
t>=

----==_mimepart_5aec5646b166c_1f233fe0e27c8f78767c6--

