Re: Alt-Svc + Proxy Pac

Ryan Hamilton <rch@google.com> Fri, 03 April 2015 21:01 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 B5D9B1A1BAE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 3 Apr 2015 14:01:17 -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 Ku63FhHykcyd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 3 Apr 2015 14:01:16 -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 DD5F91A1B65 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 3 Apr 2015 14:01:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ye8fB-0003QJ-FR for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Apr 2015 20:58:01 +0000
Resent-Date: Fri, 03 Apr 2015 20:58:01 +0000
Resent-Message-Id: <E1Ye8fB-0003QJ-FR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.80) (envelope-from <rch@google.com>) id 1Ye8f8-0003P0-Qz for ietf-http-wg@listhub.w3.org; Fri, 03 Apr 2015 20:57:58 +0000
Received: from mail-yk0-f171.google.com ([209.85.160.171]) by lisa.w3.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from <rch@google.com>) id 1Ye8f1-0004Rq-Mu for ietf-http-wg@w3.org; Fri, 03 Apr 2015 20:57:58 +0000
Received: by ykeg184 with SMTP id g184so31587546yke.2 for <ietf-http-wg@w3.org>; Fri, 03 Apr 2015 13:57:25 -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=ev9zQtMFkEzb4PD8foOVhwrZLbmUNXCqUd7TepX3fAs=; b=o4UK80sFhd26MbtRYcMkP53QQ05ILNKWX/UuC+IgfCgNEWJbaE4NJcH0w+gqRZyCzC Cj9R+R2xpsiHmTS4Zo73gnnnbD6uuTxZ0P3vAefOAVyuAhAlTZ99qu3HPRZ1ikxsHN/0 tPkEBFDKm6lqvcnqJgObqwkIiXA1kx8BzcOkapcMVOp3vVev6yhlrAs0Ux+4HwOpgu/w nasW5bZ/od7iXG5iJlcKlB++AMOtaY5WsaCujtL/HteqjEIw1xsrh5Gwst2r5/SF/8Y3 5SGbrKfa4fSoFrmq/eb3nkSIGyy/mpkVKCs0Zj5ZqVNhqGjjBacjjbzXrX3V3LMUtZ/U 9N7Q==
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=ev9zQtMFkEzb4PD8foOVhwrZLbmUNXCqUd7TepX3fAs=; b=f42YfDmjjGaO8Ym3e7HwcPhtwOHe6hNgZpQYfu71HJPUAOTCinBeC8TWGtRxdCIbS6 D3EWHYWNqytIhSvPkl6wu290hHOSeoIJ/kgxFGOPg+X8ZYlAGbGr5RooGwLWfHnuibBg lcCSIMD5lyE+fVo2BA8eoB0JSuDQ7jsC1DoGLMckRzkJ0NixSN5mMpyYjW9q5PguQrCe nbPjdoqoLXYXdQBzfgiGnMvuaBwa74UCwR52/GAAuMOYceo43VzHyyrZUDwTYK3fSe+F ROtzFljuFIkRioqqh1hwnZ3vVGvwQytnC6b0fxbQsNkjW4O3TdUMokgKqJ16gP8mi9gy ToIA==
X-Gm-Message-State: ALoCoQmfyvnAjYAwc2e9FF2Nt7u+nJaqMM9Wc5OqVW6te/S1RHmCKofFNGED7/EPLqv6iSkdbddB
MIME-Version: 1.0
X-Received: by 10.52.149.65 with SMTP id ty1mr2324032vdb.67.1428094645443; Fri, 03 Apr 2015 13:57:25 -0700 (PDT)
Received: by 10.52.169.202 with HTTP; Fri, 3 Apr 2015 13:57:25 -0700 (PDT)
In-Reply-To: <CABkgnnWXR7H1oZWLLT7ZhoOtPZjVVDnYaqTYACBkoVQ2scrKJA@mail.gmail.com>
References: <CAJ_4DfS5J0k-G_fY46R=8jJDbppC8EfvAmLCaeccPFudOfFM0g@mail.gmail.com> <CABkgnnWXR7H1oZWLLT7ZhoOtPZjVVDnYaqTYACBkoVQ2scrKJA@mail.gmail.com>
Date: Fri, 03 Apr 2015 13:57:25 -0700
Message-ID: <CAJ_4DfQfmsiH2YJZX7wiHo9A-DPt_Gc9G5vGtrHFY7xVqrmfiA@mail.gmail.com>
From: Ryan Hamilton <rch@google.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="bcaec51b13ed0c39b60512d832e2"
Received-SPF: pass client-ip=209.85.160.171; envelope-from=rch@google.com; helo=mail-yk0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-1.541, 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: lisa.w3.org 1Ye8f1-0004Rq-Mu fbae2e3283017202f994284f7b8374c1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Alt-Svc + Proxy Pac
Archived-At: <http://www.w3.org/mid/CAJ_4DfQfmsiH2YJZX7wiHo9A-DPt_Gc9G5vGtrHFY7xVqrmfiA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/29244
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 9:50 AM, Martin Thomson <martin.thomson@gmail.com>
wrote:

> Now, if the proxy.pac suggests that direct is acceptable, I think that
> makes it OK to (try to) use the alternative.  If you think of
> proxy.pac as a first level alternative selector, and alt-svc as a
> second-level one, I think that works.
>

​Actually, reading this more closely, I think you're suggesting that if the
.pac file suggests using a proxy then Alt-Svc should be ignored. Am I
reading that right? If so, that is surprising. Consider a .pac which sends
all requests through the proxy. If two hosts are alternatives for each
other and we already have an h2 connection to one (via the proxy) it would
be great to be able to use that connection​

​for the other host. I hope the spec permits this. If not, I think we
should discuss it more :>

Cheers,

Ryan​