Re: Alt-Svc + Proxy Pac
Francesco Chemolli <kinkie@squid-cache.org> Fri, 03 April 2015 17:17 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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 552CE1ACDE0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 3 Apr 2015 10:17:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.29
X-Spam-Level:
X-Spam-Status: No, score=-6.29 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 wUvEBSI2hfbt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 3 Apr 2015 10:17:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C1E441ACDF5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 3 Apr 2015 10:17:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ye5Af-0003ob-LP for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Apr 2015 17:14:17 +0000
Resent-Date: Fri, 03 Apr 2015 17:14:17 +0000
Resent-Message-Id: <E1Ye5Af-0003ob-LP@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.80) (envelope-from <gkinkie@gmail.com>) id 1Ye5Aa-0003nu-WE for ietf-http-wg@listhub.w3.org; Fri, 03 Apr 2015 17:14:13 +0000
Received: from mail-wg0-f54.google.com ([74.125.82.54]) by maggie.w3.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from <gkinkie@gmail.com>) id 1Ye5AZ-0003AV-7G for ietf-http-wg@w3.org; Fri, 03 Apr 2015 17:14:12 +0000
Received: by wgbdm7 with SMTP id dm7so115759093wgb.1 for <ietf-http-wg@w3.org>; Fri, 03 Apr 2015 10:13:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=H3mgFExJKWnoEw+loTA/HS/+W5vIYfIo+YGlR64y0RE=; b=Zd7hbHGJV42ecopCxf8TUqpTqB+YAHFKZccYNGYeeL6SXWNoOvLavOzz35wL0sLYJB FJiBFx19/dYdPyv1HVk47HF5WW9UCfAZYaJxUkx+CAP4XiY6KRE03Tg+/7JPuWGBy1RU lv9iHC0p/Cvog3osyk2zAaL0S/f5eo1hbI7vzSx+mW+Oy7/MsFxQFYN11y24CCnWLRVl oW4Jg0jQLsx38OFDl2BxpC4oHoNiWkVg9+qN59UM6cbkkrSr7z6qxb1UN2da71cMlyDz PScWHwCglIIE7b6mqyDz5cbITjDwh+kLXBgIHUbs9SZy0cRCDAhWPypt2RQjjT3hkM0Y vO5w==
X-Received: by 10.180.74.144 with SMTP id t16mr7197849wiv.33.1428081224543; Fri, 03 Apr 2015 10:13:44 -0700 (PDT)
MIME-Version: 1.0
Sender: gkinkie@gmail.com
Received: by 10.194.77.211 with HTTP; Fri, 3 Apr 2015 10:13:24 -0700 (PDT)
In-Reply-To: <CAJ_4DfS5J0k-G_fY46R=8jJDbppC8EfvAmLCaeccPFudOfFM0g@mail.gmail.com>
References: <CAJ_4DfS5J0k-G_fY46R=8jJDbppC8EfvAmLCaeccPFudOfFM0g@mail.gmail.com>
From: Francesco Chemolli <kinkie@squid-cache.org>
Date: Fri, 03 Apr 2015 19:13:24 +0200
X-Google-Sender-Auth: a8mtt43vhaQERuSicznb3bIUblw
Message-ID: <CA+Y8hcNH046mc78409EwOm2XKwjBB4hOJLx44OuaOYuNhfegYg@mail.gmail.com>
To: Ryan Hamilton <rch@google.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="ISO-8859-1"
Received-SPF: pass client-ip=74.125.82.54; envelope-from=gkinkie@gmail.com; helo=mail-wg0-f54.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1Ye5AZ-0003AV-7G 424a00020bac21d44643802fe20e750e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Alt-Svc + Proxy Pac
Archived-At: <http://www.w3.org/mid/CA+Y8hcNH046mc78409EwOm2XKwjBB4hOJLx44OuaOYuNhfegYg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/29235
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>
On Fri, Apr 3, 2015 at 4:35 PM, Ryan Hamilton <rch@google.com> wrote: > Howdy Folks, > > I'm curious how Alt-Svc is expect to work with Proxy PAC files. Consider the > scenario where http://www.example.com/ has an Alt-Svc that specified http/2 > on mail.example.com:443. When the browser decides to make an http/2 (over > TLS) connection to mail.example.com, on behalf of http://www.example.com, > what URL and host should the browser pass to the PAC file's > FindProxyForURL() method? > > I can argue both cases. > > * It should pass in the requested url (http://www.example.com/) because that > is the URL being requested. There is no other URL. > * It should pass in a pseudo url (https://mail.exmaple.com/) because, for > example, access to mail.example.com may well requires use of a proxy to > access. By passing in the request URL, the PAC file does not have the > opportunity to send the connection to the correct proxy. > > Thoughts? Hi Ryan, good point. I favor the second option, as in current corporate environments (the main users of pacfiles, I expect) different destinations may require very different forwarding paths, so it's best to have the earliest possible decision point. I also suggest considering a third, longer-term option: seeking an agreement among impementors about modernizing (and possibly standardizing) the pac-file API. -- Francesco Chemolli Squid Developer
- Alt-Svc + Proxy Pac Ryan Hamilton
- Re: Alt-Svc + Proxy Pac Martin Thomson
- Re: Alt-Svc + Proxy Pac Martin Thomson
- Re: Alt-Svc + Proxy Pac Francesco Chemolli
- Re: Alt-Svc + Proxy Pac Patrick McManus
- Re: Alt-Svc + Proxy Pac Ryan Hamilton
- Re: Alt-Svc + Proxy Pac Ryan Hamilton
- Re: Alt-Svc + Proxy Pac Ryan Hamilton
- Re: Alt-Svc + Proxy Pac Patrick McManus
- Re: Alt-Svc + Proxy Pac Ryan Hamilton
- Re: Alt-Svc + Proxy Pac Martin Thomson