Re: http/1 opportunistic encryption

Amos Jeffries <squid3@treenet.co.nz> Mon, 13 July 2015 10:10 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 8D9A71A1B44 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Jul 2015 03:10:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.212
X-Spam-Level:
X-Spam-Status: No, score=-4.212 tagged_above=-999 required=5 tests=[BAYES_50=0.8, 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 roDgpBkOx_Wd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 13 Jul 2015 03:10:27 -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 7DC0D1A1B40 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 13 Jul 2015 03:10:27 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ZEaeJ-0001ix-ME for ietf-http-wg-dist@listhub.w3.org; Mon, 13 Jul 2015 10:07:47 +0000
Resent-Date: Mon, 13 Jul 2015 10:07:47 +0000
Resent-Message-Id: <E1ZEaeJ-0001ix-ME@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <squid3@treenet.co.nz>) id 1ZEaeG-0001hz-LU for ietf-http-wg@listhub.w3.org; Mon, 13 Jul 2015 10:07:44 +0000
Received: from 121-99-228-82.static.orcon.net.nz ([121.99.228.82] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.80) (envelope-from <squid3@treenet.co.nz>) id 1ZEaeE-0002xS-Al for ietf-http-wg@w3.org; Mon, 13 Jul 2015 10:07:44 +0000
Received: from [192.168.20.251] (unknown [121.98.197.53]) by treenet.co.nz (Postfix) with ESMTP id 6A8F9E6D94; Mon, 13 Jul 2015 22:07:08 +1200 (NZST)
Message-ID: <55A38DC5.4070005@treenet.co.nz>
Date: Mon, 13 Jul 2015 22:07:01 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Erik Nygren <erik@nygren.org>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <55322077-4296-40A2-8D2E-4E2278CA8657@greenbytes.de> <B7FF5738-9645-4686-A090-2BA67064D656@mnot.net> <DE64E378-8278-499A-8FA8-6DCB866731A1@greenbytes.de> <20150617083412.GA17419@LK-Perkele-VII> <1C569435-489B-4D46-A443-82B32A80F893@greenbytes.de> <CABkgnnWT3kKZq2=RJ3z0pv94SRFnfpy_6W7prGPeZUfV0XbiFQ@mail.gmail.com> <F26B6537-2C60-489E-809D-4DB1C854D938@greenbytes.de> <CABkgnnWMKkYUNrGBAGq6wqmr2hqpxBZfmGrwkAj3YUtT6SmdWQ@mail.gmail.com> <CAKC-DJgkhebYsDSyj-ZWcTH0j6jW-iwMiPJyxJX1UnkiHEPq6g@mail.gmail.com> <559FA1F9.9080602@treenet.co.nz> <CAKC-DJhNoJAj_CB7N4jPmPdUhag6Lx_CHxiFFQRTPSNqLKq5hQ@mail.gmail.com>
In-Reply-To: <CAKC-DJhNoJAj_CB7N4jPmPdUhag6Lx_CHxiFFQRTPSNqLKq5hQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=121.99.228.82; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: AWL=-0.445, BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TVD_RCVD_IP=0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1ZEaeE-0002xS-Al fb75a3b20c3d3209ec1a645396b8de6f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: http/1 opportunistic encryption
Archived-At: <http://www.w3.org/mid/55A38DC5.4070005@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/29943
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 11/07/2015 2:15 a.m., Erik Nygren wrote:
> As also discussed in the thread on passing IP addresses, a common
> implementation pattern seems to be to bolt an HTTP/2 demuxer in front of an
> HTTP/1.x server, sometimes with them communicating such that the HTTP/1.x
> server isn't seeing the HTTP/2 communications internals.  What I was
> wondering is how people implementing this way pass along the URI elements.
> :method, :path, and :authority have clear things to translate into, but
> :scheme does not.  Not handling this properly is likely an implementation
> bug, but I suspect it will be a common bug.

If teh server is compliant with HTTP/1.1 it is expected to accept
absolute-URI not just relative-URI.

My understanding was that :scheme was supposed to be translated into
absolute-URI for the HTTP/1 server when the scheme does not match the
transport protocol used to the server. If it does match then
relative-URI was the right thing to do.

Whether reality matches that spec behaviour though is a good question.

Amos