preconnect link relation and ALTSVC frame

Lucas Pardue <Lucas.Pardue@bbc.co.uk> Wed, 08 November 2017 15:43 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 497D0127775 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 8 Nov 2017 07:43:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.899
X-Spam-Level:
X-Spam-Status: No, score=-6.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 BJRnLsh5NNYH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 8 Nov 2017 07:43:10 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7739D1274A5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 8 Nov 2017 07:43:10 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1eCSLF-0001DA-EM for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Nov 2017 15:32:37 +0000
Resent-Date: Wed, 08 Nov 2017 15:32:37 +0000
Resent-Message-Id: <E1eCSLF-0001DA-EM@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <Lucas.Pardue@bbc.co.uk>) id 1eCSL8-0001CP-3Y for ietf-http-wg@listhub.w3.org; Wed, 08 Nov 2017 15:32:30 +0000
Received: from mailout1.cwwtf.bbc.co.uk ([132.185.160.180]) by mimas.w3.org with esmtps (TLS1.2:DHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <Lucas.Pardue@bbc.co.uk>) id 1eCSL5-0007Ph-Sn for ietf-http-wg@w3.org; Wed, 08 Nov 2017 15:32:29 +0000
Received: from BGB01XI1005.national.core.bbc.co.uk ([10.184.50.55]) by mailout1.cwwtf.bbc.co.uk (8.15.2/8.15.2) with ESMTP id vA8FW6N5004567 for <ietf-http-wg@w3.org>; Wed, 8 Nov 2017 15:32:06 GMT
Received: from BGB01XUD1012.national.core.bbc.co.uk ([10.161.14.10]) by BGB01XI1005.national.core.bbc.co.uk ([10.184.50.55]) with mapi id 14.03.0361.001; Wed, 8 Nov 2017 15:32:05 +0000
From: Lucas Pardue <Lucas.Pardue@bbc.co.uk>
To: HTTP Working Group <ietf-http-wg@w3.org>
Thread-Topic: preconnect link relation and ALTSVC frame
Thread-Index: AdNYoY3ETN+R8vQdTrij4pm2N0Te3g==
Date: Wed, 08 Nov 2017 15:32:04 +0000
Message-ID: <7CF7F94CB496BF4FAB1676F375F9666A3BA86FFB@bgb01xud1012>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [172.19.161.211]
x-exclaimer-md-config: 1cd3ac1c-62e5-43f2-8404-6b688271c769
x-tm-as-product-ver: SMEX-11.0.0.4255-8.100.1062-23452.000
x-tm-as-result: No--14.172300-0.000000-31
x-tm-as-user-approved-sender: Yes
x-tm-as-user-blocked-sender: No
Content-Type: multipart/alternative; boundary="_000_7CF7F94CB496BF4FAB1676F375F9666A3BA86FFBbgb01xud1012_"
MIME-Version: 1.0
Received-SPF: pass client-ip=132.185.160.180; envelope-from=Lucas.Pardue@bbc.co.uk; helo=mailout1.cwwtf.bbc.co.uk
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=0.315, BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, W3C_NW=0.5
X-W3C-Scan-Sig: mimas.w3.org 1eCSL5-0007Ph-Sn f5e726ade00b8db31697150b1e142af4
X-Original-To: ietf-http-wg@w3.org
Subject: preconnect link relation and ALTSVC frame
Archived-At: <http://www.w3.org/mid/7CF7F94CB496BF4FAB1676F375F9666A3BA86FFB@bgb01xud1012>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/34727
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: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Hello,

Reading around the Web Linking [1] topic a bit, I came up with the following scenario involving preconnect [2]. My general question is, could a client act on Alt-Svc information during its preconnect action (and if so, do any implementations do this). I wondered if anyone had been on this thought journey and had an opinion.


  1.  Client makes a request for https://example.org/foo
  2.  Server responds with foo resource and Link header:
     *   Link: <https://bar.example.org>; rel=preconnect
  3.  Client attempts to initiate a preconnect and performs full connection handshake.
     *   During TLS handshake, ALPN selects H2
  4.  Connection is established and server sends an ALTSVC frame containing an Alt-Svc-Field-Value of:
     *   hq=":50781”, h2=”baz.example.org”
  5.  Client attempts to establish connection to one of the alternatives?

Regards
Lucas

[1] https://tools.ietf.org/html/rfc8288
[2] https://www.w3.org/TR/resource-hints/#preconnect




----------------------------

http://www.bbc.co.uk
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.

---------------------