Re: WGLC for draft-ietf-httpbis-connect-tcp

David Schinazi <dschinazi.ietf@gmail.com> Thu, 15 February 2024 19:37 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=ietf.org@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E1811C15108A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 15 Feb 2024 11:37:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.856
X-Spam-Level:
X-Spam-Status: No, score=-7.856 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=w3.org header.b="fRJzr+mN"; dkim=pass (2048-bit key) header.d=w3.org header.b="Gxqu+L8j"; dkim=pass (2048-bit key) header.d=gmail.com header.b="VrLqTVu7"
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BKOznkgEtovJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 15 Feb 2024 11:37:39 -0800 (PST)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C479C1CAF31 for <httpbisa-archive-bis2Juki@ietf.org>; Thu, 15 Feb 2024 11:37:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Subject:Content-Type:Cc:To:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To; bh=HIGE5umnoonUeAdCHO5Ay4KknhjV8rdz740+l3c2+tw=; b=fRJzr+mNTEkcGDwrKjbrDA48PP 2UK3GX/czGjZJ48wPEfTRVQFzlC42mJQtTpJ2i71koyGKkp4bEZKTAa5fIR2XsCXDYtWIturiMx1R ci/zfx7VFrG+OFpP0XW/ZW+M5MfjpFRJjuyusZ03vShsBd8xImwBK+aAT0MeDJ3lbV2X+FuW+s9YH fMQS/wIocWp/cK7g4SGTN/HqylcDG4rdwpeCHca5LrrWcQaIABnfBj/9wY2d+0s6dXViVfcXstF+R 8fR+ce1suwnR4zxXDJrTZJjMpMuFj8120NCqEgWQ8t9yar3cPD51+L32uZAl0g3JTo/Ed4fEeuAuN Ui/HUgOA==;
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1rahUz-008I2H-PA for ietf-http-wg-dist@listhub.w3.org; Thu, 15 Feb 2024 19:34:21 +0000
Resent-Date: Thu, 15 Feb 2024 19:34:21 +0000
Resent-Message-Id: <E1rahUz-008I2H-PA@lyra.w3.org>
Received: from puck.w3.org ([34.196.82.207]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <dschinazi.ietf@gmail.com>) id 1rahUx-008I10-Iy for ietf-http-wg@listhub.w3.org; Thu, 15 Feb 2024 19:34:19 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To; bh=HIGE5umnoonUeAdCHO5Ay4KknhjV8rdz740+l3c2+tw=; t=1708025659; x=1708889659; b=Gxqu+L8jfynNAuodo/zKRtDsB84uWxZWl0CVpO+qfrELWRquabOxeOXeM7uXF6F2t+SDG2BSrSe ALF0OY+tY8unxyaxHblS9CCpNshxkJJx7IwgHH9+n5UvOEjxyi/HX5swURXYVkSimHaaJa7YQYtcW 5F5ZaJM0lTIl6htJglmXMF6TzfRpjakG16J9oX+r4wUBSyRc4VZt/kupB1qOVXXjhgULndErbu8Og vxP3YIVonTqHzJlrgpe5YPyzHAV2yyLWdCcxY+bJZxPEZsgakrriNRbZR/oqtyU0wFv9ywz3p135P jjAztLrSM7Ehvb2QnRmLdDTtQY9gk2YfUcuw==;
Received-SPF: pass (puck.w3.org: domain of gmail.com designates 2a00:1450:4864:20::629 as permitted sender) client-ip=2a00:1450:4864:20::629; envelope-from=dschinazi.ietf@gmail.com; helo=mail-ej1-x629.google.com;
Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by puck.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from <dschinazi.ietf@gmail.com>) id 1rahUw-000Bve-2C for ietf-http-wg@w3.org; Thu, 15 Feb 2024 19:34:19 +0000
Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a2f22bfb4e6so163427466b.0 for <ietf-http-wg@w3.org>; Thu, 15 Feb 2024 11:34:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708025655; x=1708630455; darn=w3.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=HIGE5umnoonUeAdCHO5Ay4KknhjV8rdz740+l3c2+tw=; b=VrLqTVu70xKhELvuGAIhgu2OCP7LYna40VoFAWhjn8AZIE5R6Beo4DuZPVnwfKdqvM OVuCyD/+S9mL+H81btPPom7FNkfZHX38hWk03SvGWGWWJsnLEM2iLoPzEBwuHXZztCpy UxCNYfBrLaVW6E8ggvq0e5IHWznPev/USQtsXxsymASpXobx5UhWAGWnYJ5rm3CBRdcp OT3Moh09bHVIhPXH9WFoGVcFt7BJkmcyKI2Wj0zjdH9IN6K31hxEc+oIArIVtgooeCTo wmfOrO3PAx0n1h9AecPbDoqfLyouEcw1ScNUFr5G2uuy4jLBkiNInyAuB0NW/I3lYdW+ xR9Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708025655; x=1708630455; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HIGE5umnoonUeAdCHO5Ay4KknhjV8rdz740+l3c2+tw=; b=ko5rOMjbCnQVZFFatiNJGLJIAsM6/DpzBKEAufVVoJlF1tCz2+CnsdpobV8gyz8Xgu f5HT/oXbjkwQ3IL3RwXv+cJxPMelp248mHMU2fRqAPdBzpdhTCc51Qc3IkocT9NfjlIw 1t2M/17hTwJk9JHmm+LsDcv8qmy5ztRfdH3o204Bue2f0nCmiSO1KNUNsUN4/M+YOGi2 W20WgeCDOY/bhT2mcIOO21z/V43V1b5zx5hvGF0x+/zl+F3L6+Oe4/02Jc8X3nkolFS5 YRb+K+pImRzqIzMDvjLM+hlRNEYkTPDk3wufBI5hEuejVQtd7z+b1lEWzOH4yvavUbPj LDDg==
X-Forwarded-Encrypted: i=1; AJvYcCVxzUWnE5MZoV56q4E5PNS/dnQgv0wQexXTC83H6PEAXyv9+l/HweFymC37uUI/xgxoEBi7YLSa92eu+yfrz6aK6oY6
X-Gm-Message-State: AOJu0Ywz8dpdQZmym3xyImBA0Jf6IvOsxa806+URvEEUCREf8xStR1KK BkA48IGnHikMkn1L3iupU6xCfxHsao3jTaCyzXVH7EIduGkNC2CUUoKnN5Vwu+970EFm/VMmfbB 0pj7p+NzZCqObdel+LNobL0rftpQ=
X-Google-Smtp-Source: AGHT+IGrU2cdVYYUNl2przdaEPtcWY3CIvCYED+8U3NCgJGFVy6aTPD11UM/sA9ByM3EXayEdRN/LaoDduHzSdCa6PM=
X-Received: by 2002:a17:906:b885:b0:a3d:49e9:89a2 with SMTP id hb5-20020a170906b88500b00a3d49e989a2mr1944851ejb.41.1708025654521; Thu, 15 Feb 2024 11:34:14 -0800 (PST)
MIME-Version: 1.0
References: <7228A073-F867-4007-BB44-0AA547455539@apple.com> <CAPDSy+5ETu3BeA-0defYYKhLhMZ9f6UE=boxAp7aFwh-RTi9xw@mail.gmail.com> <SA1PR15MB437034E91B1959A206D82482B3792@SA1PR15MB4370.namprd15.prod.outlook.com> <0489428B-16E4-42AF-8224-9054122DD41A@apple.com> <662ECDC0-3B90-443F-BD0F-AF340FD7FEED@meta.com>
In-Reply-To: <662ECDC0-3B90-443F-BD0F-AF340FD7FEED@meta.com>
From: David Schinazi <dschinazi.ietf@gmail.com>
Date: Thu, 15 Feb 2024 11:34:02 -0800
Message-ID: <CAPDSy+7TEseyJv5TO0BLrdRBpGvjGLOeEqSbZW4JN8xir5c1tg@mail.gmail.com>
To: Ben Schwartz <bemasc@meta.com>
Cc: Tommy Pauly <tpauly@apple.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="00000000000067b418061170b6bc"
X-W3C-Hub-DKIM-Status: validation passed: (address=dschinazi.ietf@gmail.com domain=gmail.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-14.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, DMARC_PASS=-0.001, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: puck.w3.org 1rahUw-000Bve-2C 6021fc645620008ff34e07b3958e391c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC for draft-ietf-httpbis-connect-tcp
Archived-At: <https://www.w3.org/mid/CAPDSy+7TEseyJv5TO0BLrdRBpGvjGLOeEqSbZW4JN8xir5c1tg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51777
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/email/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Hi Ben, thanks for the PR - it looks good to me.

Regarding your point about client implementers, can you share more about
them? Who's implemented this so far? Who's depending on the address list
feature?

Thanks,
David

On Wed, Feb 14, 2024 at 1:59 PM Ben Schwartz <bemasc@meta.com> wrote:

>
> On Feb 13, 2024, at 10:48 PM, Tommy Pauly <tpauly@apple.com> wrote:
>
> On Jan 26, 2024, at 11:19 AM, Ben Schwartz <bemasc@meta.com> wrote:
>
> ...
>
>
>    1. "target_port" or "tcp_port":
>    https://github.com/httpwg/http-extensions/pull/2720
>
>
> …
>
> As I’ve mentioned just now on the issue, the direction for configuration
> might be to be more explicit on the supported protocol, so that we don’t
> try to infer the protocol from the template. Based on that, I’d lean right
> now towards just having a target_port, instead of tcp_port.
>
>
> OK it sounds like the consensus favors this change, so I’ve opened
> https://github.com/httpwg/http-extensions/pull/2736.
>
>
>
>    1. Support for "target_host=192.0.2.1&target_host=2001:db8::1":
>    https://github.com/httpwg/http-extensions/pull/2719
>
>    To improve Happy Eyeballs and related behaviors, "connect-tcp" allows
>    the client to provide a list of IP addresses.  URI Templates have a
>    built-in notion of lists.  In URI Template Level 3 and below, list elements
>    are always joined by commas ("192.0.2.1,2001:db8::1").  However, in Level
>    4, templates can use the "explode modifier" to generate repeated key=value
>    assignments (as above), which are more idiomatic in some web frameworks.
>    Should we require clients to support Level 4 templates, or restrict proxies
>    to publishing Level 3 templates?
>
>
> In what I’ve seen, it’s usually best to have happy eyeballs be done by the
> proxy based on the DNS resolution the proxy itself has performed, not
> necessarily the addresses provided by the client. Before we make this too
> complex, I'd like to hear about who would exercise this capability.
>
>
> I agree that this is best practice.  (It’s even documented at
> https://datatracker.ietf.org/doc/html/rfc9460#section-3.2-2.)  However,
> I’ve heard a number of arguments from client implementors who felt that the
> client should be able to use its own DNS resolver, independent of the
> proxy, in which case this functionality seems valuable for Happy Eyeballs
> to work as intended.
>
> In the above pull request, I’ve simplified the syntax for this (reducing
> the URI Template requirement to Level 3) to minimize the burden on clients
> that don’t use the feature.
>
> —Ben
>