Re: Alt-Svc + Proxy Pac
Ryan Hamilton <rch@google.com> Fri, 03 April 2015 20:58 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 185181A0217 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 3 Apr 2015 13:58:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.389
X-Spam-Level:
X-Spam-Status: No, score=-6.389 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 X3sWJF5R__B4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 3 Apr 2015 13:58:09 -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 B1EEB1A19E3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 3 Apr 2015 13:58:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ye8cn-0003LO-4j for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Apr 2015 20:55:33 +0000
Resent-Date: Fri, 03 Apr 2015 20:55:33 +0000
Resent-Message-Id: <E1Ye8cn-0003LO-4j@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.80) (envelope-from <rch@google.com>) id 1Ye8cj-0003Kh-Hu for ietf-http-wg@listhub.w3.org; Fri, 03 Apr 2015 20:55:29 +0000
Received: from mail-yh0-f54.google.com ([209.85.213.54]) by maggie.w3.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from <rch@google.com>) id 1Ye8ci-0000xn-JP for ietf-http-wg@w3.org; Fri, 03 Apr 2015 20:55:29 +0000
Received: by yhpt93 with SMTP id t93so30610591yhp.0 for <ietf-http-wg@w3.org>; Fri, 03 Apr 2015 13:55:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=S++p/OqFgYAUswreC1aSFtJu3CEm0NNjAPytyZqMAXo=; b=BoLGS6v5pik8yrU95PtA/HwOj+BUx0PgpvjcIGDHs4bQWT2tb4cW/iCFphdCq7yQl8 7di3/Z5kmCCuIa9s3vRbZ2l013/4GNa4SFNamJJyNyrU0dBB9vILkntW52jkeowdEBFo 7zGbZKdChlm/8EUU69TJrkgjbrVlAGLTGWqttgEiM4SgE9sS7B+oyPpBSqkVOejkLO2N IEfleevLBcwZpPYiTPdlxbfZiVJX8anL7Pqo3Xs0B+IPsyukPkmGYQRRUHk2urNtb3zh b5ynD90r+fMFyLVYgQn7cff1Myt5XWBsDwgUXwNRpRsHX+k3P2p52pTtSSJBsOTzaa0o 1Jwg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=S++p/OqFgYAUswreC1aSFtJu3CEm0NNjAPytyZqMAXo=; b=MwsGlz7zGrpPlxiHh2ElpVYntk1IYSub8azUSGkf18Kh+BBQ1CHDxeC7bRGtHdCKVV ebYegdjpouUn2ip5Lf4jotJDrMzB11R3fn7y9MVTGlPCktimvGfi1k4orD4Lt3kZC6SQ InAAOvaA9PY1IEPE94qsoH9IhwkY3h19ZX9pyb1ILCAHutkHHSMR6C3bsRvAjse5CKjD zyU/eaxB78hE325PivZpV6nHD6hi4O1/f7AlWc1B2zEal4IYqTWNNXo8xEtr8TeX26b0 6dl7aYIzbkXMqIcxknL30H7ufaD6CikUQUbnY/tqxySSWUXENvkPrlqBzX+YXcX8YhQ/ SeuQ==
X-Gm-Message-State: ALoCoQlGj4olqx2PO6ouK3RsrZI3ayC0XeSwao0M5HEaVj4XuL0T3Ye+qkOh6UK5g+BvFtXHOgXM
MIME-Version: 1.0
X-Received: by 10.52.165.15 with SMTP id yu15mr2348591vdb.28.1428094502224; Fri, 03 Apr 2015 13:55:02 -0700 (PDT)
Received: by 10.52.169.202 with HTTP; Fri, 3 Apr 2015 13:55:02 -0700 (PDT)
In-Reply-To: <CAOdDvNqzmTodqh=KW2juZ6Ji6ex-tEtE04GLW+6iYy4Q2BVz=w@mail.gmail.com>
References: <CAJ_4DfS5J0k-G_fY46R=8jJDbppC8EfvAmLCaeccPFudOfFM0g@mail.gmail.com> <CABkgnnWXR7H1oZWLLT7ZhoOtPZjVVDnYaqTYACBkoVQ2scrKJA@mail.gmail.com> <CABkgnnXJBUxhnSoPYeZaTW1C+RfykoQoO-vw8_nGUc+y3cd3jw@mail.gmail.com> <CAOdDvNqzmTodqh=KW2juZ6Ji6ex-tEtE04GLW+6iYy4Q2BVz=w@mail.gmail.com>
Date: Fri, 03 Apr 2015 13:55:02 -0700
Message-ID: <CAJ_4DfSNYmt8MgFpQUjtiZdyYi31g2K6MvGG6S6fsKPj_9+Kpg@mail.gmail.com>
From: Ryan Hamilton <rch@google.com>
To: Patrick McManus <mcmanus@ducksong.com>
Cc: Martin Thomson <martin.thomson@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a11c2a8e28311d90512d82954"
Received-SPF: pass client-ip=209.85.213.54; envelope-from=rch@google.com; helo=mail-yh0-f54.google.com
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-1.629, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1Ye8ci-0000xn-JP ff32641488043cdab118a1b80da32c1b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Alt-Svc + Proxy Pac
Archived-At: <http://www.w3.org/mid/CAJ_4DfSNYmt8MgFpQUjtiZdyYi31g2K6MvGG6S6fsKPj_9+Kpg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/29243
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 11:03 AM, Patrick McManus <mcmanus@ducksong.com> wrote: > I agree with martin's suggested resolution. > > fwiw the original netscape documentation says that the host argument is > the host extracted from the url for convenience (what else could it say?). > I think making existing pacs do indeterminate things based on which > argument they are looking at is a mistake. > > separately - there has been some talk about standardizing modern pac - One > thing we could do in that space is make the list of alternatives available > to the PAC file though a separate variable, argument, or helper function. > The PAC is really about routing afterall. It could not only select a proxy > with that information, it could also implement alternate selection (through > some new return mechanism) and return DIRECT. > Something like that would be great. If there are several alternative available for a given request, a browser probably won't attempt to connect to all of them at once, instead it will likely pick one and connect to that. This makes me think that we'd want an method like: function FindProxyForUrl(url, alternative) Where |alternative| is the alternative service being used. For example: FindProxyForUrl("http://internal.example.com", {"h2", "external.example.com", 443}); FindProxyForUrl("https://external.example.com", {"QUIC", "external.example.com", 443}); Or some such... Cheers, Ryan
- 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