
From ietf-http-wg-request@listhub.w3.org  Wed Aug  1 00:49:13 2012
Return-Path: <ietf-http-wg-request@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 6192121F86F1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Aug 2012 00:49:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.293
X-Spam-Level: 
X-Spam-Status: No, score=-10.293 tagged_above=-999 required=5 tests=[AWL=-0.294, BAYES_00=-2.599, J_CHICKENPOX_35=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id apwsytKQ7ijI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Aug 2012 00:49:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CE0E821F86F0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  1 Aug 2012 00:49:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwTea-0006s6-Fq for ietf-http-wg-dist@listhub.w3.org; Wed, 01 Aug 2012 07:47:36 +0000
Resent-Date: Wed, 01 Aug 2012 07:47:36 +0000
Resent-Message-Id: <E1SwTea-0006s6-Fq@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SwTeN-0006rL-K7 for ietf-http-wg@listhub.w3.org; Wed, 01 Aug 2012 07:47:23 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SwTeH-0001Sw-Rg for ietf-http-wg@w3.org; Wed, 01 Aug 2012 07:47:23 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 0E7F03B5A7; Wed,  1 Aug 2012 07:46:56 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q717ksb8073566; Wed, 1 Aug 2012 07:46:55 GMT (envelope-from phk@phk.freebsd.dk)
To: Willy Tarreau <w@1wt.eu>
cc: Zhong Yu <zhong.j.yu@gmail.com>, ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Wed, 01 Aug 2012 07:43:22 +0200." <20120801054322.GA14213@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1
Date: Wed, 01 Aug 2012 07:46:54 +0000
Message-ID: <73565.1343807214@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SwTeH-0001Sw-Rg 175f49f3bf9de0b74fea696d9009cdbf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2: Another reason to find a safer encoding
Archived-At: <http://www.w3.org/mid/73565.1343807214@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14865
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>

In message <CABP7RbeUeFo00+J7dknuqV0sgS=6Nh-BnUjuyRenAvg1wb+EEw@mail.gmail.com>, James M Snell writes:

>I'd very much like to see such changes made within 2.0, but I'm
>afraid that I may be in the minority.

In message <20120801054322.GA14213@1wt.eu>, Willy Tarreau writes:

>So my point precisely is to try to enforce a stronger typing of exchanged
>data to avoid a number of these issues as much as possible. For instance,
>by using an integer to represent a date, you cannot send "29 Feb 2013",
>and you don't need implementations to verify that this date makes any sense.

+1

HTTP/1.1 was specified to try to salvage every single request, no matter
how malformed, because "malicious" was not in the vocabulary back then.

HTTP/2.0 should formally recognize the existence of net.crime and
make it easier to defend yourself against net.crime.

My preferred solution is:

	HTTP/2.0 is defined as a semantic subset of HTTP/1.1, leaving
	as much of the trouble behind as possible.

	If a client cannot send a given request as HTTP/2.0, it SHALL
	fall back to HTTP/1.1 instead.

For web-browsing all user-agent initiated requests are trivial GETs,
which naturally fit in HTTP/2.0.

The transactions which could possibly run foul of HTTP/2.0's
strictness are all the result of stuff the server sends to the
client (forms, javascript etc).  If server-owners what the benefit
of HTTP/2.0, they will and can fix their stuff.

For any API use of HTTP, either the API is defined so it works with
HTTP/2.0 or the API must stay in HTTP/1.1 until suitably upgraded,
at the discretion of the entity which offers the API.

Since HTTP/2.0 is a semantic subset of HTTP/1.1, translation from
2.0 request to 1.1 is a trivial 1:1 mapping.  If the response cannot
be mapped back, the transaction should be assumed failed, and the
translating intermediary should return "50x Use HTTP/1.1 instead"

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Wed Aug  1 11:04:04 2012
Return-Path: <ietf-http-wg-request@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 2130311E839B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Aug 2012 11:04:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.281
X-Spam-Level: 
X-Spam-Status: No, score=-6.281 tagged_above=-999 required=5 tests=[AWL=4.318, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id czq+gectqlE8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Aug 2012 11:04:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4969111E8396 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  1 Aug 2012 11:04:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwdFS-0000sc-6Y for ietf-http-wg-dist@listhub.w3.org; Wed, 01 Aug 2012 18:02:18 +0000
Resent-Date: Wed, 01 Aug 2012 18:02:18 +0000
Resent-Message-Id: <E1SwdFS-0000sc-6Y@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <stpeter@stpeter.im>) id 1SwdF6-0000ou-D7 for ietf-http-wg@listhub.w3.org; Wed, 01 Aug 2012 18:01:56 +0000
Received: from mailhost.stpeter.im ([207.210.219.225] helo=stpeter.im) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stpeter@stpeter.im>) id 1SwdF5-0004ko-4c for ietf-http-wg@w3.org; Wed, 01 Aug 2012 18:01:56 +0000
Received: from [192.168.0.4] (unknown [67.177.192.224]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 148E040075 for <ietf-http-wg@w3.org>; Wed,  1 Aug 2012 12:21:16 -0600 (MDT)
Message-ID: <50196EFA.9010207@stpeter.im>
Date: Wed, 01 Aug 2012 12:01:30 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <1343842421.2556.229.camel@chacal>
In-Reply-To: <1343842421.2556.229.camel@chacal>
X-Enigmail-Version: 1.4.3
X-Forwarded-Message-Id: <1343842421.2556.229.camel@chacal>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=207.210.219.225; envelope-from=stpeter@stpeter.im; helo=stpeter.im
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SwdF5-0004ko-4c 69581e908ad0919ba4680e49a389ff55
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: web+: enabling websites to expose services with custom URI schemes   to registerProtocolHandler.
Archived-At: <http://www.w3.org/mid/50196EFA.9010207@stpeter.im>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14866
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>

FYI. Please post to the public-ietf-w3 list if you have feedback:

http://lists.w3.org/Archives/Public/public-ietf-w3c/

mailto:public-ietf-w3c-request@w3.org?subject=subscribe

Peter

-------- Original Message --------
Subject: web+: enabling websites to expose services with custom URI
schemes  to registerProtocolHandler.
Resent-Date: Wed, 01 Aug 2012 17:33:59 +0000
Resent-From: public-ietf-w3c@w3.org
Date: Wed, 01 Aug 2012 10:33:41 -0700
From: Philippe Le Hegaret <plh@w3.org>
Organization: World Wide Web Consortium
To: Barry Leiba <barryleiba@computer.org>, Mark Nottingham <mnot@mnot.net>
CC: public-ietf-w3c@w3.org

Following the morning discussion, here are the links to the web+
definition:

http://www.w3.org/TR/html5/system-state-and-capabilities.html#custom-handlers
  look for the item on scheme (registerProtocolHandler() only)

http://www.w3.org/TR/html5/iana.html#web-scheme-prefix
  Note that the Working Group is about to decide that this section needs
rewrite because it must not look like an IANA registration.

I also suggest to look at the rational section of a change proposal
related to this:
 http://www.w3.org/html/wg/wiki/User:Eoconnor/ISSUE-189#Rationale

Philippe







From ietf-http-wg-request@listhub.w3.org  Wed Aug  1 11:36:19 2012
Return-Path: <ietf-http-wg-request@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 4BE9B11E83F5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Aug 2012 11:36:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.222
X-Spam-Level: 
X-Spam-Status: No, score=-10.222 tagged_above=-999 required=5 tests=[AWL=-0.225, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_57=0.6, NO_RDNS_DOTCOM_HELO=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id obJTOY6rSAAE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Aug 2012 11:36:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 426E911E8180 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  1 Aug 2012 11:36:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Swdkx-0007b9-Sg for ietf-http-wg-dist@listhub.w3.org; Wed, 01 Aug 2012 18:34:51 +0000
Resent-Date: Wed, 01 Aug 2012 18:34:51 +0000
Resent-Message-Id: <E1Swdkx-0007b9-Sg@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <rbector@yahoo-inc.com>) id 1Swdkk-0007aO-Dx for ietf-http-wg@listhub.w3.org; Wed, 01 Aug 2012 18:34:38 +0000
Received: from mrout1.yahoo.com ([216.145.54.171]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <rbector@yahoo-inc.com>) id 1Swdkh-0008HS-Un for ietf-http-wg@w3.org; Wed, 01 Aug 2012 18:34:38 +0000
Received: from SP2-EX07CAS02.ds.corp.yahoo.com (sp2-ex07cas02.corp.sp2.yahoo.com [98.137.59.38]) by mrout1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id q71IY1AY087978; Wed, 1 Aug 2012 11:34:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1343846042; bh=ZTwddsQ0JK6NF+sbE4yTLx9pIW8GcqDz3SdS0H1FWcg=; h=From:To:CC:Date:Subject:Message-ID:In-Reply-To:Content-Type: MIME-Version; b=gTgMSInsUjuSnXneHVUWD3QTH3JV7B9FPQSUWjFyJVqfv7pOZbiRXNu3Z08f7QWwH uUcuXGpyddYsoCv9Z9t6pOdUSyAH1gVpD7azORvnaNwJ/PI7mSaR0QYRfktZtBTWys CnwHBUCW1gCdiuieInA21i/RTDP58UeF2Z7PLh+Q=
Received: from SP2-EX07VS03.ds.corp.yahoo.com ([98.137.59.32]) by SP2-EX07CAS02.ds.corp.yahoo.com ([98.137.59.38]) with mapi; Wed, 1 Aug 2012 11:34:01 -0700
From: Rajeev Bector <rbector@yahoo-inc.com>
To: Jitu Padhye <padhye@microsoft.com>, Mike Belshe <mike@belshe.com>, Henrik Frystyk Nielsen <henrikn@microsoft.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Rob Trace <Rob.Trace@microsoft.com>, "Adalberto Foresti (MS OPEN TECH)" <aforesti@microsoft.com>
Date: Wed, 1 Aug 2012 11:34:00 -0700
Thread-Topic: HTTP 2.0 and a Faster, more Mobile-friendly web
Thread-Index: Ac1wFDhCvd3Nw2uuTXu5RdaETI56TA==
Message-ID: <CC3EC2A4.55067%rbector@yahoo-inc.com>
In-Reply-To: <4C032A8F343D304CBF7C6EE7AF002F44187FB969@BY2PRD0310MB354.namprd03.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.14.0.111121
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_CC3EC2A455067rbectoryahooinccom_"
MIME-Version: 1.0
X-Milter-Version: master.31+4-gbc07cd5+
X-CLX-ID: 846042001
Received-SPF: neutral client-ip=216.145.54.171; envelope-from=rbector@yahoo-inc.com; helo=mrout1.yahoo.com
X-W3C-Hub-Spam-Status: No, score=-16.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, NO_RDNS_DOTCOM_HELO=0.823, RCVD_IN_DNSWL_LOW=-0.7, SPF_NEUTRAL=0.779, USER_IN_DEF_WHITELIST=-15
X-W3C-Scan-Sig: maggie.w3.org 1Swdkh-0008HS-Un b2961718a437089ecdeb43bed14f04b5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web
Archived-At: <http://www.w3.org/mid/CC3EC2A4.55067%25rbector@yahoo-inc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14867
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>

--_000_CC3EC2A455067rbectoryahooinccom_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

This is more of a generic meta-level comment (and not sure if it has been p=
roposed/discussed before).

When we start comparing implementation choices there are lot of unknowns : =
browser/OS-and-how-its-tuned/test-cases, clients - their speed, bw and prox=
imity to servers etc. etc and ETC. Its almost impossible (and I'd say futil=
e to compare numbers from tests run in different environments).


I was speaking with Rob earlier in the morning today and we felt that one o=
f things that might be helpful as we do these exercises is : setting up of =
a common test-bed to perform some of these measurements and experiments. As=
 part of this, we could also document and build  a standard-battery of meas=
urements & scenarios that we want to run through (e.g. Sites with 6 3rd par=
ty ads vs. not).

Best,
Rajeev


From: Jitu Padhye <padhye@microsoft.com<mailto:padhye@microsoft.com>>
Date: Tue, 31 Jul 2012 10:56:53 -0700
To: Mike Belshe <mike@belshe.com<mailto:mike@belshe.com>>, Henrik Frystyk N=
ielsen <henrikn@microsoft.com<mailto:henrikn@microsoft.com>>
Cc: "ietf-http-wg@w3.org<mailto:ietf-http-wg@w3.org>" <ietf-http-wg@w3.org<=
mailto:ietf-http-wg@w3.org>>, Gabriel Montenegro <Gabriel.Montenegro@micros=
oft.com<mailto:Gabriel.Montenegro@microsoft.com>>, Rob Trace <Rob.Trace@mic=
rosoft.com<mailto:Rob.Trace@microsoft.com>>, "Adalberto Foresti (MS OPEN TE=
CH)" <aforesti@microsoft.com<mailto:aforesti@microsoft.com>>
Subject: RE: HTTP 2.0 and a Faster, more Mobile-friendly web

Mike,

Yes, we do need to explore a larger variety of web pages, including web pag=
es with more resources.

I did not explicitly wipe session state cache between runs. Is there a Chro=
me switch to do this easily?

Jitu

From: Mike Belshe [mailto:mike@belshe.com]
Sent: Monday, July 30, 2012 9:34 PM
To: Henrik Frystyk Nielsen
Cc: ietf-http-wg@w3.org<mailto:ietf-http-wg@w3.org>; Gabriel Montenegro; Ro=
b Trace; Adalberto Foresti (MS OPEN TECH)
Subject: Re: HTTP 2.0 and a Faster, more Mobile-friendly web

Henrik and team -

Awesome paper!

One thing I notice is that your test pages did not use many resources.  (3 =
for the dummy web page and 11 for the cnn page).  As you know (http://httpa=
rchive.org/trends.php) pages today tend to have ~80 resources per page.  It=
s the large-resource pages where HTTP slows down, as it can only fetch 6 at=
 a time (2 if you stick to the spec).   It would be interesting to load up =
a more modern page, like a facebook.com<http://facebook.com> wall page, wit=
h dozens of images and resources to really exercise the multiplexing.

The biggest conclusion I read from this is that SSL is hard to make fast (a=
nd also very true!) :-)  I'm glad you benchmarked with Chromium because it =
uses SSL FalseStart to reduce a round trip.  I'm curious if you did anythin=
g for certificate validation in this test?  It looks like you're generally =
seeing a 2RTT overhead of SSL in your tests, which is indicative of the SSL=
 cold-start case.  Can you confirm you wiped the session-ID cache between r=
uns?  It's also indicative of not really exercising the multiplexing, where=
 the SSL overhead gets mitigated as HTTP slows down with 6-at-a-time round =
trips.

Mike

On Sun, Jul 29, 2012 at 1:14 PM, Henrik Frystyk Nielsen <henrikn@microsoft.=
com<mailto:henrikn@microsoft.com>> wrote:

Dear All,



We remain committed to the HTTP/2.0 standards process and look forward to s=
eeing many of you this week at the IETF meeting in Vancouver to continue th=
e discussion.  In the spirit of open discussion, we wanted to share some ob=
servations in advance of the meeting and share the latest progress from pro=
totyping and testing.



There are currently three different proposals that the group is working thr=
ough:



   * SPDY (http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy),

   * HTTP Speed+Mobility (http://tools.ietf.org/html/draft-montenegro-httpb=
is-speed-mobility),

   * Network-Friendly HTTP Upgrade (http://tools.ietf.org/html/draft-tarrea=
u-httpbis-network-friendly).



The good news is that everyone involved wants to make the Web faster, more =
scalable, more secure, and more mobile-friendly, and each proposal has bene=
fits in different areas that the discussion can choose from.



--- A Genuinely Faster Web ---



The SPDY proposal has been great for raising awareness of Web performance. =
It takes a =93clean slate=94 approach to improving HTTP.



To compare the performance of SPDY with HTTP/1.1 we have run tests comparin=
g download times of several public web sites using a controlled tested stud=
y. The test uses publically available software run with mostly default conf=
igurations while applying all the currently available optimizations to HTTP=
/1.1. You can find a preliminary report on the test results here: http://re=
search.microsoft.com/apps/pubs/?id=3D170059. The results mirror other data =
(http://www.guypo.com/technical/not-as-spdy-as-you-thought) that indicate m=
ixed results with SPDY performance.



Our results indicate almost equal performance between SPDY and HTTP/1.1 whe=
n one applies all the known optimizations to HTTP/1.1. SPDY=92s performance=
 improvements are not consistent and significant. We will continue our test=
ing, and we welcome others to publish their results so that HTTP/2.0 can ch=
oose the best changes and deliver the best possible performance and scalabi=
lity improvements compared to HTTP/1.1.





--- Taking the Best from Each ---



Speed is one of several areas of improvement. Currently, there=92s no clear=
 consensus that any one of the proposals is the clear choice or even starti=
ng point for HTTP/2.0 (based on our reading the Expressions of Interest and=
 discussions on this mailing list. A good example of this is the vigorous d=
iscussion around mandating TLS encryption (http://tools.ietf.org/html/rfc52=
46) for HTTP/2.0.



We think a good approach for HTTP/2.0 is to take the best solution for each=
 of these areas from each of the proposals.  This approach helps us focus t=
he discussion for each area of the protocol. Of course, this approach would=
 still allow the standard to benefit from the extensive knowledge gained fr=
om implementing existing proposals.



We believe that the group can converge on consensus in the following areas,=
 based on our reading of the Expressions of Interest, by starting from the =
different proposals.



------------------|------------------

Area              | Opinion that

                  | seems to prevail

------------------|------------------

1. Compression    | SPDY or Friendly

------------------|------------------

2. Multiplexing   | SPDY

------------------|------------------

3. Mandatory TLS  | Speed+Mobility

------------------|------------------

4. Negotiation    | Friendly or

                  |   Speed+Mobility

------------------|------------------

5. Client Pull/   | Speed+Mobility

      Server Push |

------------------|------------------

6. Flow Control   | SPDY

------------------|------------------

7. WebSockets     | Speed+Mobility

------------------|------------------



Below, we discuss each HTTP/2.0 element and the current consensus that appe=
ars to be forming within the Working Group.



1. Compression



Compression is simple to conceptualize and implement, and it is important. =
Proxies and other boxes in the middle on today=92s Web often face problems =
with it. The HTTP/2.0 discussion has been rich but with little consensus.

Though some studies suggest that SPDY=92s header compression approach shows=
 promise, other studies show this compression to be prohibitively onerous f=
or intermediary devices. More information here would help us make sure we=
=92re making the Web faster and better.



Also, an entire segment of implementers are not interested in compression a=
s defined in SPDY.  That=92s a challenge because the latest strawman for th=
e working group charter (http://lists.w3.org/Archives/Public/ietf-http-wg/2=
012JulSep/0784.html) states that the =93resulting specification(s) are expe=
cted to be meet these goals for common existing deployments of HTTP; in par=
ticular, =85 intermediation (by proxies, corporate firewalls, =91reverse=92=
 proxies and Content Delivery Networks).=94



We think the SPDY or Friendly proposals is a good starting point for progre=
ss.



2. Multiplexing



All three proposals define similar multiplexing models. We haven=92t had su=
bstantial discussion on the differences. This lack of discussion suggests t=
hat there is rough consensus around the SPDY framing for multiplexing.



We think that the SPDY proposal is a good starting point here and best capt=
ures the current consensus.



3. Mandating Always On TLS



There is definitely no consensus to mandate TLS for all Web communication, =
but some major implementers have stated they will not to adopt HTTP/2.0 unl=
ess the working group supports a =93TLS is mandatory=94 position. A very pr=
eliminary note from the chair (http://lists.w3.org/Archives/Public/ietf-htt=
p-wg/2012JulSep/0601.html) states that there is a lack of consensus for man=
dating TLS.



We think the Speed+Mobility proposal is a good starting point here as it pr=
ovides options to turn TLS on (or not).



4. Negotiation



Only two of the proposals actually discuss how different endpoints agree to=
 use HTTP/2.0.



(The SPDY proposal does not specify a negotiation method. Current prototype=
 implementations use the TLS-NPN (http://tools.ietf.org/html/draft-agl-tls-=
nextprotoneg) extension.  While the other proposals use HTTP Upgrade to neg=
otiate HTTP/2.0, some parties have expressed non-support for this method as=
 well.)



We think either of the Friendly or Speed+Mobility proposals is a good start=
ing point because they are the only ones that have any language in this res=
pect.



5. Client Pull and Server Push



There are tradeoffs between a server push model and a client pull model. Th=
e main question is how to improve performance while respecting bandwidth an=
d client caches.



Server Push has not had the same level of implementation and experimentatio=
n as the other features in SPDY. More information here would help us make s=
ure we=92re making the Web faster and better.



We think the Speed+Mobility proposal is a good starting point here, suggest=
ing that this issue may be better served in a separate document rather than=
 tied to the core HTTP/2.0 protocol.



6. Flow Control



There has only been limited discussion in the HTTPbis working group on flow=
 control. Flow Control offers a lot of opportunity make the Web faster as w=
ell as to break it; for example, implementations need to figure out how to =
optimize for opposing goals (like throughput and responsiveness) at the sam=
e time.



The current version of the SPDY proposal specifies a flow control message w=
ith many settings are that are not well-defined. The Speed+Mobilty proposal=
 has a simplified flow control model based on certain assumptions. More exp=
erimentation and information here would help us make sure we=92re making th=
e Web faster and better.



We think that the SPDY proposal is a good starting point here.



7. WebSockets



We see support  for aligning HTTP/2.0 with a future version of WebSockets, =
as suggested in the introduction of the Speed+Mobility proposal.





--- Moving forward ---



We=92re excited for the Web to get faster, more stable, and more capable, a=
nd HTTP/2.0 is an important part of that.



We believe that bringing together the best elements of the current SPDY, HT=
TP Speed+Mobility, and Network-Friendly HTTP Upgrade proposals is the best =
approach to make that happen.



Based on the discussions on the HTTPbis mailing list, we=92ve suggested whi=
ch proposals make the most sense to start from for each of the areas that H=
TTP/2.0 is addressing. Each of these areas needs more prototyping and exper=
imentation and data. We=92re looking forward to the discussion this week.



Sincerely,



Henrik Frystyk Nielsen

Principal Architect, Microsoft Open Technologies, Inc.



Gabriel Montenegro

Principal Software Development Engineer, Microsoft Corporation



Rob Trace

Senior Program Manager Lead, Microsoft Corporation



Adalberto Foresti

Senior Program Manager, Microsoft Open Technologies, Inc.






--_000_CC3EC2A455067rbectoryahooinccom_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html><head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space;=
 -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14p=
x; font-family: Calibri, sans-serif; "><div>This is more of a generic meta-=
level comment (and not sure if it has been proposed/discussed before).&nbsp=
;</div><div><br></div><div>When we start comparing implementation choices t=
here are lot of unknowns : browser/OS-and-how-its-tuned/test-cases, clients=
 - their speed, bw and proximity to servers etc. etc and <b>ETC. </b>Its al=
most impossible (and I'd say futile to compare numbers from tests run in di=
fferent environments).</div><div><br></div><div><br></div><div>I was speaki=
ng with Rob earlier in the morning today and we felt that one of things tha=
t might be helpful as we do these exercises is : setting up of a common tes=
t-bed to perform some of these measurements and experiments. As part of thi=
s, we could also document and build &nbsp;a standard-battery of measurement=
s &amp; scenarios that we want to run through (e.g. Sites with 6 3rd party =
ads vs. not). &nbsp;</div><div><br></div><div>Best,</div><div>Rajeev</div><=
div><br></div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><div style=
=3D"font-family:Calibri; font-size:11pt; text-align:left; color:black; BORD=
ER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADD=
ING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RI=
GHT: medium none; PADDING-TOP: 3pt"><span style=3D"font-weight:bold">From: =
</span> Jitu Padhye &lt;<a href=3D"mailto:padhye@microsoft.com">padhye@micr=
osoft.com</a>&gt;<br><span style=3D"font-weight:bold">Date: </span> Tue, 31=
 Jul 2012 10:56:53 -0700<br><span style=3D"font-weight:bold">To: </span> Mi=
ke Belshe &lt;<a href=3D"mailto:mike@belshe.com">mike@belshe.com</a>&gt;, H=
enrik Frystyk Nielsen &lt;<a href=3D"mailto:henrikn@microsoft.com">henrikn@=
microsoft.com</a>&gt;<br><span style=3D"font-weight:bold">Cc: </span> &quot=
;<a href=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</a>&quot; &lt;<=
a href=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</a>&gt;, Gabriel =
Montenegro &lt;<a href=3D"mailto:Gabriel.Montenegro@microsoft.com">Gabriel.=
Montenegro@microsoft.com</a>&gt;, Rob Trace &lt;<a href=3D"mailto:Rob.Trace=
@microsoft.com">Rob.Trace@microsoft.com</a>&gt;, &quot;Adalberto Foresti (M=
S OPEN TECH)&quot; &lt;<a href=3D"mailto:aforesti@microsoft.com">aforesti@m=
icrosoft.com</a>&gt;<br><span style=3D"font-weight:bold">Subject: </span> R=
E: HTTP 2.0 and a Faster, more Mobile-friendly web<br></div><div><br></div>=
<blockquote id=3D"MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style=3D"BORDER-LEFT:=
 #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div xmlns:v=3D"urn:sch=
emas-microsoft-com:vml" xmlns:o=3D"urn:schemas-microsoft-com:office:office"=
 xmlns:w=3D"urn:schemas-microsoft-com:office:word" xmlns:m=3D"http://schema=
s.microsoft.com/office/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html=
40"><meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)=
"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--><div lang=3D"EN-US" link=3D"blue" vlink=
=3D"purple"><div class=3D"WordSection1"><p class=3D"MsoNormal"><span style=
=3D"font-size: 11pt; color: rgb(31, 73, 125); font-family: Calibri, sans-se=
rif; ">Mike,
<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size: 11pt=
; color: rgb(31, 73, 125); font-family: Calibri, sans-serif; "><o:p>&nbsp;<=
/o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size: 11pt; colo=
r: rgb(31, 73, 125); font-family: Calibri, sans-serif; ">Yes, we do need to=
 explore a larger variety of web pages, including web pages with more resou=
rces.
<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size: 11pt=
; color: rgb(31, 73, 125); font-family: Calibri, sans-serif; "><o:p>&nbsp;<=
/o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size: 11pt; colo=
r: rgb(31, 73, 125); font-family: Calibri, sans-serif; ">I did not explicit=
ly wipe session state cache between runs. Is there a Chrome switch to do th=
is easily?<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-=
size: 11pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif; "><o=
:p>&nbsp;</o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size: =
11pt; color: rgb(31, 73, 125); font-family: Calibri, sans-serif; ">Jitu<o:p=
></o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size: 11pt; co=
lor: rgb(31, 73, 125); font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p=
></span></p><p class=3D"MsoNormal"><b><span style=3D"font-size: 10pt; font-=
family: Tahoma, sans-serif; ">From:</span></b><span style=3D"font-size: 10p=
t; font-family: Tahoma, sans-serif; "> Mike Belshe [<a href=3D"mailto:mike@=
belshe.com">mailto:mike@belshe.com</a>]
<br><b>Sent:</b> Monday, July 30, 2012 9:34 PM<br><b>To:</b> Henrik Frystyk=
 Nielsen<br><b>Cc:</b> <a href=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@=
w3.org</a>; Gabriel Montenegro; Rob Trace; Adalberto Foresti (MS OPEN TECH)=
<br><b>Subject:</b> Re: HTTP 2.0 and a Faster, more Mobile-friendly web<o:p=
></o:p></span></p><p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p><p class=3D"M=
soNormal">Henrik and team -<o:p></o:p></p><div><p class=3D"MsoNormal"><br>
Awesome paper!<o:p></o:p></p></div><div><p class=3D"MsoNormal"><o:p>&nbsp;<=
/o:p></p></div><div><p class=3D"MsoNormal">One thing I notice is that your =
test pages did not use many resources. &nbsp;(3 for the dummy web page and =
11 for the cnn page). &nbsp;As you know (<a href=3D"http://httparchive.org/=
trends.php">http://httparchive.org/trends.php</a>) pages today tend
 to have ~80 resources per page. &nbsp;Its the large-resource pages where H=
TTP slows down, as it can only fetch 6 at a time (2 if you stick to the spe=
c). &nbsp; It would be interesting to load up a more modern page, like a
<a href=3D"http://facebook.com">facebook.com</a> wall page, with dozens of =
images and resources to really exercise the multiplexing.<o:p></o:p></p></d=
iv><div><p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p></div><div><p class=3D"=
MsoNormal">The biggest conclusion I read from this is that SSL is hard to m=
ake fast (and also very true!) :-) &nbsp;I'm glad you benchmarked with Chro=
mium because it uses SSL FalseStart to reduce a round trip. &nbsp;I'm curio=
us if you did anything for certificate
 validation in this test? &nbsp;It looks like you're generally seeing a 2RT=
T overhead of SSL in your tests, which is indicative of the SSL cold-start =
case. &nbsp;Can you confirm you wiped the session-ID cache between runs? &n=
bsp;It's also indicative of not really exercising
 the multiplexing, where the SSL overhead gets mitigated as HTTP slows down=
 with 6-at-a-time round trips.<o:p></o:p></p></div><div><p class=3D"MsoNorm=
al"><br>
Mike<o:p></o:p></p></div><div><p class=3D"MsoNormal" style=3D"margin-bottom=
:12.0pt"><o:p>&nbsp;</o:p></p><div><p class=3D"MsoNormal">On Sun, Jul 29, 2=
012 at 1:14 PM, Henrik Frystyk Nielsen &lt;<a href=3D"mailto:henrikn@micros=
oft.com" target=3D"_blank">henrikn@microsoft.com</a>&gt; wrote:<o:p></o:p><=
/p><div><div><p>Dear All,<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>We remai=
n committed to the HTTP/2.0 standards process and look forward to seeing ma=
ny of you this week at the IETF meeting in Vancouver to continue the discus=
sion.&nbsp; In the spirit of open discussion, we wanted to share some obser=
vations in advance of the
 meeting and share the latest progress from prototyping and testing. <o:p><=
/o:p></p><p>&nbsp;<o:p></o:p></p><p>There are currently three different pro=
posals that the group is working through:<o:p></o:p></p><p>&nbsp;<o:p></o:p=
></p><p>&nbsp;&nbsp; * SPDY (<a href=3D"http://tools.ietf.org/html/draft-mb=
elshe-httpbis-spdy" target=3D"_blank">http://tools.ietf.org/html/draft-mbel=
she-httpbis-spdy</a>),<o:p></o:p></p><p>&nbsp;&nbsp; * HTTP Speed&#43;Mobil=
ity (<a href=3D"http://tools.ietf.org/html/draft-montenegro-httpbis-speed-m=
obility" target=3D"_blank">http://tools.ietf.org/html/draft-montenegro-http=
bis-speed-mobility</a>),<o:p></o:p></p><p>&nbsp;&nbsp; * Network-Friendly H=
TTP Upgrade (<a href=3D"http://tools.ietf.org/html/draft-tarreau-httpbis-ne=
twork-friendly" target=3D"_blank">http://tools.ietf.org/html/draft-tarreau-=
httpbis-network-friendly</a>).
<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>The good news is that everyone in=
volved wants to make the Web faster, more scalable, more secure, and more m=
obile-friendly, and each proposal has benefits in different areas that the =
discussion can choose from.<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>--- A =
Genuinely Faster Web ---<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>The SPDY =
proposal has been great for raising awareness of Web performance. It takes =
a =93clean slate=94 approach to improving HTTP.<o:p></o:p></p><p>&nbsp;<o:p=
></o:p></p><p>To compare the performance of SPDY with HTTP/1.1 we have run =
tests comparing download times of several public web sites using a controll=
ed tested study. The test uses publically available software run with mostl=
y default configurations while applying all
 the currently available optimizations to HTTP/1.1. You can find a prelimin=
ary report on the test results here:
<a href=3D"http://research.microsoft.com/apps/pubs/?id=3D170059" target=3D"=
_blank">http://research.microsoft.com/apps/pubs/?id=3D170059</a>. The resul=
ts mirror other data (<a href=3D"http://www.guypo.com/technical/not-as-spdy=
-as-you-thought" target=3D"_blank">http://www.guypo.com/technical/not-as-sp=
dy-as-you-thought</a>)
 that indicate mixed results with SPDY performance.<o:p></o:p></p><p>&nbsp;=
<o:p></o:p></p><p>Our results indicate almost equal performance between SPD=
Y and HTTP/1.1 when one applies all the known optimizations to HTTP/1.1. SP=
DY=92s performance improvements are not consistent and significant. We will=
 continue our testing, and we welcome others to publish
 their results so that HTTP/2.0 can choose the best changes and deliver the=
 best possible performance and scalability improvements compared to HTTP/1.=
1.<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>--- Tak=
ing the Best from Each ---<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>Speed i=
s one of several areas of improvement. Currently, there=92s no clear consen=
sus that any one of the proposals is the clear choice or even starting poin=
t for HTTP/2.0 (based on our reading the Expressions of Interest and discus=
sions on this mailing list.
 A good example of this is the vigorous discussion around mandating TLS enc=
ryption (<a href=3D"http://tools.ietf.org/html/rfc5246" target=3D"_blank">h=
ttp://tools.ietf.org/html/rfc5246</a>) for HTTP/2.0.
<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>We think a good approach for HTTP=
/2.0 is to take the best solution for each of these areas from each of the =
proposals. &nbsp;This approach helps us focus the discussion for each area =
of the protocol. Of course, this approach would still allow the standard to
 benefit from the extensive knowledge gained from implementing existing pro=
posals.&nbsp;
<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>We believe that the group can con=
verge on consensus in the following areas, based on our reading of the Expr=
essions of Interest, by starting from the different proposals.<o:p></o:p></=
p><p>&nbsp;<o:p></o:p></p><p><span style=3D"font-family: 'Courier New'; ">-=
-----------------|------------------</span><o:p></o:p></p><p><span style=3D=
"font-family: 'Courier New'; ">Area&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | Opinion that </span><o:p></o:p></p=
><p><span style=3D"font-family: 'Courier New'; ">&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;| seems to prevail</span><o:p></o:p></p><p><span style=3D"font-famil=
y: 'Courier New'; ">------------------|------------------</span><o:p></o:p>=
</p><p><span style=3D"font-family: 'Courier New'; ">1. Compression&nbsp;&nb=
sp;&nbsp; | SPDY or Friendly</span><o:p></o:p></p><p><span style=3D"font-fa=
mily: 'Courier New'; ">------------------|------------------</span><o:p></o=
:p></p><p><span style=3D"font-family: 'Courier New'; ">2. Multiplexing&nbsp=
;&nbsp; | SPDY</span><o:p></o:p></p><p><span style=3D"font-family: 'Courier=
 New'; ">------------------|------------------</span><o:p></o:p></p><p><spa=
n style=3D"font-family: 'Courier New'; ">3. Mandatory TLS&nbsp; | Speed&#43=
;Mobility</span><o:p></o:p></p><p><span style=3D"font-family: 'Courier New'=
; ">------------------|------------------</span><o:p></o:p></p><p><span sty=
le=3D"font-family: 'Courier New'; ">4. Negotiation&nbsp;&nbsp;&nbsp; | Frie=
ndly or</span><o:p></o:p></p><p><span style=3D"font-family: 'Courier New'; =
">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp; Speed&#43;Mobility</span><o:p><=
/o:p></p><p><span style=3D"font-family: 'Courier New'; ">------------------=
|------------------</span><o:p></o:p></p><p><span style=3D"font-family: 'Co=
urier New'; ">5. Client Pull/&nbsp;&nbsp; | Speed&#43;Mobility</span><o:p><=
/o:p></p><p><span style=3D"font-family: 'Courier New'; ">&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; Server Push | </span><o:p></o:p></p><p><span style=3D"font-fam=
ily: 'Courier New'; ">------------------|------------------</span><o:p></o:=
p></p><p><span style=3D"font-family: 'Courier New'; ">6. Flow Control&nbsp;=
&nbsp; | SPDY</span><o:p></o:p></p><p><span style=3D"font-family: 'Courier =
New'; ">------------------|------------------</span><o:p></o:p></p><p><span=
 style=3D"font-family: 'Courier New'; ">7. WebSockets&nbsp;&nbsp;&nbsp;&nbs=
p; | Speed&#43;Mobility</span><o:p></o:p></p><p><span style=3D"font-family:=
 'Courier New'; ">------------------|------------------</span><o:p></o:p></=
p><p>&nbsp;<o:p></o:p></p><p>Below, we discuss each HTTP/2.0 element and th=
e current consensus that appears to be forming within the Working Group.<o:=
p></o:p></p><p>&nbsp;<o:p></o:p></p><p>1. Compression<o:p></o:p></p><p>&nbs=
p;<o:p></o:p></p><p>Compression is simple to conceptualize and implement, a=
nd it is important. Proxies and other boxes in the middle on today=92s Web =
often face problems with it. The HTTP/2.0 discussion has been rich but with=
 little consensus.<o:p></o:p></p><p>Though some studies suggest that SPDY=
=92s header compression approach shows promise, other studies show this com=
pression to be prohibitively onerous for intermediary devices. More informa=
tion here would help us make sure we=92re making the Web faster and better.
<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>Also, an entire segment of implem=
enters are not interested in compression as defined in SPDY.&nbsp; That=92s=
 a challenge because the latest strawman for the working group charter (<a =
href=3D"http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0784.ht=
ml" target=3D"_blank">http://lists.w3.org/Archives/Public/ietf-http-wg/2012=
JulSep/0784.html</a>)
 states that the =93resulting specification(s) are expected to be meet thes=
e goals for common existing deployments of HTTP; in particular, =85 interme=
diation (by proxies, corporate firewalls, =91reverse=92 proxies and Content=
 Delivery Networks).=94
<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>We think the SPDY or Friendly pro=
posals is a good starting point for progress.<o:p></o:p></p><p>&nbsp;<o:p><=
/o:p></p><p>2. Multiplexing<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>All th=
ree proposals define similar multiplexing models. We haven=92t had substant=
ial discussion on the differences. This lack of discussion suggests that th=
ere is rough consensus around the SPDY framing for multiplexing.
<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>We think that the SPDY proposal i=
s a good starting point here and best captures the current consensus.<o:p><=
/o:p></p><p>&nbsp;<o:p></o:p></p><p>3. Mandating Always On TLS <o:p></o:p><=
/p><p>&nbsp;<o:p></o:p></p><p>There is definitely no consensus to mandate T=
LS for all Web communication, but some major implementers have stated they =
will not to adopt HTTP/2.0 unless the working group supports a =93TLS is ma=
ndatory=94 position. A very preliminary note from the chair (<a href=3D"htt=
p://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/0601.html" target=
=3D"_blank">http://lists.w3.org/Archives/Public/ietf-http-wg/2012JulSep/060=
1.html</a>)
 states that there is a lack of consensus for mandating TLS. <o:p></o:p></p=
><p>&nbsp;<o:p></o:p></p><p>We think the Speed&#43;Mobility proposal is a g=
ood starting point here as it provides options to turn TLS on (or not).<o:p=
></o:p></p><p>&nbsp;<o:p></o:p></p><p>4. Negotiation<o:p></o:p></p><p>&nbsp=
;<o:p></o:p></p><p>Only two of the proposals actually discuss how different=
 endpoints agree to use HTTP/2.0.
<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>(The SPDY proposal does not speci=
fy a negotiation method. Current prototype implementations use the TLS-NPN =
(<a href=3D"http://tools.ietf.org/html/draft-agl-tls-nextprotoneg" target=
=3D"_blank">http://tools.ietf.org/html/draft-agl-tls-nextprotoneg</a>) exte=
nsion.&nbsp;
 While the other proposals use HTTP Upgrade to negotiate HTTP/2.0, some par=
ties have expressed non-support for this method as well.)
<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>We think either of the Friendly o=
r Speed&#43;Mobility proposals is a good starting point because they are th=
e only ones that have any language in this respect.&nbsp;
<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>5. Client Pull and Server Push<o:=
p></o:p></p><p>&nbsp;<o:p></o:p></p><p>There are tradeoffs between a server=
 push model and a client pull model. The main question is how to improve pe=
rformance while respecting bandwidth and client caches.
<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>Server Push has not had the same =
level of implementation and experimentation as the other features in SPDY. =
More information here would help us make sure we=92re making the Web faster=
 and better.
<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>We think the Speed&#43;Mobility p=
roposal is a good starting point here, suggesting that this issue may be be=
tter served in a separate document rather than tied to the core HTTP/2.0 pr=
otocol.
<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>6. Flow Control<o:p></o:p></p><p>=
&nbsp;<o:p></o:p></p><p>There has only been limited discussion in the HTTPb=
is working group on flow control. Flow Control offers a lot of opportunity =
make the Web faster as well as to break it; for example, implementations ne=
ed to figure out how to optimize for opposing goals (like
 throughput and responsiveness) at the same time. <o:p></o:p></p><p>&nbsp;<=
o:p></o:p></p><p>The current version of the SPDY proposal specifies a flow =
control message with many settings are that are not well-defined. The Speed=
&#43;Mobilty proposal has a simplified flow control model based on certain =
assumptions. More experimentation and information
 here would help us make sure we=92re making the Web faster and better. <o:=
p></o:p></p><p>&nbsp;<o:p></o:p></p><p>We think that the SPDY proposal is a=
 good starting point here. <o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>7. Web=
Sockets<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>We see support&nbsp; for a=
ligning HTTP/2.0 with a future version of WebSockets, as suggested in the i=
ntroduction of the Speed&#43;Mobility proposal.<o:p></o:p></p><p>&nbsp;<o:p=
></o:p></p><p>&nbsp;<o:p></o:p></p><p>--- Moving forward ---<o:p></o:p></p>=
<p>&nbsp;<o:p></o:p></p><p>We=92re excited for the Web to get faster, more =
stable, and more capable, and HTTP/2.0 is an important part of that.
<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>We believe that bringing together=
 the best elements of the current SPDY, HTTP Speed&#43;Mobility, and Networ=
k-Friendly HTTP Upgrade proposals is the best approach to make that happen.
<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>Based on the discussions on the H=
TTPbis mailing list, we=92ve suggested which proposals make the most sense =
to start from for each of the areas that HTTP/2.0 is addressing. Each of th=
ese areas needs more prototyping and experimentation and data. We=92re look=
ing
 forward to the discussion this week.<o:p></o:p></p><p>&nbsp;<o:p></o:p></p=
><p>Sincerely,<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>Henrik Frystyk Niel=
sen<o:p></o:p></p><p>Principal Architect, Microsoft Open Technologies, Inc.=
<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>Gabriel Montenegro<o:p></o:p></p>=
<p>Principal Software Development Engineer, Microsoft Corporation<o:p></o:p=
></p><p>&nbsp;<o:p></o:p></p><p>Rob Trace<o:p></o:p></p><p>Senior Program M=
anager Lead, Microsoft Corporation<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p=
>Adalberto Foresti<o:p></o:p></p><p>Senior Program Manager, Microsoft Open =
Technologies, Inc.<o:p></o:p></p><p>&nbsp;<o:p></o:p></p><p>&nbsp;<o:p></o:=
p></p></div></div></div><p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p></div><=
/div></div></div></blockquote></span></body></html>

--_000_CC3EC2A455067rbectoryahooinccom_--


From ietf-http-wg-request@listhub.w3.org  Wed Aug  1 17:41:18 2012
Return-Path: <ietf-http-wg-request@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 01FF111E81DD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Aug 2012 17:41:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.541
X-Spam-Level: 
X-Spam-Status: No, score=-9.541 tagged_above=-999 required=5 tests=[AWL=1.057, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5+HboqMjkMxK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Aug 2012 17:41:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5995511E819B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  1 Aug 2012 17:41:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwjRP-0004Ga-30 for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 00:39:03 +0000
Resent-Date: Thu, 02 Aug 2012 00:39:03 +0000
Resent-Message-Id: <E1SwjRP-0004Ga-30@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SwjR8-0004FH-L8 for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 00:38:46 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SwjR7-0002bc-Ag for ietf-http-wg@w3.org; Thu, 02 Aug 2012 00:38:46 +0000
Received: by wgbdq12 with SMTP id dq12so6453366wgb.26 for <ietf-http-wg@w3.org>; Wed, 01 Aug 2012 17:38:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=dE78nNGv0wnX9wasfRcb6ky7eR/iomKYovBahTeizYk=; b=yplOn+w7lfoK7IvWfXtYuCxTs17bBd989aE1sMVN3SPez/ZGrOfAa6acgMXWC7Xv8w BuzDFssN+K4lFXULRNcjCglcIFoo0SsK00WUh0UUlt+A3JeyZN0m7K7yfELL6pNybOAV jzI6R8jlPQS8AqHHsP2RkVVWhwH2W+hjPfjvmoFkT7buCTo3GLBt6WaAfqf/V9gkmDc5 8U1oLpGAf4cnVHSzj3Oas7mqBi86qfnPIkFinnc5kx1qdH+uOqr05HuNpkfM2myrPZ1Y a+siQaUyQm8y2gTkRJbRL/3217qAJ1A7Eque7q1DIQ1AAqOWx5Ls2TypY0HtMefo6Ulz G6Eg==
Received: by 10.180.84.1 with SMTP id u1mr60407wiy.15.1343867898873; Wed, 01 Aug 2012 17:38:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Wed, 1 Aug 2012 17:37:57 -0700 (PDT)
From: James M Snell <jasnell@gmail.com>
Date: Wed, 1 Aug 2012 17:37:57 -0700
Message-ID: <CABP7Rbd7_xoXrhiZE0wKX4ePd+_sVdrrRZ2hE9w3cN_pVWVdhQ@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0444023abcc7ca04c63da078
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SwjR7-0002bc-Ag 6c998df94d68f789df720aae70fbb449
X-Original-To: ietf-http-wg@w3.org
Subject: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CABP7Rbd7_xoXrhiZE0wKX4ePd+_sVdrrRZ2hE9w3cN_pVWVdhQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14868
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>

--f46d0444023abcc7ca04c63da078
Content-Type: text/plain; charset=UTF-8

I have submitted an I-D describing the alternative header encoding for SPDY
that I discussed previously. Should be pretty self-explanatory and there
are plenty of examples given throughout. I know it still has yet to be
decided whether SPDY will be the starting point for the HTTP/2.0 effort,
but I wanted to make this available for discussion.

http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt
http://tools.ietf.org/html/draft-snell-httpbis-bohe-00

- James

--f46d0444023abcc7ca04c63da078
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new, monospace">I have submitted an I-D describing th=
e alternative header encoding for SPDY that I discussed previously. Should =
be pretty self-explanatory and there are plenty of examples given throughou=
t. I know it still has yet to be decided whether SPDY will be the starting =
point for the HTTP/2.0 effort, but I wanted to make this available for disc=
ussion.</font><div>

<font face=3D"courier new, monospace"><br></font></div><div><font face=3D"c=
ourier new, monospace"><a href=3D"http://www.ietf.org/id/draft-snell-httpbi=
s-bohe-00.txt">http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt</a></=
font></div>

<div><font face=3D"courier new, monospace"><a href=3D"http://tools.ietf.org=
/html/draft-snell-httpbis-bohe-00">http://tools.ietf.org/html/draft-snell-h=
ttpbis-bohe-00</a></font></div><div><font face=3D"courier new, monospace"><=
br>

</font></div><div><font face=3D"courier new, monospace">- James</font></div=
><div><br></div>

--f46d0444023abcc7ca04c63da078--


From ietf-http-wg-request@listhub.w3.org  Wed Aug  1 18:43:46 2012
Return-Path: <ietf-http-wg-request@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 90A0911E816D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Aug 2012 18:43:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.106
X-Spam-Level: 
X-Spam-Status: No, score=-10.106 tagged_above=-999 required=5 tests=[AWL=0.492, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EDBclW7TfD17 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Aug 2012 18:43:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DB32611E815F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  1 Aug 2012 18:43:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwkQK-0006HS-Dy for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 01:42:00 +0000
Resent-Date: Thu, 02 Aug 2012 01:42:00 +0000
Resent-Message-Id: <E1SwkQK-0006HS-Dy@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SwkQ8-0006Gh-9c for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 01:41:48 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SwkQ7-0004bJ-1C for ietf-http-wg@w3.org; Thu, 02 Aug 2012 01:41:48 +0000
Received: by vcdd16 with SMTP id d16so8079654vcd.2 for <ietf-http-wg@w3.org>; Wed, 01 Aug 2012 18:41:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zi4t+u1zr48W+4MX9DAWmjRA7k0zHnrGxjMUltIv4KE=; b=CGHzzB0FEXzpXWfvs+3eq6wAj6/2zQ6KYaAIyLNLxqdwyDg6MUq4zl0UwkqS33DvDf o5eM4Sl02PZJCQSGodIX7cRW1z4fC7TSlRCY0hCNq423LpNgGF6GTENvlLWpSCbrTAPm /AfgaIYWKLzcYkDpc9uHTcZZDafchDTFyxkmnQT0aSm/C/i5CIJdU/RVUPMXxBqRhmZE vBjJescpNFW1pootUa9RD3OiLdppyUHZoMLjzehromtX8JFvaVzlI4iLXqnb3W0oUNLZ gmISRCw77boHpQBOY+q7scoGqcA948vGh4SsNZkwUqTaeHInBLzIx4IukRXbhqR+2yjt m8iA==
MIME-Version: 1.0
Received: by 10.58.164.98 with SMTP id yp2mr7535442veb.50.1343871680823; Wed, 01 Aug 2012 18:41:20 -0700 (PDT)
Received: by 10.58.221.97 with HTTP; Wed, 1 Aug 2012 18:41:20 -0700 (PDT)
In-Reply-To: <CABP7Rbd7_xoXrhiZE0wKX4ePd+_sVdrrRZ2hE9w3cN_pVWVdhQ@mail.gmail.com>
References: <CABP7Rbd7_xoXrhiZE0wKX4ePd+_sVdrrRZ2hE9w3cN_pVWVdhQ@mail.gmail.com>
Date: Wed, 1 Aug 2012 18:41:20 -0700
Message-ID: <CAAPAK-5vBAYhjA1rOxX4f=rGWpreFcD+r9NpGsgSNJ=O+w5jmg@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=047d7b60455628bfc804c63e82a9
Received-SPF: pass client-ip=209.85.220.171; envelope-from=dzonatas@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SwkQ7-0004bJ-1C b1f6e61b1e1535bfcd8c0eb24eb6a978
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CAAPAK-5vBAYhjA1rOxX4f=rGWpreFcD+r9NpGsgSNJ=O+w5jmg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14869
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>

--047d7b60455628bfc804c63e82a9
Content-Type: text/plain; charset=ISO-8859-1

Section 1.4 p7: http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt

That would be, after 89 bytes and SPDY, 150 bytes and 150 bits, 28 bytes
and 28 bits, 102 bytes minus 102 bits. One SPDY version uses UTF8, another
uses int32, and the one with mobility uses only 16bit words (network
friendly).


On Wednesday, August 1, 2012, James M Snell wrote:

> I have submitted an I-D describing the alternative header encoding for
> SPDY that I discussed previously. Should be pretty self-explanatory and
> there are plenty of examples given throughout. I know it still has yet to
> be decided whether SPDY will be the starting point for the HTTP/2.0 effort,
> but I wanted to make this available for discussion.
>
> http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt
> http://tools.ietf.org/html/draft-snell-httpbis-bohe-00
>
> - James
>
>

--047d7b60455628bfc804c63e82a9
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Section 1.4 p7:=A0<a href=3D"http://www.ietf.org/id/draft-snell-httpbis-boh=
e-00.txt" target=3D"_blank" style=3D"font-family:&#39;courier new&#39;,mono=
space">http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt</a><div><br><=
/div>
<div>That would be, after 89 bytes and SPDY, 150 bytes and 150 bits, 28 byt=
es and 28 bits, 102 bytes minus 102 bits. One SPDY version uses UTF8, anoth=
er uses int32, and the one with mobility uses only 16bit words (network fri=
endly).</div>
<div><br><br>On Wednesday, August 1, 2012, James M Snell  wrote:<br><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex"><font face=3D"courier new, monospace">I have submit=
ted an I-D describing the alternative header encoding for SPDY that I discu=
ssed previously. Should be pretty self-explanatory and there are plenty of =
examples given throughout. I know it still has yet to be decided whether SP=
DY will be the starting point for the HTTP/2.0 effort, but I wanted to make=
 this available for discussion.</font><div>


<font face=3D"courier new, monospace"><br></font></div><div><font face=3D"c=
ourier new, monospace"><a href=3D"http://www.ietf.org/id/draft-snell-httpbi=
s-bohe-00.txt" target=3D"_blank">http://www.ietf.org/id/draft-snell-httpbis=
-bohe-00.txt</a></font></div>


<div><font face=3D"courier new, monospace"><a href=3D"http://tools.ietf.org=
/html/draft-snell-httpbis-bohe-00" target=3D"_blank">http://tools.ietf.org/=
html/draft-snell-httpbis-bohe-00</a></font></div><div><font face=3D"courier=
 new, monospace"><br>


</font></div><div><font face=3D"courier new, monospace">- James</font></div=
><div><br></div>
</blockquote></div>

--047d7b60455628bfc804c63e82a9--


From ietf-http-wg-request@listhub.w3.org  Wed Aug  1 20:33:20 2012
Return-Path: <ietf-http-wg-request@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 2FDE011E80EF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Aug 2012 20:33:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.749
X-Spam-Level: 
X-Spam-Status: No, score=-9.749 tagged_above=-999 required=5 tests=[AWL=0.227, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dKeHbPCiQRLh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Aug 2012 20:33:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5DBE611E809C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  1 Aug 2012 20:33:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Swm8H-0002zT-Ui for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 03:31:29 +0000
Resent-Date: Thu, 02 Aug 2012 03:31:29 +0000
Resent-Message-Id: <E1Swm8H-0002zT-Ui@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Swm85-0002ye-7i for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 03:31:17 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Swm83-0008MM-Pm for ietf-http-wg@w3.org; Thu, 02 Aug 2012 03:31:17 +0000
Received: by lbol12 with SMTP id l12so428177lbo.2 for <ietf-http-wg@w3.org>; Wed, 01 Aug 2012 20:30:49 -0700 (PDT)
X-Google-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:x-gm-message-state; bh=g0jsj1RpBPc6mYcxErPlbY5ZCyby4kAFzRHVeOIFAzU=; b=I9tWPmHJOpcWGVmXjpK6bW8UySjBog0fbkbTYf6bf/Wu9G9To9xPgpcqDMAUWxjBaP qLGzfiv2AavhSGif5lPXkI9MGbhNFoItAiOLkTg85H0pKblCOJEIEMwO+WHT6uhPR3tn YCUfikO2Qln8jq1OUat1mOA6Agyww91PANTsJIrUt/BfsFxlUnoygpeBP4MGUHuNlh6y VrT6f5gBFzrx4IUv5MGD9Nd4iz8iLjUmqEC6YLGnJLRkk+BbMO3yEUEPiCuthcNNR5Jh 8+7gKiUeojopihazUn98jJsfv4hxUmk/OEQ4dsoY3OSGVbniqjY1A3JloAnP49A5Q0nb Piaw==
MIME-Version: 1.0
Received: by 10.152.131.37 with SMTP id oj5mr19988456lab.14.1343878248993; Wed, 01 Aug 2012 20:30:48 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Wed, 1 Aug 2012 20:30:48 -0700 (PDT)
In-Reply-To: <CABP7Rbd7_xoXrhiZE0wKX4ePd+_sVdrrRZ2hE9w3cN_pVWVdhQ@mail.gmail.com>
References: <CABP7Rbd7_xoXrhiZE0wKX4ePd+_sVdrrRZ2hE9w3cN_pVWVdhQ@mail.gmail.com>
Date: Wed, 1 Aug 2012 20:30:48 -0700
Message-ID: <CABaLYCuQWVvpZOp+vxQ7z4k2QU0Rqj3G+A=R2OGGXtmQ_3bc+A@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: James M Snell <jasnell@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d042c6b8da7150004c64009dd
X-Gm-Message-State: ALoCoQkoU1BXSAAh7DYugN5W2MD/ekyoLLWaVUVO/vKNspRUuWEWc0ogepwtZLk2UdI5dpD7LqA2
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1Swm83-0008MM-Pm d1cca84a59760def4e56d4727bfd4d22
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CABaLYCuQWVvpZOp+vxQ7z4k2QU0Rqj3G+A=R2OGGXtmQ_3bc+A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14870
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>

--f46d042c6b8da7150004c64009dd
Content-Type: text/plain; charset=ISO-8859-1

A couple of thoughts:

* Thanks for writing up!

* I don't think we need utf-8 encoded headers.  Not sure how you'd pass
them off to HTTP anyway?

* The codepages seem like complexity, but I'm not sure the benefit.  I
would remove them.

* I would remove the flags too - per header flags - do we really need it?
 I'd remove it without a very clear use case.

* I know that 32bits seems like a lot.  Defining length fields has two
routes:  fixed length or variable length.  I like the fixed length because
I believe they are simpler.  However, the price of that simplicity is that
you've got limits.  Everyone hates limits :-)  In your proposal you whacked
the number of headers to 8 bits, or 256 headers.   While I agree this is an
edge, I don't see a reason why it should be against the rules to have more.
 Same for the length of a header value - you've used 16 bits (64KB).  While
this seems massive by today's standards, in 10 years maybe 1MB cookies are
the norm.  I don't know, but I'd hate to have the limit.  So.... this
leaves us thinking that maybe we should use variable length encoding.
 Personally, I think the fixed length simplicity is worth it.  But this is
subjective, of course.   Just use 32bits everywhere - it works well and you
won't notice the perf difference at all (I measured :-)





On Wed, Aug 1, 2012 at 5:37 PM, James M Snell <jasnell@gmail.com> wrote:

> I have submitted an I-D describing the alternative header encoding for
> SPDY that I discussed previously. Should be pretty self-explanatory and
> there are plenty of examples given throughout. I know it still has yet to
> be decided whether SPDY will be the starting point for the HTTP/2.0 effort,
> but I wanted to make this available for discussion.
>
> http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt
> http://tools.ietf.org/html/draft-snell-httpbis-bohe-00
>
> - James
>
>

--f46d042c6b8da7150004c64009dd
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

A couple of thoughts:=A0<div><br></div><div>* Thanks for writing up!<br><br=
></div><div>* I don&#39;t think we need utf-8 encoded headers. =A0Not sure =
how you&#39;d pass them off to HTTP anyway?</div><div><br></div><div>* The =
codepages seem like complexity, but I&#39;m not sure the benefit. =A0I woul=
d remove them.</div>
<div><br></div><div>* I would remove the flags too - per header flags - do =
we really need it? =A0I&#39;d remove it without a very clear use case.</div=
><div><br></div><div>* I know that 32bits seems like a lot. =A0Defining len=
gth fields has two routes: =A0fixed length or variable length. =A0I like th=
e fixed length because I believe they are simpler. =A0However, the price of=
 that simplicity is that you&#39;ve got limits. =A0Everyone hates limits :-=
) =A0In your proposal you whacked the number of headers to 8 bits, or 256 h=
eaders. =A0 While I agree this is an edge, I don&#39;t see a reason why it =
should be against the rules to have more. =A0Same for the length of a heade=
r value - you&#39;ve used 16 bits (64KB). =A0While this seems massive by to=
day&#39;s standards, in 10 years maybe 1MB cookies are the norm. =A0I don&#=
39;t know, but I&#39;d hate to have the limit. =A0So.... this leaves us thi=
nking that maybe we should use variable length encoding. =A0Personally, I t=
hink the fixed length simplicity is worth it. =A0But this is subjective, of=
 course. =A0 Just use 32bits everywhere - it works well and you won&#39;t n=
otice the perf difference at all (I measured :-)</div>
<div><br></div><div><br></div><div><br></div><div><br><br><div class=3D"gma=
il_quote">On Wed, Aug 1, 2012 at 5:37 PM, James M Snell <span dir=3D"ltr">&=
lt;<a href=3D"mailto:jasnell@gmail.com" target=3D"_blank">jasnell@gmail.com=
</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><font face=3D"courier new, monospace">I have=
 submitted an I-D describing the alternative header encoding for SPDY that =
I discussed previously. Should be pretty self-explanatory and there are ple=
nty of examples given throughout. I know it still has yet to be decided whe=
ther SPDY will be the starting point for the HTTP/2.0 effort, but I wanted =
to make this available for discussion.</font><div>


<font face=3D"courier new, monospace"><br></font></div><div><font face=3D"c=
ourier new, monospace"><a href=3D"http://www.ietf.org/id/draft-snell-httpbi=
s-bohe-00.txt" target=3D"_blank">http://www.ietf.org/id/draft-snell-httpbis=
-bohe-00.txt</a></font></div>


<div><font face=3D"courier new, monospace"><a href=3D"http://tools.ietf.org=
/html/draft-snell-httpbis-bohe-00" target=3D"_blank">http://tools.ietf.org/=
html/draft-snell-httpbis-bohe-00</a></font></div><span class=3D"HOEnZb"><fo=
nt color=3D"#888888"><div>
<font face=3D"courier new, monospace"><br>

</font></div><div><font face=3D"courier new, monospace">- James</font></div=
><div><br></div>
</font></span></blockquote></div><br></div>

--f46d042c6b8da7150004c64009dd--


From ietf-http-wg-request@listhub.w3.org  Wed Aug  1 21:27:20 2012
Return-Path: <ietf-http-wg-request@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 CC00711E8122 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Aug 2012 21:27:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.307
X-Spam-Level: 
X-Spam-Status: No, score=-10.307 tagged_above=-999 required=5 tests=[AWL=0.292, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rM-tm14FxKnZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Aug 2012 21:27:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0E81111E8109 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  1 Aug 2012 21:27:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Swmyv-0007uF-DB for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 04:25:53 +0000
Resent-Date: Thu, 02 Aug 2012 04:25:53 +0000
Resent-Message-Id: <E1Swmyv-0007uF-DB@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Swmyd-0007tQ-NZ for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 04:25:35 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Swmyc-0000U0-93 for ietf-http-wg@w3.org; Thu, 02 Aug 2012 04:25:35 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q724P4oI009388; Thu, 2 Aug 2012 07:25:04 +0300
X-CheckPoint: {5019FE8F-0-1B221DC2-4FFFF}
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Thu, 2 Aug 2012 07:25:02 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Mike Belshe <mike@belshe.com>
CC: James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Thu, 2 Aug 2012 07:25:01 +0300
Thread-Topic: FYI... Binary Optimized Header Encoding for SPDY
Thread-Index: Ac1wZshwR4ynZI8nTDKa/9KIgDLR8w==
Message-ID: <9F29C471-77D8-4EB7-9334-09B451BE64EF@checkpoint.com>
References: <CABP7Rbd7_xoXrhiZE0wKX4ePd+_sVdrrRZ2hE9w3cN_pVWVdhQ@mail.gmail.com> <CABaLYCuQWVvpZOp+vxQ7z4k2QU0Rqj3G+A=R2OGGXtmQ_3bc+A@mail.gmail.com>
In-Reply-To: <CABaLYCuQWVvpZOp+vxQ7z4k2QU0Rqj3G+A=R2OGGXtmQ_3bc+A@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Swmyc-0000U0-93 34bc5a5c8e0bdf0237582b35e48dcada
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/9F29C471-77D8-4EB7-9334-09B451BE64EF@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14871
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 Aug 1, 2012, at 8:30 PM, Mike Belshe wrote:

> A couple of thoughts:=20
>=20
> * Thanks for writing up!
>=20
> * I don't think we need utf-8 encoded headers.  Not sure how you'd pass t=
hem off to HTTP anyway?
>=20
> * The codepages seem like complexity, but I'm not sure the benefit.  I wo=
uld remove them.
>=20
> * I would remove the flags too - per header flags - do we really need it?=
  I'd remove it without a very clear use case.
>=20
> * I know that 32bits seems like a lot.  Defining length fields has two ro=
utes:  fixed length or variable length.  I like the fixed length because I =
believe they are simpler.  However, the price of that simplicity is that yo=
u've got limits.  Everyone hates limits :-)  In your proposal you whacked t=
he number of headers to 8 bits, or 256 headers.   While I agree this is an =
edge, I don't see a reason why it should be against the rules to have more.=
  Same for the length of a header value - you've used 16 bits (64KB).  Whil=
e this seems massive by today's standards, in 10 years maybe 1MB cookies ar=
e the norm.  I don't know, but I'd hate to have the limit.  So.... this lea=
ves us thinking that maybe we should use variable length encoding.  Persona=
lly, I think the fixed length simplicity is worth it.  But this is subjecti=
ve, of course.   Just use 32bits everywhere - it works well and you won't n=
otice the perf difference at all (I measured :-)

Hi

I agree. I haven't written a draft like James, but I would like to suggest =
an alternative encoding, that I think has the advantage of being easier to =
parse:

Every header begins with a 48-bit descriptor (I think 32-bit would be enoug=
h with a 16-bit length/value, but this is safer)

  L0cRiiiiiiiiiiiiVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
or
  L1cRiiiiiiiiiiiillllllllllllllllllllllllllllllll

The first bit is the "Last" bit - 1 for the last header and 0 for all the p=
revious ones
The second bit is 0 for TV headers (type-value) and 1 for TLV headers (type=
-length-value)
The third bit is 1 for critical (do not parse the request if you don't unde=
rstand this) or zero for not
The fourth bit is reserved.

The next 12 bits are the type of header. There are actually 2^13 possible h=
eaders, because the same type can be used for both a TV and a TLV header.

For TV, the next 32 bits hold the actual value - a number from 0 to 4,294,9=
67,295 - should be enough for lots of headers, including those denoting tim=
e
For TLV, the next 32 bits hold the length, and are followed by the value.

Using your registries from section 1.4 as an example, we get this:

20 01 00 02 00 00 (version=3D2.0)
20 02 00 00 00 01 (method=3DGET)
60 04 00 00 00 01 2F (path=3D"/")
C0 03 00 00 00 0F 77 77 77 2E 65 78 61 6d 70 6C 65 2E 63 6F 6D (host=3D"www=
.example.com")

That's 40 bytes. The HTTP/1.1 version is 39 bytes:

GET / HTTP/1.1
Host: www.example.com

Of course, you save more on headers that have longer names, like "strict-tr=
ansport-security" or "Original-Encoded-Information-Types" or "Downgraded-Di=
sposition-Notification-To"
You also save a lot on those that can be TV, and the value doesn't have to =
be numeric. It could be a bit string of whatever, as long as it fits in 32 =
bits.

Yoav



From ietf-http-wg-request@listhub.w3.org  Wed Aug  1 22:24:09 2012
Return-Path: <ietf-http-wg-request@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 331E011E80F3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Aug 2012 22:24:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.623
X-Spam-Level: 
X-Spam-Status: No, score=-7.623 tagged_above=-999 required=5 tests=[AWL=2.976, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MMrdSIab74Yd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Aug 2012 22:24:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1DFD811E809A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  1 Aug 2012 22:24:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Swnrp-0000TT-Vd for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 05:22:38 +0000
Resent-Date: Thu, 02 Aug 2012 05:22:37 +0000
Resent-Message-Id: <E1Swnrp-0000TT-Vd@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SwnrY-0000Rx-TB for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 05:22:20 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SwnrW-0002C0-3W for ietf-http-wg@w3.org; Thu, 02 Aug 2012 05:22:20 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.6 (Build 3449)) with SMTP id <0019171562@smtp.qbik.com>; Thu, 02 Aug 2012 17:21:53 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Yoav Nir" <ynir@checkpoint.com>, "Mike Belshe" <mike@belshe.com>
Cc: "James M Snell" <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Thu, 02 Aug 2012 05:21:53 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <9F29C471-77D8-4EB7-9334-09B451BE64EF@checkpoint.com>
Message-Id: <emc1f2400c-3d0f-48eb-8eea-cb91edab99b3@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SwnrW-0002C0-3W be3adff05abfe2f36f4e7b0ee9e98957
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/emc1f2400c-3d0f-48eb-8eea-cb91edab99b3@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14872
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>

need to be able to handle / transport private/unknown/extension headers.

I'd propose just flagging the header as such, and making the payload=20
contain the header name followed by a single 00 byte then the value. =20
Since header names have to be ASCII, this should be no problem.

Also, since this gives you an option to transport ANY header.

Also, length of size fields could be a frame attribute, rather than=20
just 32 bits per-header.  So, if the frame wants to, it could say=20
lengths are in 16 bit words, rather than 32, or whatever.  If you have=20
a header that won't fit, you'd mark it in the frame.  This would give=20
an upgrade path for lengths without the cost now.

I don't really like using 32 bit for TV headers though.  That won't=20
work for dates.  I'd prefer a byte for value TYPE, e.g.=20

00 =3D 32 bit integer
01 =3D 64 bit integer
02 =3D datetime (possibly just 64 bit ns since epoch)
03 =3D text
04 =3D binary/opaque
05 - 7F extension types (length prefixed value)

You'd potentially use this instead of differentiating between TV and=20
TLV headers, since anything with variable length (text or binary) would=20
have a length field in there as well, fixed-length types wouldn't need=20
it.

New types could be overloaded within binary, and the length would take=20
care of it.

Or could just use the bit for whether there's a length field before=20
payload.  But I think we need to cater for more than just 32bit integer=20
when it comes to fixed-length value types (if only date/time).

Actually date time would benefit from future-proofing as well, since ns=20
may be great resolution now, but hopeless in 10yrs.  Which would=20
require either an extension type, or variable length type for datetime=20
encoding (e.g. maybe just for fractional second part).


Adrien



------ Original Message ------
From: "Yoav Nir" <ynir@checkpoint.com>
To: "Mike Belshe" <mike@belshe.com>
Cc: "James M Snell" <jasnell@gmail.com>;"ietf-http-wg@w3.org"=20
<ietf-http-wg@w3.org>
Sent: 2/08/2012 4:25:01 p.m.
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
>On Aug 1, 2012, at 8:30 PM, Mike Belshe wrote:
>
>
>>
>>A couple of thoughts:
>>
>>* Thanks for writing up!
>>
>>* I don't think we need utf-8 encoded headers.  Not sure how you'd pass=
 them off to HTTP anyway?
>>
>>* The codepages seem like complexity, but I'm not sure the benefit.  I=
 would remove them.
>>
>>* I would remove the flags too - per header flags - do we really need =
it?  I'd remove it without a very clear use case.
>>
>>* I know that 32bits seems like a lot.  Defining length fields has two=
 routes:  fixed length or variable length.  I like the fixed length because=
 I believe they are simpler.  However, the price of that simplicity is that=
 you've got limits.  Everyone hates limits :-)  In your proposal you whacke=
d the number of headers to 8 bits, or 256 headers.   While I agree this =
is an edge, I don't see a reason why it should be against the rules to have=
 more.  Same for the length of a header value - you've used 16 bits (64KB).=
  While this seems massive by today's standards, in 10 years maybe 1MB cook=
ies are the norm.  I don't know, but I'd hate to have the limit.  So....=
 this leaves us thinking that maybe we should use variable length encoding.=
  Personally, I think the fixed length simplicity is worth it.  But this=
 is subjective, of course.   Just use 32bits everywhere - it works well =
and you won't notice the perf difference at all (I measured :-)
>>
>
>
>Hi
>
>I agree. I haven't written a draft like James, but I would like to suggest=
 an alternative encoding, that I think has the advantage of being easier=
 to parse:
>
>Every header begins with a 48-bit descriptor (I think 32-bit would be enou=
gh with a 16-bit length/value, but this is safer)
>
> L0cRiiiiiiiiiiiiVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
>or
> L1cRiiiiiiiiiiiillllllllllllllllllllllllllllllll
>
>The first bit is the "Last" bit - 1 for the last header and 0 for all the=
 previous ones
>The second bit is 0 for TV headers (type-value) and 1 for TLV headers (typ=
e-length-value)
>The third bit is 1 for critical (do not parse the request if you don't =
understand this) or zero for not
>The fourth bit is reserved.
>
>The next 12 bits are the type of header. There are actually 2^13 possible=
 headers, because the same type can be used for both a TV and a TLV header.
>
>For TV, the next 32 bits hold the actual value - a number from 0 to 4,294,=
967,295 - should be enough for lots of headers, including those denoting=
 time
>For TLV, the next 32 bits hold the length, and are followed by the value.
>
>Using your registries from section 1.4 as an example, we get this:
>
>20 01 00 02 00 00 (version=3D2.0)
>20 02 00 00 00 01 (method=3DGET)
>60 04 00 00 00 01 2F (path=3D"/")
>C0 03 00 00 00 0F 77 77 77 2E 65 78 61 6d 70 6C 65 2E 63 6F 6D (host=3D=
"www.example.com")
>
>That's 40 bytes. The HTTP/1.1 version is 39 bytes:
>
>GET / HTTP/1.1
>Host: www.example.com
>
>Of course, you save more on headers that have longer names, like "strict-t=
ransport-security" or "Original-Encoded-Information-Types" or "Downgraded-D=
isposition-Notification-To"
>You also save a lot on those that can be TV, and the value doesn't have=
 to be numeric. It could be a bit string of whatever, as long as it fits=
 in 32 bits.
>
>Yoav
>
>
>
>



From ietf-http-wg-request@listhub.w3.org  Wed Aug  1 22:53:43 2012
Return-Path: <ietf-http-wg-request@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 1937111E8122 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Aug 2012 22:53:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.564
X-Spam-Level: 
X-Spam-Status: No, score=-9.564 tagged_above=-999 required=5 tests=[AWL=1.034, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qcjB57TcJdAh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Aug 2012 22:53:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A977A11E812A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  1 Aug 2012 22:53:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwoKi-000116-Ok for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 05:52:28 +0000
Resent-Date: Thu, 02 Aug 2012 05:52:28 +0000
Resent-Message-Id: <E1SwoKi-000116-Ok@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SwoKW-00010L-Cl for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 05:52:16 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SwoKU-0003nN-R1 for ietf-http-wg@w3.org; Thu, 02 Aug 2012 05:52:16 +0000
Received: by wgbdq12 with SMTP id dq12so6600798wgb.26 for <ietf-http-wg@w3.org>; Wed, 01 Aug 2012 22:51:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dD0noClC5kHiEoXlK+rKiHWSmAWIXg8wPKVDn44FFmw=; b=HOCtpibMtXuRNbCvA653i235r23XTf6dSrdcByv4rQjvYYAPHlmoxM8YN9OS4PEq20 bIGy1N8ojk3h4py6mOpx+VV6zngc6rNIB2UEfHMI117qcoPQh5ZGZEBzvatqCShw2XXO 5g9uLo623WXMsr9RsmanIiwOgJouPopcFNJiuLfZAqVkL6UjiWdDz7WAd4UK6q6JFSfA tgCwMbImpqKlI9agl7mjZXn1ehKTxe0ZOd+KZ6SCNUhFcRz9LSqikKXinJ9d1VaUgZXu FNHHJUns1P0q2waJ4OxWrsto8E1dEV+S5FeXb6e2RWFPugjyegtmJBkjIPUVTkV65gnp GDuw==
MIME-Version: 1.0
Received: by 10.216.138.200 with SMTP id a50mr10220461wej.155.1343886708123; Wed, 01 Aug 2012 22:51:48 -0700 (PDT)
Received: by 10.223.171.72 with HTTP; Wed, 1 Aug 2012 22:51:47 -0700 (PDT)
Received: by 10.223.171.72 with HTTP; Wed, 1 Aug 2012 22:51:47 -0700 (PDT)
In-Reply-To: <CABaLYCuQWVvpZOp+vxQ7z4k2QU0Rqj3G+A=R2OGGXtmQ_3bc+A@mail.gmail.com>
References: <CABP7Rbd7_xoXrhiZE0wKX4ePd+_sVdrrRZ2hE9w3cN_pVWVdhQ@mail.gmail.com> <CABaLYCuQWVvpZOp+vxQ7z4k2QU0Rqj3G+A=R2OGGXtmQ_3bc+A@mail.gmail.com>
Date: Wed, 1 Aug 2012 22:51:47 -0700
Message-ID: <CABP7RbeMQZE9W+iJ5A37xUfVD6Ks3ZVkDg5Xw3Ry3PSyeOzD8Q@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=0016e6d7e737db271404c6420116
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SwoKU-0003nN-R1 f1c72b5f4a3c5a97e842c183efec31fa
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CABP7RbeMQZE9W+iJ5A37xUfVD6Ks3ZVkDg5Xw3Ry3PSyeOzD8Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14873
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>

--0016e6d7e737db271404c6420116
Content-Type: text/plain; charset=UTF-8

On Aug 1, 2012 8:30 PM, "Mike Belshe" <mike@
<mike@belshe.com>belshe.com<mike@belshe.com>>
wrote:
>
> A couple of thoughts:
>
> * Thanks for writing up!
>
> * I don't think we need utf-8 encoded headers.  Not sure how you'd pass
them off to HTTP anyway?
>

The hand off to http 1.1 could be problematic, yes and I'm not 100% sold on
the utf-8 thing yet either. It's not an impossible problem tho and
shouldn't be too much of a challenge since most of the existing header
value definitions would likely not be modified... that is, just because
utf-8 is allowed in general doesn't mean that the existing value
definitions would all automatically be changed to allow for all possible
utf-8 characters.

> * The codepages seem like complexity, but I'm not sure the benefit.  I
would remove them.
>

The code pages are specifically *because* of the http 1.1 handoff and the
need to continue supporting extensibility of headers. If an intermediary
happens across a code page zero header that it does not understand, and
therefore cannot translate to an appropriate http 1.1 style header, a
protocol error can be returned.

> * I would remove the flags too - per header flags - do we really need it?
 I'd remove it without a very clear use case.
>

The immediate use cases are documented within the draft already: binary
header values and multiple values.

> * I know that 32bits seems like a lot.  Defining length fields has two
routes:  fixed length or variable length.  I like the fixed length because
I believe they are simpler.  However, the price of that simplicity is that
you've got limits.  Everyone hates limits :-)  In your proposal you whacked
the number of headers to 8 bits, or 256 headers.   While I agree this is an
edge, I don't see a reason why it should be against the rules to have more.
 Same for the length of a header value - you've used 16 bits (64KB).  While
this seems massive by today's standards, in 10 years maybe 1MB cookies are
the norm.  I don't know, but I'd hate to have the limit.  So.... this
leaves us thinking that maybe we should use variable length encoding.
 Personally, I think the fixed length simplicity is worth it.  But this is
subjective, of course.   Just use 32bits everywhere - it works well and you
won't notice the perf difference at all (I measured :-)
>
>

If you need more than 256 headers, use multiple HEADERS frames. There is no
limit to the number of HEADERS frames you can send so that should cover
your edge case.

And I would argue that anyone who is using header values longer than
max(int16) Is Doing It Wrong.

Variable length encoding would be a mistake because it's simply not
necessary.

- James

>
>
>
> On Wed, Aug 1, 2012 at 5:37 PM, James M Snell <jasnell <jasnell@gmail.com>
@ <jasnell@gmail.com>gmail.com <jasnell@gmail.com>> wrote:
>>
>> I have submitted an I-D describing the alternative header encoding for
SPDY that I discussed previously. Should be pretty self-explanatory and
there are plenty of examples given throughout. I know it still has yet to
be decided whether SPDY will be the starting point for the HTTP/2.0 effort,
but I wanted to make this available for discussion.
>>
>> http <http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>://<http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>
www.ietf.org <http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>/<http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>
id <http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>/draft-<http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>
snell <http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>-<http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>
httpbis <http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>-<http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>
bohe <http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>-00.<http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>
txt <http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>
>> http <http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>://<http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>
tools.ietf.org <http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>/<http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>
html <http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>/draft-<http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>
snell <http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>-<http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>
httpbis <http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>-<http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>
bohe <http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>-00<http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>
>>
>> - James
>>
>

--0016e6d7e737db271404c6420116
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
On Aug 1, 2012 8:30 PM, &quot;Mike Belshe&quot; &lt;<a href=3D"mailto:mike@=
belshe.com">mike@</a><a href=3D"mailto:mike@belshe.com">belshe.com</a>&gt; =
wrote:<br>
&gt;<br>
&gt; A couple of thoughts:=C2=A0<br>
&gt;<br>
&gt; * Thanks for writing up!<br>
&gt;<br>
&gt; * I don&#39;t think we need utf-8 encoded headers. =C2=A0Not sure how =
you&#39;d pass them off to HTTP anyway?<br>
&gt;</p>
<p dir=3D"ltr">The hand off to http 1.1 could be problematic, yes and I&#39=
;m not 100% sold on the utf-8 thing yet either. It&#39;s not an impossible =
problem tho and shouldn&#39;t be too much of a challenge since most of the =
existing header value definitions would likely not be modified... that is, =
just because utf-8 is allowed in general doesn&#39;t mean that the existing=
 value definitions would all automatically be changed to allow for all poss=
ible utf-8 characters.</p>

<p dir=3D"ltr">&gt; * The codepages seem like complexity, but I&#39;m not s=
ure the benefit. =C2=A0I would remove them.<br>
&gt;</p>
<p dir=3D"ltr">The code pages are specifically *because* of the http 1.1 ha=
ndoff and the need to continue supporting extensibility of headers. If an i=
ntermediary happens across a code page zero header that it does not underst=
and, and therefore cannot translate to an appropriate http 1.1 style header=
, a protocol error can be returned. </p>

<p dir=3D"ltr">&gt; * I would remove the flags too - per header flags - do =
we really need it? =C2=A0I&#39;d remove it without a very clear use case.<b=
r>
&gt;</p>
<p dir=3D"ltr">The immediate use cases are documented within the draft alre=
ady: binary header values and multiple values. </p>
<p dir=3D"ltr">&gt; * I know that 32bits seems like a lot. =C2=A0Defining l=
ength fields has two routes: =C2=A0fixed length or variable length. =C2=A0I=
 like the fixed length because I believe they are simpler. =C2=A0However, t=
he price of that simplicity is that you&#39;ve got limits. =C2=A0Everyone h=
ates limits :-) =C2=A0In your proposal you whacked the number of headers to=
 8 bits, or 256 headers. =C2=A0 While I agree this is an edge, I don&#39;t =
see a reason why it should be against the rules to have more. =C2=A0Same fo=
r the length of a header value - you&#39;ve used 16 bits (64KB). =C2=A0Whil=
e this seems massive by today&#39;s standards, in 10 years maybe 1MB cookie=
s are the norm. =C2=A0I don&#39;t know, but I&#39;d hate to have the limit.=
 =C2=A0So.... this leaves us thinking that maybe we should use variable len=
gth encoding. =C2=A0Personally, I think the fixed length simplicity is wort=
h it. =C2=A0But this is subjective, of course. =C2=A0 Just use 32bits every=
where - it works well and you won&#39;t notice the perf difference at all (=
I measured :-)<br>

&gt;<br>
&gt;</p>
<p dir=3D"ltr">If you need more than 256 headers, use multiple HEADERS fram=
es. There is no limit to the number of HEADERS frames you can send so that =
should cover your edge case. </p>
<p dir=3D"ltr">And I would argue that anyone who is using header values lon=
ger than max(int16) Is Doing It Wrong. </p>
<p dir=3D"ltr">Variable length encoding would be a mistake because it&#39;s=
 simply not necessary.</p>
<p dir=3D"ltr">- James</p>
<p dir=3D"ltr">&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Aug 1, 2012 at 5:37 PM, James M Snell &lt;<a href=3D"mailto:ja=
snell@gmail.com">jasnell</a><a href=3D"mailto:jasnell@gmail.com">@</a><a hr=
ef=3D"mailto:jasnell@gmail.com">gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I have submitted an I-D describing the alternative header encoding=
 for SPDY that I discussed previously. Should be pretty self-explanatory an=
d there are plenty of examples given throughout. I know it still has yet to=
 be decided whether SPDY will be the starting point for the HTTP/2.0 effort=
, but I wanted to make this available for discussion.<br>

&gt;&gt;<br>
&gt;&gt; <a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt"=
>http</a><a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt"=
>://</a><a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt">=
www.ietf.org</a><a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-=
00.txt">/</a><a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00.=
txt">id</a><a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00.tx=
t">/draft-</a><a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00=
.txt">snell</a><a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-0=
0.txt">-</a><a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00.t=
xt">httpbis</a><a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-0=
0.txt">-</a><a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00.t=
xt">bohe</a><a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00.t=
xt">-00.</a><a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00.t=
xt">txt</a><br>

&gt;&gt; <a href=3D"http://tools.ietf.org/html/draft-snell-httpbis-bohe-00"=
>http</a><a href=3D"http://tools.ietf.org/html/draft-snell-httpbis-bohe-00"=
>://</a><a href=3D"http://tools.ietf.org/html/draft-snell-httpbis-bohe-00">=
tools.ietf.org</a><a href=3D"http://tools.ietf.org/html/draft-snell-httpbis=
-bohe-00">/</a><a href=3D"http://tools.ietf.org/html/draft-snell-httpbis-bo=
he-00">html</a><a href=3D"http://tools.ietf.org/html/draft-snell-httpbis-bo=
he-00">/draft-</a><a href=3D"http://tools.ietf.org/html/draft-snell-httpbis=
-bohe-00">snell</a><a href=3D"http://tools.ietf.org/html/draft-snell-httpbi=
s-bohe-00">-</a><a href=3D"http://tools.ietf.org/html/draft-snell-httpbis-b=
ohe-00">httpbis</a><a href=3D"http://tools.ietf.org/html/draft-snell-httpbi=
s-bohe-00">-</a><a href=3D"http://tools.ietf.org/html/draft-snell-httpbis-b=
ohe-00">bohe</a><a href=3D"http://tools.ietf.org/html/draft-snell-httpbis-b=
ohe-00">-00</a><br>

&gt;&gt;<br>
&gt;&gt; - James<br>
&gt;&gt;<br>
&gt;</p>

--0016e6d7e737db271404c6420116--


From ietf-http-wg-request@listhub.w3.org  Wed Aug  1 23:18:29 2012
Return-Path: <ietf-http-wg-request@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 9783111E811E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Aug 2012 23:18:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.59
X-Spam-Level: 
X-Spam-Status: No, score=-10.59 tagged_above=-999 required=5 tests=[AWL=0.009, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 51Pn8vr34nKR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  1 Aug 2012 23:18:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A5F8E11E8109 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  1 Aug 2012 23:18:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Swoit-0004HZ-4L for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 06:17:27 +0000
Resent-Date: Thu, 02 Aug 2012 06:17:27 +0000
Resent-Message-Id: <E1Swoit-0004HZ-4L@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Swoih-0004GY-G5 for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 06:17:15 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Swoig-0004Xq-Ho for ietf-http-wg@w3.org; Thu, 02 Aug 2012 06:17:15 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id D41083B6B9; Thu,  2 Aug 2012 06:16:52 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q726GnKs078106; Thu, 2 Aug 2012 06:16:50 GMT (envelope-from phk@phk.freebsd.dk)
To: "Adrien W. de Croy" <adrien@qbik.com>
cc: "Yoav Nir" <ynir@checkpoint.com>, "Mike Belshe" <mike@belshe.com>, "James M Snell" <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Thu, 02 Aug 2012 05:21:53 GMT." <emc1f2400c-3d0f-48eb-8eea-cb91edab99b3@bombed>
Content-Type: text/plain; charset=ISO-8859-1
Date: Thu, 02 Aug 2012 06:16:49 +0000
Message-ID: <78105.1343888209@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Swoig-0004Xq-Ho fec8e38f49e28b2e4a1b913a16b3eed0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/78105.1343888209@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14874
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>

In message <emc1f2400c-3d0f-48eb-8eea-cb91edab99b3@bombed>, "Adrien W. de Croy"
 writes:

>02 = datetime (possibly just 64 bit ns since epoch)

No, no, no, no!

If if you want fractional seconds in binary representation, you make
it fractional seconds in binary representation:

	32.32 bits since epoch.

(or if you prefer: 64 bit count of 1/2^32 seconds since epoch)

(See also: NTP)

Your suggested format would pointlessly require a 64bit division
and mulitiply operation to pull out the integer seconds field, or
to turn a integer second field into your format.

With a true binary format, it is just a matter of pulling 32 bits
in/out of 64 bits.

Should we later need higher resolution, a true binary format can
trivially be extended to 48.48 bits since epoch (or 37.41 bits
if aliens take over our computer architecture) without costing
an expensive conversion routine.

Mixed radix, and alien-radix representations of time is _always_
wrong, no matter who blesses the format (see timeval, timespec and
many other mistakes.)


In reality, it is dubious if we need more than millisecond resolution
for HTTP timestamps any time soon, and therefore the best current
compromise format would probably be 48.16.

(64 bit count of 1/65536ths of a second)

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 01:01:30 2012
Return-Path: <ietf-http-wg-request@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 6728A21F8E00 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 01:01:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.754
X-Spam-Level: 
X-Spam-Status: No, score=-9.754 tagged_above=-999 required=5 tests=[AWL=0.222, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Tnrh9RQp6l2a for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 01:01:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A7DA321F8DFE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 01:01:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwqK2-0001VU-72 for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 07:59:54 +0000
Resent-Date: Thu, 02 Aug 2012 07:59:54 +0000
Resent-Message-Id: <E1SwqK2-0001VU-72@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SwqJl-0001Ty-E3 for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 07:59:37 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SwqJj-0007aP-LH for ietf-http-wg@w3.org; Thu, 02 Aug 2012 07:59:37 +0000
Received: by lbol12 with SMTP id l12so515861lbo.2 for <ietf-http-wg@w3.org>; Thu, 02 Aug 2012 00:59:08 -0700 (PDT)
X-Google-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:x-gm-message-state; bh=V0L8NPmi+Bmwz/jtO42CqXbrLyB12BHT3bDztwLrzwA=; b=SJ8Npbbqa4y+Kvi31QZuzXsZPVXB9I8aUE/HpS3ZCIe0tzIXm8JQwfgtUHYuU05B3s ECawsEf2+/olCSsqA5IB6LDihEbmU1W4JHRE9izflgcUAeAobTqcEM5Jo0VoBZZp1Nmz Kd//STbH4xX+1bffmTV2N17nK8xNi4KN7MNGla8kDx3fxn/+axrrpr6tOQmcI9EoETvx ed77q1YCgdgYkSHtDE8whALrh0LNwV64kNRl8AspxATvg2TAlqWrmzsfLmefeB6tTplx C5zp6L81bxdk0TX2YrnggtD51hDlur3PZVtkgRMiOMj7mwshh+yK2UpJWla5ZQkJn3dQ kXzQ==
MIME-Version: 1.0
Received: by 10.112.84.65 with SMTP id w1mr9331879lby.40.1343894348793; Thu, 02 Aug 2012 00:59:08 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Thu, 2 Aug 2012 00:59:08 -0700 (PDT)
In-Reply-To: <CABP7RbeMQZE9W+iJ5A37xUfVD6Ks3ZVkDg5Xw3Ry3PSyeOzD8Q@mail.gmail.com>
References: <CABP7Rbd7_xoXrhiZE0wKX4ePd+_sVdrrRZ2hE9w3cN_pVWVdhQ@mail.gmail.com> <CABaLYCuQWVvpZOp+vxQ7z4k2QU0Rqj3G+A=R2OGGXtmQ_3bc+A@mail.gmail.com> <CABP7RbeMQZE9W+iJ5A37xUfVD6Ks3ZVkDg5Xw3Ry3PSyeOzD8Q@mail.gmail.com>
Date: Thu, 2 Aug 2012 00:59:08 -0700
Message-ID: <CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: James M Snell <jasnell@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0401696d4689a204c643c9c7
X-Gm-Message-State: ALoCoQlFtv9HTj9au/jqWy6yK8VUWxDWAea5TB0qEKN5Q/ghV+aoPGaNeSmHoPt6zneXsDgRkF/J
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SwqJj-0007aP-LH 2085ac4e7d3465f81871657a9ce0baab
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14875
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>

--f46d0401696d4689a204c643c9c7
Content-Type: text/plain; charset=ISO-8859-1

On Wed, Aug 1, 2012 at 10:51 PM, James M Snell <jasnell@gmail.com> wrote:

>
> On Aug 1, 2012 8:30 PM, "Mike Belshe" <mike@ <mike@belshe.com>belshe.com<mike@belshe.com>>
> wrote:
> >
> > A couple of thoughts:
> >
> > * Thanks for writing up!
> >
> > * I don't think we need utf-8 encoded headers.  Not sure how you'd pass
> them off to HTTP anyway?
> >
>
> The hand off to http 1.1 could be problematic, yes and I'm not 100% sold
> on the utf-8 thing yet either. It's not an impossible problem tho and
> shouldn't be too much of a challenge since most of the existing header
> value definitions would likely not be modified... that is, just because
> utf-8 is allowed in general doesn't mean that the existing value
> definitions would all automatically be changed to allow for all possible
> utf-8 characters.
>

I just don't see any problem being solved by adding this?  If there is no
benefit, we should not do it, right?


> > * The codepages seem like complexity, but I'm not sure the benefit.  I
> would remove them.
> >
>
> The code pages are specifically *because* of the http 1.1 handoff and the
> need to continue supporting extensibility of headers. If an intermediary
> happens across a code page zero header that it does not understand, and
> therefore cannot translate to an appropriate http 1.1 style header, a
> protocol error can be returned.
>
Why would there be a code page zero header that it doesn't understand?  We
don't want a registry here which changes over time - those are nightmares
to maintain.  However, a static translation could work, which is what I
thought you had with the known headers and the extensible headers. The code
pages aren't necessary to make this work - and seem to just add unnecessary
partitioning.


>  > * I would remove the flags too - per header flags - do we really need
> it?  I'd remove it without a very clear use case.
> >
>
> The immediate use cases are documented within the draft already: binary
> header values and multiple values.
>
One was for utf8, which I think we could nix.  I'm not sure why we need the
binary/multivalue flags - what feature is this for?   I don't see why we'd
want this - its not like you can pass binary data up to HTTP anyway?



>  > * I know that 32bits seems like a lot.  Defining length fields has two
> routes:  fixed length or variable length.  I like the fixed length because
> I believe they are simpler.  However, the price of that simplicity is that
> you've got limits.  Everyone hates limits :-)  In your proposal you whacked
> the number of headers to 8 bits, or 256 headers.   While I agree this is an
> edge, I don't see a reason why it should be against the rules to have more.
>  Same for the length of a header value - you've used 16 bits (64KB).  While
> this seems massive by today's standards, in 10 years maybe 1MB cookies are
> the norm.  I don't know, but I'd hate to have the limit.  So.... this
> leaves us thinking that maybe we should use variable length encoding.
>  Personally, I think the fixed length simplicity is worth it.  But this is
> subjective, of course.   Just use 32bits everywhere - it works well and you
> won't notice the perf difference at all (I measured :-)
> >
> >
>
> If you need more than 256 headers, use multiple HEADERS frames. There is
> no limit to the number of HEADERS frames you can send so that should cover
> your edge case.
>
> I can live with that; there might be a sentinel issue here - when did you
get the last set of headers.

> And I would argue that anyone who is using header values longer than
> max(int16) Is Doing It Wrong.
>
I disagree.  If you had a 1Gbps line to your phone and a 1Tbps line to your
house, a 100KB cookie might be just great...  we have to design this for
the future.


>  Variable length encoding would be a mistake because it's simply not
> necessary.
>
I don't like it either.  But compressing the 32bits to 16bits is a poor
trade.  Just make it work.  This level of compression won't have an impact
on performance, but will have an impact on how the protocol evolves.

Mike



- James
>
> >
> >
> >
> > On Wed, Aug 1, 2012 at 5:37 PM, James M Snell <jasnell<jasnell@gmail.com>
> @ <jasnell@gmail.com>gmail.com <jasnell@gmail.com>> wrote:
> >>
> >> I have submitted an I-D describing the alternative header encoding for
> SPDY that I discussed previously. Should be pretty self-explanatory and
> there are plenty of examples given throughout. I know it still has yet to
> be decided whether SPDY will be the starting point for the HTTP/2.0 effort,
> but I wanted to make this available for discussion.
> >>
> >> http <http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>://<http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>
> www.ietf.org <http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>/<http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>
> id <http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>/draft-<http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>
> snell <http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>-<http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>
> httpbis <http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>-<http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>
> bohe <http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>-00.<http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>
> txt <http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>
> >> http <http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>://<http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>
> tools.ietf.org <http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>/<http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>
> html <http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>/draft-<http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>
> snell <http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>-<http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>
> httpbis <http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>-<http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>
> bohe <http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>-00<http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>
> >>
> >> - James
> >>
> >
>

--f46d0401696d4689a204c643c9c7
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Wed, Aug 1, 2012 at 10:51 PM, James M=
 Snell <span dir=3D"ltr">&lt;<a href=3D"mailto:jasnell@gmail.com" target=3D=
"_blank">jasnell@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">
<div class=3D"im"><p dir=3D"ltr"><br>
On Aug 1, 2012 8:30 PM, &quot;Mike Belshe&quot; &lt;<a href=3D"mailto:mike@=
belshe.com" target=3D"_blank">mike@</a><a href=3D"mailto:mike@belshe.com" t=
arget=3D"_blank">belshe.com</a>&gt; wrote:<br>
&gt;<br>
&gt; A couple of thoughts:=A0<br>
&gt;<br>
&gt; * Thanks for writing up!<br>
&gt;<br>
&gt; * I don&#39;t think we need utf-8 encoded headers. =A0Not sure how you=
&#39;d pass them off to HTTP anyway?<br>
&gt;</p>
</div><p dir=3D"ltr">The hand off to http 1.1 could be problematic, yes and=
 I&#39;m not 100% sold on the utf-8 thing yet either. It&#39;s not an impos=
sible problem tho and shouldn&#39;t be too much of a challenge since most o=
f the existing header value definitions would likely not be modified... tha=
t is, just because utf-8 is allowed in general doesn&#39;t mean that the ex=
isting value definitions would all automatically be changed to allow for al=
l possible utf-8 characters.</p>
</blockquote><div><br></div><div>I just don&#39;t see any problem being sol=
ved by adding this? =A0If there is no benefit, we should not do it, right?<=
/div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im">

<p dir=3D"ltr">&gt; * The codepages seem like complexity, but I&#39;m not s=
ure the benefit. =A0I would remove them.<br>
&gt;</p>
</div><p dir=3D"ltr">The code pages are specifically *because* of the http =
1.1 handoff and the need to continue supporting extensibility of headers. I=
f an intermediary happens across a code page zero header that it does not u=
nderstand, and therefore cannot translate to an appropriate http 1.1 style =
header, a protocol error can be returned.</p>
</blockquote><div>Why would there be a code page zero header that it doesn&=
#39;t understand? =A0We don&#39;t want a registry here which changes over t=
ime - those are nightmares to maintain. =A0However, a static translation co=
uld work, which is what I thought you had with the known headers and the ex=
tensible headers. The code pages aren&#39;t necessary to make this work - a=
nd seem to just add unnecessary partitioning.</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><p dir=3D"ltr"> </p><div class=
=3D"im">

<p dir=3D"ltr">&gt; * I would remove the flags too - per header flags - do =
we really need it? =A0I&#39;d remove it without a very clear use case.<br>
&gt;</p>
</div><p dir=3D"ltr">The immediate use cases are documented within the draf=
t already: binary header values and multiple values.</p></blockquote><div>O=
ne was for utf8, which I think we could nix. =A0I&#39;m not sure why we nee=
d the binary/multivalue flags - what feature is this for? =A0 I don&#39;t s=
ee why we&#39;d want this - its not like you can pass binary data up to HTT=
P anyway?</div>
<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir=3D"ltr">=
 </p><div class=3D"im">
<p dir=3D"ltr">&gt; * I know that 32bits seems like a lot. =A0Defining leng=
th fields has two routes: =A0fixed length or variable length. =A0I like the=
 fixed length because I believe they are simpler. =A0However, the price of =
that simplicity is that you&#39;ve got limits. =A0Everyone hates limits :-)=
 =A0In your proposal you whacked the number of headers to 8 bits, or 256 he=
aders. =A0 While I agree this is an edge, I don&#39;t see a reason why it s=
hould be against the rules to have more. =A0Same for the length of a header=
 value - you&#39;ve used 16 bits (64KB). =A0While this seems massive by tod=
ay&#39;s standards, in 10 years maybe 1MB cookies are the norm. =A0I don&#3=
9;t know, but I&#39;d hate to have the limit. =A0So.... this leaves us thin=
king that maybe we should use variable length encoding. =A0Personally, I th=
ink the fixed length simplicity is worth it. =A0But this is subjective, of =
course. =A0 Just use 32bits everywhere - it works well and you won&#39;t no=
tice the perf difference at all (I measured :-)<br>


&gt;<br>
&gt;</p>
</div><p dir=3D"ltr">If you need more than 256 headers, use multiple HEADER=
S frames. There is no limit to the number of HEADERS frames you can send so=
 that should cover your edge case. </p>
<p dir=3D"ltr"></p></blockquote><div>I can live with that; there might be a=
 sentinel issue here - when did you get the last set of headers.=A0</div><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex">
<p dir=3D"ltr">And I would argue that anyone who is using header values lon=
ger than max(int16) Is Doing It Wrong.</p></blockquote><div>I disagree. =A0=
If you had a 1Gbps line to your phone and a 1Tbps line to your house, a 100=
KB cookie might be just great... =A0we have to design this for the future.<=
/div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><p dir=3D"ltr"> </p>
<p dir=3D"ltr">Variable length encoding would be a mistake because it&#39;s=
 simply not necessary.</p></blockquote><div>I don&#39;t like it either. =A0=
But compressing the 32bits to 16bits is a poor trade. =A0Just make it work.=
 =A0This level of compression won&#39;t have an impact on performance, but =
will have an impact on how the protocol evolves.</div>
<div><br>Mike</div><div><br></div><div><br></div><div><br></div><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex"><span class=3D"HOEnZb"><font color=3D"#888888">
<p dir=3D"ltr">- James</p></font></span><div class=3D"HOEnZb"><div class=3D=
"h5">
<p dir=3D"ltr">&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Aug 1, 2012 at 5:37 PM, James M Snell &lt;<a href=3D"mailto:ja=
snell@gmail.com" target=3D"_blank">jasnell</a><a href=3D"mailto:jasnell@gma=
il.com" target=3D"_blank">@</a><a href=3D"mailto:jasnell@gmail.com" target=
=3D"_blank">gmail.com</a>&gt; wrote:<br>

&gt;&gt;<br>
&gt;&gt; I have submitted an I-D describing the alternative header encoding=
 for SPDY that I discussed previously. Should be pretty self-explanatory an=
d there are plenty of examples given throughout. I know it still has yet to=
 be decided whether SPDY will be the starting point for the HTTP/2.0 effort=
, but I wanted to make this available for discussion.<br>


&gt;&gt;<br>
&gt;&gt; <a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt"=
 target=3D"_blank">http</a><a href=3D"http://www.ietf.org/id/draft-snell-ht=
tpbis-bohe-00.txt" target=3D"_blank">://</a><a href=3D"http://www.ietf.org/=
id/draft-snell-httpbis-bohe-00.txt" target=3D"_blank">www.ietf.org</a><a hr=
ef=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt" target=3D"_bl=
ank">/</a><a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt=
" target=3D"_blank">id</a><a href=3D"http://www.ietf.org/id/draft-snell-htt=
pbis-bohe-00.txt" target=3D"_blank">/draft-</a><a href=3D"http://www.ietf.o=
rg/id/draft-snell-httpbis-bohe-00.txt" target=3D"_blank">snell</a><a href=
=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt" target=3D"_blan=
k">-</a><a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt" =
target=3D"_blank">httpbis</a><a href=3D"http://www.ietf.org/id/draft-snell-=
httpbis-bohe-00.txt" target=3D"_blank">-</a><a href=3D"http://www.ietf.org/=
id/draft-snell-httpbis-bohe-00.txt" target=3D"_blank">bohe</a><a href=3D"ht=
tp://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt" target=3D"_blank">-00=
.</a><a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt" tar=
get=3D"_blank">txt</a><br>


&gt;&gt; <a href=3D"http://tools.ietf.org/html/draft-snell-httpbis-bohe-00"=
 target=3D"_blank">http</a><a href=3D"http://tools.ietf.org/html/draft-snel=
l-httpbis-bohe-00" target=3D"_blank">://</a><a href=3D"http://tools.ietf.or=
g/html/draft-snell-httpbis-bohe-00" target=3D"_blank">tools.ietf.org</a><a =
href=3D"http://tools.ietf.org/html/draft-snell-httpbis-bohe-00" target=3D"_=
blank">/</a><a href=3D"http://tools.ietf.org/html/draft-snell-httpbis-bohe-=
00" target=3D"_blank">html</a><a href=3D"http://tools.ietf.org/html/draft-s=
nell-httpbis-bohe-00" target=3D"_blank">/draft-</a><a href=3D"http://tools.=
ietf.org/html/draft-snell-httpbis-bohe-00" target=3D"_blank">snell</a><a hr=
ef=3D"http://tools.ietf.org/html/draft-snell-httpbis-bohe-00" target=3D"_bl=
ank">-</a><a href=3D"http://tools.ietf.org/html/draft-snell-httpbis-bohe-00=
" target=3D"_blank">httpbis</a><a href=3D"http://tools.ietf.org/html/draft-=
snell-httpbis-bohe-00" target=3D"_blank">-</a><a href=3D"http://tools.ietf.=
org/html/draft-snell-httpbis-bohe-00" target=3D"_blank">bohe</a><a href=3D"=
http://tools.ietf.org/html/draft-snell-httpbis-bohe-00" target=3D"_blank">-=
00</a><br>


&gt;&gt;<br>
&gt;&gt; - James<br>
&gt;&gt;<br>
&gt;</p>
</div></div></blockquote></div><br>

--f46d0401696d4689a204c643c9c7--


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 01:29:20 2012
Return-Path: <ietf-http-wg-request@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 7E9EE21F8E50 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 01:29:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.59
X-Spam-Level: 
X-Spam-Status: No, score=-10.59 tagged_above=-999 required=5 tests=[AWL=0.009, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ot1sB+18tAa3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 01:29:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DBA8921F8E4F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 01:29:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwqlP-00021X-06 for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 08:28:11 +0000
Resent-Date: Thu, 02 Aug 2012 08:28:11 +0000
Resent-Message-Id: <E1SwqlP-00021X-06@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SwqlC-0001zt-N0 for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 08:27:58 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SwqlB-0000Ks-R5 for ietf-http-wg@w3.org; Thu, 02 Aug 2012 08:27:58 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 5EAE83B74C; Thu,  2 Aug 2012 08:27:36 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q728RZkv078619; Thu, 2 Aug 2012 08:27:35 GMT (envelope-from phk@phk.freebsd.dk)
To: Mike Belshe <mike@belshe.com>
cc: James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Thu, 02 Aug 2012 00:59:08 MST." <CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Thu, 02 Aug 2012 08:27:35 +0000
Message-ID: <78618.1343896055@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SwqlB-0000Ks-R5 bef3d2094487c379037e84fb8ee044b6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/78618.1343896055@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14876
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>

In message <CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com>
, Mike Belshe writes:

>> > * I don't think we need utf-8 encoded headers.  Not sure how you'd pass
>> them off to HTTP anyway?
>
>I just don't see any problem being solved by adding this?  If there is no
>benefit, we should not do it, right?

If this would solve any major problems inside a 20 year horizon, we
should do it.

That being said, I am not a big fan of UTF8 in high-performance
protocol context:  It is much slower to process than 8bit string
formats.

UTF8 also gives rise to a number of interesting security aspects,
primarily where humans eyeball for security and don't detect minor
differences between glyphs, particularly in FQDNs, but I can't see
how we can do anything about that in HTTP/2.0.

It's not obvious to me, that we can evade the UTF8 requirement,
so it might be worthwhile to consider what we can gain by embracing
it.

For instance, could we get rid of the %-encoding of URIs by allowing UTF8 ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 03:23:21 2012
Return-Path: <ietf-http-wg-request@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 88EF621F8DF9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 03:23:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JxdIEbMvCxfR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 03:23:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id ACD7D21F8DF5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 03:23:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwsXM-0001t5-Sj for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 10:21:48 +0000
Resent-Date: Thu, 02 Aug 2012 10:21:48 +0000
Resent-Message-Id: <E1SwsXM-0001t5-Sj@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SwsX7-0001qx-Fb for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 10:21:33 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SwsX6-000556-2P for ietf-http-wg@w3.org; Thu, 02 Aug 2012 10:21:33 +0000
Received: (qmail invoked by alias); 02 Aug 2012 10:21:02 -0000
Received: from AMontpellier-554-1-157-28.w90-57.abo.wanadoo.fr (EHLO [192.168.3.132]) [90.57.32.28] by mail.gmx.net (mp069) with SMTP; 02 Aug 2012 12:21:02 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18Qid1MRTgQ6VzTht0Atpg3wHTApk5Upm6lxnAsx9 7Wz38Tst3zZbUE
Message-ID: <501A546F.4020401@gmx.de>
Date: Thu, 02 Aug 2012 12:20:31 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Thunderbird/16.0a2
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <CABP7Rbd7_xoXrhiZE0wKX4ePd+_sVdrrRZ2hE9w3cN_pVWVdhQ@mail.gmail.com> <CABaLYCuQWVvpZOp+vxQ7z4k2QU0Rqj3G+A=R2OGGXtmQ_3bc+A@mail.gmail.com> <CABP7RbeMQZE9W+iJ5A37xUfVD6Ks3ZVkDg5Xw3Ry3PSyeOzD8Q@mail.gmail.com>
In-Reply-To: <CABP7RbeMQZE9W+iJ5A37xUfVD6Ks3ZVkDg5Xw3Ry3PSyeOzD8Q@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SwsX6-000556-2P e9c120910a82cd2845af40a2c4fe5d7c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/501A546F.4020401@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14877
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 02.08.2012 07:51, James M Snell wrote:
>
> On Aug 1, 2012 8:30 PM, "Mike Belshe" <mike@
> <mailto:mike@belshe.com>belshe.com <mailto:mike@belshe.com>> wrote:
>  >
>  > A couple of thoughts:
>  >
>  > * Thanks for writing up!
>  >
>  > * I don't think we need utf-8 encoded headers.  Not sure how you'd
> pass them off to HTTP anyway?
>  >
>
> The hand off to http 1.1 could be problematic, yes and I'm not 100% sold
> on the utf-8 thing yet either. It's not an impossible problem tho and
> shouldn't be too much of a challenge since most of the existing header
> value definitions would likely not be modified... that is, just because
> utf-8 is allowed in general doesn't mean that the existing value
> definitions would all automatically be changed to allow for all possible
> utf-8 characters.
 > ...

I believe solving the header field encoding problem would be great; in 
particular with some people trying to move all metadata into header fields.

As far as I can tell, the only widely used header field that *does* 
require non-ASCII is Content-Disposition, for which a non-lossy 
transformation is available (see 5987/6266), although some older UAs do 
not get that.

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 05:12:13 2012
Return-Path: <ietf-http-wg-request@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 B559721F8E22 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 05:12:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.181
X-Spam-Level: 
X-Spam-Status: No, score=-7.181 tagged_above=-999 required=5 tests=[AWL=2.418, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SUBJ_RE_NUM=1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RKXh+Jc5vVI4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 05:12:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A00DB21F8E1F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 05:12:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwuEQ-0005fC-QE for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 12:10:22 +0000
Resent-Date: Thu, 02 Aug 2012 12:10:22 +0000
Resent-Message-Id: <E1SwuEQ-0005fC-QE@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SwuED-0005du-31 for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 12:10:09 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SwuEA-0000Mj-RP for ietf-http-wg@w3.org; Thu, 02 Aug 2012 12:10:09 +0000
Received: From [192.168.1.25] (unverified [219.89.218.88]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.2.6 (Build 3449)) with SMTP id <0019171895@smtp.qbik.com>; Fri, 03 Aug 2012 00:09:42 +1200
From: "Adrien de Croy" <adrien@qbik.com>
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc: "Yoav Nir" <ynir@checkpoint.com>, "Mike Belshe" <mike@belshe.com>, "James M Snell" <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Thu, 02 Aug 2012 12:09:42 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <78105.1343888209@critter.freebsd.dk>
Message-Id: <em57fc159f-7eb0-4506-89a6-a55d04ed64ed@reboist>
Mime-Version: 1.0
Reply-To: "Adrien de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SwuEA-0000Mj-RP bad68e16ec57ac2a4db24fc08b80f6c3
X-Original-To: ietf-http-wg@w3.org
Subject: Re[2]: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/em57fc159f-7eb0-4506-89a6-a55d04ed64ed@reboist>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14878
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>

------ Original Message ------
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
>In message <emc1f2400c-3d0f-48eb-8eea-cb91edab99b3@bombed>, "Adrien W. =
de Croy"
>writes:
>
>
>>
>>02 =3D datetime (possibly just 64 bit ns since epoch)
>>
>
>
>No, no, no, no!
>
>If if you want fractional seconds in binary representation, you make
>it fractional seconds in binary representation:
>
> 32.32 bits since epoch.
>
>(or if you prefer: 64 bit count of 1/2^32 seconds since epoch)
>
>(See also: NTP)
>
>Your suggested format would pointlessly require a 64bit division
>and mulitiply operation to pull out the integer seconds field, or
>to turn a integer second field into your format.
>
I guess the point I was trying to make is maybe we should consider=20
value types other than only 32 bit integers.

Best representation of date / time depends on what it will be used for=20
in the end.  Any sort of epoch-based representation requires a bunch of=20
divisions to convert to human-readable form, whereas epoch-based is=20
obviously better for comparisons.

So maybe even several date/time types would be appropriate (I can hear=20
the groans).  But that seems way OTT.

In the end though, when I get a file attributes from windows, the=20
filetime members are in 64 bit ns since epoch.  So either I'd convert=20
to something before transmission, or push that task through to the=20
client side.

I'd have a bunch of 64 bit division to do to convert that to 32.32 or=20
whatever other format.

I don't know what sort of timestamps unix serves up.  I'd expect it=20
mainly to be determined by underlying clock hardware on motherboards. =20

Adrien

>
>
>With a true binary format, it is just a matter of pulling 32 bits
>in/out of 64 bits.
>
>Should we later need higher resolution, a true binary format can
>trivially be extended to 48.48 bits since epoch (or 37.41 bits
>if aliens take over our computer architecture) without costing
>an expensive conversion routine.
>
>Mixed radix, and alien-radix representations of time is _always_
>wrong, no matter who blesses the format (see timeval, timespec and
>many other mistakes.)
>
>
>In reality, it is dubious if we need more than millisecond resolution
>for HTTP timestamps any time soon, and therefore the best current
>compromise format would probably be 48.16.
>
>(64 bit count of 1/65536ths of a second)
>
>--
>Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
>phk@FreeBSD.ORG         | TCP/IP since RFC 956
>FreeBSD committer       | BSD since 4.3-tahoe
>Never attribute to malice what can adequately be explained by incompetence=
.
>
>
>



From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 05:30:51 2012
Return-Path: <ietf-http-wg-request@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 66B6121F8569 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 05:30:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.59
X-Spam-Level: 
X-Spam-Status: No, score=-10.59 tagged_above=-999 required=5 tests=[AWL=0.009, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NIDIHse7PfCO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 05:30:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 841B821F855F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 05:30:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwuX4-0004Vp-8U for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 12:29:38 +0000
Resent-Date: Thu, 02 Aug 2012 12:29:38 +0000
Resent-Message-Id: <E1SwuX4-0004Vp-8U@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SwuWs-0004UR-Gr for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 12:29:26 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SwuWr-00010h-FM for ietf-http-wg@w3.org; Thu, 02 Aug 2012 12:29:26 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 4B7B23B767; Thu,  2 Aug 2012 12:29:03 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q72CSshf001458; Thu, 2 Aug 2012 12:29:00 GMT (envelope-from phk@phk.freebsd.dk)
To: "Adrien de Croy" <adrien@qbik.com>
cc: "Yoav Nir" <ynir@checkpoint.com>, "Mike Belshe" <mike@belshe.com>, "James M Snell" <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Thu, 02 Aug 2012 12:09:42 GMT." <em57fc159f-7eb0-4506-89a6-a55d04ed64ed@reboist>
Content-Type: text/plain; charset=ISO-8859-1
Date: Thu, 02 Aug 2012 12:28:54 +0000
Message-ID: <1457.1343910534@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SwuWr-00010h-FM 426fafee5a20a72c7966d6eab6bd647f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/1457.1343910534@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14879
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>

In message <em57fc159f-7eb0-4506-89a6-a55d04ed64ed@reboist>, "Adrien de Croy" w
rites:

>In the end though, when I get a file attributes from windows, the 
>filetime members are in 64 bit ns since epoch.  So either I'd convert 
>to something before transmission, or push that task through to the 
>client side.

Just because somebody else did it wrong, doesn't mean we should
emulate them.

>I don't know what sort of timestamps unix serves up.  I'd expect it 
>mainly to be determined by underlying clock hardware on motherboards.  

No, it's been standardized (wrong!) for 20+ years: struct timeval
and struct timespec, both of which are also mixed-radix formats.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 09:42:49 2012
Return-Path: <ietf-http-wg-request@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 0B09311E8146 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 09:42:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TV-FM0xuaTXJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 09:42:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5928311E8145 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 09:42:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwyS1-0002Ne-QI for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 16:40:41 +0000
Resent-Date: Thu, 02 Aug 2012 16:40:41 +0000
Resent-Message-Id: <E1SwyS1-0002Ne-QI@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1SwyRn-0002MW-6B for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 16:40:27 +0000
Received: from mtv-iport-1.cisco.com ([173.36.130.12]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1SwyRm-0001ZN-6h for ietf-http-wg@w3.org; Thu, 02 Aug 2012 16:40:27 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=lear@cisco.com; l=449; q=dns/txt; s=iport; t=1343925626; x=1345135226; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=BDSFSR2YJZAKaSQ6npan/YT1sgc1OsGjfFyb9eQKSDw=; b=KDUdQHkfI17J5f3yOfPGFrcQ5nLpJnjCsKfYk/PUsWhJOqfegcR6SarP EdLDPjiyipoUjsGnfVfeonRebS8IzHUb8jZAmMZgsGXZu2w4BRdDWDyYt OrVc8WA+TnrBqDmS4kuBelV/hVnsLYjGIkeYgu4UWJ6sEGUhSoIE1wnKw M=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AlQJAF2sGlCrRDoI/2dsb2JhbABFhXuyFQQEgQCBB4IgAQEBBBIBEFUBEAsYAgIFFgsCAgkDAgECAUUGDQEHAQEeh2qcZ40ZkzqBIZAbgRIDiE2Meo4ngWaCfw
X-IronPort-AV: E=Sophos;i="4.77,702,1336348800";  d="scan'208";a="50773898"
Received: from mtv-core-3.cisco.com ([171.68.58.8]) by mtv-iport-1.cisco.com with ESMTP; 02 Aug 2012 16:39:59 +0000
Received: from sjc-vpn2-531.cisco.com (sjc-vpn2-531.cisco.com [10.21.114.19]) by mtv-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id q72GdwwP024319 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Aug 2012 16:39:59 GMT
Message-ID: <501AAD5F.9080709@cisco.com>
Date: Thu, 02 Aug 2012 09:39:59 -0700
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: "Adrien W. de Croy" <adrien@qbik.com>
CC: Yoav Nir <ynir@checkpoint.com>, Mike Belshe <mike@belshe.com>, James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <emc1f2400c-3d0f-48eb-8eea-cb91edab99b3@bombed>
In-Reply-To: <emc1f2400c-3d0f-48eb-8eea-cb91edab99b3@bombed>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=173.36.130.12; envelope-from=lear@cisco.com; helo=mtv-iport-1.cisco.com
X-W3C-Hub-Spam-Status: No, score=-14.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: maggie.w3.org 1SwyRm-0001ZN-6h 0841717aa70946ca4bd5c14d333ca30e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/501AAD5F.9080709@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14880
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 8/1/12 10:21 PM, Adrien W. de Croy wrote:
>
> I don't really like using 32 bit for TV headers though.  That won't
> work for dates.  I'd prefer a byte for value TYPE, e.g.
> 00 = 32 bit integer
> 01 = 64 bit integer
> 02 = datetime (possibly just 64 bit ns since epoch)
> 03 = text
> 04 = binary/opaque
> 05 - 7F extension types (length prefixed value)

I have a nagging concern that we not reinvent ASN.1 in this process.

Eliot


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 09:43:55 2012
Return-Path: <ietf-http-wg-request@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 52EA611E8122 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 09:43:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.758
X-Spam-Level: 
X-Spam-Status: No, score=-9.758 tagged_above=-999 required=5 tests=[AWL=0.218, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fUggTU5vA1b9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 09:43:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 18F3A11E812E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 09:43:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwyUQ-0002XD-VM for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 16:43:11 +0000
Resent-Date: Thu, 02 Aug 2012 16:43:10 +0000
Resent-Message-Id: <E1SwyUQ-0002XD-VM@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SwyUE-0002Vk-RI for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 16:42:58 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SwyUA-0001dc-OD for ietf-http-wg@w3.org; Thu, 02 Aug 2012 16:42:58 +0000
Received: by mail-lb0-f171.google.com with SMTP id l12so788169lbo.2 for <ietf-http-wg@w3.org>; Thu, 02 Aug 2012 09:42:34 -0700 (PDT)
X-Google-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:x-gm-message-state; bh=kSZMK9zdtX7STfFm9De14xwWowK1CKyk2VilYJFVvmY=; b=W5FO6y9mfkOtaQWMeuKjB3NnVl0Uv8kl96Ru6r4kXxi+HOZsIh1RL7du56YUfNNbvw TvJU3UvIyisuOQFcvpgz79TPEUKc7cmf/fthoav8V4bTnOLk8yMt0G/EWDtgxyP5D/NY 9iPPIx/SfbY8KEe+7eD+aMvheFfPt59cgBA5Exf+2gFCL9fvRlCymAvMqBHAEWcIaYJM qpbWGOHL79DcA7CWt4uNMqIXn+n3byzpNy8RHNoGYPKnOMRVfC9rkT9FaOwka35tPBLo tQK65lkxPOKnyqkjj9i69jsSJh2+gYGCOcY10pUXxmQdSqUzUwr47FU7OIFmFm5/Wfkk /TlQ==
MIME-Version: 1.0
Received: by 10.152.48.37 with SMTP id i5mr21966937lan.36.1343925754134; Thu, 02 Aug 2012 09:42:34 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Thu, 2 Aug 2012 09:42:34 -0700 (PDT)
In-Reply-To: <501AAD5F.9080709@cisco.com>
References: <emc1f2400c-3d0f-48eb-8eea-cb91edab99b3@bombed> <501AAD5F.9080709@cisco.com>
Date: Thu, 2 Aug 2012 09:42:34 -0700
Message-ID: <CABaLYCuK0HYb-L6e7fcyLatd_B-vZNnHRToM_3=9VXgoyhVTNw@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Eliot Lear <lear@cisco.com>
Cc: "Adrien W. de Croy" <adrien@qbik.com>, Yoav Nir <ynir@checkpoint.com>,  James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=bcaec55239802e017c04c64b1978
X-Gm-Message-State: ALoCoQlU8CmX2JuuGLD2SO4rMStwGN7djrN75gRsRtpbGpdSinxlDryMlFMI1PvobDQYuV982Az4
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SwyUA-0001dc-OD c6aa9d46cea17a02e80e0774c1f8ad68
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CABaLYCuK0HYb-L6e7fcyLatd_B-vZNnHRToM_3=9VXgoyhVTNw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14881
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>

--bcaec55239802e017c04c64b1978
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Aug 2, 2012 at 9:39 AM, Eliot Lear <lear@cisco.com> wrote:

>
> On 8/1/12 10:21 PM, Adrien W. de Croy wrote:
> >
> > I don't really like using 32 bit for TV headers though.  That won't
> > work for dates.  I'd prefer a byte for value TYPE, e.g.
> > 00 = 32 bit integer
> > 01 = 64 bit integer
> > 02 = datetime (possibly just 64 bit ns since epoch)
> > 03 = text
> > 04 = binary/opaque
> > 05 - 7F extension types (length prefixed value)
>
> I have a nagging concern that we not reinvent ASN.1 in this process.
>

+1!

"Better is the enemy of good".

Mike


>
> Eliot
>

--bcaec55239802e017c04c64b1978
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Thu, Aug 2, 2012 at 9:39 AM, Eliot Le=
ar <span dir=3D"ltr">&lt;<a href=3D"mailto:lear@cisco.com" target=3D"_blank=
">lear@cisco.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im"><br>
On 8/1/12 10:21 PM, Adrien W. de Croy wrote:<br>
&gt;<br>
&gt; I don&#39;t really like using 32 bit for TV headers though. =A0That wo=
n&#39;t<br>
&gt; work for dates. =A0I&#39;d prefer a byte for value TYPE, e.g.<br>
&gt; 00 =3D 32 bit integer<br>
&gt; 01 =3D 64 bit integer<br>
&gt; 02 =3D datetime (possibly just 64 bit ns since epoch)<br>
&gt; 03 =3D text<br>
&gt; 04 =3D binary/opaque<br>
&gt; 05 - 7F extension types (length prefixed value)<br>
<br>
</div>I have a nagging concern that we not reinvent ASN.1 in this process.<=
br></blockquote><div><br></div><div>+1!</div><div><br></div><div>&quot;Bett=
er is the enemy of good&quot;.</div><div><br></div><div>Mike</div><div>
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Eliot<br>
</font></span></blockquote></div><br>

--bcaec55239802e017c04c64b1978--


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 09:45:16 2012
Return-Path: <ietf-http-wg-request@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 CEE9511E812E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 09:45:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.465
X-Spam-Level: 
X-Spam-Status: No, score=-7.465 tagged_above=-999 required=5 tests=[AWL=3.134, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dWJ0Y2yV2aFL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 09:45:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4926811E8146 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 09:45:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwyVz-0002k3-B0 for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 16:44:47 +0000
Resent-Date: Thu, 02 Aug 2012 16:44:47 +0000
Resent-Message-Id: <E1SwyVz-0002k3-B0@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1SwyVn-0002hC-8D for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 16:44:35 +0000
Received: from mail-lpp01m010-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1SwyVm-0001wx-4Y for ietf-http-wg@w3.org; Thu, 02 Aug 2012 16:44:35 +0000
Received: by lahg1 with SMTP id g1so5337974lah.2 for <ietf-http-wg@w3.org>; Thu, 02 Aug 2012 09:44:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=0EwcgMH72sGxzOOF/1rRxYCjO/jkIrlTSKZZHvsSLhw=; b=AwksqvfxcFdTEix5TtEGx0c5ZFGPS/d9K5BNxNGRRQs7HRc9F5Vdtxqdj9PnGVHV+v fsZ6yKnow/EeS/eUtumYw4T9V0hnLSCSUhjy13h1tjLcNTMYODjR+1t9KAjC4mE4zYG6 wOLYuY0MJZp3tNX8I21Wyo+P1ydG846FgiI+NC+IYQIgfNiBaQo2T8IUga4+CYKup/vf HDkzfiIgO+T7ZMsqRNDEVxftajKIKspm+dgN+b7vPcplX3sHA9a1a7UxkADp5zY5zUXe I44hSIyFGijHR+zgwZPp0qz58yD0KHIvKRbBbbQEtAhB2ydC+6Z6eJuRihjBhnGiEQJU u0+Q==
MIME-Version: 1.0
Received: by 10.112.46.9 with SMTP id r9mr9844605lbm.81.1343925847269; Thu, 02 Aug 2012 09:44:07 -0700 (PDT)
Received: by 10.112.82.1 with HTTP; Thu, 2 Aug 2012 09:44:07 -0700 (PDT)
In-Reply-To: <501AAD5F.9080709@cisco.com>
References: <emc1f2400c-3d0f-48eb-8eea-cb91edab99b3@bombed> <501AAD5F.9080709@cisco.com>
Date: Thu, 2 Aug 2012 09:44:07 -0700
Message-ID: <CABkgnnXpzoP+RRa8VqhYeuMArQ-1NMCmRSFmL5YjAhJKGQdZRg@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Eliot Lear <lear@cisco.com>
Cc: "Adrien W. de Croy" <adrien@qbik.com>, Yoav Nir <ynir@checkpoint.com>, Mike Belshe <mike@belshe.com>,  James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.215.43; envelope-from=martin.thomson@gmail.com; helo=mail-lpp01m010-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SwyVm-0001wx-4Y 03acb8b3954cf2d3c6be2304ae8e4edd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CABkgnnXpzoP+RRa8VqhYeuMArQ-1NMCmRSFmL5YjAhJKGQdZRg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14882
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 2 August 2012 09:39, Eliot Lear <lear@cisco.com> wrote:
> I have a nagging concern that we not reinvent ASN.1 in this process.

We could always USE ASN.1 (and PER).


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 10:00:01 2012
Return-Path: <ietf-http-wg-request@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 E265721E80E9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 10:00:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bnfj82pi+Q-l for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 10:00:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0B33D21E80E8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 10:00:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Swyjz-0002e1-Nk for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 16:59:15 +0000
Resent-Date: Thu, 02 Aug 2012 16:59:15 +0000
Resent-Message-Id: <E1Swyjz-0002e1-Nk@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1Swyjn-0002dG-A5 for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 16:59:03 +0000
Received: from mtv-iport-2.cisco.com ([173.36.130.13]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1Swyjm-0002Hd-34 for ietf-http-wg@w3.org; Thu, 02 Aug 2012 16:59:03 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=lear@cisco.com; l=164; q=dns/txt; s=iport; t=1343926742; x=1345136342; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=4XGzeVlaj74iebF0F4/K4BbP+4b2qCm8KHkOXpCOo0Q=; b=dzKf0uYbp5MShL3bOIx7Sh9BW4St73NpOETUubvF1vcdLWmYRAvQE0E+ x3Ywpx9+Foabynu34OWiHOArRjX7o346IA1WUcLVWf5L+wov/q2ZaeGLD 4UG8nSf1LJc/otCx6QDWN0eW7oFMPDNIi2BtEhdVqVs7rdT7qICy1Vu5q Q=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AukPAMqwGlCrRDoI/2dsb2JhbABFhXuHd6oeAQMBA4EAgQeCIAEBAQMBEgEQVQEFCwsaAgUWCwICCQMCAQIBRQYNAQcBAR6HZQWcbY0ZkzqBIZAbgRIDiE2Meo4ngWaCfw
X-IronPort-AV: E=Sophos;i="4.77,702,1336348800";  d="scan'208";a="53887072"
Received: from mtv-core-3.cisco.com ([171.68.58.8]) by mtv-iport-2.cisco.com with ESMTP; 02 Aug 2012 16:58:35 +0000
Received: from elear-mac.local (sjc-vpn2-1405.cisco.com [10.21.117.125]) by mtv-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id q72GwYxs003655 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Aug 2012 16:58:35 GMT
Message-ID: <501AB1BC.9050209@cisco.com>
Date: Thu, 02 Aug 2012 09:58:36 -0700
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Martin Thomson <martin.thomson@gmail.com>
CC: "Adrien W. de Croy" <adrien@qbik.com>, Yoav Nir <ynir@checkpoint.com>, Mike Belshe <mike@belshe.com>, James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <emc1f2400c-3d0f-48eb-8eea-cb91edab99b3@bombed> <501AAD5F.9080709@cisco.com> <CABkgnnXpzoP+RRa8VqhYeuMArQ-1NMCmRSFmL5YjAhJKGQdZRg@mail.gmail.com>
In-Reply-To: <CABkgnnXpzoP+RRa8VqhYeuMArQ-1NMCmRSFmL5YjAhJKGQdZRg@mail.gmail.com>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=173.36.130.13; envelope-from=lear@cisco.com; helo=mtv-iport-2.cisco.com
X-W3C-Hub-Spam-Status: No, score=-14.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: maggie.w3.org 1Swyjm-0002Hd-34 a8167c77f3e46e89a3280085ddc1a3df
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/501AB1BC.9050209@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14883
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>

Martin,

> We could always USE ASN.1 (and PER). 

Thank you for bringing home the point that there are complexity
tradeoffs for doing all of this.

Eliot


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 10:10:46 2012
Return-Path: <ietf-http-wg-request@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 074AE21F8606 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 10:10:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.24
X-Spam-Level: 
X-Spam-Status: No, score=-10.24 tagged_above=-999 required=5 tests=[AWL=0.358, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eq0hU8KVAK-x for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 10:10:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8192D21F85FC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 10:10:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwyuJ-0000kJ-SV for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 17:09:55 +0000
Resent-Date: Thu, 02 Aug 2012 17:09:55 +0000
Resent-Message-Id: <E1SwyuJ-0000kJ-SV@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Swyu6-0000i2-VE for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 17:09:43 +0000
Received: from mail-wi0-f169.google.com ([209.85.212.169]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Swyu4-0002qt-KA for ietf-http-wg@w3.org; Thu, 02 Aug 2012 17:09:42 +0000
Received: by wibhm2 with SMTP id hm2so5670354wib.2 for <ietf-http-wg@w3.org>; Thu, 02 Aug 2012 10:09:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ROr1cZ68ITke59W91Xg8X5syWYsPq9RXQDUouTIJA8A=; b=i37fNQojDYFHWLl2fIObwTvKOAXRPR/lGszqdC8VY8po7dG6fKv3xFnfSWM3ufUD5s 1ekuNY6xoJoJhRjFc7thRAK+dMlv0DGlWzHvyUwl+DFM3O2xhLmk8o5lshIaF1mZMxz1 ND73/6DxvgsfYnJDspcWh6nlwdKa0eKyZ/xn2L1EK/3JLsqmhap6rWL4AKyF/WrnSjrm EYSoGLTrG93fSfdlz428AJLPioSAM94sDuDYSskZlR+jJNke+xcYRbwmrxsTSb9WTVj+ ehfCzS3393lQwUlDJFzP1RrRYLWH9hhw/acFmoFwaQkt7J+NB2j2dk4igjVElT9ClgNt O1sA==
Received: by 10.180.81.66 with SMTP id y2mr6238831wix.22.1343927353837; Thu, 02 Aug 2012 10:09:13 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Thu, 2 Aug 2012 10:08:53 -0700 (PDT)
In-Reply-To: <CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com>
References: <CABP7Rbd7_xoXrhiZE0wKX4ePd+_sVdrrRZ2hE9w3cN_pVWVdhQ@mail.gmail.com> <CABaLYCuQWVvpZOp+vxQ7z4k2QU0Rqj3G+A=R2OGGXtmQ_3bc+A@mail.gmail.com> <CABP7RbeMQZE9W+iJ5A37xUfVD6Ks3ZVkDg5Xw3Ry3PSyeOzD8Q@mail.gmail.com> <CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Thu, 2 Aug 2012 10:08:53 -0700
Message-ID: <CABP7Rbe_6FRp9KrYDC9UBuqn9XEACjDJkAwQeUdFgy9BkJi_UA@mail.gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d04428d2c87878004c64b7883
Received-SPF: pass client-ip=209.85.212.169; envelope-from=jasnell@gmail.com; helo=mail-wi0-f169.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Swyu4-0002qt-KA 3bade0685d942c27a2c0555264389230
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CABP7Rbe_6FRp9KrYDC9UBuqn9XEACjDJkAwQeUdFgy9BkJi_UA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14884
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>

--f46d04428d2c87878004c64b7883
Content-Type: text/plain; charset=UTF-8

On Thu, Aug 2, 2012 at 12:59 AM, Mike Belshe <mike@belshe.com> wrote:

>
>
> On Wed, Aug 1, 2012 at 10:51 PM, James M Snell <jasnell@gmail.com> wrote:
>
>>
>> On Aug 1, 2012 8:30 PM, "Mike Belshe" <mike@ <mike@belshe.com>belshe.com<mike@belshe.com>>
>> wrote:
>> >
>> > A couple of thoughts:
>> >
>> > * Thanks for writing up!
>> >
>> > * I don't think we need utf-8 encoded headers.  Not sure how you'd pass
>> them off to HTTP anyway?
>> >
>>
>> The hand off to http 1.1 could be problematic, yes and I'm not 100% sold
>> on the utf-8 thing yet either. It's not an impossible problem tho and
>> shouldn't be too much of a challenge since most of the existing header
>> value definitions would likely not be modified... that is, just because
>> utf-8 is allowed in general doesn't mean that the existing value
>> definitions would all automatically be changed to allow for all possible
>> utf-8 characters.
>>
>
> I just don't see any problem being solved by adding this?  If there is no
> benefit, we should not do it, right?
>

The ability to define header values as UTF-8 would help application
developers in a number of ways... just look at the various inconsistencies
that currently exist in the definitions of standardized headers like
Authorization, Content-Disposition, Link, etc.


>
>
>>  > * The codepages seem like complexity, but I'm not sure the benefit.
>>  I would remove them.
>> >
>>
>> The code pages are specifically *because* of the http 1.1 handoff and the
>> need to continue supporting extensibility of headers. If an intermediary
>> happens across a code page zero header that it does not understand, and
>> therefore cannot translate to an appropriate http 1.1 style header, a
>> protocol error can be returned.
>>
> Why would there be a code page zero header that it doesn't understand?  We
> don't want a registry here which changes over time - those are nightmares
> to maintain.  However, a static translation could work, which is what I
> thought you had with the known headers and the extensible headers. The code
> pages aren't necessary to make this work - and seem to just add unnecessary
> partitioning.
>
>

Um... HTTP headers are extensible. There are new headers popping up all the
time. A registry that changes over time would be ideal and the codepages
mechanism (or other similar must-understand type system) would be essential
to enabling translation back to 1.1. We have to design for the future,
right? ;-)


>  > * I would remove the flags too - per header flags - do we really need
>> it?  I'd remove it without a very clear use case.
>> >
>>
>> The immediate use cases are documented within the draft already: binary
>> header values and multiple values.
>>
> One was for utf8, which I think we could nix.  I'm not sure why we need
> the binary/multivalue flags - what feature is this for?   I don't see why
> we'd want this - its not like you can pass binary data up to HTTP anyway?
>
>
Again, if there's anything in an HTTP 2.0 message that the intermediary
cannot reliably translate to 1.1 when it needs to, then the intermediary is
free to return a protocol error back to the client. The rational behind
allowing binary values is to eliminate the necessity of applying
ascii-transformations to values and allow for more efficient use of the
transport.


>
>
>>  > * I know that 32bits seems like a lot.  Defining length fields has
>> two routes:  fixed length or variable length.  I like the fixed length
>> because I believe they are simpler.  However, the price of that simplicity
>> is that you've got limits.  Everyone hates limits :-)  In your proposal you
>> whacked the number of headers to 8 bits, or 256 headers.   While I agree
>> this is an edge, I don't see a reason why it should be against the rules to
>> have more.  Same for the length of a header value - you've used 16 bits
>> (64KB).  While this seems massive by today's standards, in 10 years maybe
>> 1MB cookies are the norm.  I don't know, but I'd hate to have the limit.
>>  So.... this leaves us thinking that maybe we should use variable length
>> encoding.  Personally, I think the fixed length simplicity is worth it.
>>  But this is subjective, of course.   Just use 32bits everywhere - it works
>> well and you won't notice the perf difference at all (I measured :-)
>> >
>> >
>>
>> If you need more than 256 headers, use multiple HEADERS frames. There is
>> no limit to the number of HEADERS frames you can send so that should cover
>> your edge case.
>>
>> I can live with that; there might be a sentinel issue here - when did you
> get the last set of headers.
>

I'm not convinced there needs to be a signal for the "last set of
headers"... I've been kicking around a variety of cases where it could make
sense to interleave HEADERS frames throughout the data stream right up
until the FIN is sent. Going to be thinking through it a bit more.

> And I would argue that anyone who is using header values longer than
>> max(int16) Is Doing It Wrong.
>>
> I disagree.  If you had a 1Gbps line to your phone and a 1Tbps line to
> your house, a 100KB cookie might be just great...  we have to design this
> for the future.
>
>

"Designing for the future" also means guiding and encouraging developers to
make better choices about what kind of data they go about sticking in
things like Cookies.

- James

>  Variable length encoding would be a mistake because it's simply not
>> necessary.
>>
> I don't like it either.  But compressing the 32bits to 16bits is a poor
> trade.  Just make it work.  This level of compression won't have an impact
> on performance, but will have an impact on how the protocol evolves.
>
> Mike
>
>
>
> - James
>>
>> >
>> >
>> >
>> > On Wed, Aug 1, 2012 at 5:37 PM, James M Snell <jasnell<jasnell@gmail.com>
>> @ <jasnell@gmail.com>gmail.com <jasnell@gmail.com>> wrote:
>> >>
>> >> I have submitted an I-D describing the alternative header encoding for
>> SPDY that I discussed previously. Should be pretty self-explanatory and
>> there are plenty of examples given throughout. I know it still has yet to
>> be decided whether SPDY will be the starting point for the HTTP/2.0 effort,
>> but I wanted to make this available for discussion.
>> >>
>> >> http <http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>://<http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>
>> www.ietf.org <http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>/<http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>
>> id <http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>/draft-<http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>
>> snell <http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>-<http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>
>> httpbis <http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>-<http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>
>> bohe <http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>-00.<http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>
>> txt <http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt>
>> >> http <http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>://<http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>
>> tools.ietf.org <http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>/<http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>
>> html <http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>/draft-<http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>
>> snell <http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>-<http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>
>> httpbis <http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>-<http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>
>> bohe <http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>-00<http://tools.ietf.org/html/draft-snell-httpbis-bohe-00>
>> >>
>> >> - James
>> >>
>> >
>>
>
>

--f46d04428d2c87878004c64b7883
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Thu, Aug 2, 2012 at 12:59 AM, Mike Belshe <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:mike@belshe.com" target=3D"_blank">mike@belshe.com</a>&gt;</s=
pan> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br><br><div class=3D"gmail_quote"><div clas=
s=3D"im">On Wed, Aug 1, 2012 at 10:51 PM, James M Snell <span dir=3D"ltr">&=
lt;<a href=3D"mailto:jasnell@gmail.com" target=3D"_blank">jasnell@gmail.com=
</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<div><p dir=3D"ltr"><br>
On Aug 1, 2012 8:30 PM, &quot;Mike Belshe&quot; &lt;<a href=3D"mailto:mike@=
belshe.com" target=3D"_blank">mike@</a><a href=3D"mailto:mike@belshe.com" t=
arget=3D"_blank">belshe.com</a>&gt; wrote:<br>
&gt;<br>
&gt; A couple of thoughts:=C2=A0<br>
&gt;<br>
&gt; * Thanks for writing up!<br>
&gt;<br>
&gt; * I don&#39;t think we need utf-8 encoded headers. =C2=A0Not sure how =
you&#39;d pass them off to HTTP anyway?<br>
&gt;</p>
</div><p dir=3D"ltr">The hand off to http 1.1 could be problematic, yes and=
 I&#39;m not 100% sold on the utf-8 thing yet either. It&#39;s not an impos=
sible problem tho and shouldn&#39;t be too much of a challenge since most o=
f the existing header value definitions would likely not be modified... tha=
t is, just because utf-8 is allowed in general doesn&#39;t mean that the ex=
isting value definitions would all automatically be changed to allow for al=
l possible utf-8 characters.</p>


</blockquote><div><br></div></div><div>I just don&#39;t see any problem bei=
ng solved by adding this? =C2=A0If there is no benefit, we should not do it=
, right?</div><div class=3D"im"><div></div></div></div></blockquote><div><b=
r>

</div><div>The ability to define header values as UTF-8 would help applicat=
ion developers in a number of ways... just look at the various inconsistenc=
ies that currently exist in the definitions of standardized headers like Au=
thorization, Content-Disposition, Link, etc.</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_quote">=
<div class=3D"im"><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div>

<p dir=3D"ltr">&gt; * The codepages seem like complexity, but I&#39;m not s=
ure the benefit. =C2=A0I would remove them.<br>
&gt;</p>
</div><p dir=3D"ltr">The code pages are specifically *because* of the http =
1.1 handoff and the need to continue supporting extensibility of headers. I=
f an intermediary happens across a code page zero header that it does not u=
nderstand, and therefore cannot translate to an appropriate http 1.1 style =
header, a protocol error can be returned.</p>


</blockquote></div><div>Why would there be a code page zero header that it =
doesn&#39;t understand? =C2=A0We don&#39;t want a registry here which chang=
es over time - those are nightmares to maintain. =C2=A0However, a static tr=
anslation could work, which is what I thought you had with the known header=
s and the extensible headers. The code pages aren&#39;t necessary to make t=
his work - and seem to just add unnecessary partitioning.</div>

<div class=3D"im">
<div>=C2=A0</div></div></div></blockquote><div><br></div><div>Um... HTTP he=
aders are extensible. There are new headers popping up all the time. A regi=
stry that changes over time would be ideal and the codepages mechanism (or =
other similar must-understand type system) would be essential to enabling t=
ranslation back to 1.1. We have to design for the future, right? ;-)</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_quote">=
<div class=3D"im"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .=
8ex;border-left:1px #ccc solid;padding-left:1ex">

<p dir=3D"ltr"> </p><div>

<p dir=3D"ltr">&gt; * I would remove the flags too - per header flags - do =
we really need it? =C2=A0I&#39;d remove it without a very clear use case.<b=
r>
&gt;</p>
</div><p dir=3D"ltr">The immediate use cases are documented within the draf=
t already: binary header values and multiple values.</p></blockquote></div>=
<div>One was for utf8, which I think we could nix. =C2=A0I&#39;m not sure w=
hy we need the binary/multivalue flags - what feature is this for? =C2=A0 I=
 don&#39;t see why we&#39;d want this - its not like you can pass binary da=
ta up to HTTP anyway?</div>

<div class=3D"im">
<div><br></div></div></div></blockquote><div><br></div><div>Again, if there=
&#39;s anything in an HTTP 2.0 message that the intermediary cannot reliabl=
y translate to 1.1 when it needs to, then the intermediary is free to retur=
n a protocol error back to the client. The rational behind allowing binary =
values is to eliminate the necessity of applying ascii-transformations to v=
alues and allow for more efficient use of the transport.=C2=A0</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_quote">=
<div class=3D"im"><div></div><div>=C2=A0</div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
">

<p dir=3D"ltr"> </p><div>
<p dir=3D"ltr">&gt; * I know that 32bits seems like a lot. =C2=A0Defining l=
ength fields has two routes: =C2=A0fixed length or variable length. =C2=A0I=
 like the fixed length because I believe they are simpler. =C2=A0However, t=
he price of that simplicity is that you&#39;ve got limits. =C2=A0Everyone h=
ates limits :-) =C2=A0In your proposal you whacked the number of headers to=
 8 bits, or 256 headers. =C2=A0 While I agree this is an edge, I don&#39;t =
see a reason why it should be against the rules to have more. =C2=A0Same fo=
r the length of a header value - you&#39;ve used 16 bits (64KB). =C2=A0Whil=
e this seems massive by today&#39;s standards, in 10 years maybe 1MB cookie=
s are the norm. =C2=A0I don&#39;t know, but I&#39;d hate to have the limit.=
 =C2=A0So.... this leaves us thinking that maybe we should use variable len=
gth encoding. =C2=A0Personally, I think the fixed length simplicity is wort=
h it. =C2=A0But this is subjective, of course. =C2=A0 Just use 32bits every=
where - it works well and you won&#39;t notice the perf difference at all (=
I measured :-)<br>




&gt;<br>
&gt;</p>
</div><p dir=3D"ltr">If you need more than 256 headers, use multiple HEADER=
S frames. There is no limit to the number of HEADERS frames you can send so=
 that should cover your edge case. </p>
<p dir=3D"ltr"></p></blockquote></div><div>I can live with that; there migh=
t be a sentinel issue here - when did you get the last set of headers.=C2=
=A0</div></div></blockquote><div><br></div><div>I&#39;m not convinced there=
 needs to be a signal for the &quot;last set of headers&quot;... I&#39;ve b=
een kicking around a variety of cases where it could make sense to interlea=
ve HEADERS frames throughout the data stream right up until the FIN is sent=
. Going to be thinking through it a bit more.=C2=A0</div>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"gmail_quote"><div class=3D"im"=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex">


<p dir=3D"ltr">And I would argue that anyone who is using header values lon=
ger than max(int16) Is Doing It Wrong.</p></blockquote></div><div>I disagre=
e. =C2=A0If you had a 1Gbps line to your phone and a 1Tbps line to your hou=
se, a 100KB cookie might be just great... =C2=A0we have to design this for =
the future.</div>

<div class=3D"im">
<div>=C2=A0</div></div></div></blockquote><div><br></div><div>&quot;Designi=
ng for the future&quot; also means guiding and encouraging developers to ma=
ke better choices about what kind of data they go about sticking in things =
like Cookies. =C2=A0</div>

<div><br></div><div>- James</div><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=
=3D"gmail_quote"><div class=3D"im"><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<p dir=3D"ltr"> </p>
<p dir=3D"ltr">Variable length encoding would be a mistake because it&#39;s=
 simply not necessary.</p></blockquote></div><div>I don&#39;t like it eithe=
r. =C2=A0But compressing the 32bits to 16bits is a poor trade. =C2=A0Just m=
ake it work. =C2=A0This level of compression won&#39;t have an impact on pe=
rformance, but will have an impact on how the protocol evolves.</div>

<span class=3D"HOEnZb"><font color=3D"#888888">
<div><br>Mike</div></font></span><div class=3D"im"><div><br></div><div><br>=
</div><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><font color=3D"#8=
88888">
<p dir=3D"ltr">- James</p></font></span><div><div>
<p dir=3D"ltr">&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Aug 1, 2012 at 5:37 PM, James M Snell &lt;<a href=3D"mailto:ja=
snell@gmail.com" target=3D"_blank">jasnell</a><a href=3D"mailto:jasnell@gma=
il.com" target=3D"_blank">@</a><a href=3D"mailto:jasnell@gmail.com" target=
=3D"_blank">gmail.com</a>&gt; wrote:<br>



&gt;&gt;<br>
&gt;&gt; I have submitted an I-D describing the alternative header encoding=
 for SPDY that I discussed previously. Should be pretty self-explanatory an=
d there are plenty of examples given throughout. I know it still has yet to=
 be decided whether SPDY will be the starting point for the HTTP/2.0 effort=
, but I wanted to make this available for discussion.<br>




&gt;&gt;<br>
&gt;&gt; <a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt"=
 target=3D"_blank">http</a><a href=3D"http://www.ietf.org/id/draft-snell-ht=
tpbis-bohe-00.txt" target=3D"_blank">://</a><a href=3D"http://www.ietf.org/=
id/draft-snell-httpbis-bohe-00.txt" target=3D"_blank">www.ietf.org</a><a hr=
ef=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt" target=3D"_bl=
ank">/</a><a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt=
" target=3D"_blank">id</a><a href=3D"http://www.ietf.org/id/draft-snell-htt=
pbis-bohe-00.txt" target=3D"_blank">/draft-</a><a href=3D"http://www.ietf.o=
rg/id/draft-snell-httpbis-bohe-00.txt" target=3D"_blank">snell</a><a href=
=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt" target=3D"_blan=
k">-</a><a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt" =
target=3D"_blank">httpbis</a><a href=3D"http://www.ietf.org/id/draft-snell-=
httpbis-bohe-00.txt" target=3D"_blank">-</a><a href=3D"http://www.ietf.org/=
id/draft-snell-httpbis-bohe-00.txt" target=3D"_blank">bohe</a><a href=3D"ht=
tp://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt" target=3D"_blank">-00=
.</a><a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-00.txt" tar=
get=3D"_blank">txt</a><br>




&gt;&gt; <a href=3D"http://tools.ietf.org/html/draft-snell-httpbis-bohe-00"=
 target=3D"_blank">http</a><a href=3D"http://tools.ietf.org/html/draft-snel=
l-httpbis-bohe-00" target=3D"_blank">://</a><a href=3D"http://tools.ietf.or=
g/html/draft-snell-httpbis-bohe-00" target=3D"_blank">tools.ietf.org</a><a =
href=3D"http://tools.ietf.org/html/draft-snell-httpbis-bohe-00" target=3D"_=
blank">/</a><a href=3D"http://tools.ietf.org/html/draft-snell-httpbis-bohe-=
00" target=3D"_blank">html</a><a href=3D"http://tools.ietf.org/html/draft-s=
nell-httpbis-bohe-00" target=3D"_blank">/draft-</a><a href=3D"http://tools.=
ietf.org/html/draft-snell-httpbis-bohe-00" target=3D"_blank">snell</a><a hr=
ef=3D"http://tools.ietf.org/html/draft-snell-httpbis-bohe-00" target=3D"_bl=
ank">-</a><a href=3D"http://tools.ietf.org/html/draft-snell-httpbis-bohe-00=
" target=3D"_blank">httpbis</a><a href=3D"http://tools.ietf.org/html/draft-=
snell-httpbis-bohe-00" target=3D"_blank">-</a><a href=3D"http://tools.ietf.=
org/html/draft-snell-httpbis-bohe-00" target=3D"_blank">bohe</a><a href=3D"=
http://tools.ietf.org/html/draft-snell-httpbis-bohe-00" target=3D"_blank">-=
00</a><br>




&gt;&gt;<br>
&gt;&gt; - James<br>
&gt;&gt;<br>
&gt;</p>
</div></div></blockquote></div></div><br>
</blockquote></div><br>

--f46d04428d2c87878004c64b7883--


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 10:29:34 2012
Return-Path: <ietf-http-wg-request@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 4331821E80F8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 10:29:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.32
X-Spam-Level: 
X-Spam-Status: No, score=-10.32 tagged_above=-999 required=5 tests=[AWL=0.279, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JPuyrU5e+RDd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 10:29:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 84E6F21E80FA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 10:29:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwzCa-0001sX-W2 for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 17:28:49 +0000
Resent-Date: Thu, 02 Aug 2012 17:28:48 +0000
Resent-Message-Id: <E1SwzCa-0001sX-W2@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1SwzCN-0001qA-0q for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 17:28:35 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1SwzCL-0003FI-Fn for ietf-http-wg@w3.org; Thu, 02 Aug 2012 17:28:34 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q72HS0P0003834; Thu, 2 Aug 2012 20:28:00 +0300
X-CheckPoint: {501AB608-0-1B221DC2-4FFFF}
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Thu, 2 Aug 2012 20:27:59 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Eliot Lear <lear@cisco.com>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Thu, 2 Aug 2012 20:27:58 +0300
Thread-Topic: FYI... Binary Optimized Header Encoding for SPDY
Thread-Index: Ac1w1ClmXn0DA7OcSgSNRrU/iDT4ww==
Message-ID: <8023DFC7-B901-4B57-8EC2-6396972767A3@checkpoint.com>
References: <emc1f2400c-3d0f-48eb-8eea-cb91edab99b3@bombed> <501AAD5F.9080709@cisco.com> <CABkgnnXpzoP+RRa8VqhYeuMArQ-1NMCmRSFmL5YjAhJKGQdZRg@mail.gmail.com> <501AB1BC.9050209@cisco.com>
In-Reply-To: <501AB1BC.9050209@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SwzCL-0003FI-Fn 0a96ff11b5fdf76508ff4ed1a6cf132e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/8023DFC7-B901-4B57-8EC2-6396972767A3@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14885
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 Aug 2, 2012, at 9:58 AM, Eliot Lear wrote:

>=20
> Martin,
>=20
>> We could always USE ASN.1 (and PER).=20
>=20
> Thank you for bringing home the point that there are complexity
> tradeoffs for doing all of this.

Why?  It makes things so simple:

  HTTPHeaders  ::=3D  SEQUENCE OF HTTPHeader

  HTTPHeader   ::=3D  SEQUENCE {
        type     OBJECT
	critical BOOLEAN
        value    OCTETSTRING
   }

All you need is a=20

No, I'm not seriously proposing this. But a simple TV/TLV scheme could work=
.


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 10:51:10 2012
Return-Path: <ietf-http-wg-request@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 6630F11E8142 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 10:51:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.586
X-Spam-Level: 
X-Spam-Status: No, score=-9.586 tagged_above=-999 required=5 tests=[AWL=1.012, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yfhn7JQmMEjE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 10:51:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2FA1D11E81C4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 10:51:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SwzWz-0007E4-FN for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 17:49:53 +0000
Resent-Date: Thu, 02 Aug 2012 17:49:53 +0000
Resent-Message-Id: <E1SwzWz-0007E4-FN@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SwzWm-00079u-Mb for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 17:49:40 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SwzWl-0003yY-4P for ietf-http-wg@w3.org; Thu, 02 Aug 2012 17:49:40 +0000
Received: by wgbdq12 with SMTP id dq12so7256373wgb.26 for <ietf-http-wg@w3.org>; Thu, 02 Aug 2012 10:49:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=bV/m4nrhNdx5A/u1ql6aT7ThGD0oDfqWitbnOqUM1u8=; b=r0jXku0xYbY7O+Egw6aYW4h5ILEH3E/ZYUKOprxYjTn4IxIeBY36dLsWuz/tNzCtSd 8H/RpFP1Lyd9Pxjm9aFXhn58xnfaXP/Ady02QSjwJJIYNvhBZgC59IpjoFUQWn3kgdig YsH6+pCtnqbY9PQjicekCnt4emAwA9usmg6JksdgL/S1cCAo6QOPQN6M34SeWaZRPbhM 0Gyo2Ce1jis14Bu8h3h7iMc7yWR2/joc2ab7I/wxVikcBgSSFV1bsRxftKR0TWD5ExkA FHnZPRbm+lZUHZD8ozV80+skJjJXQ7KNl7LDvGQ6KVXMIWeYLEljT7meYK6lwK8Az8kl EZlQ==
Received: by 10.216.138.200 with SMTP id a50mr11280022wej.155.1343929752545; Thu, 02 Aug 2012 10:49:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Thu, 2 Aug 2012 10:48:52 -0700 (PDT)
In-Reply-To: <78618.1343896055@critter.freebsd.dk>
References: <CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com> <78618.1343896055@critter.freebsd.dk>
From: James M Snell <jasnell@gmail.com>
Date: Thu, 2 Aug 2012 10:48:52 -0700
Message-ID: <CABP7RbdiW1h1Rj9rD=bVaFWFnFmmYjDEWPBbJZZvpJxL=gnRug@mail.gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Mike Belshe <mike@belshe.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=0016e6d7e73780e8b604c64c07c6
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SwzWl-0003yY-4P 85e2e708fc2b3fce3f3abcf52b6a28cc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CABP7RbdiW1h1Rj9rD=bVaFWFnFmmYjDEWPBbJZZvpJxL=gnRug@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14886
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>

--0016e6d7e73780e8b604c64c07c6
Content-Type: text/plain; charset=UTF-8

On Thu, Aug 2, 2012 at 1:27 AM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

> In message <
> CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com>
> , Mike Belshe writes:
>
> >> > * I don't think we need utf-8 encoded headers.  Not sure how you'd
> pass
> >> them off to HTTP anyway?
> >
> >I just don't see any problem being solved by adding this?  If there is no
> >benefit, we should not do it, right?
>
> If this would solve any major problems inside a 20 year horizon, we
> should do it.
>
> That being said, I am not a big fan of UTF8 in high-performance
> protocol context:  It is much slower to process than 8bit string
> formats.
>
>
This is precisely why I favor the introduction of a binary value option and
the definition of highly-optimized binary encodings for the most commonly
used protocol headers (like method, version, etc). Things like Host and
Request URI need to be looked at tho. I suspect that, for a variety of
reason, we'll want to keep limiting those values to ASCII only.  (just
because the value COULD be UTF-8, doesn't mean a specific header definition
cannot limit the actual value to some reasonable subset).


> UTF8 also gives rise to a number of interesting security aspects,
> primarily where humans eyeball for security and don't detect minor
> differences between glyphs, particularly in FQDNs, but I can't see
> how we can do anything about that in HTTP/2.0.
>
> It's not obvious to me, that we can evade the UTF8 requirement,
> so it might be worthwhile to consider what we can gain by embracing
> it.
>
> For instance, could we get rid of the %-encoding of URIs by allowing UTF8 ?
>

It would be possible, for instance, to begin using IRI's directly without
translating those to URI's first. Doing so, however, does not eliminate the
need for %-encoding, and there are a range of possible issues that could
make this problematic.

- James


>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>

--0016e6d7e73780e8b604c64c07c6
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Thu, Aug 2, 2012 at 1:27 AM, Poul-Henning Kamp <span dir=3D"ltr">&lt=
;<a href=3D"mailto:phk@phk.freebsd.dk" target=3D"_blank">phk@phk.freebsd.dk=
</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">In message &lt;<a href=3D"mailto:CABaLYCv7U7=
iLBu5%2B8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com">CABaLYCv7U7iLBu5=
+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com</a>&gt;<br>


<div class=3D"im">, Mike Belshe writes:<br>
<br>
&gt;&gt; &gt; * I don&#39;t think we need utf-8 encoded headers. =C2=A0Not =
sure how you&#39;d pass<br>
&gt;&gt; them off to HTTP anyway?<br>
&gt;<br>
</div><div class=3D"im">&gt;I just don&#39;t see any problem being solved b=
y adding this? =C2=A0If there is no<br>
&gt;benefit, we should not do it, right?<br>
<br>
</div>If this would solve any major problems inside a 20 year horizon, we<b=
r>
should do it.<br>
<br>
That being said, I am not a big fan of UTF8 in high-performance<br>
protocol context: =C2=A0It is much slower to process than 8bit string<br>
formats.<br>
<br></blockquote><div><br></div><div>This is precisely why I favor the intr=
oduction of a binary value option and the definition of highly-optimized bi=
nary encodings for the most commonly used protocol headers (like method, ve=
rsion, etc). Things like Host and Request URI need to be looked at tho. I s=
uspect that, for a variety of reason, we&#39;ll want to keep limiting those=
 values to ASCII only. =C2=A0(just because the value COULD be UTF-8, doesn&=
#39;t mean a specific header definition cannot limit the actual value to so=
me reasonable subset).</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
UTF8 also gives rise to a number of interesting security aspects,<br>
primarily where humans eyeball for security and don&#39;t detect minor<br>
differences between glyphs, particularly in FQDNs, but I can&#39;t see<br>
how we can do anything about that in HTTP/2.0.<br>
<br>
It&#39;s not obvious to me, that we can evade the UTF8 requirement,<br>
so it might be worthwhile to consider what we can gain by embracing<br>
it.<br>
<br>
For instance, could we get rid of the %-encoding of URIs by allowing UTF8 ?=
<br></blockquote><div><br></div><div>It would be possible, for instance, to=
 begin using IRI&#39;s directly without translating those to URI&#39;s firs=
t. Doing so, however, does not eliminate the need for %-encoding, and there=
 are a range of possible issues that could make this problematic.</div>

<div><br></div><div>- James</div><div>=C2=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">
<div class=3D"HOEnZb"><div class=3D"h5"><br>
--<br>
Poul-Henning Kamp =C2=A0 =C2=A0 =C2=A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =C2=A0 =C2=A0 =C2=A0 =C2=A0 | TCP/IP since RFC 956<br>
FreeBSD committer =C2=A0 =C2=A0 =C2=A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
</div></div></blockquote></div><br>

--0016e6d7e73780e8b604c64c07c6--


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 12:32:06 2012
Return-Path: <ietf-http-wg-request@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 1A1AB11E80D2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 12:32:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -12.599
X-Spam-Level: 
X-Spam-Status: No, score=-12.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, GB_I_LETTER=-2, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T+bHlimzxvdv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 12:32:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2CCF311E808A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 12:32:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sx16F-0006RD-Lo for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 19:30:23 +0000
Resent-Date: Thu, 02 Aug 2012 19:30:23 +0000
Resent-Message-Id: <E1Sx16F-0006RD-Lo@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <tdk@visar.thelbane.com>) id 1Sx163-0006Hd-CR for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 19:30:11 +0000
Received: from shalmaneser.thelbane.com ([216.254.22.122] helo=visar.thelbane.com) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <tdk@visar.thelbane.com>) id 1Sx162-00080d-23 for ietf-http-wg@w3.org; Thu, 02 Aug 2012 19:30:11 +0000
Received: (qmail 76819 invoked by uid 1001); 2 Aug 2012 19:29:47 -0000
Date: Thu, 2 Aug 2012 12:29:47 -0700
From: Timothy Knox <tdk@thelbane.com>
To: ietf-http-wg@w3.org
Message-ID: <20120802192947.GA76104@thelbane.com>
References: <CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com> <78618.1343896055@critter.freebsd.dk> <CABP7RbdiW1h1Rj9rD=bVaFWFnFmmYjDEWPBbJZZvpJxL=gnRug@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABP7RbdiW1h1Rj9rD=bVaFWFnFmmYjDEWPBbJZZvpJxL=gnRug@mail.gmail.com>
X-BOfH: Yes
User-Agent: Mutt/1.5.21 (2010-09-15)
Received-SPF: none client-ip=216.254.22.122; envelope-from=tdk@visar.thelbane.com; helo=visar.thelbane.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sx162-00080d-23 88a1c23f5c72ecf04f6c3c80290c73b3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/20120802192947.GA76104@thelbane.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14887
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>

Somewhere on Shadow Earth, at Thu, Aug 02, 2012 at 10:48:52AM -0700, James M Snell wrote:
<snip>
> This is precisely why I favor the introduction of a binary value option and
> the definition of highly-optimized binary encodings for the most commonly
> used protocol headers (like method, version, etc). Things like Host and
> Request URI need to be looked at tho. I suspect that, for a variety of
> reason, we'll want to keep limiting those values to ASCII only.  (just
> because the value COULD be UTF-8, doesn't mean a specific header definition
> cannot limit the actual value to some reasonable subset).

For the Host header, I have just three letters to say to you: I-D-N. :-)
-- 
Timothy Knox <mailto:tdk@thelbane.com>
I like to say that in the old days, if you reinvented the wheel,
you would get your wrist slapped for not reading. But nowadays
people are reinventing the flat tire. I'd personally be happy if
they reinvented the wheel, because at least we'd be moving forward.
    -- Alan Kay


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 13:24:54 2012
Return-Path: <ietf-http-wg-request@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 5CE2511E8173 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 13:24:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0iIZHFxeOMpQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 13:24:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5719F11E8125 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 13:24:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sx1vR-0003c3-6H for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 20:23:17 +0000
Resent-Date: Thu, 02 Aug 2012 20:23:17 +0000
Resent-Message-Id: <E1Sx1vR-0003c3-6H@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1Sx1vE-0003bC-OT for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 20:23:04 +0000
Received: from mtv-iport-2.cisco.com ([173.36.130.13]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1Sx1vD-0001O5-KE for ietf-http-wg@w3.org; Thu, 02 Aug 2012 20:23:04 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=lear@cisco.com; l=360; q=dns/txt; s=iport; t=1343938983; x=1345148583; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=EftipwIlNhXBkF4WIrBZIWGgpBIdAp7Kw9X4wQFa7Rc=; b=fWtXNJv4az/xFb5takiv2S8s+G2BUJf8avJjQb9L8Y7pFqKbKSJyjml2 hLoQsnvGhDXVCNC7xy4r8ZZbO+8EwSB2Kh9euHpTJ6CtOT9jR4jWqZOsz D8xsuMi0y3B1oCwO8lXTo/hwtArXc0HltI17ojyVWwiJZF/GyBrhIVsHN g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AlQJANfgGlCrRDoG/2dsb2JhbABFhXuyGAQEgQCBB4IgAQEBBBIBEFUBEAsOCgICBRYLAgIJAwIBAgFFBg0BBwEBHodqnH2NGZMxgSGKKYVygRIDiE2Meo4ngWaCfw
X-IronPort-AV: E=Sophos;i="4.77,703,1336348800";  d="scan'208";a="53910886"
Received: from mtv-core-1.cisco.com ([171.68.58.6]) by mtv-iport-2.cisco.com with ESMTP; 02 Aug 2012 20:22:13 +0000
Received: from sjc-vpn5-1325.cisco.com (sjc-vpn5-1325.cisco.com [10.21.93.45]) by mtv-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id q72KMCP7006524 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Aug 2012 20:22:13 GMT
Message-ID: <501AE176.3040509@cisco.com>
Date: Thu, 02 Aug 2012 13:22:14 -0700
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Yoav Nir <ynir@checkpoint.com>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <emc1f2400c-3d0f-48eb-8eea-cb91edab99b3@bombed> <501AAD5F.9080709@cisco.com> <CABkgnnXpzoP+RRa8VqhYeuMArQ-1NMCmRSFmL5YjAhJKGQdZRg@mail.gmail.com> <501AB1BC.9050209@cisco.com> <8023DFC7-B901-4B57-8EC2-6396972767A3@checkpoint.com>
In-Reply-To: <8023DFC7-B901-4B57-8EC2-6396972767A3@checkpoint.com>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=173.36.130.13; envelope-from=lear@cisco.com; helo=mtv-iport-2.cisco.com
X-W3C-Hub-Spam-Status: No, score=-14.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: maggie.w3.org 1Sx1vD-0001O5-KE e49b82ad4af66a25ce67e45b9c6f1284
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/501AE176.3040509@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14888
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 8/2/12 10:27 AM, Yoav Nir wrote:
> On Aug 2, 2012, at 9:58 AM, Eliot Lear wrote:
>
>> Martin,
>>
>>> We could always USE ASN.1 (and PER). 
>> Thank you for bringing home the point that there are complexity
>> tradeoffs for doing all of this.
> Why?  It makes things so simple:

Let's just see if it stays simple by the time it's done.

Eliot




From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 13:26:08 2012
Return-Path: <ietf-http-wg-request@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 B9C8F21F8978 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 13:26:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.337
X-Spam-Level: 
X-Spam-Status: No, score=-10.337 tagged_above=-999 required=5 tests=[AWL=0.262, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z7G+pV8d7S+o for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 13:26:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A584921F8960 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 13:26:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sx1xZ-0004xQ-13 for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 20:25:29 +0000
Resent-Date: Thu, 02 Aug 2012 20:25:29 +0000
Resent-Message-Id: <E1Sx1xZ-0004xQ-13@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Sx1xN-0004wf-2U for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 20:25:17 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Sx1xL-0001Qz-Lm for ietf-http-wg@w3.org; Thu, 02 Aug 2012 20:25:17 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q72KOlQd026941; Thu, 2 Aug 2012 23:24:47 +0300
X-CheckPoint: {501ADF75-3-1B221DC2-4FFFF}
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Thu, 2 Aug 2012 23:24:46 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Eliot Lear <lear@cisco.com>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Thu, 2 Aug 2012 23:24:45 +0300
Thread-Topic: FYI... Binary Optimized Header Encoding for SPDY
Thread-Index: Ac1w7NsmcPbVfCD/STGWD35gacf2kw==
Message-ID: <48B73A9A-B679-4961-A23B-A9F0174ECB6C@checkpoint.com>
References: <emc1f2400c-3d0f-48eb-8eea-cb91edab99b3@bombed> <501AAD5F.9080709@cisco.com> <CABkgnnXpzoP+RRa8VqhYeuMArQ-1NMCmRSFmL5YjAhJKGQdZRg@mail.gmail.com> <501AB1BC.9050209@cisco.com> <8023DFC7-B901-4B57-8EC2-6396972767A3@checkpoint.com> <501AE176.3040509@cisco.com>
In-Reply-To: <501AE176.3040509@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sx1xL-0001Qz-Lm ed01710ced2e1998506486f2a3cb2308
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/48B73A9A-B679-4961-A23B-A9F0174ECB6C@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14889
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 Aug 2, 2012, at 1:22 PM, Eliot Lear wrote:

>=20
> On 8/2/12 10:27 AM, Yoav Nir wrote:
>> On Aug 2, 2012, at 9:58 AM, Eliot Lear wrote:
>>=20
>>> Martin,
>>>=20
>>>> We could always USE ASN.1 (and PER).=20
>>> Thank you for bringing home the point that there are complexity
>>> tradeoffs for doing all of this.
>> Why?  It makes things so simple:
>=20
> Let's just see if it stays simple by the time it's done.

Please, let's not see that. Besides, if the PKIX people can be kept away, w=
e'll be fine.



From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 13:57:16 2012
Return-Path: <ietf-http-wg-request@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 73D4921E808B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 13:57:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.889
X-Spam-Level: 
X-Spam-Status: No, score=-7.889 tagged_above=-999 required=5 tests=[AWL=-0.422, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MtEAuVeJPo2B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 13:57:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 293F121E808C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 13:57:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sx2Qn-0003qL-9p for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 20:55:41 +0000
Resent-Date: Thu, 02 Aug 2012 20:55:41 +0000
Resent-Message-Id: <E1Sx2Qn-0003qL-9p@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1Sx2QZ-0003pa-Pe for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 20:55:27 +0000
Received: from va3ehsobe001.messaging.microsoft.com ([216.32.180.11] helo=va3outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1Sx2QY-0002Nr-G7 for ietf-http-wg@w3.org; Thu, 02 Aug 2012 20:55:27 +0000
Received: from mail228-va3-R.bigfish.com (10.7.14.240) by VA3EHSOBE002.bigfish.com (10.7.40.22) with Microsoft SMTP Server id 14.1.225.23; Thu, 2 Aug 2012 20:54:59 +0000
Received: from mail228-va3 (localhost [127.0.0.1])	by mail228-va3-R.bigfish.com (Postfix) with ESMTP id 767AB4C035E	for <ietf-http-wg@w3.org>; Thu,  2 Aug 2012 20:54:59 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14MLTC102.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: 8
X-BigFish: VS8(zz542Mzz1202hzz8275bh8275dh838bsz2fh2a8h683h839h944hd24hf0ah107ah9a9j)
Received-SPF: pass (mail228-va3: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14MLTC102.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.240.21;KIP:(null);UIP:(null);(null);H:BL2PRD0310HT005.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail228-va3 (localhost.localdomain [127.0.0.1]) by mail228-va3 (MessageSwitch) id 1343940897213183_12958; Thu,  2 Aug 2012 20:54:57 +0000 (UTC)
Received: from VA3EHSMHS006.bigfish.com (unknown [10.7.14.251])	by mail228-va3.bigfish.com (Postfix) with ESMTP id 27F131E0045	for <ietf-http-wg@w3.org>; Thu,  2 Aug 2012 20:54:57 +0000 (UTC)
Received: from TK5EX14MLTC102.redmond.corp.microsoft.com (131.107.125.8) by VA3EHSMHS006.bigfish.com (10.7.99.16) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 2 Aug 2012 20:54:53 +0000
Received: from ch1outboundpool.messaging.microsoft.com (157.54.51.80) by mail.microsoft.com (157.54.79.180) with Microsoft SMTP Server (TLS) id 14.2.298.5; Thu, 2 Aug 2012 20:54:48 +0000
Received: from mail57-ch1-R.bigfish.com (10.43.68.235) by CH1EHSOBE012.bigfish.com (10.43.70.62) with Microsoft SMTP Server id 14.1.225.23; Thu, 2 Aug 2012 20:54:47 +0000
Received: from mail57-ch1 (localhost [127.0.0.1])	by mail57-ch1-R.bigfish.com (Postfix) with ESMTP id 4A57D42020A	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Thu,  2 Aug 2012 20:54:47 +0000 (UTC)
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(13464001)(33646001)(42186003)(16406001)(5343635001)(5343655001)(266001)(31966006)(24736002);DIR:INB;;LANG:en;
Received: from mail57-ch1 (localhost.localdomain [127.0.0.1]) by mail57-ch1 (MessageSwitch) id 1343940885392713_14108; Thu,  2 Aug 2012 20:54:45 +0000 (UTC)
Received: from CH1EHSMHS008.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.241])	by mail57-ch1.bigfish.com (Postfix) with ESMTP id 5E3182E00E2;	Thu,  2 Aug 2012 20:54:45 +0000 (UTC)
Received: from BL2PRD0310HT005.namprd03.prod.outlook.com (157.56.240.21) by CH1EHSMHS008.bigfish.com (10.43.70.8) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 2 Aug 2012 20:54:44 +0000
Received: from BLUPR03MB613.namprd03.prod.outlook.com (10.255.124.41) by BL2PRD0310HT005.namprd03.prod.outlook.com (10.255.97.40) with Microsoft SMTP Server (TLS) id 14.16.175.8; Thu, 2 Aug 2012 20:54:43 +0000
Received: from BLUPR03MB613.namprd03.prod.outlook.com (10.255.124.41) by BLUPR03MB613.namprd03.prod.outlook.com (10.255.124.41) with Microsoft SMTP Server (TLS) id 15.0.466.11; Thu, 2 Aug 2012 20:53:40 +0000
Received: from BLUPR03MB613.namprd03.prod.outlook.com ([169.254.10.152]) by BLUPR03MB613.namprd03.prod.outlook.com ([169.254.10.152]) with mapi id 15.00.0466.010; Thu, 2 Aug 2012 20:53:40 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Thread-Topic: Would a header/schema compiler help?
Thread-Index: AQHNZCYdp2Cs03vKR0+TmN15wkF1TZdHFqpQ
Date: Thu, 2 Aug 2012 20:53:40 +0000
Message-ID: <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com>
References: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com>
In-Reply-To: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.255.124.25]
x-forefront-prvs: 05610E64EE
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OrganizationHeadersPreserved: BLUPR03MB613.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%GMAIL.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14MLTC102.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14MLTC102.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.180.11; envelope-from=henrikn@microsoft.com; helo=va3outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-1.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: maggie.w3.org 1Sx2QY-0002Nr-G7 54fa8d479fc54c5a4806cc0ee02278e5
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Would a header/schema compiler help?
Archived-At: <http://www.w3.org/mid/f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14890
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>

I also have trouble with the use of compression over the headers for two re=
asons:

1) While we know that compression can work wonders on entity bodies, it obs=
cures the headers which are critical for inspection and manipulation by eve=
rybody down the message path.

2) Further, it is unclear whether there is any noticeable performance gain =
from doing so. The only headers that today are open-ended are really User-A=
gent and Set-Cookie/Cookie pairs. In all our data where we don't include th=
ese headers we see no gain from using header compression whatsoever as long=
 as you are conservative in how many headers you choose to include.

In other words, based on the data we have, focusing on optimizing UA and co=
okie headers may offer tangible performance gains.

Unless we can find convincing data I would argue that we should start the h=
eader discussion by focusing on the headers that we know have problems and =
then go from there.

Henrik

-----Original Message-----
From: Phillip Hallam-Baker [mailto:hallam@gmail.com]=20
Sent: Tuesday, July 17, 2012 07:10
To: ietf-http-wg@w3.org Group
Subject: Would a header/schema compiler help?

One of the design choices I find a little troubling in SPDY is the use of h=
eader compression over a compact representation.

Compression algorithms worry me because the only way I can implement them i=
s to call someone's library. I can write my own code to implement RFC822 he=
ader parsing. In fact I have done so a dozen times at least.

ASN.1 and XML schemas are undoubtedly how to do a protocol 'right' in the a=
cademic sense of get some good abstractions in there. But they both come wi=
th hideous baggage. ASN.1 started too large and has been tweaked endlessly =
until it became nonsense. XML encoding is bloated and XML Schema drags in t=
he whole SGML legacy that the WG was meant to chuck in the dustbin. I dare =
you to use a model group in your next XML spec.


But JSON proves that it does not have to be that way. Over the past couple =
of months I have put together what amounts to a schema compiler for JSON. I=
 am currently working on putting the compiler and the tools used to build i=
t out on Github under an open source license.

Unlike your regular schema compiler, this one makes it easy to retarget the=
 code generation at a different language. Writing a JSON back end for C# to=
ok me about a week (and I was developing the tool at the same time). I coul=
d modify that code to generate C in a day. Want python, perl, Java, no prob=
lem.

The JSON protocol synthesizer is built using the Goedel meta-synthesizer (w=
hich is of course written in itself). Comodo owns the protocol synth, I own=
 the meta-synth. They should both be up on github under an MIT license in a=
 few weeks.


It seems to me that it would be useful to have a compiler for RFC822 style =
headers. The basic strategy being similar to a 'jack up' house renovation. =
First we jack up the level of abstraction in the HTTP spec by defining the =
headers in terms of a schema that is designed for that specific purpose. Th=
en we build in the new ground floor (aka encoding) underneath it.


--
Website: http://hallambaker.com/








From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 14:07:18 2012
Return-Path: <ietf-http-wg-request@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 A2DC811E814B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 14:07:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.06
X-Spam-Level: 
X-Spam-Status: No, score=-9.06 tagged_above=-999 required=5 tests=[AWL=1.539, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I6OrbJlXiozq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 14:07:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 838FD11E8140 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 14:07:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sx2ar-00015H-If for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 21:06:05 +0000
Resent-Date: Thu, 02 Aug 2012 21:06:05 +0000
Resent-Message-Id: <E1Sx2ar-00015H-If@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sx2ae-00014W-Pg for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 21:05:52 +0000
Received: from mail-gg0-f171.google.com ([209.85.161.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sx2ad-0002UT-96 for ietf-http-wg@w3.org; Thu, 02 Aug 2012 21:05:52 +0000
Received: by ggmi1 with SMTP id i1so9237708ggm.2 for <ietf-http-wg@w3.org>; Thu, 02 Aug 2012 14:05:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=vWVj4BQHX9AAMUfW/UrLdlXbHsUEkeaXSWTACfZvTKs=; b=kx241bX2PjOlM4IyZtlr53PLzN6AeNo6ejDYWcqV3Ie3ZdTbnAx5xp+qrDKaDrMVIA zh3qygGBv8VrvAi6Zhz3WqSJZrOnc8MkCyB+SDP6VXlAQIKKY6hHPkfCArghIO6NG+SO mMKTgb/cMuztodAxdiSJdyXQ4NSFzHO8i/MDStofOKq5bDYsFuQ9ScSxL7ObI3ybivE/ e/W8j9IkgdGoM7uejf+jhwCpTmc85ia4IrsUwNsqwtbk3Vn2n3Neb8qRcKROMnBsJ24l KVzn8532TSS8rXLPVdZauQUgcPgrvdV8hMSNsaK3ivLumMxpYrmR7IKBhVi6AKf28LzW IsoA==
MIME-Version: 1.0
Received: by 10.60.171.5 with SMTP id aq5mr39994096oec.34.1343941525233; Thu, 02 Aug 2012 14:05:25 -0700 (PDT)
Received: by 10.76.133.104 with HTTP; Thu, 2 Aug 2012 14:05:25 -0700 (PDT)
In-Reply-To: <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com>
References: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com> <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com>
Date: Thu, 2 Aug 2012 14:05:25 -0700
Message-ID: <CAMm+LwjMXS=x=tRFV14Z2y5T7io=1emTQSugatN1Wgu4f1r=xA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.161.171; envelope-from=hallam@gmail.com; helo=mail-gg0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sx2ad-0002UT-96 533e4466ae06a9147fe3c147f7b57815
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Would a header/schema compiler help?
Archived-At: <http://www.w3.org/mid/CAMm+LwjMXS=x=tRFV14Z2y5T7io=1emTQSugatN1Wgu4f1r=xA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14891
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>

Question,

In the case that a server and client do the HTTP connection keep-alive
thing, does the client send the cookies on the first request only or
for each request?

If we have MUX, that may be where the performance gain comes.

On Thu, Aug 2, 2012 at 1:53 PM, Henrik Frystyk Nielsen
<henrikn@microsoft.com> wrote:
> I also have trouble with the use of compression over the headers for two =
reasons:
>
> 1) While we know that compression can work wonders on entity bodies, it o=
bscures the headers which are critical for inspection and manipulation by e=
verybody down the message path.
>
> 2) Further, it is unclear whether there is any noticeable performance gai=
n from doing so. The only headers that today are open-ended are really User=
-Agent and Set-Cookie/Cookie pairs. In all our data where we don't include =
these headers we see no gain from using header compression whatsoever as lo=
ng as you are conservative in how many headers you choose to include.
>
> In other words, based on the data we have, focusing on optimizing UA and =
cookie headers may offer tangible performance gains.
>
> Unless we can find convincing data I would argue that we should start the=
 header discussion by focusing on the headers that we know have problems an=
d then go from there.
>
> Henrik
>
> -----Original Message-----
> From: Phillip Hallam-Baker [mailto:hallam@gmail.com]
> Sent: Tuesday, July 17, 2012 07:10
> To: ietf-http-wg@w3.org Group
> Subject: Would a header/schema compiler help?
>
> One of the design choices I find a little troubling in SPDY is the use of=
 header compression over a compact representation.
>
> Compression algorithms worry me because the only way I can implement them=
 is to call someone's library. I can write my own code to implement RFC822 =
header parsing. In fact I have done so a dozen times at least.
>
> ASN.1 and XML schemas are undoubtedly how to do a protocol 'right' in the=
 academic sense of get some good abstractions in there. But they both come =
with hideous baggage. ASN.1 started too large and has been tweaked endlessl=
y until it became nonsense. XML encoding is bloated and XML Schema drags in=
 the whole SGML legacy that the WG was meant to chuck in the dustbin. I dar=
e you to use a model group in your next XML spec.
>
>
> But JSON proves that it does not have to be that way. Over the past coupl=
e of months I have put together what amounts to a schema compiler for JSON.=
 I am currently working on putting the compiler and the tools used to build=
 it out on Github under an open source license.
>
> Unlike your regular schema compiler, this one makes it easy to retarget t=
he code generation at a different language. Writing a JSON back end for C# =
took me about a week (and I was developing the tool at the same time). I co=
uld modify that code to generate C in a day. Want python, perl, Java, no pr=
oblem.
>
> The JSON protocol synthesizer is built using the Goedel meta-synthesizer =
(which is of course written in itself). Comodo owns the protocol synth, I o=
wn the meta-synth. They should both be up on github under an MIT license in=
 a few weeks.
>
>
> It seems to me that it would be useful to have a compiler for RFC822 styl=
e headers. The basic strategy being similar to a 'jack up' house renovation=
. First we jack up the level of abstraction in the HTTP spec by defining th=
e headers in terms of a schema that is designed for that specific purpose. =
Then we build in the new ground floor (aka encoding) underneath it.
>
>
> --
> Website: http://hallambaker.com/
>
>
>
>
>
>
>



--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 14:31:37 2012
Return-Path: <ietf-http-wg-request@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 5522821E803A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 14:31:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HbySJB1E2t6r for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 14:31:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7055621F89E9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 14:31:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sx2y8-0003iG-Lz for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 21:30:08 +0000
Resent-Date: Thu, 02 Aug 2012 21:30:08 +0000
Resent-Message-Id: <E1Sx2y8-0003iG-Lz@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <daniel@haxx.se>) id 1Sx2xv-0000qr-6o for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 21:29:55 +0000
Received: from giant.haxx.se ([80.67.6.50]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <daniel@haxx.se>) id 1Sx2xt-0003Mr-Tr for ietf-http-wg@w3.org; Thu, 02 Aug 2012 21:29:55 +0000
Received: from giant.haxx.se (localhost.localdomain [127.0.0.1]) by giant.haxx.se (8.14.4/8.14.4/Debian-2) with ESMTP id q72LTMWW009228 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 2 Aug 2012 23:29:22 +0200
Received: from localhost (dast@localhost) by giant.haxx.se (8.14.4/8.14.4/Submit) with ESMTP id q72LTLTA009221; Thu, 2 Aug 2012 23:29:21 +0200
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Thu, 2 Aug 2012 23:29:21 +0200 (CEST)
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: Phillip Hallam-Baker <hallam@gmail.com>
cc: Henrik Frystyk Nielsen <henrikn@microsoft.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
In-Reply-To: <CAMm+LwjMXS=x=tRFV14Z2y5T7io=1emTQSugatN1Wgu4f1r=xA@mail.gmail.com>
Message-ID: <alpine.DEB.2.00.1208022328580.9433@tvnag.unkk.fr>
References: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com> <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com> <CAMm+LwjMXS=x=tRFV14Z2y5T7io=1emTQSugatN1Wgu4f1r=xA@mail.gmail.com>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
X-fromdanielhimself: yes
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Received-SPF: pass client-ip=80.67.6.50; envelope-from=daniel@haxx.se; helo=giant.haxx.se
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sx2xt-0003Mr-Tr af04b671e10f71e2809fd81e9eef561d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Would a header/schema compiler help?
Archived-At: <http://www.w3.org/mid/alpine.DEB.2.00.1208022328580.9433@tvnag.unkk.fr>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14892
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 Thu, 2 Aug 2012, Phillip Hallam-Baker wrote:

> In the case that a server and client do the HTTP connection keep-alive 
> thing, does the client send the cookies on the first request only or for 
> each request?

In each request. Stateless, remember? =)

-- 

  / daniel.haxx.se


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 14:31:54 2012
Return-Path: <ietf-http-wg-request@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 6E66811E808E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 14:31:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.561
X-Spam-Level: 
X-Spam-Status: No, score=-9.561 tagged_above=-999 required=5 tests=[AWL=1.038, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ddsefJolRfuo for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 14:31:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E699C21F89F4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 14:31:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sx2zQ-0004K5-8A for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 21:31:28 +0000
Resent-Date: Thu, 02 Aug 2012 21:31:28 +0000
Resent-Message-Id: <E1Sx2zQ-0004K5-8A@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1Sx2zE-0004IC-DD for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 21:31:16 +0000
Received: from c2w3p-2.abacamail.com ([209.133.53.32]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1Sx2zD-0003Oy-DS for ietf-http-wg@w3.org; Thu, 02 Aug 2012 21:31:16 +0000
Received: from xpasc.com (unknown [68.164.244.188]) by c2w3p-2.abacamail.com (Postfix) with ESMTP id 22A0E4041C for <ietf-http-wg@w3.org>; Thu,  2 Aug 2012 21:30:48 +0000 (UTC)
Received: from egate.xpasc.com (egate.xpasc.com [10.1.2.49]) by xpasc.com (8.13.8/8.13.8) with ESMTP id q72LUl1s022958 for <ietf-http-wg@w3.org>; Thu, 2 Aug 2012 14:30:47 -0700
Date: Thu, 2 Aug 2012 14:30:47 -0700 (PDT)
From: David Morris <dwm@xpasc.com>
Reply-To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
In-Reply-To: <CAMm+LwjMXS=x=tRFV14Z2y5T7io=1emTQSugatN1Wgu4f1r=xA@mail.gmail.com>
Message-ID: <alpine.LRH.2.01.1208021419430.22206@egate.xpasc.com>
References: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com> <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com> <CAMm+LwjMXS=x=tRFV14Z2y5T7io=1emTQSugatN1Wgu4f1r=xA@mail.gmail.com>
User-Agent: Alpine 2.01 (LRH 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Milter-Version: master.1+13-gbab1945
X-AV-Type: clean
X-AV-Accuracy: exact
Received-SPF: pass client-ip=209.133.53.32; envelope-from=dwm@xpasc.com; helo=c2w3p-2.abacamail.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sx2zD-0003Oy-DS bb6c9e2b2cef49ef382cbe01885201c7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Would a header/schema compiler help?
Archived-At: <http://www.w3.org/mid/alpine.LRH.2.01.1208021419430.22206@egate.xpasc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14893
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 Thu, 2 Aug 2012, Phillip Hallam-Baker wrote:

> Question,
> 
> In the case that a server and client do the HTTP connection keep-alive
> thing, does the client send the cookies on the first request only or
> for each request?
> 
> If we have MUX, that may be where the performance gain comes.

The client must send the cookies, UA, etc. on every request as their is no
state preserved between requests.

The accept headers can get quite bloated as well.

There is no reason for most headers to be repeated if the protocol
provided for reuse of previous headers. I lean toward explicit reuse,
such as a 'mark' of some kind in the re-using request or response
to indicate a reference to a previous header.

I don't advocate simple compression (LCZ et al), but I'm surprised
by the finding that only the UA and Cookie headers made a difference.
I would expect stream compression (e.g., keeping the dictionary open)
to reduce most headers to almost nothing after a very few R/R pairs.
Also, using an initial dictionary trained with header names,
common UA terms, accept tokens, etc. should make a big difference.

Dave Morris


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 14:51:27 2012
Return-Path: <ietf-http-wg-request@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 3218511E814E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 14:51:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.074
X-Spam-Level: 
X-Spam-Status: No, score=-9.074 tagged_above=-999 required=5 tests=[AWL=1.525, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 35Rnq8hswDJR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 14:51:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5B3DC11E8118 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 14:51:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sx3HW-000411-N1 for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 21:50:10 +0000
Resent-Date: Thu, 02 Aug 2012 21:50:10 +0000
Resent-Message-Id: <E1Sx3HW-000411-N1@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sx3HK-0002l8-6h for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 21:49:58 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sx3HJ-0003v1-5P for ietf-http-wg@w3.org; Thu, 02 Aug 2012 21:49:58 +0000
Received: by obqv19 with SMTP id v19so29335obq.2 for <ietf-http-wg@w3.org>; Thu, 02 Aug 2012 14:49:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=22vVE2KR3tWRuiEtaKVvwnzAzGE1AST0Nzqn8YVdQ/4=; b=sy0hn1E1GUowRmWvuukMnxxwSBg4cIL0TriObwzTix5r//+PuJggZjPDdUNuGmMspn CZR8f6B2F4KVD5Q67GpBcK83L2t3a+vZlXye6Hx59PfLS1vjdWS6LuVBVlpI5pzdLYyp 12N3BOOhrUJl59BF0X6Xy95UVZe6GKB10x3cjUr34rAu04jI5GnNYv4/3vC/HmOmAx/Q +RqdqNDryhwcGxhYxc1IR01xHkcfQRDMJDmAZPQD9vC01fa6dtzVwotKXGR8BIQc0lk2 X0w+OKHSU1ZOzlvIJHT6B8Whc7gdoqdJDHVwsz82/C80ejjuaBJH7G+do09grvyuvaVH zbIQ==
MIME-Version: 1.0
Received: by 10.182.50.98 with SMTP id b2mr40637579obo.28.1343944171093; Thu, 02 Aug 2012 14:49:31 -0700 (PDT)
Received: by 10.76.133.104 with HTTP; Thu, 2 Aug 2012 14:49:31 -0700 (PDT)
In-Reply-To: <alpine.DEB.2.00.1208022328580.9433@tvnag.unkk.fr>
References: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com> <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com> <CAMm+LwjMXS=x=tRFV14Z2y5T7io=1emTQSugatN1Wgu4f1r=xA@mail.gmail.com> <alpine.DEB.2.00.1208022328580.9433@tvnag.unkk.fr>
Date: Thu, 2 Aug 2012 14:49:31 -0700
Message-ID: <CAMm+Lwj1SNtdwtgUa9+ajvsmmN4_uzDe2p09Sb_MkVRTCODegw@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Daniel Stenberg <daniel@haxx.se>
Cc: Henrik Frystyk Nielsen <henrikn@microsoft.com>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sx3HJ-0003v1-5P 581ae5894b457e28bf1b3355f61a0ee4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Would a header/schema compiler help?
Archived-At: <http://www.w3.org/mid/CAMm+Lwj1SNtdwtgUa9+ajvsmmN4_uzDe2p09Sb_MkVRTCODegw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14894
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>

I remember what we wrote. What the code does is very frequently different.

A TCP connection itself represents state so I don't see any real
reason not to permit cookie caching for the duration of the session.
And I would much prefer to have explicit state than state implicit in
some compression dictionary.


On Thu, Aug 2, 2012 at 2:29 PM, Daniel Stenberg <daniel@haxx.se> wrote:
> On Thu, 2 Aug 2012, Phillip Hallam-Baker wrote:
>
>> In the case that a server and client do the HTTP connection keep-alive
>> thing, does the client send the cookies on the first request only or for
>> each request?
>
>
> In each request. Stateless, remember? =)
>
> --
>
>  / daniel.haxx.se



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 15:11:15 2012
Return-Path: <ietf-http-wg-request@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 AB86521E80A0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 15:11:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.763
X-Spam-Level: 
X-Spam-Status: No, score=-9.763 tagged_above=-999 required=5 tests=[AWL=0.213, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VYXVAVUFX15b for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 15:11:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D351E11E80E1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 15:11:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sx3ab-0003BM-JR for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 22:09:53 +0000
Resent-Date: Thu, 02 Aug 2012 22:09:53 +0000
Resent-Message-Id: <E1Sx3ab-0003BM-JR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sx3aO-0003AD-Af for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 22:09:40 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sx3aM-0004Mn-8I for ietf-http-wg@w3.org; Thu, 02 Aug 2012 22:09:40 +0000
Received: by lbol12 with SMTP id l12so955308lbo.2 for <ietf-http-wg@w3.org>; Thu, 02 Aug 2012 15:09:11 -0700 (PDT)
X-Google-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:x-gm-message-state; bh=TGV25PfUmjxs0pTzIG8RsOhrJIjYjaZJ1FBqcoyAUXk=; b=FNI9VJnYqM0GWivJiqGz35Sho5Hm/mEGlfXFnn8FOkd07E51E+nTwuIoMccZ0dcazw YtNaf/HZKXd1PeFuiDh//pDqRQHjEG+FLVQZjD5Iw2/15vF32BVejUm6pCrvMUUQJfmW GyWK2zXvfLBJQCs+m7L+uSX/84unqXpNO0G98O9RlaLR4Bc0OFKvd4/SzCgQu5KX1C52 rUDUtr0cKCsWto76A5xtYlZqAhc3Ga/0y3aCE4dk7xetSJR/gfHrJCxF1ZHJQCG5FWFh XpuKUMQHrh+Y8pHB/el0obDz3C5w/hT+81B/rsqah1kJC8dH26zm8r3qBlFl2EYFO0+i J6/w==
MIME-Version: 1.0
Received: by 10.152.105.51 with SMTP id gj19mr22778179lab.38.1343945351233; Thu, 02 Aug 2012 15:09:11 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Thu, 2 Aug 2012 15:09:11 -0700 (PDT)
In-Reply-To: <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com>
References: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com> <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com>
Date: Thu, 2 Aug 2012 15:09:11 -0700
Message-ID: <CABaLYCtNzTZjUPgknfNtjwhkUopf3gaHQ6SmBGLAywu07WAB1g@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d0407178542016504c64fa910
X-Gm-Message-State: ALoCoQkIHVTuyFgn5GvpovD+UIsz+vO3MzB72F09vMlZPnQpXXh3iLSXR8auyVOGLdV/L+JzPbIv
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1Sx3aM-0004Mn-8I 1e90f3dea1f44b2bb6267cf8dd663ff6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Would a header/schema compiler help?
Archived-At: <http://www.w3.org/mid/CABaLYCtNzTZjUPgknfNtjwhkUopf3gaHQ6SmBGLAywu07WAB1g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14895
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>

--f46d0407178542016504c64fa910
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Aug 2, 2012 at 1:53 PM, Henrik Frystyk Nielsen <
henrikn@microsoft.com> wrote:

> I also have trouble with the use of compression over the headers for two
> reasons:
>
> 1) While we know that compression can work wonders on entity bodies, it
> obscures the headers which are critical for inspection and manipulation by
> everybody down the message path.
>

So far, this has not been a problem.

The nice thing about a general purpose compressor is that it is very
generic - it works on any body of data.  Obviously, a structured schema can
be highly tailored, but is also less flexible to changes over time.


> 2) Further, it is unclear whether there is any noticeable performance gain
> from doing so. The only headers that today are open-ended are really
> User-Agent and Set-Cookie/Cookie pairs. In all our data where we don't
> include these headers we see no gain from using header compression
> whatsoever as long as you are conservative in how many headers you choose
> to include.
>

Typical headers are ~450 bytes on the request, and ~300 on the response.
 Cookies make it vary wildly.  The compressor cuts the initial header size
in half, subsequent headers by about 90%.

I'm not sure what data you are referring to - but I was able to see
performance differences here.  When you simulate typical web pages today
(~8 domains, ~80 resources, etc) with a low-end network (385Kbps down,
128Kbps up), you can do the math yourself, but saving 200bytes per request
* 80 requests over these types of links measures in the *seconds*....

Remember that most users are using asymmetric networks, with very small
uplink capability.



>
> In other words, based on the data we have, focusing on optimizing UA and
> cookie headers may offer tangible performance gains.
>

Of course they will.


>
> Unless we can find convincing data I would argue that we should start the
> header discussion by focusing on the headers that we know have problems and
> then go from there.
>

Compression is a problem which can always be solved differently and always
be a little "better".  But at the end of the day, this is not the key part
of the protocol - users aren't going to notice as long as you get the byte
count down by ~75%.

Don't get me wrong, I really don't care what we change it to - but I hope
we talk about something else, because the compressor easily solved if we
just live with good enough.

Some recommendations I'd put out to anyone recommending new compressors for
headers:
    * Target at least 75% or more compression over today's HTTP for typical
web pages.
    * Be straightforward to implement
    * Be able to compress repeated cookies well
    * Be tolerant to long-lived sessions; if your compressor builds up
state with every new header, it must have a way to rotate out the old data
(e.g. a rolling window)
    * Try to minimize RAM and CPU
    * Do not use tricks that give advantages to incumbent browsers (e.g.
don't hard-code compression for pronouns like "WebKit", "Windows", "Chrome"
or "Firefox")
    * Don't try to "clean up" HTTP/1.1's headers; this just creates
compatibility issues, so unless done for a very specific purpose wastes time

I hope those recommendations are useful.

Mike



>
> Henrik
>
> -----Original Message-----
> From: Phillip Hallam-Baker [mailto:hallam@gmail.com]
> Sent: Tuesday, July 17, 2012 07:10
> To: ietf-http-wg@w3.org Group
> Subject: Would a header/schema compiler help?
>
> One of the design choices I find a little troubling in SPDY is the use of
> header compression over a compact representation.
>
> Compression algorithms worry me because the only way I can implement them
> is to call someone's library. I can write my own code to implement RFC822
> header parsing. In fact I have done so a dozen times at least.
>
> ASN.1 and XML schemas are undoubtedly how to do a protocol 'right' in the
> academic sense of get some good abstractions in there. But they both come
> with hideous baggage. ASN.1 started too large and has been tweaked
> endlessly until it became nonsense. XML encoding is bloated and XML Schema
> drags in the whole SGML legacy that the WG was meant to chuck in the
> dustbin. I dare you to use a model group in your next XML spec.
>
>
> But JSON proves that it does not have to be that way. Over the past couple
> of months I have put together what amounts to a schema compiler for JSON. I
> am currently working on putting the compiler and the tools used to build it
> out on Github under an open source license.
>
> Unlike your regular schema compiler, this one makes it easy to retarget
> the code generation at a different language. Writing a JSON back end for C#
> took me about a week (and I was developing the tool at the same time). I
> could modify that code to generate C in a day. Want python, perl, Java, no
> problem.
>
> The JSON protocol synthesizer is built using the Goedel meta-synthesizer
> (which is of course written in itself). Comodo owns the protocol synth, I
> own the meta-synth. They should both be up on github under an MIT license
> in a few weeks.
>
>
> It seems to me that it would be useful to have a compiler for RFC822 style
> headers. The basic strategy being similar to a 'jack up' house renovation.
> First we jack up the level of abstraction in the HTTP spec by defining the
> headers in terms of a schema that is designed for that specific purpose.
> Then we build in the new ground floor (aka encoding) underneath it.
>
>
> --
> Website: http://hallambaker.com/
>
>
>
>
>
>
>
>

--f46d0407178542016504c64fa910
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div><br></div><div class=3D"gmail_quote">On Thu, Aug 2, 2012 at 1:53 PM, H=
enrik Frystyk Nielsen <span dir=3D"ltr">&lt;<a href=3D"mailto:henrikn@micro=
soft.com" target=3D"_blank">henrikn@microsoft.com</a>&gt;</span> wrote:<br>=
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
I also have trouble with the use of compression over the headers for two re=
asons:<br>
<br>
1) While we know that compression can work wonders on entity bodies, it obs=
cures the headers which are critical for inspection and manipulation by eve=
rybody down the message path.<br></blockquote><div><br></div><div>So far, t=
his has not been a problem. =A0</div>
<div><br></div><div>The nice thing about a general purpose compressor is th=
at it is very generic - it works on any body of data. =A0Obviously, a struc=
tured schema can be highly tailored, but is also less flexible to changes o=
ver time.</div>
<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">
<br>
2) Further, it is unclear whether there is any noticeable performance gain =
from doing so. The only headers that today are open-ended are really User-A=
gent and Set-Cookie/Cookie pairs. In all our data where we don&#39;t includ=
e these headers we see no gain from using header compression whatsoever as =
long as you are conservative in how many headers you choose to include.<br>
</blockquote><div><br></div><div>Typical headers are ~450 bytes on the requ=
est, and ~300 on the response. =A0Cookies make it vary wildly. =A0The compr=
essor cuts the initial header size in half, subsequent headers by about 90%=
. =A0</div>
<div><br></div><div>I&#39;m not sure what data you are referring to - but I=
 was able to see performance differences here. =A0When you simulate typical=
 web pages today (~8 domains, ~80 resources, etc) with a low-end network (3=
85Kbps down, 128Kbps up), you can do the math yourself, but saving 200bytes=
 per request * 80 requests over these types of links measures in the *secon=
ds*....</div>
<div><br></div><div>Remember that most users are using=A0asymmetric=A0netwo=
rks, with very small uplink capability. =A0</div><div><br></div><div>=A0</d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left=
:1px #ccc solid;padding-left:1ex">

<br>
In other words, based on the data we have, focusing on optimizing UA and co=
okie headers may offer tangible performance gains.<br></blockquote><div><br=
></div><div>Of course they will.</div><div>=A0</div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">

<br>
Unless we can find convincing data I would argue that we should start the h=
eader discussion by focusing on the headers that we know have problems and =
then go from there.<br></blockquote><div><br></div><div>Compression is a pr=
oblem which can always be solved differently and always be a little &quot;b=
etter&quot;. =A0But at the end of the day, this is not the key part of the =
protocol - users aren&#39;t going to notice as long as you get the byte cou=
nt down by ~75%.=A0</div>
<div><br></div><div>Don&#39;t get me wrong, I really don&#39;t care what we=
 change it to - but I hope we talk about something else, because the compre=
ssor easily solved if we just live with good enough.</div><div><br></div>
<div>Some recommendations I&#39;d put out to anyone recommending new compre=
ssors for headers:</div><div>=A0 =A0 * Target at least 75% or more compress=
ion over today&#39;s HTTP for typical web pages.</div><div>=A0 =A0 * Be str=
aightforward to implement</div>
<div>=A0 =A0 *=A0Be able to compress repeated cookies well</div><div>=A0 =
=A0 * Be tolerant to long-lived sessions; if your compressor builds up stat=
e with every new header, it must have a way to rotate out the old data (e.g=
. a rolling window)</div>
<div>=A0 =A0 * Try to minimize RAM and CPU</div><div>=A0 =A0 * Do not use t=
ricks that give advantages to incumbent browsers (e.g. don&#39;t hard-code =
compression for pronouns like &quot;WebKit&quot;, &quot;Windows&quot;, &quo=
t;Chrome&quot; or &quot;Firefox&quot;)</div>
<div>=A0 =A0 * Don&#39;t try to &quot;clean up&quot; HTTP/1.1&#39;s headers=
; this just creates compatibility issues, so unless done for a very specifi=
c purpose wastes time</div><div><br></div><div>I hope those recommendations=
 are useful.</div>
<div><br></div><div>Mike</div><div><br></div><div>=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Henrik<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
-----Original Message-----<br>
From: Phillip Hallam-Baker [mailto:<a href=3D"mailto:hallam@gmail.com">hall=
am@gmail.com</a>]<br>
Sent: Tuesday, July 17, 2012 07:10<br>
To: <a href=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</a> Group<br=
>
Subject: Would a header/schema compiler help?<br>
<br>
One of the design choices I find a little troubling in SPDY is the use of h=
eader compression over a compact representation.<br>
<br>
Compression algorithms worry me because the only way I can implement them i=
s to call someone&#39;s library. I can write my own code to implement RFC82=
2 header parsing. In fact I have done so a dozen times at least.<br>
<br>
ASN.1 and XML schemas are undoubtedly how to do a protocol &#39;right&#39; =
in the academic sense of get some good abstractions in there. But they both=
 come with hideous baggage. ASN.1 started too large and has been tweaked en=
dlessly until it became nonsense. XML encoding is bloated and XML Schema dr=
ags in the whole SGML legacy that the WG was meant to chuck in the dustbin.=
 I dare you to use a model group in your next XML spec.<br>

<br>
<br>
But JSON proves that it does not have to be that way. Over the past couple =
of months I have put together what amounts to a schema compiler for JSON. I=
 am currently working on putting the compiler and the tools used to build i=
t out on Github under an open source license.<br>

<br>
Unlike your regular schema compiler, this one makes it easy to retarget the=
 code generation at a different language. Writing a JSON back end for C# to=
ok me about a week (and I was developing the tool at the same time). I coul=
d modify that code to generate C in a day. Want python, perl, Java, no prob=
lem.<br>

<br>
The JSON protocol synthesizer is built using the Goedel meta-synthesizer (w=
hich is of course written in itself). Comodo owns the protocol synth, I own=
 the meta-synth. They should both be up on github under an MIT license in a=
 few weeks.<br>

<br>
<br>
It seems to me that it would be useful to have a compiler for RFC822 style =
headers. The basic strategy being similar to a &#39;jack up&#39; house reno=
vation. First we jack up the level of abstraction in the HTTP spec by defin=
ing the headers in terms of a schema that is designed for that specific pur=
pose. Then we build in the new ground floor (aka encoding) underneath it.<b=
r>

<br>
<br>
--<br>
Website: <a href=3D"http://hallambaker.com/" target=3D"_blank">http://halla=
mbaker.com/</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br>

--f46d0407178542016504c64fa910--


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 16:00:27 2012
Return-Path: <ietf-http-wg-request@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 3FE0E11E8173 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 16:00:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.721
X-Spam-Level: 
X-Spam-Status: No, score=-9.721 tagged_above=-999 required=5 tests=[AWL=0.878, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bUpMreKOaeJ0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 16:00:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 34A5711E815A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 16:00:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sx4MB-0006au-Pq for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 22:59:03 +0000
Resent-Date: Thu, 02 Aug 2012 22:59:03 +0000
Resent-Message-Id: <E1Sx4MB-0006au-Pq@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Sx4Lt-0006Zm-Ug for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 22:58:45 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Sx4Ls-0005oi-Nw for ietf-http-wg@w3.org; Thu, 02 Aug 2012 22:58:45 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q72MwGH7024622; Fri, 3 Aug 2012 00:58:16 +0200
Date: Fri, 3 Aug 2012 00:58:16 +0200
From: Willy Tarreau <w@1wt.eu>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: Daniel Stenberg <daniel@haxx.se>, Henrik Frystyk Nielsen <henrikn@microsoft.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20120802225816.GA24334@1wt.eu>
References: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com> <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com> <CAMm+LwjMXS=x=tRFV14Z2y5T7io=1emTQSugatN1Wgu4f1r=xA@mail.gmail.com> <alpine.DEB.2.00.1208022328580.9433@tvnag.unkk.fr> <CAMm+Lwj1SNtdwtgUa9+ajvsmmN4_uzDe2p09Sb_MkVRTCODegw@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAMm+Lwj1SNtdwtgUa9+ajvsmmN4_uzDe2p09Sb_MkVRTCODegw@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sx4Ls-0005oi-Nw f36617bc93f2809c8fd856c680e2ac45
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Would a header/schema compiler help?
Archived-At: <http://www.w3.org/mid/20120802225816.GA24334@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14896
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 Thu, Aug 02, 2012 at 02:49:31PM -0700, Phillip Hallam-Baker wrote:
> I remember what we wrote. What the code does is very frequently different.
> 
> A TCP connection itself represents state so I don't see any real
> reason not to permit cookie caching for the duration of the session.
> And I would much prefer to have explicit state than state implicit in
> some compression dictionary.

A TCP connection may transport requests from many different user agents
in turn. But where the size problem matters, this is rarely the case.
This is why we suggested an alternative using per-connection headers
in the network-friendly draft.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 16:06:12 2012
Return-Path: <ietf-http-wg-request@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 E9DC011E8192 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 16:06:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.907
X-Spam-Level: 
X-Spam-Status: No, score=-9.907 tagged_above=-999 required=5 tests=[AWL=0.692, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LAgbrzX2EKht for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 16:06:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4B51A11E8120 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 16:06:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sx4S5-00033l-E0 for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 23:05:09 +0000
Resent-Date: Thu, 02 Aug 2012 23:05:09 +0000
Resent-Message-Id: <E1Sx4S5-00033l-E0@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1Sx4Rt-0001mv-90 for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 23:04:57 +0000
Received: from smtp.opera.com ([213.236.208.81]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1Sx4Rr-0006Ml-QY for ietf-http-wg@w3.org; Thu, 02 Aug 2012 23:04:57 +0000
Received: from manganese.bredbandsbolaget.se (c-961de353.03-25-6c6b7010.cust.bredbandsbolaget.se [83.227.29.150]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q72N4RXH004554 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-http-wg@w3.org>; Thu, 2 Aug 2012 23:04:27 GMT
Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes
To: ietf-http-wg@w3.org
References: <CABP7Rbd7_xoXrhiZE0wKX4ePd+_sVdrrRZ2hE9w3cN_pVWVdhQ@mail.gmail.com> <CABaLYCuQWVvpZOp+vxQ7z4k2QU0Rqj3G+A=R2OGGXtmQ_3bc+A@mail.gmail.com>
Date: Fri, 03 Aug 2012 01:04:32 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software
Message-ID: <op.wifrpubriw9drz@manganese.bredbandsbolaget.se>
In-Reply-To: <CABaLYCuQWVvpZOp+vxQ7z4k2QU0Rqj3G+A=R2OGGXtmQ_3bc+A@mail.gmail.com>
User-Agent: Opera Mail/12.00 (Win32)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=nilsson@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sx4Rr-0006Ml-QY 2b4c6d88ec854fa54d6f0635c5e11435
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/op.wifrpubriw9drz@manganese.bredbandsbolaget.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14897
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 Thu, 02 Aug 2012 05:30:48 +0200, Mike Belshe <mike@belshe.com> wrote:

> In your proposal you whacked the number of headers to 8 bits, or 256  
> headers.

Given that the frame itself has a size field, we don't need to state the  
number of headers at all.

/Martin Nilsson

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 16:26:54 2012
Return-Path: <ietf-http-wg-request@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 2E5E521F8BBC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 16:26:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.706
X-Spam-Level: 
X-Spam-Status: No, score=-9.706 tagged_above=-999 required=5 tests=[AWL=0.293, BAYES_00=-2.599, J_CHICKENPOX_66=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U1068tEd69R1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 16:26:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 74B0D21F880F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 16:26:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sx4m1-0002HO-Rb for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Aug 2012 23:25:45 +0000
Resent-Date: Thu, 02 Aug 2012 23:25:45 +0000
Resent-Message-Id: <E1Sx4m1-0002HO-Rb@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1Sx4lp-0002GU-BF for ietf-http-wg@listhub.w3.org; Thu, 02 Aug 2012 23:25:33 +0000
Received: from smtp.opera.com ([213.236.208.81]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1Sx4ln-0006lV-Tk for ietf-http-wg@w3.org; Thu, 02 Aug 2012 23:25:33 +0000
Received: from manganese.bredbandsbolaget.se (c-961de353.03-25-6c6b7010.cust.bredbandsbolaget.se [83.227.29.150]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q72NP3ft005895 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-http-wg@w3.org>; Thu, 2 Aug 2012 23:25:04 GMT
Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes
To: ietf-http-wg@w3.org
References: <78618.1343896055@critter.freebsd.dk>
Date: Fri, 03 Aug 2012 01:25:08 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software
Message-ID: <op.wifsn6poiw9drz@manganese.bredbandsbolaget.se>
In-Reply-To: <78618.1343896055@critter.freebsd.dk>
User-Agent: Opera Mail/12.00 (Win32)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=nilsson@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sx4ln-0006lV-Tk d598a60039898295ff7c416e5976ed04
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/op.wifsn6poiw9drz@manganese.bredbandsbolaget.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14898
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 Thu, 02 Aug 2012 10:27:35 +0200, Poul-Henning Kamp <phk@phk.freebsd.dk>  
wrote:

>
> That being said, I am not a big fan of UTF8 in high-performance
> protocol context:  It is much slower to process than 8bit string
> formats.
>

I would like to know more on what operations you need. I imagine that most  
relevant operations (splitting, joining, comparing, strlen) can be  
performed directly on the encoded UTF8 string as efficient as on ASCII.  
Normalization and upper/lowercasing is trickier, but mostly because of all  
the Unicode rules, not UTF8 itself(though it doesn't help).

> UTF8 also gives rise to a number of interesting security aspects,
> primarily where humans eyeball for security and don't detect minor
> differences between glyphs, particularly in FQDNs, but I can't see
> how we can do anything about that in HTTP/2.0.

Defining legal character ranges and what character encodings to use are  
two different problems. Similar looking characters are indeed a problem  
already today, and it is known and worked on on the browser side.

/Martin Nilsson

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 21:28:05 2012
Return-Path: <ietf-http-wg-request@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 1DA3C11E809C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 21:28:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.654
X-Spam-Level: 
X-Spam-Status: No, score=-6.654 tagged_above=-999 required=5 tests=[AWL=5.645, BAYES_00=-2.599, GB_I_LETTER=-2, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LuRu9UkZ7Wtd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 21:28:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 86F1111E809B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 21:28:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sx9SN-0001vg-Cs for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 04:25:47 +0000
Resent-Date: Fri, 03 Aug 2012 04:25:47 +0000
Resent-Message-Id: <E1Sx9SN-0001vg-Cs@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1Sx9S5-0001sW-Hy for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 04:25:29 +0000
Received: from scintmta02.scbb.aoyama.ac.jp ([133.2.253.34]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1Sx9S3-0007dk-Jc for ietf-http-wg@w3.org; Fri, 03 Aug 2012 04:25:29 +0000
Received: from scmse02.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta02.scbb.aoyama.ac.jp (secret/secret) with SMTP id q734Owtu007852 for <ietf-http-wg@w3.org>; Fri, 3 Aug 2012 13:24:58 +0900
Received: from (unknown [133.2.206.133]) by scmse02.scbb.aoyama.ac.jp with smtp id 79cf_a69f_2f3cc888_dd23_11e1_95a7_001d096c5782; Fri, 03 Aug 2012 13:24:57 +0900
Received: from [IPv6:::1] ([133.2.210.1]:45504) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S15EB769> for <ietf-http-wg@w3.org> from <duerst@it.aoyama.ac.jp>; Fri, 3 Aug 2012 13:25:01 +0900
Message-ID: <501B5294.1090709@it.aoyama.ac.jp>
Date: Fri, 03 Aug 2012 13:24:52 +0900
From: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: Timothy Knox <tdk@thelbane.com>
CC: ietf-http-wg@w3.org
References: <CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com> <78618.1343896055@critter.freebsd.dk> <CABP7RbdiW1h1Rj9rD=bVaFWFnFmmYjDEWPBbJZZvpJxL=gnRug@mail.gmail.com> <20120802192947.GA76104@thelbane.com>
In-Reply-To: <20120802192947.GA76104@thelbane.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=133.2.253.34; envelope-from=duerst@it.aoyama.ac.jp; helo=scintmta02.scbb.aoyama.ac.jp
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sx9S3-0007dk-Jc 4908bb5312a2bdf9fb637b96959deda3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/501B5294.1090709@it.aoyama.ac.jp>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14899
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 2012/08/03 4:29, Timothy Knox wrote:
> Somewhere on Shadow Earth, at Thu, Aug 02, 2012 at 10:48:52AM -0700, James M Snell wrote:
> <snip>
>> This is precisely why I favor the introduction of a binary value option and
>> the definition of highly-optimized binary encodings for the most commonly
>> used protocol headers (like method, version, etc). Things like Host and
>> Request URI need to be looked at tho. I suspect that, for a variety of
>> reason, we'll want to keep limiting those values to ASCII only.  (just
>> because the value COULD be UTF-8, doesn't mean a specific header definition
>> cannot limit the actual value to some reasonable subset).
>
> For the Host header, I have just three letters to say to you: I-D-N. :-)

You mean Internationalized Domain Names, and specifically U-Labels (the 
thing that can actually be read the way it's intended to read, rather 
than some useless salad of letters after xn--)? I fully agree. The 
reason these are in punycode in HTTP/1.1 is that HTTP/1.1 is way older 
than IDNs, but for HTTP/2.0, that's not the case.

Regards,   Martin.


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 21:36:04 2012
Return-Path: <ietf-http-wg-request@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 8A46311E80AE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 21:36:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.457
X-Spam-Level: 
X-Spam-Status: No, score=-10.457 tagged_above=-999 required=5 tests=[AWL=1.841, BAYES_00=-2.599, GB_I_LETTER=-2, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wa4e9iXycJwX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 21:36:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7889A11E809B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 21:36:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sx9aw-00056V-Ll for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 04:34:38 +0000
Resent-Date: Fri, 03 Aug 2012 04:34:38 +0000
Resent-Message-Id: <E1Sx9aw-00056V-Ll@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sx9ak-00055k-8V for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 04:34:26 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sx9aj-0007u8-0n for ietf-http-wg@w3.org; Fri, 03 Aug 2012 04:34:26 +0000
Received: by weyx43 with SMTP id x43so159321wey.2 for <ietf-http-wg@w3.org>; Thu, 02 Aug 2012 21:33:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fBaMDozO8ihvEnBKldaDAYZ4uW6Rliwyux7J1mge6ec=; b=xt7KocX3cQpOmKxkJLZGek+Mi02utOou2J303/DwdEC7UFCMUMa9QulzCm2YoL6eiH BV/0XFzw58YbDcN5RuRFs+pLoM1x/gFwGK+HN/hZCXMMEbsmmBETrRukxowrSNtCcTIi oSTjWT08Et1seGVqfeL3KPOHbLWNs1vdj8d6eKzIhRHWroqR3kmcidOm6LTIVuHc14Qf C8ggVCtOVyGUVGnU0S+9LmTsJHaejxp7ur9+GQrTExpiPdNRXn+OrZv/H+Y2Ok/SpX1L 15vxwP8y8yRaQDGebMK0Kpw4lMXo4Qvx/gEAiwxsHFc/Yj0pGBavjzyr+y0cxlLUL8Cn Jjsg==
MIME-Version: 1.0
Received: by 10.216.138.200 with SMTP id a50mr189922wej.155.1343968438221; Thu, 02 Aug 2012 21:33:58 -0700 (PDT)
Received: by 10.223.171.72 with HTTP; Thu, 2 Aug 2012 21:33:57 -0700 (PDT)
Received: by 10.223.171.72 with HTTP; Thu, 2 Aug 2012 21:33:57 -0700 (PDT)
In-Reply-To: <501B5294.1090709@it.aoyama.ac.jp>
References: <CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com> <78618.1343896055@critter.freebsd.dk> <CABP7RbdiW1h1Rj9rD=bVaFWFnFmmYjDEWPBbJZZvpJxL=gnRug@mail.gmail.com> <20120802192947.GA76104@thelbane.com> <501B5294.1090709@it.aoyama.ac.jp>
Date: Thu, 2 Aug 2012 21:33:57 -0700
Message-ID: <CABP7RbdiAHWYO5EGzTiZgHk4EA4WQa2XTiBCC7cDfBpjbozgbw@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
To: =?UTF-8?Q?Martin_J=2E_D=C3=BCrst?= <duerst@it.aoyama.ac.jp>
Cc: ietf-http-wg@w3.org, Timothy Knox <tdk@thelbane.com>
Content-Type: multipart/alternative; boundary=0016e6d7e737597b1c04c65509f1
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sx9aj-0007u8-0n da8392c1dcad260fd09538f73a100ae7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CABP7RbdiAHWYO5EGzTiZgHk4EA4WQa2XTiBCC7cDfBpjbozgbw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14900
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>

--0016e6d7e737597b1c04c65509f1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Aug 2, 2012 9:28 PM, Martin J. D=C3=BCrst <duerst@it.aoyama.ac.jp> wrote=
:
>
> On 2012/08/03 4:29, Timothy Knox wrote:
>>
>> Somewhere on Shadow Earth, at Thu, Aug 02, 2012 at 10:48:52AM -0700,
James M Snell wrote:
>> <snip>
>>>
>>> This is precisely why I favor the introduction of a binary value option
and
>>> the definition of highly-optimized binary encodings for the most
commonly
>>> used protocol headers (like method, version, etc). Things like Host and
>>> Request URI need to be looked at tho. I suspect that, for a variety of
>>> reason, we'll want to keep limiting those values to ASCII only.  (just
>>> because the value COULD be UTF-8, doesn't mean a specific header
definition
>>> cannot limit the actual value to some reasonable subset).
>>
>>
>> For the Host header, I have just three letters to say to you: I-D-N. :-)
>
>
> You mean Internationalized Domain Names, and specifically U-Labels (the
thing that can actually be read the way it's intended to read, rather than
some useless salad of letters after xn--)? I fully agree. The reason these
are in punycode in HTTP/1.1 is that HTTP/1.1 is way older than IDNs, but
for HTTP/2.0, that's not the case.
>

+1... while I recognize there are a list of concerns with their use, it
would be excellent to avoid having to punycode those or apply other
different encoding mechanisms to other headers as well.

> Regards,   Martin.
>

--0016e6d7e737597b1c04c65509f1
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
On Aug 2, 2012 9:28 PM, Martin J. D=C3=BCrst &lt;<a href=3D"mailto:duerst@i=
t.aoyama.ac.jp">duerst@it.aoyama.ac.jp</a>&gt; wrote:<br>
&gt;<br>
&gt; On 2012/08/03 4:29, Timothy Knox wrote:<br>
&gt;&gt;<br>
&gt;&gt; Somewhere on Shadow Earth, at Thu, Aug 02, 2012 at 10:48:52AM -070=
0, James M Snell wrote:<br>
&gt;&gt; &lt;snip&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; This is precisely why I favor the introduction of a binary val=
ue option and<br>
&gt;&gt;&gt; the definition of highly-optimized binary encodings for the mo=
st commonly<br>
&gt;&gt;&gt; used protocol headers (like method, version, etc). Things like=
 Host and<br>
&gt;&gt;&gt; Request URI need to be looked at tho. I suspect that, for a va=
riety of<br>
&gt;&gt;&gt; reason, we&#39;ll want to keep limiting those values to ASCII =
only. =C2=A0(just<br>
&gt;&gt;&gt; because the value COULD be UTF-8, doesn&#39;t mean a specific =
header definition<br>
&gt;&gt;&gt; cannot limit the actual value to some reasonable subset).<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; For the Host header, I have just three letters to say to you: I-D-=
N. :-)<br>
&gt;<br>
&gt;<br>
&gt; You mean Internationalized Domain Names, and specifically U-Labels (th=
e thing that can actually be read the way it&#39;s intended to read, rather=
 than some useless salad of letters after xn--)? I fully agree. The reason =
these are in punycode in HTTP/1.1 is that HTTP/1.1 is way older than IDNs, =
but for HTTP/2.0, that&#39;s not the case.<br>

&gt;</p>
<p dir=3D"ltr">+1... while I recognize there are a list of concerns with th=
eir use, it would be excellent to avoid having to punycode those or apply o=
ther different encoding mechanisms to other headers as well.</p>
<p dir=3D"ltr">&gt; Regards, =C2=A0 Martin.<br>
&gt;<br>
</p>

--0016e6d7e737597b1c04c65509f1--


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 21:36:50 2012
Return-Path: <ietf-http-wg-request@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 A852D11E80AE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 21:36:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.244
X-Spam-Level: 
X-Spam-Status: No, score=-5.244 tagged_above=-999 required=5 tests=[AWL=4.055, BAYES_00=-2.599, J_BACKHAIR_45=1, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pt072QQesDOR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 21:36:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DF40E11E809B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 21:36:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sx9c3-0006Ue-JR for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 04:35:47 +0000
Resent-Date: Fri, 03 Aug 2012 04:35:47 +0000
Resent-Message-Id: <E1Sx9c3-0006Ue-JR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1Sx9br-0006Tt-Mg for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 04:35:35 +0000
Received: from scintmta01.scbb.aoyama.ac.jp ([133.2.253.33]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1Sx9bp-0000U2-VR for ietf-http-wg@w3.org; Fri, 03 Aug 2012 04:35:35 +0000
Received: from scmse02.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta01.scbb.aoyama.ac.jp (secret/secret) with SMTP id q734Z6kX003233 for <ietf-http-wg@w3.org>; Fri, 3 Aug 2012 13:35:06 +0900
Received: from (unknown [133.2.206.133]) by scmse02.scbb.aoyama.ac.jp with smtp id 79d1_9aa8_997d0fea_dd24_11e1_8be0_001d096c5782; Fri, 03 Aug 2012 13:35:05 +0900
Received: from [IPv6:::1] ([133.2.210.1]:55912) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S15EB770> for <ietf-http-wg@w3.org> from <duerst@it.aoyama.ac.jp>; Fri, 3 Aug 2012 13:35:08 +0900
Message-ID: <501B54F4.6030709@it.aoyama.ac.jp>
Date: Fri, 03 Aug 2012 13:35:00 +0900
From: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: James M Snell <jasnell@gmail.com>
CC: Poul-Henning Kamp <phk@phk.freebsd.dk>, Mike Belshe <mike@belshe.com>, ietf-http-wg@w3.org
References: <CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com> <78618.1343896055@critter.freebsd.dk> <CABP7RbdiW1h1Rj9rD=bVaFWFnFmmYjDEWPBbJZZvpJxL=gnRug@mail.gmail.com>
In-Reply-To: <CABP7RbdiW1h1Rj9rD=bVaFWFnFmmYjDEWPBbJZZvpJxL=gnRug@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=133.2.253.33; envelope-from=duerst@it.aoyama.ac.jp; helo=scintmta01.scbb.aoyama.ac.jp
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sx9bp-0000U2-VR 3b47561cb60e7ceac62c8c734ac451e7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/501B54F4.6030709@it.aoyama.ac.jp>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14901
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 2012/08/03 2:48, James M Snell wrote:
> On Thu, Aug 2, 2012 at 1:27 AM, Poul-Henning Kamp<phk@phk.freebsd.dk>wrote:

>> For instance, could we get rid of the %-encoding of URIs by allowing UTF8 ?
>
> It would be possible, for instance, to begin using IRI's directly without
> translating those to URI's first.

Great idea. Please note that that will also save a few bytes (but that's 
definitely not the main reason for doing it).

> Doing so, however, does not eliminate the
> need for %-encoding,

Yes, a '#' or '?' in a path segment and similar stuff still have to be 
%-encoded.

> and there are a range of possible issues that could
> make this problematic.

Could you list up the issues you're thinking about? (I don't want to say 
there are none, but I can't at the moment come up with something that 
wouldn't already be around currently.)

Regards,    Martin.


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 22:17:06 2012
Return-Path: <ietf-http-wg-request@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 9C24121F8CCE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 22:17:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.896
X-Spam-Level: 
X-Spam-Status: No, score=-6.896 tagged_above=-999 required=5 tests=[AWL=2.402, BAYES_00=-2.599, J_BACKHAIR_45=1, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s2+Xj0uyTDWf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 22:17:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 72C2821F8CCD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 22:17:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxAEg-0001DQ-OU for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 05:15:42 +0000
Resent-Date: Fri, 03 Aug 2012 05:15:42 +0000
Resent-Message-Id: <E1SxAEg-0001DQ-OU@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SxAET-0001Bd-U7 for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 05:15:29 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SxAER-0000hi-Mm for ietf-http-wg@w3.org; Fri, 03 Aug 2012 05:15:29 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.6 (Build 3449)) with SMTP id <0019173373@smtp.qbik.com>; Fri, 03 Aug 2012 17:15:04 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: =?utf-8?q?Martin=20J=2e=20D=c3=bcrst?= <duerst@it.aoyama.ac.jp>, "James M Snell" <jasnell@gmail.com>
Cc: "Poul-Henning Kamp" <phk@phk.freebsd.dk>, "Mike Belshe" <mike@belshe.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Fri, 03 Aug 2012 05:15:04 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <501B54F4.6030709@it.aoyama.ac.jp>
Message-Id: <em51bad768-459a-465b-9933-0957f139d7bd@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SxAER-0000hi-Mm 3fb86adb5919467bc2931c26cd100a81
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/em51bad768-459a-465b-9933-0957f139d7bd@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14902
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>

------ Original Message ------
From: "Martin J. D=C3=BCrst" <duerst@it.aoyama.ac.jp>
To: "James M Snell" <jasnell@gmail.com>
Cc: "Poul-Henning Kamp" <phk@phk.freebsd.dk>;"Mike Belshe"=20
<mike@belshe.com>;"ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Sent: 3/08/2012 4:35:00 p.m.
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
>On 2012/08/03 2:48, James M Snell wrote:=20
>>On Thu, Aug 2, 2012 at 1:27 AM, Poul-Henning=20
>>Kamp<phk@phk.freebsd.dk>wrote:=20
>
>>>For instance, could we get rid of the %-encoding of URIs by allowing=20
>>>UTF8 ?=20
>>
>>It would be possible, for instance, to begin using IRI's directly=20
>>without=20
>>translating those to URI's first.=20
>
>Great idea. Please note that that will also save a few bytes (but=20
>that's definitely not the main reason for doing it).=20
>
>>Doing so, however, does not eliminate the=20
>>need for %-encoding,=20
>
>Yes, a '#' or '?' in a path segment and similar stuff still have to be=20
>%-encoded.=20

if we're defining a new binary-safe transport for header values,=20
shouldn't we try to avoid all multiplexing / escaping and parsing of=20
strings?

e.g. just put querystring in another "header" instead.  Then anything=20
can contain '?'

same with fragments (#) although I thought these weren't allowed on the=20
wire...

In fact the concept of a single string which is a URI could be=20
deprecated for 2.0 and just be sent as individual fields in a request.

gatewaying back to 1.1 would require assembling a URI from the pieces,=20
but that should be easy. =20

Seems a bit nuts to go binary and leave some parts as overloaded string=20
fields requiring string parsing and escaping.

Adrien


>
>
>>and there are a range of possible issues that could=20
>>make this problematic.=20
>
>Could you list up the issues you're thinking about? (I don't want to=20
>say there are none, but I can't at the moment come up with something=20
>that wouldn't already be around currently.)=20
>
>Regards, Martin.=20
>



From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 22:32:17 2012
Return-Path: <ietf-http-wg-request@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 082DD21F8CEA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 22:32:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.59
X-Spam-Level: 
X-Spam-Status: No, score=-10.59 tagged_above=-999 required=5 tests=[AWL=0.009, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P44-JAmOZsy5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 22:32:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 72C6121F8CE9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 22:32:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxATc-0007lW-7u for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 05:31:08 +0000
Resent-Date: Fri, 03 Aug 2012 05:31:08 +0000
Resent-Message-Id: <E1SxATc-0007lW-7u@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SxATQ-0007kl-FD for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 05:30:56 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SxATO-00023u-Pn for ietf-http-wg@w3.org; Fri, 03 Aug 2012 05:30:56 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id C16A33B77C; Fri,  3 Aug 2012 05:30:32 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q735UUBU003370; Fri, 3 Aug 2012 05:30:31 GMT (envelope-from phk@phk.freebsd.dk)
To: Mike Belshe <mike@belshe.com>
cc: Henrik Frystyk Nielsen <henrikn@microsoft.com>, Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Thu, 02 Aug 2012 15:09:11 MST." <CABaLYCtNzTZjUPgknfNtjwhkUopf3gaHQ6SmBGLAywu07WAB1g@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 03 Aug 2012 05:30:30 +0000
Message-ID: <3369.1343971830@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SxATO-00023u-Pn ec7adce7a4175ca71efe541b7c800e44
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Would a header/schema compiler help?
Archived-At: <http://www.w3.org/mid/3369.1343971830@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14903
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>

In message <CABaLYCtNzTZjUPgknfNtjwhkUopf3gaHQ6SmBGLAywu07WAB1g@mail.gmail.com>
, Mike Belshe writes:
>--f46d0407178542016504c64fa910

>> I also have trouble with the use of compression over the headers for two
>> reasons:
>>
>> 1) While we know that compression can work wonders on entity bodies, it
>> obscures the headers which are critical for inspection and manipulation by
>> everybody down the message path.
>>
>
>So far, this has not been a problem.

... becuase sites which needed such inspection and manipulation deliberately
stayed away from SPDY because of the TLS+Compression requirement.

Absense of evidence is not evidence of absense.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 22:41:05 2012
Return-Path: <ietf-http-wg-request@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 8B6CD11E80D5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 22:41:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.29
X-Spam-Level: 
X-Spam-Status: No, score=-10.29 tagged_above=-999 required=5 tests=[AWL=-0.291, BAYES_00=-2.599, J_CHICKENPOX_66=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UYwrEo+CKTeV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 22:41:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C250A11E80B8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 22:41:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxAc1-0001Gg-QA for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 05:39:49 +0000
Resent-Date: Fri, 03 Aug 2012 05:39:49 +0000
Resent-Message-Id: <E1SxAc1-0001Gg-QA@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SxAbp-0001Ew-Ey for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 05:39:37 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SxAbo-0001QS-Ak for ietf-http-wg@w3.org; Fri, 03 Aug 2012 05:39:37 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 98D313B745; Fri,  3 Aug 2012 05:39:15 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q735dFbM003400; Fri, 3 Aug 2012 05:39:15 GMT (envelope-from phk@phk.freebsd.dk)
To: "Martin Nilsson" <nilsson@opera.com>
cc: ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 03 Aug 2012 01:25:08 +0200." <op.wifsn6poiw9drz@manganese.bredbandsbolaget.se>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 03 Aug 2012 05:39:14 +0000
Message-ID: <3399.1343972354@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SxAbo-0001QS-Ak 8d5bbf4f854f3b30c56aaa5d295e889d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/3399.1343972354@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14904
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>

In message <op.wifsn6poiw9drz@manganese.bredbandsbolaget.se>, "Martin Nilsson" 
writes:
>On Thu, 02 Aug 2012 10:27:35 +0200, Poul-Henning Kamp <phk@phk.freebsd.dk>  
>wrote:
>
>> [Not thrilled about UTF8 due to performance]
>
>I would like to know more on what operations you need. I imagine that most  
>relevant operations (splitting, joining, comparing, strlen) can be  
>performed directly on the encoded UTF8 string as efficient as on ASCII.  
>Normalization and upper/lowercasing is trickier, but mostly because of all  
>the Unicode rules, not UTF8 itself(though it doesn't help).

It is indeed the complex Unicode tables that worries me, but as I said,
there may also be advantages to UTF8, so I'm not decided either way.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Thu Aug  2 22:58:21 2012
Return-Path: <ietf-http-wg-request@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 F23AA11E809C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 22:58:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.587
X-Spam-Level: 
X-Spam-Status: No, score=-10.587 tagged_above=-999 required=5 tests=[AWL=0.012, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oE7pW6nkIYoW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  2 Aug 2012 22:58:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3EFF211E809B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  2 Aug 2012 22:58:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxAsj-0005Dc-7k for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 05:57:05 +0000
Resent-Date: Fri, 03 Aug 2012 05:57:05 +0000
Resent-Message-Id: <E1SxAsj-0005Dc-7k@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SxAsX-0005CP-8I for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 05:56:53 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SxAsW-0002wk-6W for ietf-http-wg@w3.org; Fri, 03 Aug 2012 05:56:53 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id AA6693B74D; Fri,  3 Aug 2012 05:56:30 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q735uRVa003500; Fri, 3 Aug 2012 05:56:28 GMT (envelope-from phk@phk.freebsd.dk)
To: "Adrien W. de Croy" <adrien@qbik.com>
cc: =?utf-8?q?Martin=20J=2e=20D=c3=bcrst?= <duerst@it.aoyama.ac.jp>, "James M Snell" <jasnell@gmail.com>, "Mike Belshe" <mike@belshe.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 03 Aug 2012 05:15:04 GMT." <em51bad768-459a-465b-9933-0957f139d7bd@bombed>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 03 Aug 2012 05:56:27 +0000
Message-ID: <3499.1343973387@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SxAsW-0002wk-6W b866b44666fe35e1b2a449ba5528f34a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/3499.1343973387@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14905
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>

In message <em51bad768-459a-465b-9933-0957f139d7bd@bombed>, "Adrien W. de Croy" writes:

>e.g. just put querystring in another "header" instead.  Then anything 
>can contain '?'

I have 100% assumed this would be the case all along, if nothing else
because the URI obviously belongs in the envelope, but the query string,
for reasons of privacy, probably does not.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 01:02:43 2012
Return-Path: <ietf-http-wg-request@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 9E67B21F8D64 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 01:02:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.807
X-Spam-Level: 
X-Spam-Status: No, score=-5.807 tagged_above=-999 required=5 tests=[AWL=4.492, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UGqpVEn59LZ9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 01:02:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B7C6B21F8D3E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 01:02:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxCoJ-0000uv-4K for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 08:00:39 +0000
Resent-Date: Fri, 03 Aug 2012 08:00:39 +0000
Resent-Message-Id: <E1SxCoJ-0000uv-4K@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SxCny-0000tI-Cz for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 08:00:18 +0000
Received: from scintmta02.scbb.aoyama.ac.jp ([133.2.253.34]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SxCnh-0006eQ-Vo for ietf-http-wg@w3.org; Fri, 03 Aug 2012 08:00:15 +0000
Received: from scmse01.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta02.scbb.aoyama.ac.jp (secret/secret) with SMTP id q737xXW1014918 for <ietf-http-wg@w3.org>; Fri, 3 Aug 2012 16:59:33 +0900
Received: from (unknown [133.2.206.133]) by scmse01.scbb.aoyama.ac.jp with smtp id 0d8a_9e82_297ec98c_dd41_11e1_8148_001d096c566a; Fri, 03 Aug 2012 16:59:33 +0900
Received: from [IPv6:::1] ([133.2.210.1]:50881) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S15EB878> for <ietf-http-wg@w3.org> from <duerst@it.aoyama.ac.jp>; Fri, 3 Aug 2012 16:59:36 +0900
Message-ID: <501B84CB.7050104@it.aoyama.ac.jp>
Date: Fri, 03 Aug 2012 16:59:07 +0900
From: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: "Adrien W. de Croy" <adrien@qbik.com>
CC: James M Snell <jasnell@gmail.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Mike Belshe <mike@belshe.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <em51bad768-459a-465b-9933-0957f139d7bd@bombed>
In-Reply-To: <em51bad768-459a-465b-9933-0957f139d7bd@bombed>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Received-SPF: none client-ip=133.2.253.34; envelope-from=duerst@it.aoyama.ac.jp; helo=scintmta02.scbb.aoyama.ac.jp
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SxCnh-0006eQ-Vo d2e3ebb52453cacb61a9a0e4fa228736
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/501B84CB.7050104@it.aoyama.ac.jp>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14906
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 2012/08/03 14:15, Adrien W. de Croy wrote:

> From: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>

>> Yes, a '#' or '?' in a path segment and similar stuff still have to be
>> %-encoded.
>
> if we're defining a new binary-safe transport for header values,
> shouldn't we try to avoid all multiplexing / escaping and parsing of
> strings?
>
> e.g. just put querystring in another "header" instead. Then anything can
> contain '?'

Well, yes, but then you might have a '=' or a '&' in an parameter value 
(hopefully not in a parameter name), and you will have to escape that. 
And then you could create separate headers (or what not) for each 
parameter name/value pair, but that would be in conflict with the 
understanding that the syntax details of query parts are essentially 
between the client application and the server.

> same with fragments (#) although I thought these weren't allowed on the
> wire...

Yes, the aren't sent.

> In fact the concept of a single string which is a URI could be
> deprecated for 2.0 and just be sent as individual fields in a request.

For some cases, such as chopping off the query part, that might work and 
be a good idea (e.g. for privacy reasons as Poul-Henning notes in a 
followup), but in general, it's a slippery slope, and it may be really 
difficult to get rid of escaping altogether.

Regards,    Martin.


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 07:10:22 2012
Return-Path: <ietf-http-wg-request@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 6570A21F8CD8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 07:10:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.876
X-Spam-Level: 
X-Spam-Status: No, score=-5.876 tagged_above=-999 required=5 tests=[AWL=4.423, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jZEipzHPQKul for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 07:10:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AE19721F8CB2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 07:10:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxIYB-0000aO-SP for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 14:08:23 +0000
Resent-Date: Fri, 03 Aug 2012 14:08:23 +0000
Resent-Message-Id: <E1SxIYB-0000aO-SP@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SxIXt-0000WW-PR for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 14:08:05 +0000
Received: from scintmta01.scbb.aoyama.ac.jp ([133.2.253.33]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SxIXo-0002Em-Ch for ietf-http-wg@w3.org; Fri, 03 Aug 2012 14:08:05 +0000
Received: from scmse01.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta01.scbb.aoyama.ac.jp (secret/secret) with SMTP id q73E7VkO013411 for <ietf-http-wg@w3.org>; Fri, 3 Aug 2012 23:07:31 +0900
Received: from (unknown [133.2.206.133]) by scmse01.scbb.aoyama.ac.jp with smtp id 0d8a_f6b7_90f5f8fa_dd74_11e1_8148_001d096c566a; Fri, 03 Aug 2012 23:07:31 +0900
Received: from [IPv6:::1] ([133.2.210.1]:44193) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S15EBA9C> for <ietf-http-wg@w3.org> from <duerst@it.aoyama.ac.jp>; Fri, 3 Aug 2012 23:07:33 +0900
Message-ID: <501BA782.9030708@it.aoyama.ac.jp>
Date: Fri, 03 Aug 2012 19:27:14 +0900
From: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
CC: Mike Belshe <mike@belshe.com>, James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
References: <78618.1343896055@critter.freebsd.dk>
In-Reply-To: <78618.1343896055@critter.freebsd.dk>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=133.2.253.33; envelope-from=duerst@it.aoyama.ac.jp; helo=scintmta01.scbb.aoyama.ac.jp
X-W3C-Hub-Spam-Status: No, score=-0.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SxIXo-0002Em-Ch 147fb77b9f8467c2ccb38fd6669c1721
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/501BA782.9030708@it.aoyama.ac.jp>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14907
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 2012/08/02 17:27, Poul-Henning Kamp wrote:
> In message<CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com>
> , Mike Belshe writes:
>
>>>> * I don't think we need utf-8 encoded headers.  Not sure how you'd pass
>>> them off to HTTP anyway?
>>
>> I just don't see any problem being solved by adding this?  If there is no
>> benefit, we should not do it, right?
>
> If this would solve any major problems inside a 20 year horizon, we
> should do it.

It will solve quite a few problems, some of them major, maybe not for 
HTTP itself, but for the applications on top. It will actually solve 
some problems that have been around for at least the last 15 years.

HTML and HTTP were created when the breakthrough of iso-8859-1 (Latin-1) 
in Western Europe was predictable (the nascent Web helped to unify the 
Western Europe 'national' 7-bit and 8-bit encodings quite a bit).

At least as early as 1995 (RFC 2070) or 1996 (RFC 2130, RFC 2277), it 
was clear to those concerned that Unicode and UTF-8 was the way of the 
future. As everybody should be able to confirm when thinking about 
US-ASCII, using a single character encoding (rather than e.g. ASCII and 
EBCDIC or some such alternatively) brings HUGE benefits. The same is 
true when streamlining from a zoo of character encodings to UTF-8.

These days, over 60% of the Web is already in UTF-8, and if you add in 
the 20% of pure ASCII which is trivially also UTF-8, it's 80%. All other 
encodings are in serious decline. (see p. 52 of the July IEEE Spectrum). 
And efforts such as HTML5 are strongly pushing to get more UTF-8. I 
think lots of HTTP users would appreciate a better commitment from HTTP 
with respect to character encoding in headers and the like. What's 
currently there is really just a mess, and should be cleaned up.


Regards,    Martin.


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 07:10:22 2012
Return-Path: <ietf-http-wg-request@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 7E93221F8CB2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 07:10:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.643
X-Spam-Level: 
X-Spam-Status: No, score=-5.643 tagged_above=-999 required=5 tests=[AWL=4.056, BAYES_00=-2.599, J_CHICKENPOX_66=0.6, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vHcGf-fBHVd6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 07:10:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AE12721F8CB0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 07:10:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxIYS-0000dK-Ub for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 14:08:40 +0000
Resent-Date: Fri, 03 Aug 2012 14:08:40 +0000
Resent-Message-Id: <E1SxIYS-0000dK-Ub@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SxIYF-0000aV-HA for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 14:08:27 +0000
Received: from scintmta02.scbb.aoyama.ac.jp ([133.2.253.34]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SxIY8-0002FG-G5 for ietf-http-wg@w3.org; Fri, 03 Aug 2012 14:08:27 +0000
Received: from scmse01.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta02.scbb.aoyama.ac.jp (secret/secret) with SMTP id q73E7qMA015750 for <ietf-http-wg@w3.org>; Fri, 3 Aug 2012 23:07:52 +0900
Received: from (unknown [133.2.206.133]) by scmse01.scbb.aoyama.ac.jp with smtp id 0d8a_f6dc_9d51091e_dd74_11e1_8148_001d096c566a; Fri, 03 Aug 2012 23:07:51 +0900
Received: from [IPv6:::1] ([133.2.210.1]:44200) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S15EBA9D> for <ietf-http-wg@w3.org> from <duerst@it.aoyama.ac.jp>; Fri, 3 Aug 2012 23:07:54 +0900
Message-ID: <501BA7AF.7010207@it.aoyama.ac.jp>
Date: Fri, 03 Aug 2012 19:27:59 +0900
From: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: Martin Nilsson <nilsson@opera.com>
CC: ietf-http-wg@w3.org
References: <78618.1343896055@critter.freebsd.dk> <op.wifsn6poiw9drz@manganese.bredbandsbolaget.se>
In-Reply-To: <op.wifsn6poiw9drz@manganese.bredbandsbolaget.se>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=133.2.253.34; envelope-from=duerst@it.aoyama.ac.jp; helo=scintmta02.scbb.aoyama.ac.jp
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SxIY8-0002FG-G5 fbb5c6996251b02c1faa31925c265443
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/501BA7AF.7010207@it.aoyama.ac.jp>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14908
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 2012/08/03 8:25, Martin Nilsson wrote:
> On Thu, 02 Aug 2012 10:27:35 +0200, Poul-Henning Kamp
> <phk@phk.freebsd.dk> wrote:
>
>> That being said, I am not a big fan of UTF8 in high-performance
>> protocol context: It is much slower to process than 8bit string
>> formats.
>>
>
> I would like to know more on what operations you need. I imagine that
> most relevant operations (splitting, joining, comparing, strlen) can be
> performed directly on the encoded UTF8 string as efficient as on ASCII.
> Normalization and upper/lowercasing is trickier, but mostly because of
> all the Unicode rules, not UTF8 itself(though it doesn't help).

I very much agree. I'm also not sure what "8bit string" means. If it 
means binary data, then I agree that's the way to go for things like 
dates, but it doesn't help at all for text. If it's actual text, then it 
doesn't make sense because one needs more than 256 characters to write 
the world's languages.


>> UTF8 also gives rise to a number of interesting security aspects,
>> primarily where humans eyeball for security and don't detect minor
>> differences between glyphs, particularly in FQDNs, but I can't see
>> how we can do anything about that in HTTP/2.0.

Yes. Human eyballs can also easily be confused by changing between 0/O 
and 1/l/I and such, so that's not a new problem.


> Defining legal character ranges and what character encodings to use are
> two different problems. Similar looking characters are indeed a problem
> already today, and it is known and worked on on the browser side.

Yes indeed!

Regards,   Martin.


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 08:32:51 2012
Return-Path: <ietf-http-wg-request@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 1FC9B21F8DAB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 08:32:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.982
X-Spam-Level: 
X-Spam-Status: No, score=-9.982 tagged_above=-999 required=5 tests=[AWL=0.316, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NYwDxmwW+x2z for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 08:32:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1A9DB21F8DA7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 08:32:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxJqT-0004SB-Uy for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 15:31:21 +0000
Resent-Date: Fri, 03 Aug 2012 15:31:21 +0000
Resent-Message-Id: <E1SxJqT-0004SB-Uy@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SxJqG-0004Fp-8e for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 15:31:08 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SxJqC-0006pO-0D for ietf-http-wg@w3.org; Fri, 03 Aug 2012 15:31:08 +0000
Received: by vcdd16 with SMTP id d16so835664vcd.2 for <ietf-http-wg@w3.org>; Fri, 03 Aug 2012 08:30:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/NBuG8IfrpJ6EkTV1Wo5aMxo/1HFlwjC3SZAzqz4OIE=; b=dTP0qsa0bBe9LBVpKoZMFmXk4tJQHQkOWYf3WjN8q2akMLpaZDl+rwOQ4ubxhSlGKZ OsJQvoFVpIQAkFgLQlQzVbHRNk5qwbaMRNfVgfvMYflLFuLv3gRDYt/gwslJgT/A27Jz rbTWZDlwG7HVL+LS+dq0M3Ykq/UvaGOc2n923ZeqDf1uEZsxdrV4eK+8RHciMqwCvFZP rKG9KGVGGgHbTzMt+VQaRin5H27JYjwMCe6eTUPCzhGwcLd8pksGbpCy8ZyTHMU/U6eN hiCaMAMBGM7KjAEr9EUeDTIwrAnk+mi1ufE/Rfv01X4ip44llvMz7S9KEZ4m2b9c42R9 WmEw==
MIME-Version: 1.0
Received: by 10.58.210.198 with SMTP id mw6mr1817421vec.48.1344007837969; Fri, 03 Aug 2012 08:30:37 -0700 (PDT)
Received: by 10.58.221.97 with HTTP; Fri, 3 Aug 2012 08:30:37 -0700 (PDT)
In-Reply-To: <501BA782.9030708@it.aoyama.ac.jp>
References: <78618.1343896055@critter.freebsd.dk> <501BA782.9030708@it.aoyama.ac.jp>
Date: Fri, 3 Aug 2012 08:30:37 -0700
Message-ID: <CAAPAK-5uO7imx-ynVU1K-RPpv0CvCDU-kd18hFgRYgXJn-WrMA@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, Mike Belshe <mike@belshe.com>,  James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=047d7bd6ab86c1ed5a04c65e3551
Received-SPF: pass client-ip=209.85.220.171; envelope-from=dzonatas@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SxJqC-0006pO-0D 1ea17e881dc135642f8b865dd0bc1dc7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CAAPAK-5uO7imx-ynVU1K-RPpv0CvCDU-kd18hFgRYgXJn-WrMA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14909
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>

--047d7bd6ab86c1ed5a04c65e3551
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

ASCII is not "trivially UTF8." UTF8 lacks the available flow control of
ASCII. Any conversion between ASCII and EBCDIC is best done in hardware. We
already know the security issue of conversions from unicode to EBCDIC, and
I doubt that is something we can scheme here on on-topic.

On Friday, August 3, 2012, "Martin J. D=FCrst" wrote:

> On 2012/08/02 17:27, Poul-Henning Kamp wrote:
>
>> In message<
>> CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com>
>> , Mike Belshe writes:
>>
>>  * I don't think we need utf-8 encoded headers.  Not sure how you'd pass
>>>>>
>>>> them off to HTTP anyway?
>>>>
>>>
>>> I just don't see any problem being solved by adding this?  If there is =
no
>>> benefit, we should not do it, right?
>>>
>>
>> If this would solve any major problems inside a 20 year horizon, we
>> should do it.
>>
>
> It will solve quite a few problems, some of them major, maybe not for HTT=
P
> itself, but for the applications on top. It will actually solve some
> problems that have been around for at least the last 15 years.
>
> HTML and HTTP were created when the breakthrough of iso-8859-1 (Latin-1)
> in Western Europe was predictable (the nascent Web helped to unify the
> Western Europe 'national' 7-bit and 8-bit encodings quite a bit).
>
> At least as early as 1995 (RFC 2070) or 1996 (RFC 2130, RFC 2277), it was
> clear to those concerned that Unicode and UTF-8 was the way of the future=
.
> As everybody should be able to confirm when thinking about US-ASCII, usin=
g
> a single character encoding (rather than e.g. ASCII and EBCDIC or some su=
ch
> alternatively) brings HUGE benefits. The same is true when streamlining
> from a zoo of character encodings to UTF-8.
>
> These days, over 60% of the Web is already in UTF-8, and if you add in th=
e
> 20% of pure ASCII which is trivially also UTF-8, it's 80%. All other
> encodings are in serious decline. (see p. 52 of the July IEEE Spectrum).
> And efforts such as HTML5 are strongly pushing to get more UTF-8. I think
> lots of HTTP users would appreciate a better commitment from HTTP with
> respect to character encoding in headers and the like. What's currently
> there is really just a mess, and should be cleaned up.
>
>
> Regards,    Martin.
>
>

--047d7bd6ab86c1ed5a04c65e3551
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

ASCII is not &quot;trivially UTF8.&quot; UTF8 lacks the available flow cont=
rol of ASCII. Any conversion between ASCII and EBCDIC is best done in hardw=
are. We already know the security issue of conversions from unicode to EBCD=
IC, and I doubt that is something we can scheme here on on-topic.<br>
<br>On Friday, August 3, 2012, &quot;Martin J. D=FCrst&quot;  wrote:<br><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex">On 2012/08/02 17:27, Poul-Henning Kamp wrote:<b=
r>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
In message&lt;<a>CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.g=
mail.com</a>&gt;<br>
, Mike Belshe writes:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">

* I don&#39;t think we need utf-8 encoded headers. =A0Not sure how you&#39;=
d pass<br>
</blockquote>
them off to HTTP anyway?<br>
</blockquote>
<br>
I just don&#39;t see any problem being solved by adding this? =A0If there i=
s no<br>
benefit, we should not do it, right?<br>
</blockquote>
<br>
If this would solve any major problems inside a 20 year horizon, we<br>
should do it.<br>
</blockquote>
<br>
It will solve quite a few problems, some of them major, maybe not for HTTP =
itself, but for the applications on top. It will actually solve some proble=
ms that have been around for at least the last 15 years.<br>
<br>
HTML and HTTP were created when the breakthrough of iso-8859-1 (Latin-1) in=
 Western Europe was predictable (the nascent Web helped to unify the Wester=
n Europe &#39;national&#39; 7-bit and 8-bit encodings quite a bit).<br>

<br>
At least as early as 1995 (RFC 2070) or 1996 (RFC 2130, RFC 2277), it was c=
lear to those concerned that Unicode and UTF-8 was the way of the future. A=
s everybody should be able to confirm when thinking about US-ASCII, using a=
 single character encoding (rather than e.g. ASCII and EBCDIC or some such =
alternatively) brings HUGE benefits. The same is true when streamlining fro=
m a zoo of character encodings to UTF-8.<br>

<br>
These days, over 60% of the Web is already in UTF-8, and if you add in the =
20% of pure ASCII which is trivially also UTF-8, it&#39;s 80%. All other en=
codings are in serious decline. (see p. 52 of the July IEEE Spectrum). And =
efforts such as HTML5 are strongly pushing to get more UTF-8. I think lots =
of HTTP users would appreciate a better commitment from HTTP with respect t=
o character encoding in headers and the like. What&#39;s currently there is=
 really just a mess, and should be cleaned up.<br>

<br>
<br>
Regards, =A0 =A0Martin.<br>
<br>
</blockquote>

--047d7bd6ab86c1ed5a04c65e3551--


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 08:35:34 2012
Return-Path: <ietf-http-wg-request@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 D98A921F8DB9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 08:35:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.768
X-Spam-Level: 
X-Spam-Status: No, score=-9.768 tagged_above=-999 required=5 tests=[AWL=0.208, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VamPFCBwShF9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 08:35:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1118321F8DAE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 08:35:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxJti-0005aR-GY for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 15:34:42 +0000
Resent-Date: Fri, 03 Aug 2012 15:34:42 +0000
Resent-Message-Id: <E1SxJti-0005aR-GY@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SxJtV-0005XJ-Lb for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 15:34:29 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SxJtR-00051B-Ap for ietf-http-wg@w3.org; Fri, 03 Aug 2012 15:34:29 +0000
Received: by lbol12 with SMTP id l12so1368775lbo.2 for <ietf-http-wg@w3.org>; Fri, 03 Aug 2012 08:33:58 -0700 (PDT)
X-Google-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:x-gm-message-state; bh=KsEjPfLACu9DsZb2QuZbuVzW4uuMKVQTuBDkaHa/Elc=; b=aZCE4pqsedbEuFcg5mjA4ejwiyC4VI02E1U699K2WAoj6dMnDn8LgebM2YwZ2w0ddm 3wwSJ2Np6reZWIxnxJhit6QPQzW6jDxoxej8fgN6W49H+3wTw0+tttEO1W3aKW02kI8l wL/kC8PhgywKJRgPLHMrS46nBBi5Hp7XS/Vgw/bOKfBPkd9PtKMXiXLOGzcRoqpS683L 6bmjEng4xZp0FhsOxAQySpNZDPcJWkWIFnwPJVhMCU5yq404uYS1vrd/69X0B4sFHzpU qVCBNZ3hTYzZf4FUcduoVFmzSojsuQX6BOi2Vpge9uMTJ0/CHi1ScSt46mbZT55kswfC jiwQ==
MIME-Version: 1.0
Received: by 10.112.84.168 with SMTP id a8mr792655lbz.92.1344008038509; Fri, 03 Aug 2012 08:33:58 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Fri, 3 Aug 2012 08:33:58 -0700 (PDT)
In-Reply-To: <CAAPAK-5uO7imx-ynVU1K-RPpv0CvCDU-kd18hFgRYgXJn-WrMA@mail.gmail.com>
References: <78618.1343896055@critter.freebsd.dk> <501BA782.9030708@it.aoyama.ac.jp> <CAAPAK-5uO7imx-ynVU1K-RPpv0CvCDU-kd18hFgRYgXJn-WrMA@mail.gmail.com>
Date: Fri, 3 Aug 2012 08:33:58 -0700
Message-ID: <CABaLYCtGGQpO=APxQQA2RzZ5w5uB+umYGnz50cZffes9KoSTng@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Jonathan Ballard <dzonatas@gmail.com>
Cc: =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, James M Snell <jasnell@gmail.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d04016cadb5ecd904c65e4196
X-Gm-Message-State: ALoCoQnBZ0RCcnYJqg+Bzx/0eAr0vI44tIXly+eNYPpDKkjG1w0lV69RBDSIC/6my91B4WvzqS6P
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SxJtR-00051B-Ap 1ed3a51fdc6e8fb80fd7a4eb5b69958f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CABaLYCtGGQpO=APxQQA2RzZ5w5uB+umYGnz50cZffes9KoSTng@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14910
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>

--f46d04016cadb5ecd904c65e4196
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

One of the charter requirements of HTTP/2, I thought, was interop to
HTTP/1.1 servers.

If so, how would we pass UTF8 headers to HTTP/1.1 servers?

If we can't then we don't need to support them, right?

Mike


On Fri, Aug 3, 2012 at 8:30 AM, Jonathan Ballard <dzonatas@gmail.com> wrote=
:

> ASCII is not "trivially UTF8." UTF8 lacks the available flow control of
> ASCII. Any conversion between ASCII and EBCDIC is best done in hardware. =
We
> already know the security issue of conversions from unicode to EBCDIC, an=
d
> I doubt that is something we can scheme here on on-topic.
>
>
> On Friday, August 3, 2012, "Martin J. D=FCrst" wrote:
>
>> On 2012/08/02 17:27, Poul-Henning Kamp wrote:
>>
>>> In message<
>>> CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com>
>>> , Mike Belshe writes:
>>>
>>>  * I don't think we need utf-8 encoded headers.  Not sure how you'd pas=
s
>>>>>>
>>>>> them off to HTTP anyway?
>>>>>
>>>>
>>>> I just don't see any problem being solved by adding this?  If there is
>>>> no
>>>> benefit, we should not do it, right?
>>>>
>>>
>>> If this would solve any major problems inside a 20 year horizon, we
>>> should do it.
>>>
>>
>> It will solve quite a few problems, some of them major, maybe not for
>> HTTP itself, but for the applications on top. It will actually solve som=
e
>> problems that have been around for at least the last 15 years.
>>
>> HTML and HTTP were created when the breakthrough of iso-8859-1 (Latin-1)
>> in Western Europe was predictable (the nascent Web helped to unify the
>> Western Europe 'national' 7-bit and 8-bit encodings quite a bit).
>>
>> At least as early as 1995 (RFC 2070) or 1996 (RFC 2130, RFC 2277), it wa=
s
>> clear to those concerned that Unicode and UTF-8 was the way of the futur=
e.
>> As everybody should be able to confirm when thinking about US-ASCII, usi=
ng
>> a single character encoding (rather than e.g. ASCII and EBCDIC or some s=
uch
>> alternatively) brings HUGE benefits. The same is true when streamlining
>> from a zoo of character encodings to UTF-8.
>>
>> These days, over 60% of the Web is already in UTF-8, and if you add in
>> the 20% of pure ASCII which is trivially also UTF-8, it's 80%. All other
>> encodings are in serious decline. (see p. 52 of the July IEEE Spectrum).
>> And efforts such as HTML5 are strongly pushing to get more UTF-8. I thin=
k
>> lots of HTTP users would appreciate a better commitment from HTTP with
>> respect to character encoding in headers and the like. What's currently
>> there is really just a mess, and should be cleaned up.
>>
>>
>> Regards,    Martin.
>>
>>

--f46d04016cadb5ecd904c65e4196
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>One of the charter requirements of HTTP/2, I thought, was interop to H=
TTP/1.1 servers.</div><div><br></div><div>If so, how would we pass UTF8 hea=
ders to HTTP/1.1 servers? =A0</div><div><br></div><div>If we can&#39;t then=
 we don&#39;t need to support them, right?</div>
<div><br></div><div>Mike</div><div><br><br><div class=3D"gmail_quote">On Fr=
i, Aug 3, 2012 at 8:30 AM, Jonathan Ballard <span dir=3D"ltr">&lt;<a href=
=3D"mailto:dzonatas@gmail.com" target=3D"_blank">dzonatas@gmail.com</a>&gt;=
</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">ASCII is not &quot;trivially UTF8.&quot; UTF=
8 lacks the available flow control of ASCII. Any conversion between ASCII a=
nd EBCDIC is best done in hardware. We already know the security issue of c=
onversions from unicode to EBCDIC, and I doubt that is something we can sch=
eme here on on-topic.<div class=3D"HOEnZb">
<div class=3D"h5"><br>
<br>On Friday, August 3, 2012, &quot;Martin J. D=FCrst&quot;  wrote:<br><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex">On 2012/08/02 17:27, Poul-Henning Kamp wrote:<b=
r>


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
In message&lt;<a>CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.g=
mail.com</a>&gt;<br>
, Mike Belshe writes:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">


* I don&#39;t think we need utf-8 encoded headers. =A0Not sure how you&#39;=
d pass<br>
</blockquote>
them off to HTTP anyway?<br>
</blockquote>
<br>
I just don&#39;t see any problem being solved by adding this? =A0If there i=
s no<br>
benefit, we should not do it, right?<br>
</blockquote>
<br>
If this would solve any major problems inside a 20 year horizon, we<br>
should do it.<br>
</blockquote>
<br>
It will solve quite a few problems, some of them major, maybe not for HTTP =
itself, but for the applications on top. It will actually solve some proble=
ms that have been around for at least the last 15 years.<br>
<br>
HTML and HTTP were created when the breakthrough of iso-8859-1 (Latin-1) in=
 Western Europe was predictable (the nascent Web helped to unify the Wester=
n Europe &#39;national&#39; 7-bit and 8-bit encodings quite a bit).<br>


<br>
At least as early as 1995 (RFC 2070) or 1996 (RFC 2130, RFC 2277), it was c=
lear to those concerned that Unicode and UTF-8 was the way of the future. A=
s everybody should be able to confirm when thinking about US-ASCII, using a=
 single character encoding (rather than e.g. ASCII and EBCDIC or some such =
alternatively) brings HUGE benefits. The same is true when streamlining fro=
m a zoo of character encodings to UTF-8.<br>


<br>
These days, over 60% of the Web is already in UTF-8, and if you add in the =
20% of pure ASCII which is trivially also UTF-8, it&#39;s 80%. All other en=
codings are in serious decline. (see p. 52 of the July IEEE Spectrum). And =
efforts such as HTML5 are strongly pushing to get more UTF-8. I think lots =
of HTTP users would appreciate a better commitment from HTTP with respect t=
o character encoding in headers and the like. What&#39;s currently there is=
 really just a mess, and should be cleaned up.<br>


<br>
<br>
Regards, =A0 =A0Martin.<br>
<br>
</blockquote>
</div></div></blockquote></div><br></div>

--f46d04016cadb5ecd904c65e4196--


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 08:53:48 2012
Return-Path: <ietf-http-wg-request@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 1F2A921F8E51 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 08:53:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.148
X-Spam-Level: 
X-Spam-Status: No, score=-10.148 tagged_above=-999 required=5 tests=[AWL=0.450, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AoJ7Fs10L2Do for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 08:53:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C863621F8E34 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 08:53:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxKBA-0000Dm-Tz for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 15:52:44 +0000
Resent-Date: Fri, 03 Aug 2012 15:52:44 +0000
Resent-Message-Id: <E1SxKBA-0000Dm-Tz@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SxKAy-0000CI-HU for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 15:52:32 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SxKAx-0007jC-DL for ietf-http-wg@w3.org; Fri, 03 Aug 2012 15:52:32 +0000
Received: by vcdd16 with SMTP id d16so862857vcd.2 for <ietf-http-wg@w3.org>; Fri, 03 Aug 2012 08:52:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=oKehLyenBGIuQhv/UonY4wzRah/mAmd+6iItbHnL4tQ=; b=OXJbOZMHseIN5JQmq1jFWjectR9NXnzVkoGeLopjnsJudXT/nrPFGwR+P+eTazmhDQ BjcmLHA0xFijPsaZMgOatKmlugyhp1geUtei8e+oXb62FE1i4xhK50msH1Dy7de49lSE 366VJdw72Z3E2rgC3rHpDCYUyvJ0XOSoIg2FB3rViMacaNVYEDJlIwiy4gFSZ1ViS9tJ 79v0f+8+KWh+Z1ylrAyQlzfU4rOvhjnA3t3NgoJmHAcWNPppkBJZCYCrL+Cwo9Om641s 1x5UQLKFmZezUK63U+/BLTpsM1WlZAAISa0wrXOaeer5/ZePHWKNBOBzw/j+YLRKNj71 xgZA==
MIME-Version: 1.0
Received: by 10.52.100.165 with SMTP id ez5mr1436910vdb.108.1344009125506; Fri, 03 Aug 2012 08:52:05 -0700 (PDT)
Received: by 10.58.221.97 with HTTP; Fri, 3 Aug 2012 08:52:05 -0700 (PDT)
In-Reply-To: <CABaLYCtGGQpO=APxQQA2RzZ5w5uB+umYGnz50cZffes9KoSTng@mail.gmail.com>
References: <78618.1343896055@critter.freebsd.dk> <501BA782.9030708@it.aoyama.ac.jp> <CAAPAK-5uO7imx-ynVU1K-RPpv0CvCDU-kd18hFgRYgXJn-WrMA@mail.gmail.com> <CABaLYCtGGQpO=APxQQA2RzZ5w5uB+umYGnz50cZffes9KoSTng@mail.gmail.com>
Date: Fri, 3 Aug 2012 08:52:05 -0700
Message-ID: <CAAPAK-5t6WBcAJ8rUb_+T=SuHqA=Hjg2dpMfBKYgikNCEqtJ5g@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, James M Snell <jasnell@gmail.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf3063dc03802d0204c65e82f3
Received-SPF: pass client-ip=209.85.220.171; envelope-from=dzonatas@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-1.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SxKAx-0007jC-DL 1b17157e2270aebfa2d3448fb0f6adc5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CAAPAK-5t6WBcAJ8rUb_+T=SuHqA=Hjg2dpMfBKYgikNCEqtJ5g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14911
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>

--20cf3063dc03802d0204c65e82f3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Besides entities, there is the pickle goal between HTTP/1.1 and HTTP/2.

On Friday, August 3, 2012, Mike Belshe wrote:

> One of the charter requirements of HTTP/2, I thought, was interop to
> HTTP/1.1 servers.
>
> If so, how would we pass UTF8 headers to HTTP/1.1 servers?
>
> If we can't then we don't need to support them, right?
>
> Mike
>
>
> On Fri, Aug 3, 2012 at 8:30 AM, Jonathan Ballard <dzonatas@gmail.com<java=
script:_e({}, 'cvml', 'dzonatas@gmail.com');>
> > wrote:
>
>> ASCII is not "trivially UTF8." UTF8 lacks the available flow control of
>> ASCII. Any conversion between ASCII and EBCDIC is best done in hardware.=
 We
>> already know the security issue of conversions from unicode to EBCDIC, a=
nd
>> I doubt that is something we can scheme here on on-topic.
>>
>>
>> On Friday, August 3, 2012, "Martin J. D=FCrst" wrote:
>>
>>> On 2012/08/02 17:27, Poul-Henning Kamp wrote:
>>>
>>>> In message<
>>>> CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com>
>>>> , Mike Belshe writes:
>>>>
>>>>  * I don't think we need utf-8 encoded headers.  Not sure how you'd pa=
ss
>>>>>>>
>>>>>> them off to HTTP anyway?
>>>>>>
>>>>>
>>>>> I just don't see any problem being solved by adding this?  If there i=
s
>>>>> no
>>>>> benefit, we should not do it, right?
>>>>>
>>>>
>>>> If this would solve any major problems inside a 20 year horizon, we
>>>> should do it.
>>>>
>>>
>>> It will solve quite a few problems, some of them major, maybe not for
>>> HTTP itself, but for the applications on top. It will actually solve so=
me
>>> problems that have been around for at least the last 15 years.
>>>
>>> HTML and HTTP were created when the breakthrough of iso-8859-1 (Latin-1=
)
>>> in Western Europe was predictable (the nascent Web helped to unify the
>>> Western Europe 'national' 7-bit and 8-bit encodings quite a bit).
>>>
>>> At least as early as 1995 (RFC 2070) or 1996 (RFC 2130, RFC 2277), it
>>> was clear to those concerned that Unicode and UTF-8 was the way of the
>>> future. As everybody should be able to confirm when thinking about
>>> US-ASCII, using a single character encoding (rather than e.g. ASCII and
>>> EBCDIC or some such alternatively) brings HUGE benefits. The same is tr=
ue
>>> when streamlining from a zoo of character encodings to UTF-8.
>>>
>>> These days, over 60% of the Web is already in UTF-8, and if you add in
>>> the 20% of pure ASCII which is trivially also UTF-8, it's 80%. All othe=
r
>>> encodings are in serious decline. (see p. 52 of the July IEEE Spectrum)=
.
>>> And efforts such as HTML5 are strongly pushing to get more UTF-8. I thi=
nk
>>> lots of HTTP users would appreciate a better commitment from HTTP with
>>> respect to character encoding in headers and the like. What's currently
>>> there is really just a mess, and should be cleaned up.
>>>
>>>
>>> Regards,    Martin.
>>>
>>>
>

--20cf3063dc03802d0204c65e82f3
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Besides entities, there is the pickle goal between HTTP/1.1 and HTTP/2.<br>=
<br>On Friday, August 3, 2012, Mike Belshe  wrote:<br><blockquote class=3D"=
gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-=
left:1ex">
<div>One of the charter requirements of HTTP/2, I thought, was interop to H=
TTP/1.1 servers.</div><div><br></div><div>If so, how would we pass UTF8 hea=
ders to HTTP/1.1 servers? =A0</div><div><br></div><div>If we can&#39;t then=
 we don&#39;t need to support them, right?</div>

<div><br></div><div>Mike</div><div><br><br><div class=3D"gmail_quote">On Fr=
i, Aug 3, 2012 at 8:30 AM, Jonathan Ballard <span dir=3D"ltr">&lt;<a href=
=3D"javascript:_e({}, &#39;cvml&#39;, &#39;dzonatas@gmail.com&#39;);" targe=
t=3D"_blank">dzonatas@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">ASCII is not &quot;trivially UTF8.&quot; UTF=
8 lacks the available flow control of ASCII. Any conversion between ASCII a=
nd EBCDIC is best done in hardware. We already know the security issue of c=
onversions from unicode to EBCDIC, and I doubt that is something we can sch=
eme here on on-topic.<div>

<div><br>
<br>On Friday, August 3, 2012, &quot;Martin J. D=FCrst&quot;  wrote:<br><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex">On 2012/08/02 17:27, Poul-Henning Kamp wrote:<b=
r>



<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
In message&lt;<a>CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.g=
mail.com</a>&gt;<br>
, Mike Belshe writes:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">



* I don&#39;t think we need utf-8 encoded headers. =A0Not sure how you&#39;=
d pass<br>
</blockquote>
them off to HTTP anyway?<br>
</blockquote>
<br>
I just don&#39;t see any problem being solved by adding this? =A0If there i=
s no<br>
benefit, we should not do it, right?<br>
</blockquote>
<br>
If this would solve any major problems inside a 20 year horizon, we<br>
should do it.<br>
</blockquote>
<br>
It will solve quite a few problems, some of them major, maybe not for HTTP =
itself, but for the applications on top. It will actually solve some proble=
ms that have been around for at least the last 15 years.<br>
<br>
HTML and HTTP were created when the breakthrough of iso-8859-1 (Latin-1) in=
 Western Europe was predictable (the nascent Web helped to unify the Wester=
n Europe &#39;national&#39; 7-bit and 8-bit encodings quite a bit).<br>



<br>
At least as early as 1995 (RFC 2070) or 1996 (RFC 2130, RFC 2277), it was c=
lear to those concerned that Unicode and UTF-8 was the way of the future. A=
s everybody should be able to confirm when thinking about US-ASCII, using a=
 single character encoding (rather than e.g. ASCII and EBCDIC or some such =
alternatively) brings HUGE benefits. The same is true when streamlining fro=
m a zoo of character encodings to UTF-8.<br>



<br>
These days, over 60% of the Web is already in UTF-8, and if you add in the =
20% of pure ASCII which is trivially also UTF-8, it&#39;s 80%. All other en=
codings are in serious decline. (see p. 52 of the July IEEE Spectrum). And =
efforts such as HTML5 are strongly pushing to get more UTF-8. I think lots =
of HTTP users would appreciate a better commitment from HTTP with respect t=
o character encoding in headers and the like. What&#39;s currently there is=
 really just a mess, and should be cleaned up.<br>



<br>
<br>
Regards, =A0 =A0Martin.<br>
<br>
</blockquote>
</div></div></blockquote></div><br></div>
</blockquote>

--20cf3063dc03802d0204c65e82f3--


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 08:54:04 2012
Return-Path: <ietf-http-wg-request@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 4730521F8E35 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 08:54:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.645
X-Spam-Level: 
X-Spam-Status: No, score=-9.645 tagged_above=-999 required=5 tests=[AWL=0.953, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rxHtU4r4TE2c for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 08:54:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EE96321F8E34 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 08:54:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxKBw-0000FI-Si for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 15:53:32 +0000
Resent-Date: Fri, 03 Aug 2012 15:53:32 +0000
Resent-Message-Id: <E1SxKBw-0000FI-Si@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SxKBj-0000ES-GM for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 15:53:19 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SxKBh-0007lU-VB for ietf-http-wg@w3.org; Fri, 03 Aug 2012 15:53:19 +0000
Received: by weyx43 with SMTP id x43so556461wey.2 for <ietf-http-wg@w3.org>; Fri, 03 Aug 2012 08:52:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=MPLYi9ZjRSteIhtgI6/HB13HWxzYGzyfXU4+SLG1Irk=; b=b7GSzFiICsIQO+wPG+97GT/ZF1XTLJTtJtPTiKn2pxJNt4MLQnlIxbOvSXIVHsIF2b kjQjBZpcess8vtZxw7+iZS4RhEjjaZtFpNB1JsqhtDIEhq/FdGaLfzOCd/FOZLWZpXNX WxEbDbtbj82ARaLY8kW2fI45lM7cCTOTYTt34KETipS7NLfPNsT5W22j6ZeaTPlrkri2 RXWonP4VqPIp3P/PbSenT1RlxhJVhwselcRFciVLrbsRUlnYWTC+gye5kQ+FT2q1tax+ z81uh45E6Mc89Y1F119t68qUJy+bVjgru1hyB6805tc1wahpcE+jtRf+h2qd9GhGzQO1 6+vA==
Received: by 10.180.81.66 with SMTP id y2mr5313197wix.22.1344009171357; Fri, 03 Aug 2012 08:52:51 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Fri, 3 Aug 2012 08:52:30 -0700 (PDT)
In-Reply-To: <CABaLYCtGGQpO=APxQQA2RzZ5w5uB+umYGnz50cZffes9KoSTng@mail.gmail.com>
References: <78618.1343896055@critter.freebsd.dk> <501BA782.9030708@it.aoyama.ac.jp> <CAAPAK-5uO7imx-ynVU1K-RPpv0CvCDU-kd18hFgRYgXJn-WrMA@mail.gmail.com> <CABaLYCtGGQpO=APxQQA2RzZ5w5uB+umYGnz50cZffes9KoSTng@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Fri, 3 Aug 2012 08:52:30 -0700
Message-ID: <CABP7RbezEoeT2xiUjXMh5Bat-qKX1xB8ELQRHa7ZqX_5MrujGg@mail.gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: Jonathan Ballard <dzonatas@gmail.com>, =?UTF-8?Q?Martin_J=2E_D=C3=BCrst?= <duerst@it.aoyama.ac.jp>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d04428d2c3bcfb804c65e8583
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SxKBh-0007lU-VB bc501b88b99d477ad4a157b48b53db21
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CABP7RbezEoeT2xiUjXMh5Bat-qKX1xB8ELQRHa7ZqX_5MrujGg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14912
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>

--f46d04428d2c3bcfb804c65e8583
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I'll say it again: simply allowing header values to contain UTF-8
characters does not break compatibility with 1.1 because the existing
header definitions for the existing headers would not be changed. The
change would impact new header definitions or applications that are
specifically targeted for 2.0 implementations.

For example, suppose we define a new binary optimized encoding for the host
header that accepts IDN's. That new encoding does not change the details of
the existing Host header in HTTP/1.1. When an intermediary translates the
2.0 message into a 1.1 message, it would convert the IDN into a proper
punycode value within the 1.1 Host header. If the intermediary happens
across some other arbitrary new header using UTF-8 that it does not
understand or know how to translate, it can either ignore it or return a
protocol error. Interoperability is not affected at all.

Limits are a bad thing... aren't they? ;-)

- James

On Fri, Aug 3, 2012 at 8:33 AM, Mike Belshe <mike@belshe.com> wrote:

> One of the charter requirements of HTTP/2, I thought, was interop to
> HTTP/1.1 servers.
>
> If so, how would we pass UTF8 headers to HTTP/1.1 servers?
>
> If we can't then we don't need to support them, right?
>
> Mike
>
>
> On Fri, Aug 3, 2012 at 8:30 AM, Jonathan Ballard <dzonatas@gmail.com>wrot=
e:
>
>> ASCII is not "trivially UTF8." UTF8 lacks the available flow control of
>> ASCII. Any conversion between ASCII and EBCDIC is best done in hardware.=
 We
>> already know the security issue of conversions from unicode to EBCDIC, a=
nd
>> I doubt that is something we can scheme here on on-topic.
>>
>>
>> On Friday, August 3, 2012, "Martin J. D=C3=BCrst" wrote:
>>
>>> On 2012/08/02 17:27, Poul-Henning Kamp wrote:
>>>
>>>> In message<
>>>> CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com>
>>>> , Mike Belshe writes:
>>>>
>>>>  * I don't think we need utf-8 encoded headers.  Not sure how you'd pa=
ss
>>>>>>>
>>>>>> them off to HTTP anyway?
>>>>>>
>>>>>
>>>>> I just don't see any problem being solved by adding this?  If there i=
s
>>>>> no
>>>>> benefit, we should not do it, right?
>>>>>
>>>>
>>>> If this would solve any major problems inside a 20 year horizon, we
>>>> should do it.
>>>>
>>>
>>> It will solve quite a few problems, some of them major, maybe not for
>>> HTTP itself, but for the applications on top. It will actually solve so=
me
>>> problems that have been around for at least the last 15 years.
>>>
>>> HTML and HTTP were created when the breakthrough of iso-8859-1 (Latin-1=
)
>>> in Western Europe was predictable (the nascent Web helped to unify the
>>> Western Europe 'national' 7-bit and 8-bit encodings quite a bit).
>>>
>>> At least as early as 1995 (RFC 2070) or 1996 (RFC 2130, RFC 2277), it
>>> was clear to those concerned that Unicode and UTF-8 was the way of the
>>> future. As everybody should be able to confirm when thinking about
>>> US-ASCII, using a single character encoding (rather than e.g. ASCII and
>>> EBCDIC or some such alternatively) brings HUGE benefits. The same is tr=
ue
>>> when streamlining from a zoo of character encodings to UTF-8.
>>>
>>> These days, over 60% of the Web is already in UTF-8, and if you add in
>>> the 20% of pure ASCII which is trivially also UTF-8, it's 80%. All othe=
r
>>> encodings are in serious decline. (see p. 52 of the July IEEE Spectrum)=
.
>>> And efforts such as HTML5 are strongly pushing to get more UTF-8. I thi=
nk
>>> lots of HTTP users would appreciate a better commitment from HTTP with
>>> respect to character encoding in headers and the like. What's currently
>>> there is really just a mess, and should be cleaned up.
>>>
>>>
>>> Regards,    Martin.
>>>
>>>
>

--f46d04428d2c3bcfb804c65e8583
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">I&#39;ll say it again: simply allowing=
 header values to contain UTF-8 characters does not break compatibility wit=
h 1.1 because the existing header definitions for the existing headers woul=
d not be changed. The change would impact new header definitions or applica=
tions that are specifically targeted for 2.0 implementations.</font><div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">For example, suppose we define a new binary optimized =
encoding for the host header that accepts IDN&#39;s. That new encoding does=
 not change the details of the existing Host header in HTTP/1.1. When an in=
termediary translates the 2.0 message into a 1.1 message, it would convert =
the IDN into a proper punycode value within the 1.1 Host header. If the int=
ermediary happens across some other arbitrary new header using UTF-8 that i=
t does not understand or know how to translate, it can either ignore it or =
return a protocol error. Interoperability is not affected at all.</font></d=
iv>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">Limits are a bad thing... aren&#39;t they? ;-)</=
font></div><div><font face=3D"courier new,monospace"><br></font></div><div>=
<font face=3D"courier new,monospace">- James=C2=A0<br>

</font><br><div class=3D"gmail_quote">On Fri, Aug 3, 2012 at 8:33 AM, Mike =
Belshe <span dir=3D"ltr">&lt;<a href=3D"mailto:mike@belshe.com" target=3D"_=
blank">mike@belshe.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex">

<div>One of the charter requirements of HTTP/2, I thought, was interop to H=
TTP/1.1 servers.</div><div><br></div><div>If so, how would we pass UTF8 hea=
ders to HTTP/1.1 servers? =C2=A0</div><div><br></div><div>If we can&#39;t t=
hen we don&#39;t need to support them, right?</div>

<span class=3D"HOEnZb"><font color=3D"#888888">
<div><br></div><div>Mike</div></font></span><div class=3D"HOEnZb"><div clas=
s=3D"h5"><div><br><br><div class=3D"gmail_quote">On Fri, Aug 3, 2012 at 8:3=
0 AM, Jonathan Ballard <span dir=3D"ltr">&lt;<a href=3D"mailto:dzonatas@gma=
il.com" target=3D"_blank">dzonatas@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">ASCII is not &quot;trivially UTF8.&quot; UTF=
8 lacks the available flow control of ASCII. Any conversion between ASCII a=
nd EBCDIC is best done in hardware. We already know the security issue of c=
onversions from unicode to EBCDIC, and I doubt that is something we can sch=
eme here on on-topic.<div>


<div><br>
<br>On Friday, August 3, 2012, &quot;Martin J. D=C3=BCrst&quot;  wrote:<br>=
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">On 2012/08/02 17:27, Poul-Henning Kamp wrote=
:<br>




<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
In message&lt;<a>CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.g=
mail.com</a>&gt;<br>
, Mike Belshe writes:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">




* I don&#39;t think we need utf-8 encoded headers. =C2=A0Not sure how you&#=
39;d pass<br>
</blockquote>
them off to HTTP anyway?<br>
</blockquote>
<br>
I just don&#39;t see any problem being solved by adding this? =C2=A0If ther=
e is no<br>
benefit, we should not do it, right?<br>
</blockquote>
<br>
If this would solve any major problems inside a 20 year horizon, we<br>
should do it.<br>
</blockquote>
<br>
It will solve quite a few problems, some of them major, maybe not for HTTP =
itself, but for the applications on top. It will actually solve some proble=
ms that have been around for at least the last 15 years.<br>
<br>
HTML and HTTP were created when the breakthrough of iso-8859-1 (Latin-1) in=
 Western Europe was predictable (the nascent Web helped to unify the Wester=
n Europe &#39;national&#39; 7-bit and 8-bit encodings quite a bit).<br>




<br>
At least as early as 1995 (RFC 2070) or 1996 (RFC 2130, RFC 2277), it was c=
lear to those concerned that Unicode and UTF-8 was the way of the future. A=
s everybody should be able to confirm when thinking about US-ASCII, using a=
 single character encoding (rather than e.g. ASCII and EBCDIC or some such =
alternatively) brings HUGE benefits. The same is true when streamlining fro=
m a zoo of character encodings to UTF-8.<br>




<br>
These days, over 60% of the Web is already in UTF-8, and if you add in the =
20% of pure ASCII which is trivially also UTF-8, it&#39;s 80%. All other en=
codings are in serious decline. (see p. 52 of the July IEEE Spectrum). And =
efforts such as HTML5 are strongly pushing to get more UTF-8. I think lots =
of HTTP users would appreciate a better commitment from HTTP with respect t=
o character encoding in headers and the like. What&#39;s currently there is=
 really just a mess, and should be cleaned up.<br>




<br>
<br>
Regards, =C2=A0 =C2=A0Martin.<br>
<br>
</blockquote>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>

--f46d04428d2c3bcfb804c65e8583--


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 10:06:12 2012
Return-Path: <ietf-http-wg-request@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 CDEC821F8DD6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 10:06:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.745
X-Spam-Level: 
X-Spam-Status: No, score=-9.745 tagged_above=-999 required=5 tests=[AWL=-0.746, BAYES_00=-2.599, J_BACKHAIR_45=1, J_CHICKENPOX_66=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gpyORdq8743V for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 10:06:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 076D621F8DCC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 10:06:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxLIt-00042v-CS for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 17:04:47 +0000
Resent-Date: Fri, 03 Aug 2012 17:04:47 +0000
Resent-Message-Id: <E1SxLIt-00042v-CS@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SxLIf-000429-9E for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 17:04:33 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SxLId-0007nq-NJ for ietf-http-wg@w3.org; Fri, 03 Aug 2012 17:04:33 +0000
Received: by vbbfq11 with SMTP id fq11so967709vbb.2 for <ietf-http-wg@w3.org>; Fri, 03 Aug 2012 10:04:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=9L/Qo2VUl++pnli26qgLJVQaIWtXH1cU3G/UONffVxM=; b=a0zbbAz2JH3YCgkh51eYcGGpsrPkfcONUABS5NDSDNBYut7RLuxXtcao3h3m8QWbJz tnFP+ucdLP0g4n/BnK4ZQWjgpIvdRgGrFSP4T437wAGSoQ3JX2BxwqdvlAG1qHu5x7Z3 BOr2eqaD3xVIUianOMMa1i6JQHzn/iGOGnVc2loAf3qUye41Ry6FpxTJmcPM5ipNSt50 LIeSqziPvqLLyb9puKy7dl5zvoHojv6LrJmgmNYWe1N0xsIMxh47ENHTZw0CSU0c0//q jg1ngSOGMT4FbCFmOoUCx70FSthgc1iKtZ0GMEoGbETMKnzlykQMs8wOqnNnYqBCCEl1 C+mg==
MIME-Version: 1.0
Received: by 10.52.99.138 with SMTP id eq10mr1653611vdb.25.1344013445887; Fri, 03 Aug 2012 10:04:05 -0700 (PDT)
Received: by 10.220.117.77 with HTTP; Fri, 3 Aug 2012 10:04:05 -0700 (PDT)
In-Reply-To: <em51bad768-459a-465b-9933-0957f139d7bd@bombed>
References: <501B54F4.6030709@it.aoyama.ac.jp> <em51bad768-459a-465b-9933-0957f139d7bd@bombed>
Date: Fri, 3 Aug 2012 12:04:05 -0500
Message-ID: <CACuKZqHj2tx_MDeg6rjncrCdzc61tRC8TJVbhgJe4KDmu=1vvA@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  James M Snell <jasnell@gmail.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Mike Belshe <mike@belshe.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.212.43; envelope-from=zhong.j.yu@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SxLId-0007nq-NJ d2f3e3d63122eae5a2f9fc537a92d224
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CACuKZqHj2tx_MDeg6rjncrCdzc61tRC8TJVbhgJe4KDmu=1vvA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14913
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>

Wait... why should HTTP care about the internal structure of a URI? As
far as HTTP is concerned, a URI is an opaque string(though
canonicalization needs to be defined)

The internal structure of a URI is agreed upon by the client app and
the server app. For example, the common ?n1=3Dv1&n2=3Dv2 form is actually
defined by the HTML standard; the way n/v's are escaped is also
defined by HTML. HTTP has no business in it.

http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13.4.1

Zhong YU


On Fri, Aug 3, 2012 at 12:15 AM, Adrien W. de Croy <adrien@qbik.com> wrote:
>
> ------ Original Message ------
> From: "Martin J. D=FCrst" <duerst@it.aoyama.ac.jp>
> To: "James M Snell" <jasnell@gmail.com>
> Cc: "Poul-Henning Kamp" <phk@phk.freebsd.dk>;"Mike Belshe"
> <mike@belshe.com>;"ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
> Sent: 3/08/2012 4:35:00 p.m.
> Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
>>
>> On 2012/08/03 2:48, James M Snell wrote:
>>>
>>> On Thu, Aug 2, 2012 at 1:27 AM, Poul-Henning
>>> Kamp<phk@phk.freebsd.dk>wrote:
>>
>>
>>>> For instance, could we get rid of the %-encoding of URIs by allowing
>>>> UTF8 ?
>>>
>>>
>>> It would be possible, for instance, to begin using IRI's directly witho=
ut
>>> translating those to URI's first.
>>
>>
>> Great idea. Please note that that will also save a few bytes (but that's
>> definitely not the main reason for doing it).
>>>
>>> Doing so, however, does not eliminate the need for %-encoding,
>>
>>
>> Yes, a '#' or '?' in a path segment and similar stuff still have to be
>> %-encoded.
>
>
> if we're defining a new binary-safe transport for header values, shouldn'=
t
> we try to avoid all multiplexing / escaping and parsing of strings?
>
> e.g. just put querystring in another "header" instead.  Then anything can
> contain '?'
>
> same with fragments (#) although I thought these weren't allowed on the
> wire...
>
> In fact the concept of a single string which is a URI could be deprecated
> for 2.0 and just be sent as individual fields in a request.
>
> gatewaying back to 1.1 would require assembling a URI from the pieces, bu=
t
> that should be easy.
> Seems a bit nuts to go binary and leave some parts as overloaded string
> fields requiring string parsing and escaping.
>
> Adrien
>
>
>>
>>
>>> and there are a range of possible issues that could make this
>>> problematic.
>>
>>
>> Could you list up the issues you're thinking about? (I don't want to say
>> there are none, but I can't at the moment come up with something that
>> wouldn't already be around currently.)
>> Regards, Martin.
>
>
>


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 10:13:43 2012
Return-Path: <ietf-http-wg-request@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 A0BF921F8E1C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 10:13:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.864
X-Spam-Level: 
X-Spam-Status: No, score=-8.864 tagged_above=-999 required=5 tests=[AWL=0.134, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_BACKHAIR_45=1, J_CHICKENPOX_66=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id by1Zpqjwg960 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 10:13:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 74C1021F8E15 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 10:13:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxLQl-0007gb-H5 for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 17:12:55 +0000
Resent-Date: Fri, 03 Aug 2012 17:12:55 +0000
Resent-Message-Id: <E1SxLQl-0007gb-H5@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SxLQY-0007fl-7w for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 17:12:42 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SxLQW-00086W-Mj for ietf-http-wg@w3.org; Fri, 03 Aug 2012 17:12:42 +0000
Received: by weyx43 with SMTP id x43so609422wey.2 for <ietf-http-wg@w3.org>; Fri, 03 Aug 2012 10:12:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=kdp7IIUl0QrPbt5Cf7Q/EL+yrhPDa0o3vyk1qXYn1d8=; b=On0qgXAO97Vrlhb2tx8H17C2q1YmHU1uYG/snIOmKmTJsADVIwXqvMfKvRi4GANG38 ZXQxOed8SBih7z/XPc13g19PDmTmOqeBG9+souVgmgWuDrRPVuhU6wWDJ9oJ6lBlZgSw KNZANQ2y4n1EckhRTyTXSKssSbWs6lg1vpTRYoLL9zAXSWwqA9CtnAuDCB+FhBpWgbDH 9dA8ZQf6qr2xCHcDI3svktvaD9g1BxIEuVMobRVI/AbZXyusQ6YD2i/51zPQKdAiXQWD LfbcrrpquOSyLAy+GmOw0hIGoSbIx47EH4/+3Klur45UzGsHpRmQUZpH0RDXAEYPCmBB 1KCA==
Received: by 10.180.84.104 with SMTP id x8mr14813005wiy.20.1344013933894; Fri, 03 Aug 2012 10:12:13 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Fri, 3 Aug 2012 10:11:53 -0700 (PDT)
In-Reply-To: <CACuKZqHj2tx_MDeg6rjncrCdzc61tRC8TJVbhgJe4KDmu=1vvA@mail.gmail.com>
References: <501B54F4.6030709@it.aoyama.ac.jp> <em51bad768-459a-465b-9933-0957f139d7bd@bombed> <CACuKZqHj2tx_MDeg6rjncrCdzc61tRC8TJVbhgJe4KDmu=1vvA@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Fri, 3 Aug 2012 10:11:53 -0700
Message-ID: <CABP7Rbf2P7qC3Uu_-sC3OqCuUGw5QhF+DNjbA0LhUhj-CDABwA@mail.gmail.com>
To: Zhong Yu <zhong.j.yu@gmail.com>
Cc: "Adrien W. de Croy" <adrien@qbik.com>, =?UTF-8?Q?Martin_J=2E_D=C3=BCrst?= <duerst@it.aoyama.ac.jp>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, Mike Belshe <mike@belshe.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d043bd7581a5b9704c65fa19a
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SxLQW-00086W-Mj 0826f1d153c0983cad3ba80627bdb6fd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CABP7Rbf2P7qC3Uu_-sC3OqCuUGw5QhF+DNjbA0LhUhj-CDABwA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14914
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>

--f46d043bd7581a5b9704c65fa19a
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

+1... at the HTTP level, we should not be trying to split up the request
URI like this. Treat it like an opaque string...

Besides, there are MANY applications that mix application specific
parameters into the path as well as the query string, so splitting those up
to protect privacy doesn't really make any sense at all.

- James

On Fri, Aug 3, 2012 at 10:04 AM, Zhong Yu <zhong.j.yu@gmail.com> wrote:

> Wait... why should HTTP care about the internal structure of a URI? As
> far as HTTP is concerned, a URI is an opaque string(though
> canonicalization needs to be defined)
>
> The internal structure of a URI is agreed upon by the client app and
> the server app. For example, the common ?n1=3Dv1&n2=3Dv2 form is actually
> defined by the HTML standard; the way n/v's are escaped is also
> defined by HTML. HTTP has no business in it.
>
> http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13.4.1
>
> Zhong YU
>
>
> On Fri, Aug 3, 2012 at 12:15 AM, Adrien W. de Croy <adrien@qbik.com>
> wrote:
> >
> > ------ Original Message ------
> > From: "Martin J. D=C3=BCrst" <duerst@it.aoyama.ac.jp>
> > To: "James M Snell" <jasnell@gmail.com>
> > Cc: "Poul-Henning Kamp" <phk@phk.freebsd.dk>;"Mike Belshe"
> > <mike@belshe.com>;"ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
> > Sent: 3/08/2012 4:35:00 p.m.
> > Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
> >>
> >> On 2012/08/03 2:48, James M Snell wrote:
> >>>
> >>> On Thu, Aug 2, 2012 at 1:27 AM, Poul-Henning
> >>> Kamp<phk@phk.freebsd.dk>wrote:
> >>
> >>
> >>>> For instance, could we get rid of the %-encoding of URIs by allowing
> >>>> UTF8 ?
> >>>
> >>>
> >>> It would be possible, for instance, to begin using IRI's directly
> without
> >>> translating those to URI's first.
> >>
> >>
> >> Great idea. Please note that that will also save a few bytes (but that=
's
> >> definitely not the main reason for doing it).
> >>>
> >>> Doing so, however, does not eliminate the need for %-encoding,
> >>
> >>
> >> Yes, a '#' or '?' in a path segment and similar stuff still have to be
> >> %-encoded.
> >
> >
> > if we're defining a new binary-safe transport for header values,
> shouldn't
> > we try to avoid all multiplexing / escaping and parsing of strings?
> >
> > e.g. just put querystring in another "header" instead.  Then anything c=
an
> > contain '?'
> >
> > same with fragments (#) although I thought these weren't allowed on the
> > wire...
> >
> > In fact the concept of a single string which is a URI could be deprecat=
ed
> > for 2.0 and just be sent as individual fields in a request.
> >
> > gatewaying back to 1.1 would require assembling a URI from the pieces,
> but
> > that should be easy.
> > Seems a bit nuts to go binary and leave some parts as overloaded string
> > fields requiring string parsing and escaping.
> >
> > Adrien
> >
> >
> >>
> >>
> >>> and there are a range of possible issues that could make this
> >>> problematic.
> >>
> >>
> >> Could you list up the issues you're thinking about? (I don't want to s=
ay
> >> there are none, but I can't at the moment come up with something that
> >> wouldn't already be around currently.)
> >> Regards, Martin.
> >
> >
> >
>

--f46d043bd7581a5b9704c65fa19a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">+1... at the HTTP level, we should not=
 be trying to split up the request URI like this. Treat it like an opaque s=
tring...</font><div><font face=3D"courier new,monospace"><br></font></div><=
div>

<font face=3D"courier new,monospace">Besides, there are MANY applications t=
hat mix application specific parameters into the path as well as the query =
string, so splitting those up to protect privacy doesn&#39;t really make an=
y sense at all.</font></div>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">- James<br></font><br><div class=3D"gmail_quote"=
>On Fri, Aug 3, 2012 at 10:04 AM, Zhong Yu <span dir=3D"ltr">&lt;<a href=3D=
"mailto:zhong.j.yu@gmail.com" target=3D"_blank">zhong.j.yu@gmail.com</a>&gt=
;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Wait... why should HTTP care about the inter=
nal structure of a URI? As<br>
far as HTTP is concerned, a URI is an opaque string(though<br>
canonicalization needs to be defined)<br>
<br>
The internal structure of a URI is agreed upon by the client app and<br>
the server app. For example, the common ?n1=3Dv1&amp;n2=3Dv2 form is actual=
ly<br>
defined by the HTML standard; the way n/v&#39;s are escaped is also<br>
defined by HTML. HTTP has no business in it.<br>
<br>
<a href=3D"http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13.4.1"=
 target=3D"_blank">http://www.w3.org/TR/REC-html40/interact/forms.html#h-17=
.13.4.1</a><br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Zhong YU<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
On Fri, Aug 3, 2012 at 12:15 AM, Adrien W. de Croy &lt;<a href=3D"mailto:ad=
rien@qbik.com">adrien@qbik.com</a>&gt; wrote:<br>
&gt;<br>
&gt; ------ Original Message ------<br>
&gt; From: &quot;Martin J. D=C3=BCrst&quot; &lt;<a href=3D"mailto:duerst@it=
.aoyama.ac.jp">duerst@it.aoyama.ac.jp</a>&gt;<br>
&gt; To: &quot;James M Snell&quot; &lt;<a href=3D"mailto:jasnell@gmail.com"=
>jasnell@gmail.com</a>&gt;<br>
&gt; Cc: &quot;Poul-Henning Kamp&quot; &lt;<a href=3D"mailto:phk@phk.freebs=
d.dk">phk@phk.freebsd.dk</a>&gt;;&quot;Mike Belshe&quot;<br>
&gt; &lt;<a href=3D"mailto:mike@belshe.com">mike@belshe.com</a>&gt;;&quot;<=
a href=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</a>&quot; &lt;<a =
href=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</a>&gt;<br>
&gt; Sent: 3/08/2012 4:35:00 p.m.<br>
&gt; Subject: Re: FYI... Binary Optimized Header Encoding for SPDY<br>
&gt;&gt;<br>
&gt;&gt; On 2012/08/03 2:48, James M Snell wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Thu, Aug 2, 2012 at 1:27 AM, Poul-Henning<br>
&gt;&gt;&gt; Kamp&lt;<a href=3D"mailto:phk@phk.freebsd.dk">phk@phk.freebsd.=
dk</a>&gt;wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt;&gt; For instance, could we get rid of the %-encoding of URIs b=
y allowing<br>
&gt;&gt;&gt;&gt; UTF8 ?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; It would be possible, for instance, to begin using IRI&#39;s d=
irectly without<br>
&gt;&gt;&gt; translating those to URI&#39;s first.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Great idea. Please note that that will also save a few bytes (but =
that&#39;s<br>
&gt;&gt; definitely not the main reason for doing it).<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Doing so, however, does not eliminate the need for %-encoding,=
<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Yes, a &#39;#&#39; or &#39;?&#39; in a path segment and similar st=
uff still have to be<br>
&gt;&gt; %-encoded.<br>
&gt;<br>
&gt;<br>
&gt; if we&#39;re defining a new binary-safe transport for header values, s=
houldn&#39;t<br>
&gt; we try to avoid all multiplexing / escaping and parsing of strings?<br=
>
&gt;<br>
&gt; e.g. just put querystring in another &quot;header&quot; instead. =C2=
=A0Then anything can<br>
&gt; contain &#39;?&#39;<br>
&gt;<br>
&gt; same with fragments (#) although I thought these weren&#39;t allowed o=
n the<br>
&gt; wire...<br>
&gt;<br>
&gt; In fact the concept of a single string which is a URI could be depreca=
ted<br>
&gt; for 2.0 and just be sent as individual fields in a request.<br>
&gt;<br>
&gt; gatewaying back to 1.1 would require assembling a URI from the pieces,=
 but<br>
&gt; that should be easy.<br>
&gt; Seems a bit nuts to go binary and leave some parts as overloaded strin=
g<br>
&gt; fields requiring string parsing and escaping.<br>
&gt;<br>
&gt; Adrien<br>
&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; and there are a range of possible issues that could make this<=
br>
&gt;&gt;&gt; problematic.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Could you list up the issues you&#39;re thinking about? (I don&#39=
;t want to say<br>
&gt;&gt; there are none, but I can&#39;t at the moment come up with somethi=
ng that<br>
&gt;&gt; wouldn&#39;t already be around currently.)<br>
&gt;&gt; Regards, Martin.<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>

--f46d043bd7581a5b9704c65fa19a--


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 10:16:23 2012
Return-Path: <ietf-http-wg-request@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 09C0921F8E1D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 10:16:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.772
X-Spam-Level: 
X-Spam-Status: No, score=-9.772 tagged_above=-999 required=5 tests=[AWL=0.204, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TM++TD4qryr6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 10:16:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DDCA121F8DF8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 10:16:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxLTR-00033u-Gj for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 17:15:41 +0000
Resent-Date: Fri, 03 Aug 2012 17:15:41 +0000
Resent-Message-Id: <E1SxLTR-00033u-Gj@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SxLTE-00032H-0L for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 17:15:28 +0000
Received: from mail-gg0-f171.google.com ([209.85.161.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SxLTC-0008BJ-Qo for ietf-http-wg@w3.org; Fri, 03 Aug 2012 17:15:27 +0000
Received: by ggmi1 with SMTP id i1so1084764ggm.2 for <ietf-http-wg@w3.org>; Fri, 03 Aug 2012 10:15:01 -0700 (PDT)
X-Google-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:x-gm-message-state; bh=nXPVshN55dRtlmX0h1WU0GXMfh8yGyJPSiYLIeq0laY=; b=DhIVT/X91pfCsinearwE0+yXwtYDn4ixcaj5CZeD+Y4GlQhpRfSAg2qtynL2woLNEh MKbNpqNHH8x1QKoG5t3tO9fHkXomhEYhfrzVsLbg9XzRyzJn3PKiJ0Aaz0M0CLwa1WUB 7jRrUab2GYfa9Du27RM46eJ86SZOsaBhkKXdjvMfw2LGk0dvnK0gzPVnoYf5QwjypeJj 0C8N1UuiPGE4+I4XzRXqN57YFyOlaPRCqI9XdMHthJJOQQVK2l617UsNyuC20veHUsWB givlocCMT1K8dxq9mapb2LRrAl289hfO/+dADUAgnbnEa39j41YwOM/lIM1O4H+k+WvI +BhA==
MIME-Version: 1.0
Received: by 10.50.182.229 with SMTP id eh5mr11998681igc.38.1344014100592; Fri, 03 Aug 2012 10:15:00 -0700 (PDT)
Received: by 10.64.23.101 with HTTP; Fri, 3 Aug 2012 10:15:00 -0700 (PDT)
In-Reply-To: <CABP7RbezEoeT2xiUjXMh5Bat-qKX1xB8ELQRHa7ZqX_5MrujGg@mail.gmail.com>
References: <78618.1343896055@critter.freebsd.dk> <501BA782.9030708@it.aoyama.ac.jp> <CAAPAK-5uO7imx-ynVU1K-RPpv0CvCDU-kd18hFgRYgXJn-WrMA@mail.gmail.com> <CABaLYCtGGQpO=APxQQA2RzZ5w5uB+umYGnz50cZffes9KoSTng@mail.gmail.com> <CABP7RbezEoeT2xiUjXMh5Bat-qKX1xB8ELQRHa7ZqX_5MrujGg@mail.gmail.com>
Date: Fri, 3 Aug 2012 10:15:00 -0700
Message-ID: <CABaLYCtjo2=L5YGSGVTv_4CpEbdrkLByM-HnSmBgyWJt835UWA@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: James M Snell <jasnell@gmail.com>
Cc: Jonathan Ballard <dzonatas@gmail.com>, =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=bcaec539653009f75e04c65fab9e
X-Gm-Message-State: ALoCoQkjARm3AVh5uJdcllZTUyzLUxPoShuSwoYHi7VHh6h1bOpg77LekuOj+5ZwcQVGzYBzVTRc
Received-SPF: none client-ip=209.85.161.171; envelope-from=mike@belshe.com; helo=mail-gg0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SxLTC-0008BJ-Qo 6ac0839953b137a468c7835df93cd38f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CABaLYCtjo2=L5YGSGVTv_4CpEbdrkLByM-HnSmBgyWJt835UWA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14915
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>

--bcaec539653009f75e04c65fab9e
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

OK.  More concrete use cases for why we need this would help me understand
better.

>From the User Agent's perspective - how would it know whether a given
HTTP/2 server would be able to grok its UTF8 headers?  Just try and fail?

If you send a UTF8 header, and the origin server can't handle it, does it
cause a failure of the entire request?  Or is this a partial failure?  I
see you classified some as ignorable and others not.  Is the error code
specifically a "couldn't pass UTF8 header" error?  If not, how would the UA
differentiate an error that the server didn't grok the UTF8 vs other server
errors?

These are the new edge cases I was referring to earlier.

Mike


On Fri, Aug 3, 2012 at 8:52 AM, James M Snell <jasnell@gmail.com> wrote:

> I'll say it again: simply allowing header values to contain UTF-8
> characters does not break compatibility with 1.1 because the existing
> header definitions for the existing headers would not be changed. The
> change would impact new header definitions or applications that are
> specifically targeted for 2.0 implementations.
>
> For example, suppose we define a new binary optimized encoding for the
> host header that accepts IDN's. That new encoding does not change the
> details of the existing Host header in HTTP/1.1. When an intermediary
> translates the 2.0 message into a 1.1 message, it would convert the IDN
> into a proper punycode value within the 1.1 Host header. If the
> intermediary happens across some other arbitrary new header using UTF-8
> that it does not understand or know how to translate, it can either ignor=
e
> it or return a protocol error. Interoperability is not affected at all.
>
> Limits are a bad thing... aren't they? ;-)
>
> - James
>
> On Fri, Aug 3, 2012 at 8:33 AM, Mike Belshe <mike@belshe.com> wrote:
>
>> One of the charter requirements of HTTP/2, I thought, was interop to
>> HTTP/1.1 servers.
>>
>> If so, how would we pass UTF8 headers to HTTP/1.1 servers?
>>
>> If we can't then we don't need to support them, right?
>>
>> Mike
>>
>>
>> On Fri, Aug 3, 2012 at 8:30 AM, Jonathan Ballard <dzonatas@gmail.com>wro=
te:
>>
>>> ASCII is not "trivially UTF8." UTF8 lacks the available flow control of
>>> ASCII. Any conversion between ASCII and EBCDIC is best done in hardware=
. We
>>> already know the security issue of conversions from unicode to EBCDIC, =
and
>>> I doubt that is something we can scheme here on on-topic.
>>>
>>>
>>> On Friday, August 3, 2012, "Martin J. D=FCrst" wrote:
>>>
>>>> On 2012/08/02 17:27, Poul-Henning Kamp wrote:
>>>>
>>>>> In message<
>>>>> CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com>
>>>>> , Mike Belshe writes:
>>>>>
>>>>>  * I don't think we need utf-8 encoded headers.  Not sure how you'd
>>>>>>>> pass
>>>>>>>>
>>>>>>> them off to HTTP anyway?
>>>>>>>
>>>>>>
>>>>>> I just don't see any problem being solved by adding this?  If there
>>>>>> is no
>>>>>> benefit, we should not do it, right?
>>>>>>
>>>>>
>>>>> If this would solve any major problems inside a 20 year horizon, we
>>>>> should do it.
>>>>>
>>>>
>>>> It will solve quite a few problems, some of them major, maybe not for
>>>> HTTP itself, but for the applications on top. It will actually solve s=
ome
>>>> problems that have been around for at least the last 15 years.
>>>>
>>>> HTML and HTTP were created when the breakthrough of iso-8859-1
>>>> (Latin-1) in Western Europe was predictable (the nascent Web helped to
>>>> unify the Western Europe 'national' 7-bit and 8-bit encodings quite a =
bit).
>>>>
>>>> At least as early as 1995 (RFC 2070) or 1996 (RFC 2130, RFC 2277), it
>>>> was clear to those concerned that Unicode and UTF-8 was the way of the
>>>> future. As everybody should be able to confirm when thinking about
>>>> US-ASCII, using a single character encoding (rather than e.g. ASCII an=
d
>>>> EBCDIC or some such alternatively) brings HUGE benefits. The same is t=
rue
>>>> when streamlining from a zoo of character encodings to UTF-8.
>>>>
>>>> These days, over 60% of the Web is already in UTF-8, and if you add in
>>>> the 20% of pure ASCII which is trivially also UTF-8, it's 80%. All oth=
er
>>>> encodings are in serious decline. (see p. 52 of the July IEEE Spectrum=
).
>>>> And efforts such as HTML5 are strongly pushing to get more UTF-8. I th=
ink
>>>> lots of HTTP users would appreciate a better commitment from HTTP with
>>>> respect to character encoding in headers and the like. What's currentl=
y
>>>> there is really just a mess, and should be cleaned up.
>>>>
>>>>
>>>> Regards,    Martin.
>>>>
>>>>
>>
>

--bcaec539653009f75e04c65fab9e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

OK. =A0More concrete use cases for why we need this would help me understan=
d better.<div><br></div><div>From the User Agent&#39;s perspective - how wo=
uld it know whether a given HTTP/2 server would be able to grok its UTF8 he=
aders? =A0Just try and fail? =A0</div>
<div><br></div><div>If you send a UTF8 header, and the origin server can&#3=
9;t handle it, does it cause a failure of the entire request? =A0Or is this=
 a partial failure? =A0I see you classified some as ignorable and others no=
t. =A0Is the error code specifically a &quot;couldn&#39;t pass UTF8 header&=
quot; error? =A0If not, how would the UA differentiate an error that the se=
rver didn&#39;t grok the UTF8 vs other server errors?</div>
<div><br></div><div>These are the new edge cases I was referring to earlier=
.</div><div><br></div><div>Mike</div><div><br><br><div class=3D"gmail_quote=
">On Fri, Aug 3, 2012 at 8:52 AM, James M Snell <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:jasnell@gmail.com" target=3D"_blank">jasnell@gmail.com</a>&gt;=
</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><font face=3D"courier new,monospace">I&#39;l=
l say it again: simply allowing header values to contain UTF-8 characters d=
oes not break compatibility with 1.1 because the existing header definition=
s for the existing headers would not be changed. The change would impact ne=
w header definitions or applications that are specifically targeted for 2.0=
 implementations.</font><div>


<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">For example, suppose we define a new binary optimized =
encoding for the host header that accepts IDN&#39;s. That new encoding does=
 not change the details of the existing Host header in HTTP/1.1. When an in=
termediary translates the 2.0 message into a 1.1 message, it would convert =
the IDN into a proper punycode value within the 1.1 Host header. If the int=
ermediary happens across some other arbitrary new header using UTF-8 that i=
t does not understand or know how to translate, it can either ignore it or =
return a protocol error. Interoperability is not affected at all.</font></d=
iv>


<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">Limits are a bad thing... aren&#39;t they? ;-)</=
font></div><span class=3D"HOEnZb"><font color=3D"#888888"><div><font face=
=3D"courier new,monospace"><br>
</font></div></font></span><div><span class=3D"HOEnZb"><font color=3D"#8888=
88"><font face=3D"courier new,monospace">- James=A0<br>

</font></font></span><div><div class=3D"h5"><br><div class=3D"gmail_quote">=
On Fri, Aug 3, 2012 at 8:33 AM, Mike Belshe <span dir=3D"ltr">&lt;<a href=
=3D"mailto:mike@belshe.com" target=3D"_blank">mike@belshe.com</a>&gt;</span=
> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">

<div>One of the charter requirements of HTTP/2, I thought, was interop to H=
TTP/1.1 servers.</div><div><br></div><div>If so, how would we pass UTF8 hea=
ders to HTTP/1.1 servers? =A0</div><div><br></div><div>If we can&#39;t then=
 we don&#39;t need to support them, right?</div>


<span><font color=3D"#888888">
<div><br></div><div>Mike</div></font></span><div><div><div><br><br><div cla=
ss=3D"gmail_quote">On Fri, Aug 3, 2012 at 8:30 AM, Jonathan Ballard <span d=
ir=3D"ltr">&lt;<a href=3D"mailto:dzonatas@gmail.com" target=3D"_blank">dzon=
atas@gmail.com</a>&gt;</span> wrote:<br>



<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">ASCII is not &quot;trivially UTF8.&quot; UTF=
8 lacks the available flow control of ASCII. Any conversion between ASCII a=
nd EBCDIC is best done in hardware. We already know the security issue of c=
onversions from unicode to EBCDIC, and I doubt that is something we can sch=
eme here on on-topic.<div>



<div><br>
<br>On Friday, August 3, 2012, &quot;Martin J. D=FCrst&quot;  wrote:<br><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex">On 2012/08/02 17:27, Poul-Henning Kamp wrote:<b=
r>





<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
In message&lt;<a>CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.g=
mail.com</a>&gt;<br>
, Mike Belshe writes:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">





* I don&#39;t think we need utf-8 encoded headers. =A0Not sure how you&#39;=
d pass<br>
</blockquote>
them off to HTTP anyway?<br>
</blockquote>
<br>
I just don&#39;t see any problem being solved by adding this? =A0If there i=
s no<br>
benefit, we should not do it, right?<br>
</blockquote>
<br>
If this would solve any major problems inside a 20 year horizon, we<br>
should do it.<br>
</blockquote>
<br>
It will solve quite a few problems, some of them major, maybe not for HTTP =
itself, but for the applications on top. It will actually solve some proble=
ms that have been around for at least the last 15 years.<br>
<br>
HTML and HTTP were created when the breakthrough of iso-8859-1 (Latin-1) in=
 Western Europe was predictable (the nascent Web helped to unify the Wester=
n Europe &#39;national&#39; 7-bit and 8-bit encodings quite a bit).<br>





<br>
At least as early as 1995 (RFC 2070) or 1996 (RFC 2130, RFC 2277), it was c=
lear to those concerned that Unicode and UTF-8 was the way of the future. A=
s everybody should be able to confirm when thinking about US-ASCII, using a=
 single character encoding (rather than e.g. ASCII and EBCDIC or some such =
alternatively) brings HUGE benefits. The same is true when streamlining fro=
m a zoo of character encodings to UTF-8.<br>





<br>
These days, over 60% of the Web is already in UTF-8, and if you add in the =
20% of pure ASCII which is trivially also UTF-8, it&#39;s 80%. All other en=
codings are in serious decline. (see p. 52 of the July IEEE Spectrum). And =
efforts such as HTML5 are strongly pushing to get more UTF-8. I think lots =
of HTTP users would appreciate a better commitment from HTTP with respect t=
o character encoding in headers and the like. What&#39;s currently there is=
 really just a mess, and should be cleaned up.<br>





<br>
<br>
Regards, =A0 =A0Martin.<br>
<br>
</blockquote>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>

--bcaec539653009f75e04c65fab9e--


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 10:34:32 2012
Return-Path: <ietf-http-wg-request@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 23C5521F8E18 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 10:34:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.395
X-Spam-Level: 
X-Spam-Status: No, score=-10.395 tagged_above=-999 required=5 tests=[AWL=0.203, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BQLEPDaLyYpd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 10:34:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D7CC621F8E04 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 10:34:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxLky-00029q-94 for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 17:33:48 +0000
Resent-Date: Fri, 03 Aug 2012 17:33:48 +0000
Resent-Message-Id: <E1SxLky-00029q-94@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SxLkl-00028J-Dj for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 17:33:35 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SxLkk-0000Da-1B for ietf-http-wg@w3.org; Fri, 03 Aug 2012 17:33:35 +0000
Received: by wibhm6 with SMTP id hm6so5397367wib.8 for <ietf-http-wg@w3.org>; Fri, 03 Aug 2012 10:33:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=v1jE2aYDilV1i5+bcu/KYCKdIIYBI6TdG18/6003DiA=; b=byZEckvF/aBOtGqMjq0xkQDHNUhPvAkx2xQilX4bVMPg7g35zxm9xEMKDCHahjOsLS Jg5AmDP4vn8/2w01p3k+QknS0XqX9TPastIH4N5+KBI7bip+TL7mDYf+j6+YTiV9/2xr EPgeFwZnrlJEZJdwUBRjaInnv2chlsIa0dnlDteOYzUS7yksLxFgrD8/F1fsH5yoUxKO Xjl5y71eqn+wFOZxO+QQyf/aNdEklCdvXwxc3SiGbNRhRYYcM2sYnmOnHiX1ZsRGbksw r5Yl5c/S4rK8Ye9EK+bA3TBXIVxCaifTFHtgXjAsVgrOXN91LMNmKykMPHewahg+ew3q j6qg==
MIME-Version: 1.0
Received: by 10.180.95.193 with SMTP id dm1mr14978518wib.10.1344015187464; Fri, 03 Aug 2012 10:33:07 -0700 (PDT)
Received: by 10.194.77.4 with HTTP; Fri, 3 Aug 2012 10:33:07 -0700 (PDT)
In-Reply-To: <CABP7RbezEoeT2xiUjXMh5Bat-qKX1xB8ELQRHa7ZqX_5MrujGg@mail.gmail.com>
References: <78618.1343896055@critter.freebsd.dk> <501BA782.9030708@it.aoyama.ac.jp> <CAAPAK-5uO7imx-ynVU1K-RPpv0CvCDU-kd18hFgRYgXJn-WrMA@mail.gmail.com> <CABaLYCtGGQpO=APxQQA2RzZ5w5uB+umYGnz50cZffes9KoSTng@mail.gmail.com> <CABP7RbezEoeT2xiUjXMh5Bat-qKX1xB8ELQRHa7ZqX_5MrujGg@mail.gmail.com>
Date: Fri, 3 Aug 2012 10:33:07 -0700
Message-ID: <CAP+FsNf4Qr4J=ZsGhfTathCDQLKZvujU=pFaFQYYDgk8dm++jQ@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Mike Belshe <mike@belshe.com>, Jonathan Ballard <dzonatas@gmail.com>,  =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d041825dad2511804c65feb5d
Received-SPF: pass client-ip=209.85.212.173; envelope-from=grmocg@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SxLkk-0000Da-1B fb0c7fb2f622e5defb5af88696480ccf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CAP+FsNf4Qr4J=ZsGhfTathCDQLKZvujU=pFaFQYYDgk8dm++jQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14916
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>

--f46d041825dad2511804c65feb5d
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I'm biased against utf-8, because it is trivial at the application layer to
write a function which encodes and/or decodes it.
I see that handling utf-8 adds complexity to the protocol but buys the
protocol nothing. It adds minimal advantage for the entities using the
protocol, and makes intermediaries lives more difficult since they'll have
to do more verification.

Saying that the protocol handles sending a length-delimited string or a
string guaranteed not to include '\n' would be fine, however, as at that
point whatever encoding is used in any particular header value is matter of
the client-app and server, as it should be for things that the protocol
doesn't need to know about.

I'd need a bunch of examples of where this is essential or useful before
I'd be happy supporting it.
-=3DR

On Fri, Aug 3, 2012 at 8:52 AM, James M Snell <jasnell@gmail.com> wrote:

> I'll say it again: simply allowing header values to contain UTF-8
> characters does not break compatibility with 1.1 because the existing
> header definitions for the existing headers would not be changed. The
> change would impact new header definitions or applications that are
> specifically targeted for 2.0 implementations.
>
> For example, suppose we define a new binary optimized encoding for the
> host header that accepts IDN's. That new encoding does not change the
> details of the existing Host header in HTTP/1.1. When an intermediary
> translates the 2.0 message into a 1.1 message, it would convert the IDN
> into a proper punycode value within the 1.1 Host header. If the
> intermediary happens across some other arbitrary new header using UTF-8
> that it does not understand or know how to translate, it can either ignor=
e
> it or return a protocol error. Interoperability is not affected at all.
>
> Limits are a bad thing... aren't they? ;-)
>
> - James
>
> On Fri, Aug 3, 2012 at 8:33 AM, Mike Belshe <mike@belshe.com> wrote:
>
>> One of the charter requirements of HTTP/2, I thought, was interop to
>> HTTP/1.1 servers.
>>
>> If so, how would we pass UTF8 headers to HTTP/1.1 servers?
>>
>> If we can't then we don't need to support them, right?
>>
>> Mike
>>
>>
>> On Fri, Aug 3, 2012 at 8:30 AM, Jonathan Ballard <dzonatas@gmail.com>wro=
te:
>>
>>> ASCII is not "trivially UTF8." UTF8 lacks the available flow control of
>>> ASCII. Any conversion between ASCII and EBCDIC is best done in hardware=
. We
>>> already know the security issue of conversions from unicode to EBCDIC, =
and
>>> I doubt that is something we can scheme here on on-topic.
>>>
>>>
>>> On Friday, August 3, 2012, "Martin J. D=FCrst" wrote:
>>>
>>>> On 2012/08/02 17:27, Poul-Henning Kamp wrote:
>>>>
>>>>> In message<
>>>>> CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com>
>>>>> , Mike Belshe writes:
>>>>>
>>>>>  * I don't think we need utf-8 encoded headers.  Not sure how you'd
>>>>>>>> pass
>>>>>>>>
>>>>>>> them off to HTTP anyway?
>>>>>>>
>>>>>>
>>>>>> I just don't see any problem being solved by adding this?  If there
>>>>>> is no
>>>>>> benefit, we should not do it, right?
>>>>>>
>>>>>
>>>>> If this would solve any major problems inside a 20 year horizon, we
>>>>> should do it.
>>>>>
>>>>
>>>> It will solve quite a few problems, some of them major, maybe not for
>>>> HTTP itself, but for the applications on top. It will actually solve s=
ome
>>>> problems that have been around for at least the last 15 years.
>>>>
>>>> HTML and HTTP were created when the breakthrough of iso-8859-1
>>>> (Latin-1) in Western Europe was predictable (the nascent Web helped to
>>>> unify the Western Europe 'national' 7-bit and 8-bit encodings quite a =
bit).
>>>>
>>>> At least as early as 1995 (RFC 2070) or 1996 (RFC 2130, RFC 2277), it
>>>> was clear to those concerned that Unicode and UTF-8 was the way of the
>>>> future. As everybody should be able to confirm when thinking about
>>>> US-ASCII, using a single character encoding (rather than e.g. ASCII an=
d
>>>> EBCDIC or some such alternatively) brings HUGE benefits. The same is t=
rue
>>>> when streamlining from a zoo of character encodings to UTF-8.
>>>>
>>>> These days, over 60% of the Web is already in UTF-8, and if you add in
>>>> the 20% of pure ASCII which is trivially also UTF-8, it's 80%. All oth=
er
>>>> encodings are in serious decline. (see p. 52 of the July IEEE Spectrum=
).
>>>> And efforts such as HTML5 are strongly pushing to get more UTF-8. I th=
ink
>>>> lots of HTTP users would appreciate a better commitment from HTTP with
>>>> respect to character encoding in headers and the like. What's currentl=
y
>>>> there is really just a mess, and should be cleaned up.
>>>>
>>>>
>>>> Regards,    Martin.
>>>>
>>>>
>>
>

--f46d041825dad2511804c65feb5d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>I&#39;m=A0biased against utf-8, because it is trivial at the applicati=
on layer to write a function which encodes and/or decodes it.</div>
<div>I see that handling utf-8 adds complexity to the protocol but buys the=
 protocol nothing. It adds minimal advantage for the entities using the pro=
tocol, and makes intermediaries lives more difficult since they&#39;ll have=
 to do more verification.</div>
<div><br></div><div>Saying that the protocol handles sending a length-delim=
ited string or a string guaranteed not to include &#39;\n&#39; would be fin=
e, however, as at that point whatever encoding is used in any particular he=
ader value is matter of the client-app and server, as it should be for thin=
gs that the protocol doesn&#39;t need to know about.</div>

<div><br></div><div>I&#39;d need a bunch of examples of where this is essen=
tial or useful before I&#39;d be happy supporting it.</div><div>-=3DR</div>=
<div><br></div><div><div class=3D"gmail_quote">On Fri, Aug 3, 2012 at 8:52 =
AM, James M Snell <span dir=3D"ltr">&lt;<a href=3D"mailto:jasnell@gmail.com=
" target=3D"_blank">jasnell@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<font face=3D"courier new,monospace">I&#39;ll say it again: simply allowing=
 header values to contain UTF-8 characters does not break compatibility wit=
h 1.1 because the existing header definitions for the existing headers woul=
d not be changed. The change would impact new header definitions or applica=
tions that are specifically targeted for 2.0 implementations.</font><div>



<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">For example, suppose we define a new binary optimized =
encoding for the host header that accepts IDN&#39;s. That new encoding does=
 not change the details of the existing Host header in HTTP/1.1. When an in=
termediary translates the 2.0 message into a 1.1 message, it would convert =
the IDN into a proper punycode value within the 1.1 Host header. If the int=
ermediary happens across some other arbitrary new header using UTF-8 that i=
t does not understand or know how to translate, it can either ignore it or =
return a protocol error. Interoperability is not affected at all.</font></d=
iv>



<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">Limits are a bad thing... aren&#39;t they? ;-)</=
font></div><span><font color=3D"#888888"><div><font face=3D"courier new,mon=
ospace"><br>

</font></div></font></span><div><span><font color=3D"#888888"><font face=3D=
"courier new,monospace">- James=A0<br>

</font></font></span><div><div><br><div class=3D"gmail_quote">On Fri, Aug 3=
, 2012 at 8:33 AM, Mike Belshe <span dir=3D"ltr">&lt;<a href=3D"mailto:mike=
@belshe.com" target=3D"_blank">mike@belshe.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">

<div>One of the charter requirements of HTTP/2, I thought, was interop to H=
TTP/1.1 servers.</div><div><br></div><div>If so, how would we pass UTF8 hea=
ders to HTTP/1.1 servers? =A0</div><div><br></div><div>If we can&#39;t then=
 we don&#39;t need to support them, right?</div>



<span><font color=3D"#888888">
<div><br></div><div>Mike</div></font></span><div><div><div><br><br><div cla=
ss=3D"gmail_quote">On Fri, Aug 3, 2012 at 8:30 AM, Jonathan Ballard <span d=
ir=3D"ltr">&lt;<a href=3D"mailto:dzonatas@gmail.com" target=3D"_blank">dzon=
atas@gmail.com</a>&gt;</span> wrote:<br>




<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">ASCII is not &quot;trivially UTF8.&quot; UTF=
8 lacks the available flow control of ASCII. Any conversion between ASCII a=
nd EBCDIC is best done in hardware. We already know the security issue of c=
onversions from unicode to EBCDIC, and I doubt that is something we can sch=
eme here on on-topic.<div>




<div><br>
<br>On Friday, August 3, 2012, &quot;Martin J. D=FCrst&quot;  wrote:<br><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex">On 2012/08/02 17:27, Poul-Henning Kamp wrote:<b=
r>






<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
In message&lt;<a>CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.g=
mail.com</a>&gt;<br>
, Mike Belshe writes:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">






* I don&#39;t think we need utf-8 encoded headers. =A0Not sure how you&#39;=
d pass<br>
</blockquote>
them off to HTTP anyway?<br>
</blockquote>
<br>
I just don&#39;t see any problem being solved by adding this? =A0If there i=
s no<br>
benefit, we should not do it, right?<br>
</blockquote>
<br>
If this would solve any major problems inside a 20 year horizon, we<br>
should do it.<br>
</blockquote>
<br>
It will solve quite a few problems, some of them major, maybe not for HTTP =
itself, but for the applications on top. It will actually solve some proble=
ms that have been around for at least the last 15 years.<br>
<br>
HTML and HTTP were created when the breakthrough of iso-8859-1 (Latin-1) in=
 Western Europe was predictable (the nascent Web helped to unify the Wester=
n Europe &#39;national&#39; 7-bit and 8-bit encodings quite a bit).<br>






<br>
At least as early as 1995 (RFC 2070) or 1996 (RFC 2130, RFC 2277), it was c=
lear to those concerned that Unicode and UTF-8 was the way of the future. A=
s everybody should be able to confirm when thinking about US-ASCII, using a=
 single character encoding (rather than e.g. ASCII and EBCDIC or some such =
alternatively) brings HUGE benefits. The same is true when streamlining fro=
m a zoo of character encodings to UTF-8.<br>






<br>
These days, over 60% of the Web is already in UTF-8, and if you add in the =
20% of pure ASCII which is trivially also UTF-8, it&#39;s 80%. All other en=
codings are in serious decline. (see p. 52 of the July IEEE Spectrum). And =
efforts such as HTML5 are strongly pushing to get more UTF-8. I think lots =
of HTTP users would appreciate a better commitment from HTTP with respect t=
o character encoding in headers and the like. What&#39;s currently there is=
 really just a mess, and should be cleaned up.<br>






<br>
<br>
Regards, =A0 =A0Martin.<br>
<br>
</blockquote>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>

--f46d041825dad2511804c65feb5d--


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 10:34:32 2012
Return-Path: <ietf-http-wg-request@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 80AE321F8E04 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 10:34:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.666
X-Spam-Level: 
X-Spam-Status: No, score=-9.666 tagged_above=-999 required=5 tests=[AWL=0.932, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O+nOsK2XwvaX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 10:34:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E72CC21F8E0B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 10:34:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxLlN-0002Am-Ok for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 17:34:13 +0000
Resent-Date: Fri, 03 Aug 2012 17:34:13 +0000
Resent-Message-Id: <E1SxLlN-0002Am-Ok@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SxLlA-0002A1-AR for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 17:34:00 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SxLl8-0002Tm-EM for ietf-http-wg@w3.org; Fri, 03 Aug 2012 17:34:00 +0000
Received: by weyx43 with SMTP id x43so622396wey.2 for <ietf-http-wg@w3.org>; Fri, 03 Aug 2012 10:33:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=QG9H/Q0xofU236/TUc8GFz9uwVoYJdNeVp9K2wuN0PU=; b=utZw2a/szYFmQfrEue/c0D9mrw0khlmW32sTtYO0DexPOd5EEWhhkmhMUsKjIwO50u Zvykd18ZdpfmyRcOs7Da0w1he/Y5oOCZeIFDi29eeONaFn9p9VWsgRrXEDJVm9MfzE94 e3l+PmEKSO7Qr0ODLXDI8ELMBxVguJpmdcBbuVWBh6dIaRlLtXGNVrmc/DE1zbGqbaNv yYy9rQ2chAqAlP8dwo6T9+HvXQNWJ3iUBjCLXYifDcm8SQsBE2cCPqednhi4BhmO/FcM W2u6ftKg2wxeQxq5AYuDObd2ats5kl67/6OTEVURPqQDdvjjIAam6m9GkYe2IJHWxzWw 9ItA==
Received: by 10.180.86.106 with SMTP id o10mr5934552wiz.22.1344015211790; Fri, 03 Aug 2012 10:33:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Fri, 3 Aug 2012 10:33:11 -0700 (PDT)
In-Reply-To: <CABaLYCtjo2=L5YGSGVTv_4CpEbdrkLByM-HnSmBgyWJt835UWA@mail.gmail.com>
References: <78618.1343896055@critter.freebsd.dk> <501BA782.9030708@it.aoyama.ac.jp> <CAAPAK-5uO7imx-ynVU1K-RPpv0CvCDU-kd18hFgRYgXJn-WrMA@mail.gmail.com> <CABaLYCtGGQpO=APxQQA2RzZ5w5uB+umYGnz50cZffes9KoSTng@mail.gmail.com> <CABP7RbezEoeT2xiUjXMh5Bat-qKX1xB8ELQRHa7ZqX_5MrujGg@mail.gmail.com> <CABaLYCtjo2=L5YGSGVTv_4CpEbdrkLByM-HnSmBgyWJt835UWA@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Fri, 3 Aug 2012 10:33:11 -0700
Message-ID: <CABP7RbeVLVOM5HqZgjf=or-886_orr8ra1kaZHAaChjYTeFNvQ@mail.gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: Jonathan Ballard <dzonatas@gmail.com>, =?UTF-8?Q?Martin_J=2E_D=C3=BCrst?= <duerst@it.aoyama.ac.jp>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d0418275245800f04c65fed97
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SxLl8-0002Tm-EM 9756373c1db44ce1089a3d09a401514b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CABP7RbeVLVOM5HqZgjf=or-886_orr8ra1kaZHAaChjYTeFNvQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14917
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>

--f46d0418275245800f04c65fed97
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 3, 2012 at 10:15 AM, Mike Belshe <mike@belshe.com> wrote:

> OK.  More concrete use cases for why we need this would help me understan=
d
> better.
>
> From the User Agent's perspective - how would it know whether a given
> HTTP/2 server would be able to grok its UTF8 headers?  Just try and fail?
>
>
No different than what the user-agent does today: attempt to send the
message and be prepared to deal with failure. Currently, there's no
guarantee that an origin server supports the various Allow-* headers...
some do, some don't. That's ok.


> If you send a UTF8 header, and the origin server can't handle it, does it
> cause a failure of the entire request?  Or is this a partial failure?  I
> see you classified some as ignorable and others not.  Is the error code
> specifically a "couldn't pass UTF8 header" error?  If not, how would the =
UA
> differentiate an error that the server didn't grok the UTF8 vs other serv=
er
> errors?
>
>
The "must-understand" and "must-ignore" aspects of the codepage mechanism
have more to do with translation of headers that use numeric identifiers
into http/1.1 named headers than it does the translation of UTF-8 values.
However, more to the point.. a 400 Bad Request response would be fine for
the most part but a more specific error status could be provided. We
already have response codes like 431 Request Header Too Large, it would not
be unreasonable to have a similar 4xx response that indicates that the
message could not be translated successfully to a downlevel protocol.


> These are the new edge cases I was referring to earlier.
>
> Mike
>
>
> On Fri, Aug 3, 2012 at 8:52 AM, James M Snell <jasnell@gmail.com> wrote:
>
>> I'll say it again: simply allowing header values to contain UTF-8
>> characters does not break compatibility with 1.1 because the existing
>> header definitions for the existing headers would not be changed. The
>> change would impact new header definitions or applications that are
>> specifically targeted for 2.0 implementations.
>>
>> For example, suppose we define a new binary optimized encoding for the
>> host header that accepts IDN's. That new encoding does not change the
>> details of the existing Host header in HTTP/1.1. When an intermediary
>> translates the 2.0 message into a 1.1 message, it would convert the IDN
>> into a proper punycode value within the 1.1 Host header. If the
>> intermediary happens across some other arbitrary new header using UTF-8
>> that it does not understand or know how to translate, it can either igno=
re
>> it or return a protocol error. Interoperability is not affected at all.
>>
>> Limits are a bad thing... aren't they? ;-)
>>
>> - James
>>
>> On Fri, Aug 3, 2012 at 8:33 AM, Mike Belshe <mike@belshe.com> wrote:
>>
>>> One of the charter requirements of HTTP/2, I thought, was interop to
>>> HTTP/1.1 servers.
>>>
>>> If so, how would we pass UTF8 headers to HTTP/1.1 servers?
>>>
>>> If we can't then we don't need to support them, right?
>>>
>>> Mike
>>>
>>>
>>> On Fri, Aug 3, 2012 at 8:30 AM, Jonathan Ballard <dzonatas@gmail.com>wr=
ote:
>>>
>>>> ASCII is not "trivially UTF8." UTF8 lacks the available flow control o=
f
>>>> ASCII. Any conversion between ASCII and EBCDIC is best done in hardwar=
e. We
>>>> already know the security issue of conversions from unicode to EBCDIC,=
 and
>>>> I doubt that is something we can scheme here on on-topic.
>>>>
>>>>
>>>> On Friday, August 3, 2012, "Martin J. D=C3=BCrst" wrote:
>>>>
>>>>> On 2012/08/02 17:27, Poul-Henning Kamp wrote:
>>>>>
>>>>>> In message<
>>>>>> CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com>
>>>>>> , Mike Belshe writes:
>>>>>>
>>>>>>  * I don't think we need utf-8 encoded headers.  Not sure how you'd
>>>>>>>>> pass
>>>>>>>>>
>>>>>>>> them off to HTTP anyway?
>>>>>>>>
>>>>>>>
>>>>>>> I just don't see any problem being solved by adding this?  If there
>>>>>>> is no
>>>>>>> benefit, we should not do it, right?
>>>>>>>
>>>>>>
>>>>>> If this would solve any major problems inside a 20 year horizon, we
>>>>>> should do it.
>>>>>>
>>>>>
>>>>> It will solve quite a few problems, some of them major, maybe not for
>>>>> HTTP itself, but for the applications on top. It will actually solve =
some
>>>>> problems that have been around for at least the last 15 years.
>>>>>
>>>>> HTML and HTTP were created when the breakthrough of iso-8859-1
>>>>> (Latin-1) in Western Europe was predictable (the nascent Web helped t=
o
>>>>> unify the Western Europe 'national' 7-bit and 8-bit encodings quite a=
 bit).
>>>>>
>>>>> At least as early as 1995 (RFC 2070) or 1996 (RFC 2130, RFC 2277), it
>>>>> was clear to those concerned that Unicode and UTF-8 was the way of th=
e
>>>>> future. As everybody should be able to confirm when thinking about
>>>>> US-ASCII, using a single character encoding (rather than e.g. ASCII a=
nd
>>>>> EBCDIC or some such alternatively) brings HUGE benefits. The same is =
true
>>>>> when streamlining from a zoo of character encodings to UTF-8.
>>>>>
>>>>> These days, over 60% of the Web is already in UTF-8, and if you add i=
n
>>>>> the 20% of pure ASCII which is trivially also UTF-8, it's 80%. All ot=
her
>>>>> encodings are in serious decline. (see p. 52 of the July IEEE Spectru=
m).
>>>>> And efforts such as HTML5 are strongly pushing to get more UTF-8. I t=
hink
>>>>> lots of HTTP users would appreciate a better commitment from HTTP wit=
h
>>>>> respect to character encoding in headers and the like. What's current=
ly
>>>>> there is really just a mess, and should be cleaned up.
>>>>>
>>>>>
>>>>> Regards,    Martin.
>>>>>
>>>>>
>>>
>>
>

--f46d0418275245800f04c65fed97
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Fri, Aug 3, 2012 at 10:15 AM, Mike Belshe <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:mike@belshe.com" target=3D"_blank">mike@belshe.com</a>&gt;</s=
pan> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">OK. =C2=A0More concrete use cases for why we=
 need this would help me understand better.<div><br></div><div>From the Use=
r Agent&#39;s perspective - how would it know whether a given HTTP/2 server=
 would be able to grok its UTF8 headers? =C2=A0Just try and fail? =C2=A0</d=
iv>


<div><br></div></blockquote><div><br></div><div>No different than what the =
user-agent does today: attempt to send the message and be prepared to deal =
with failure. Currently, there&#39;s no guarantee that an origin server sup=
ports the various Allow-* headers... some do, some don&#39;t. That&#39;s ok=
.</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><div></div><div>If you send=
 a UTF8 header, and the origin server can&#39;t handle it, does it cause a =
failure of the entire request? =C2=A0Or is this a partial failure? =C2=A0I =
see you classified some as ignorable and others not. =C2=A0Is the error cod=
e specifically a &quot;couldn&#39;t pass UTF8 header&quot; error? =C2=A0If =
not, how would the UA differentiate an error that the server didn&#39;t gro=
k the UTF8 vs other server errors?</div>


<div><br></div></blockquote><div><br></div><div>The &quot;must-understand&q=
uot; and &quot;must-ignore&quot; aspects of the codepage mechanism have mor=
e to do with translation of headers that use numeric identifiers into http/=
1.1 named headers than it does the translation of UTF-8 values. However, mo=
re to the point.. a 400 Bad Request response would be fine for the most par=
t but a more specific error status could be provided. We already have respo=
nse codes like 431 Request Header Too Large, it would not be unreasonable t=
o have a similar 4xx response that indicates that the message could not be =
translated successfully to a downlevel protocol.</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><div></div><div>These are t=
he new edge cases I was referring to earlier.</div><span class=3D"HOEnZb"><=
font color=3D"#888888"><div>

<br></div><div>Mike</div></font></span><div class=3D"HOEnZb"><div class=3D"=
h5"><div><br><br><div class=3D"gmail_quote">On Fri, Aug 3, 2012 at 8:52 AM,=
 James M Snell <span dir=3D"ltr">&lt;<a href=3D"mailto:jasnell@gmail.com" t=
arget=3D"_blank">jasnell@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><font face=3D"courier new,monospace">I&#39;l=
l say it again: simply allowing header values to contain UTF-8 characters d=
oes not break compatibility with 1.1 because the existing header definition=
s for the existing headers would not be changed. The change would impact ne=
w header definitions or applications that are specifically targeted for 2.0=
 implementations.</font><div>




<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">For example, suppose we define a new binary optimized =
encoding for the host header that accepts IDN&#39;s. That new encoding does=
 not change the details of the existing Host header in HTTP/1.1. When an in=
termediary translates the 2.0 message into a 1.1 message, it would convert =
the IDN into a proper punycode value within the 1.1 Host header. If the int=
ermediary happens across some other arbitrary new header using UTF-8 that i=
t does not understand or know how to translate, it can either ignore it or =
return a protocol error. Interoperability is not affected at all.</font></d=
iv>




<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">Limits are a bad thing... aren&#39;t they? ;-)</=
font></div><span><font color=3D"#888888"><div><font face=3D"courier new,mon=
ospace"><br>


</font></div></font></span><div><span><font color=3D"#888888"><font face=3D=
"courier new,monospace">- James=C2=A0<br>

</font></font></span><div><div><br><div class=3D"gmail_quote">On Fri, Aug 3=
, 2012 at 8:33 AM, Mike Belshe <span dir=3D"ltr">&lt;<a href=3D"mailto:mike=
@belshe.com" target=3D"_blank">mike@belshe.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">

<div>One of the charter requirements of HTTP/2, I thought, was interop to H=
TTP/1.1 servers.</div><div><br></div><div>If so, how would we pass UTF8 hea=
ders to HTTP/1.1 servers? =C2=A0</div><div><br></div><div>If we can&#39;t t=
hen we don&#39;t need to support them, right?</div>




<span><font color=3D"#888888">
<div><br></div><div>Mike</div></font></span><div><div><div><br><br><div cla=
ss=3D"gmail_quote">On Fri, Aug 3, 2012 at 8:30 AM, Jonathan Ballard <span d=
ir=3D"ltr">&lt;<a href=3D"mailto:dzonatas@gmail.com" target=3D"_blank">dzon=
atas@gmail.com</a>&gt;</span> wrote:<br>





<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">ASCII is not &quot;trivially UTF8.&quot; UTF=
8 lacks the available flow control of ASCII. Any conversion between ASCII a=
nd EBCDIC is best done in hardware. We already know the security issue of c=
onversions from unicode to EBCDIC, and I doubt that is something we can sch=
eme here on on-topic.<div>





<div><br>
<br>On Friday, August 3, 2012, &quot;Martin J. D=C3=BCrst&quot;  wrote:<br>=
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">On 2012/08/02 17:27, Poul-Henning Kamp wrote=
:<br>







<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
In message&lt;<a>CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.g=
mail.com</a>&gt;<br>
, Mike Belshe writes:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">







* I don&#39;t think we need utf-8 encoded headers. =C2=A0Not sure how you&#=
39;d pass<br>
</blockquote>
them off to HTTP anyway?<br>
</blockquote>
<br>
I just don&#39;t see any problem being solved by adding this? =C2=A0If ther=
e is no<br>
benefit, we should not do it, right?<br>
</blockquote>
<br>
If this would solve any major problems inside a 20 year horizon, we<br>
should do it.<br>
</blockquote>
<br>
It will solve quite a few problems, some of them major, maybe not for HTTP =
itself, but for the applications on top. It will actually solve some proble=
ms that have been around for at least the last 15 years.<br>
<br>
HTML and HTTP were created when the breakthrough of iso-8859-1 (Latin-1) in=
 Western Europe was predictable (the nascent Web helped to unify the Wester=
n Europe &#39;national&#39; 7-bit and 8-bit encodings quite a bit).<br>







<br>
At least as early as 1995 (RFC 2070) or 1996 (RFC 2130, RFC 2277), it was c=
lear to those concerned that Unicode and UTF-8 was the way of the future. A=
s everybody should be able to confirm when thinking about US-ASCII, using a=
 single character encoding (rather than e.g. ASCII and EBCDIC or some such =
alternatively) brings HUGE benefits. The same is true when streamlining fro=
m a zoo of character encodings to UTF-8.<br>







<br>
These days, over 60% of the Web is already in UTF-8, and if you add in the =
20% of pure ASCII which is trivially also UTF-8, it&#39;s 80%. All other en=
codings are in serious decline. (see p. 52 of the July IEEE Spectrum). And =
efforts such as HTML5 are strongly pushing to get more UTF-8. I think lots =
of HTTP users would appreciate a better commitment from HTTP with respect t=
o character encoding in headers and the like. What&#39;s currently there is=
 really just a mess, and should be cleaned up.<br>







<br>
<br>
Regards, =C2=A0 =C2=A0Martin.<br>
<br>
</blockquote>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br>

--f46d0418275245800f04c65fed97--


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 10:46:25 2012
Return-Path: <ietf-http-wg-request@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 D4BA221F8DE1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 10:46:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.533
X-Spam-Level: 
X-Spam-Status: No, score=-10.533 tagged_above=-999 required=5 tests=[AWL=0.065, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fWFtScWW4jRE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 10:46:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0C11D21F8DEC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 10:46:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxLwW-0001Po-E7 for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 17:45:44 +0000
Resent-Date: Fri, 03 Aug 2012 17:45:44 +0000
Resent-Message-Id: <E1SxLwW-0001Po-E7@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SxLwJ-0001Oy-Qy for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 17:45:31 +0000
Received: from mail-wg0-f41.google.com ([74.125.82.41]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SxLwI-0000da-QK for ietf-http-wg@w3.org; Fri, 03 Aug 2012 17:45:31 +0000
Received: by wgbds1 with SMTP id ds1so718972wgb.2 for <ietf-http-wg@w3.org>; Fri, 03 Aug 2012 10:45:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UiRSrhfGbmU6wnL1YSnypzELseU5sdckiJqjj6cbomA=; b=Nqt3S0L2De90EUjFCfwwC9fQcGEJCKV/OJ4/xnn9DvqLVhBDIcyhtLm629oKGeYueY gQJf33VURsNZ/RwVxXWJxf7dOzvzrLwvx4Agw8Ffrco0l3XW/qJTrL2HupyqfI3y7K3q c5c+lFD6SIrvoGgAXmd1UF/U5gjU03j9UCEolv52/KwLhc4SAobJ3aLT9Cm8WwPmJdJh qTMDGZPiIApgASR6OuFvZbmiW/TFjGfBVkkOURaCsvKoDlI09HgvToCwU3kbyCT2Qqaz pydC5QpCYn3J/oAHL/rL4oFXIoEJUvPIDI4ajCVuOtpj/vttVzNmlVnBsoe8DBly0Fh5 1bCA==
MIME-Version: 1.0
Received: by 10.180.103.136 with SMTP id fw8mr6011897wib.20.1344015904376; Fri, 03 Aug 2012 10:45:04 -0700 (PDT)
Received: by 10.194.77.4 with HTTP; Fri, 3 Aug 2012 10:45:04 -0700 (PDT)
In-Reply-To: <3369.1343971830@critter.freebsd.dk>
References: <CABaLYCtNzTZjUPgknfNtjwhkUopf3gaHQ6SmBGLAywu07WAB1g@mail.gmail.com> <3369.1343971830@critter.freebsd.dk>
Date: Fri, 3 Aug 2012 10:45:04 -0700
Message-ID: <CAP+FsNcK6E6f2dLT5sLpQ89GAwkZ5x6rvZrDR6wzvuoM9ppfow@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Mike Belshe <mike@belshe.com>, Henrik Frystyk Nielsen <henrikn@microsoft.com>,  Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d044304468d88dc04c660160c
Received-SPF: pass client-ip=74.125.82.41; envelope-from=grmocg@gmail.com; helo=mail-wg0-f41.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SxLwI-0000da-QK d1433cfc6d9ccd7ef99a443cf9873622
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Would a header/schema compiler help?
Archived-At: <http://www.w3.org/mid/CAP+FsNcK6E6f2dLT5sLpQ89GAwkZ5x6rvZrDR6wzvuoM9ppfow@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14918
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>

--f46d044304468d88dc04c660160c
Content-Type: text/plain; charset=ISO-8859-1

There is a measured benefit in some situations for header compression. It
does take CPU and memory.
The question isn't if it adds CPU and memory, but rather if the tradeoff is
worthwhile?

This is really something that is best informed by measurements of
transactions in the real world.
Use cases that motivated this design, and thus are potentially interesting:
  mobile devices
  satellite links
  high-loss links (e.g. many links from Africa, where cwnd is usually
ending around 3 packets worth...)
-=R

On Thu, Aug 2, 2012 at 10:30 PM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

> In message <
> CABaLYCtNzTZjUPgknfNtjwhkUopf3gaHQ6SmBGLAywu07WAB1g@mail.gmail.com>
> , Mike Belshe writes:
> >--f46d0407178542016504c64fa910
>
> >> I also have trouble with the use of compression over the headers for two
> >> reasons:
> >>
> >> 1) While we know that compression can work wonders on entity bodies, it
> >> obscures the headers which are critical for inspection and manipulation
> by
> >> everybody down the message path.
> >>
> >
> >So far, this has not been a problem.
>
> ... becuase sites which needed such inspection and manipulation
> deliberately
> stayed away from SPDY because of the TLS+Compression requirement.
>
> Absense of evidence is not evidence of absense.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
>

--f46d044304468d88dc04c660160c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><div>There is a measured benefit in some situations for header compress=
ion. It does take CPU and memory.</div><div>The question isn&#39;t if it ad=
ds CPU and memory, but rather if the tradeoff is worthwhile?</div><div><br>
</div><div>This is really something that is best informed by measurements o=
f transactions in the real world.</div><div>Use cases that motivated this d=
esign, and thus are potentially interesting:</div><div>=A0 mobile devices</=
div>
<div>=A0 satellite links</div><div>=A0 high-loss links (e.g. many links fro=
m Africa, where cwnd is usually ending around 3 packets worth...)</div><div=
>-=3DR</div><div><br><div class=3D"gmail_quote">On Thu, Aug 2, 2012 at 10:3=
0 PM, Poul-Henning Kamp <span dir=3D"ltr">&lt;<a href=3D"mailto:phk@phk.fre=
ebsd.dk" target=3D"_blank">phk@phk.freebsd.dk</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">In message &lt;<a href=3D"mailto:CABaLYCtNzT=
ZjUPgknfNtjwhkUopf3gaHQ6SmBGLAywu07WAB1g@mail.gmail.com">CABaLYCtNzTZjUPgkn=
fNtjwhkUopf3gaHQ6SmBGLAywu07WAB1g@mail.gmail.com</a>&gt;<br>

, Mike Belshe writes:<br>
&gt;--f46d0407178542016504c64fa910<br>
<div class=3D"im"><br>
&gt;&gt; I also have trouble with the use of compression over the headers f=
or two<br>
&gt;&gt; reasons:<br>
&gt;&gt;<br>
&gt;&gt; 1) While we know that compression can work wonders on entity bodie=
s, it<br>
&gt;&gt; obscures the headers which are critical for inspection and manipul=
ation by<br>
&gt;&gt; everybody down the message path.<br>
&gt;&gt;<br>
&gt;<br>
&gt;So far, this has not been a problem.<br>
<br>
</div>... becuase sites which needed such inspection and manipulation delib=
erately<br>
stayed away from SPDY because of the TLS+Compression requirement.<br>
<br>
Absense of evidence is not evidence of absense.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
<br>
</font></span></blockquote></div><br></div>

--f46d044304468d88dc04c660160c--


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 11:48:40 2012
Return-Path: <ietf-http-wg-request@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 84C7021F8E3A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 11:48:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.299
X-Spam-Level: 
X-Spam-Status: No, score=-6.299 tagged_above=-999 required=5 tests=[AWL=3.700, BAYES_00=-2.599, J_CHICKENPOX_54=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3MtkrlhvG2+G for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 11:48:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6CDD021F8E23 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 11:48:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxMte-0004Mc-HV for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 18:46:50 +0000
Resent-Date: Fri, 03 Aug 2012 18:46:50 +0000
Resent-Message-Id: <E1SxMte-0004Mc-HV@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SxMtR-0004Lq-QX for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 18:46:37 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SxMtQ-0002S4-EY for ietf-http-wg@w3.org; Fri, 03 Aug 2012 18:46:37 +0000
Received: from [10.6.130.84] (unknown [50.56.228.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 95FA322E257 for <ietf-http-wg@w3.org>; Fri,  3 Aug 2012 14:46:14 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: multipart/mixed; boundary="Apple-Mail=_818DF537-E11B-42D0-9D71-81BF0F9C0CD0"
Message-Id: <57ED38C2-30BF-4AC8-A60D-58410DC24B9C@mnot.net>
Date: Fri, 3 Aug 2012 13:46:14 -0500
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
X-Mailer: Apple Mail (2.1485)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SxMtQ-0002S4-EY 087c9ec932df3b5ec1fe7afc086c8cea
X-Original-To: ietf-http-wg@w3.org
Subject: Vancouver minutes
Archived-At: <http://www.w3.org/mid/57ED38C2-30BF-4AC8-A60D-58410DC24B9C@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14919
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>

--Apple-Mail=_818DF537-E11B-42D0-9D71-81BF0F9C0CD0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

ROUGH minutes for Tuesday's session are attached.

Those for Wednesday are available at:
  http://www.ietf.org/jabber/logs/httpbis/2012-08-01.html

I'll clean them up and get them recorded ASAP.

Thanks,


--Apple-Mail=_818DF537-E11B-42D0-9D71-81BF0F9C0CD0
Content-Disposition: attachment;
	filename=session1.txt
Content-Type: text/plain;
	x-unix-mode=0644;
	name="session1.txt"
Content-Transfer-Encoding: quoted-printable

httpbis note taking tuesday session

agenda bashing - none

httpbis -20  changes.. no comments.. ok to close tickets

http/1.1 status..
[mnot] target wglc p 1+2 by end of august
[masinter] why not now
[mnot] go read parts 1 and 2 everyone.. 4 week lc window
[lear] are you publicizing we are going to lc? (mnot w3c is aware, and =
this is WGlc)

p1+p2 issues
[projector offline]
link idempotent.. mark suggests unknown type.. roy says they are =
idempotent.. then a bunch of off mic conversation
ticket 22 - [roy] will resolve soon. [mnot] unsure if it generic or etag =
specific.. [rajeev becker] ws exists where etag reflects the state of =
the object not the state of te response [roy] etag will never reference =
content
ticket 364 - allow blank idempotent registry value - no discussion
[projector back]

wglc issues in p4 through p7
effectively done except for editorial review
no discussion

http 2.0 authentication EOI summary
review of 6 proposals
[mnot] not a lot of interest in any of them.. particularly with security =
AD and browser implementaitons.. lack of consensus. that means tieing =
this work to http/2 is risky. still impt to do this work. passwords =
cited as a specific problem. ad proposal take this set of drafts and use =
as input into new wg in security area perhaps for experimental rfcs. =
chair says the group owns http at its core and needs to stay vital, =
interoperational and secure and crossing the streams is a risk for core.
[jeff hodges] if we are doing http/2 what about allowing a hook for a =
blob to be defined later as an auth mechanism
[mnot] extensions to http/* don't need to be in the core. apps area wg?
[yoav] not sure apps wg drives browser adoption in the same way httpbis =
does
[mnot] not sure that if httpbis does something it means it gets =
implemented
[paul leach] if it is cleanly definable as an extension it should not be =
core.. but auth is not obviously clean. suggest this group makes sure it =
is possible to cleanly define extensions for authentication. p7 for =
http/2.0
[paul hoffman] idea of not doing these here is fine. security people =
aren't that interested in transport portions of http/2. p7 bis? =
proposals applicable to http/1 and 2
[author of one of the drafts ??? mutual auth oiwa] supports a framework =
in http/2 to tie authentication into protocol.. mark says semantically =
hard to make that http/1 compat
[wes hardaker] concerned that protocol won't support necessary =
mechanisms for security needs - mid stream reaut is an example
[jeff hodges] shares wes's concern
[ekr] one difficulty is that the alleged problem is unclear - shown by =
diversity of proposals. a number of the proposals don't meet any real =
needs
[roy] we tried to do this in 1994. security ad was supposed to take =
responsibility for that at that time. Maybe this belongs in appsarea =
instead of security, even if not httpbis
[roberto] world has realized that http is impt - motivations for doing =
this work have changed
[roy] in apps area - yes.. security maybe not
[ekr] web form is better ui.. fancy crypto does not add value.. http =
protocols don't elp with ui modalities
[leif jpnasson] everyone doesn't want the same thing.. webservice may =
want something different
[ekr] client certs keep failing to get market uptake
[oiwa] agrees there is a user interface issue.. comments or improvements =
on http mutual auth welcome
[lear] ui is crucial issue.. sad list has article on survey of all =
mechanisms in the field that is a good input
[mnot] we've discussed this a long time in the ietf and I haven't yet =
seen anything that convinces me we'll succeed. deserves experimental. =
w3c (and others) may also play a role here

Tim Bray - 451
[mnot] initally dismissive as a feel good activity using a constrained =
resource (status code). however, tomas roesseler mentioned a use case of =
web hosts making dmca takedowns could enable =
spidering/automatic/tracking of that kind of action
[barry hatless] what do you expect clients to do differently with 451 =
than 4xx?
[bray] browsers would have different default text
[stpeter] localization is hard [mnot] http has content negotiation
[hoffman] says there is a strong machine readable reason for doing this =
beyond end user ui
[alissa cooper] argument that ietf validates censorship isn't valid,more =
reflection of reality
[eric ??] how to differentiate between unavail to everyone vs unavail to =
_you_
[mnot] that messes with cache behavior
[???] geographic restrictions might be a use case
[lear] govts would take the view that the ietf is taking a position =
opposite to their own policies. also - is there a way this can be gamed?
[masinter] not fine grained enough.. probably shouldn't be done. =
governance can include regulatory activity.. defining when it applies is =
not something the IETF should be involved in
[bray] legal demand is clear
[mnot] what does 451 with same content as 200 mean?
[alyssa] legal demand is good line
[roberto peon] like the idea - concerned about secondary effects of =
misuse
[barry] extensible response body definition for a code so we don't need =
to burn a code for each use case
[wes hardaker] does this help the end user? yes! forget the misues
[ian fette] status code exhaustion not a serious problem

[mnot] 410 gone lack of adoption is concerning. link relations might be =
applicable.

hum - is this worth pursuing (i.e. further discussion) and should we =
stop (options 1 and 2) - received very similar support

--Apple-Mail=_818DF537-E11B-42D0-9D71-81BF0F9C0CD0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii



--
Mark Nottingham
http://www.mnot.net/





--Apple-Mail=_818DF537-E11B-42D0-9D71-81BF0F9C0CD0--


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 12:38:03 2012
Return-Path: <ietf-http-wg-request@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 0462E11E80DB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 12:38:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.662
X-Spam-Level: 
X-Spam-Status: No, score=-9.662 tagged_above=-999 required=5 tests=[AWL=0.315, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ri1ApqvOXvHR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 12:38:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4772411E80D7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 12:38:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxNfy-0000s0-S5 for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 19:36:46 +0000
Resent-Date: Fri, 03 Aug 2012 19:36:46 +0000
Resent-Message-Id: <E1SxNfy-0000s0-S5@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1SxNfl-0000rF-PF for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 19:36:33 +0000
Received: from na3sys010aog102.obsmtp.com ([74.125.245.72]) by lisa.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1SxNfi-0006Bj-0G for ietf-http-wg@w3.org; Fri, 03 Aug 2012 19:36:33 +0000
Received: from mail-gh0-f173.google.com ([209.85.160.173]) (using TLSv1) by na3sys010aob102.postini.com ([74.125.244.12]) with SMTP ID DSNKUBwoJ/af9aZWDiteS7tyOun1p5p3DIcB@postini.com; Fri, 03 Aug 2012 12:36:29 PDT
Received: by ghrr14 with SMTP id r14so1599695ghr.18 for <ietf-http-wg@w3.org>; Fri, 03 Aug 2012 12:36:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=c5u1GHwYFdASwx66E0uy/G4+raKMnTghN4i5e5B+LWc=; b=rzKwqZR4GvsImMSDEwVjAL4dBLB374AyrG3iD6DyCuCCmE+G8QxqHM2PtkjItCiubO yRyED039pTP2FMPvybxlef5RrvHOLYkTCWRtxTpibZtgrEPk3mFkqc7pg7e5FyIHJbGH DAqzJ3MtnEizc4EZj0Epnp540XC3tncM3Re3c=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=c5u1GHwYFdASwx66E0uy/G4+raKMnTghN4i5e5B+LWc=; b=MYp5ZXcLEWeI+ute7k1pFZSBWAXbKNYttgZ1swa/2JMiTW2o1JUcoBNYmnqxKqgJ5y +D3Np8DwcLad1N8dtNZR0wxvvD5Ri83njb1LfsBRr17ExY8XsgcFTFkBDbrJncCDU09W y8iT4BxtGJH7+uw0cQsEKwgBUiHCZTo9McRP+bn7vJnAmkTPsm9UOXSgaI3KT/t70o8D L7SsVfzlnKLPxXV1CGAfbD9VhflN7UMOX64uZfD7jhkvUwh03BTNfsSvxX+vVtbZKwY9 yhYeKq66R4q4iN8KRFnZcv8xouPEz2E4mAYgReQQHMJxfXY/DR4p0Sas6bPyZZQEEcl/ t9jg==
Received: by 10.50.194.132 with SMTP id hw4mr5334927igc.63.1344022566392; Fri, 03 Aug 2012 12:36:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.168.104 with HTTP; Fri, 3 Aug 2012 12:35:46 -0700 (PDT)
In-Reply-To: <57ED38C2-30BF-4AC8-A60D-58410DC24B9C@mnot.net>
References: <57ED38C2-30BF-4AC8-A60D-58410DC24B9C@mnot.net>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Sat, 4 Aug 2012 04:35:46 +0900
Message-ID: <CAMeZVwu34TVJ_=Fox7gupe7GRPJ6bSEVbhG-p2XMRx=-p4NgRw@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQmxt7zVdWM45AY47PhH1K1C6D7WseZNBT5hLFIjo3DyJCQNzzjNPixVMO84++rsQQeTqSt0
Received-SPF: pass client-ip=74.125.245.72; envelope-from=y.oiwa@aist.go.jp; helo=na3sys010aog102.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SxNfi-0006Bj-0G 8408ef95b6147f1e11d327b6d675a55e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Vancouver minutes
Archived-At: <http://www.w3.org/mid/CAMeZVwu34TVJ_=Fox7gupe7GRPJ6bSEVbhG-p2XMRx=-p4NgRw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14920
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>

Thank you, Mark.

> [oiwa] agrees there is a user interface issue.. comments or improvements on http mutual auth welcome

Could you update this to the following?:

> [oiwa] agrees there is a user interface issue.. comments or improvements on http auth extension draft (which trying to solve this) welcome

May be sorry for my poor English speaking, but that was the intention.

Of course, comments or improvements on http-mutual main draft is
always very welcome, too :-)


2012/8/4 Mark Nottingham <mnot@mnot.net>:
> ROUGH minutes for Tuesday's session are attached.
>
> Those for Wednesday are available at:
>   http://www.ietf.org/jabber/logs/httpbis/2012-08-01.html
>
> I'll clean them up and get them recorded ASAP.
>
> Thanks,
>
>
>
>
> --
> Mark Nottingham
> http://www.mnot.net/
>
>
>
>
>



-- 
Yutaka OIWA, Ph.D.              Leader, Software Reliability Research Group
                             Research Institute for Secure Systems (RISEC)
   National Institute of Advanced Industrial Science and Technology (AIST)
                     Mail addresses: <y.oiwa@aist.go.jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 46B5]


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 12:45:39 2012
Return-Path: <ietf-http-wg-request@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 1962421E8056 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 12:45:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.776
X-Spam-Level: 
X-Spam-Status: No, score=-9.776 tagged_above=-999 required=5 tests=[AWL=0.200, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tpXZAurk62Ve for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 12:45:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CB9EA21F8D7E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 12:45:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxNnZ-0003X7-2f for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 19:44:37 +0000
Resent-Date: Fri, 03 Aug 2012 19:44:37 +0000
Resent-Message-Id: <E1SxNnZ-0003X7-2f@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SxNnK-0003Pe-Bm for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 19:44:22 +0000
Received: from mail-yw0-f43.google.com ([209.85.213.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SxNnI-0006T8-Ly for ietf-http-wg@w3.org; Fri, 03 Aug 2012 19:44:22 +0000
Received: by yhl10 with SMTP id 10so1254044yhl.2 for <ietf-http-wg@w3.org>; Fri, 03 Aug 2012 12:43:54 -0700 (PDT)
X-Google-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:x-gm-message-state; bh=mn7o9SlV7iHUa/XGNk5LMrCi5GkspdSSwDDUODEg/4o=; b=ogIO2ZqOek86U3gYHm1HpWIFnyjZ1Zigc1YYe+gZ8Zh/DIeXhIE64JVQH6azZVrzh8 JnOXO5pUc1v0khjk2TlXR1ciT5jylte/8eCooz47TmnwROI3AFqBrdUbxNV0vJefPRew MJRrT//ptY/pzUu9LNusg6oMIaDwT0NR7dqB5Etdw1I6phAC9zJSqST9znxxFfCNs3cq R3v1yMC5tpDgplc34DFwcSVLW+bYE3WWDzP6m1AQ2568h9WGBIWxHLX1jgl4u4wPoDqu y1+34ZN8TuMtFrXOfHHDgRet04d9HKZ23vQOZkI8YfyREi1ATDX/OOV5722+5X3ZorPE D47A==
MIME-Version: 1.0
Received: by 10.43.110.197 with SMTP id el5mr4375384icc.1.1344023033980; Fri, 03 Aug 2012 12:43:53 -0700 (PDT)
Received: by 10.64.23.101 with HTTP; Fri, 3 Aug 2012 12:43:53 -0700 (PDT)
In-Reply-To: <CABP7RbeVLVOM5HqZgjf=or-886_orr8ra1kaZHAaChjYTeFNvQ@mail.gmail.com>
References: <78618.1343896055@critter.freebsd.dk> <501BA782.9030708@it.aoyama.ac.jp> <CAAPAK-5uO7imx-ynVU1K-RPpv0CvCDU-kd18hFgRYgXJn-WrMA@mail.gmail.com> <CABaLYCtGGQpO=APxQQA2RzZ5w5uB+umYGnz50cZffes9KoSTng@mail.gmail.com> <CABP7RbezEoeT2xiUjXMh5Bat-qKX1xB8ELQRHa7ZqX_5MrujGg@mail.gmail.com> <CABaLYCtjo2=L5YGSGVTv_4CpEbdrkLByM-HnSmBgyWJt835UWA@mail.gmail.com> <CABP7RbeVLVOM5HqZgjf=or-886_orr8ra1kaZHAaChjYTeFNvQ@mail.gmail.com>
Date: Fri, 3 Aug 2012 12:43:53 -0700
Message-ID: <CABaLYCtu1Z5iV=MempARPtWsTGXondTWVrkzwd1DBKTGQbcsYg@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: James M Snell <jasnell@gmail.com>
Cc: Jonathan Ballard <dzonatas@gmail.com>, =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=bcaec51717ef82a79404c661bfb3
X-Gm-Message-State: ALoCoQlL0rXwfzm5LkkVoOg7zRgG3wfOoUHWqqCxTogUl8vuAUhAp8s2xStGqS1VirL6Hv1Kvl7v
Received-SPF: none client-ip=209.85.213.43; envelope-from=mike@belshe.com; helo=mail-yw0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SxNnI-0006T8-Ly 122b00a8e2ef2988acb86bbb5371efce
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CABaLYCtu1Z5iV=MempARPtWsTGXondTWVrkzwd1DBKTGQbcsYg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14921
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>

--bcaec51717ef82a79404c661bfb3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 3, 2012 at 10:33 AM, James M Snell <jasnell@gmail.com> wrote:

>
>
> On Fri, Aug 3, 2012 at 10:15 AM, Mike Belshe <mike@belshe.com> wrote:
>
>> OK.  More concrete use cases for why we need this would help me
>> understand better.
>>
>> From the User Agent's perspective - how would it know whether a given
>> HTTP/2 server would be able to grok its UTF8 headers?  Just try and fail=
?
>>
>>
> No different than what the user-agent does today: attempt to send the
> message and be prepared to deal with failure. Currently, there's no
> guarantee that an origin server supports the various Allow-* headers...
> some do, some don't. That's ok.
>

OK - so this means browsers won't use it :-)

So now we need to know which use cases *would* use it :-)

Overall, its a fine idea, I just don't think we need it.

Mike




>
>
>> If you send a UTF8 header, and the origin server can't handle it, does i=
t
>> cause a failure of the entire request?  Or is this a partial failure?  I
>> see you classified some as ignorable and others not.  Is the error code
>> specifically a "couldn't pass UTF8 header" error?  If not, how would the=
 UA
>> differentiate an error that the server didn't grok the UTF8 vs other ser=
ver
>> errors?
>>
>>
> The "must-understand" and "must-ignore" aspects of the codepage mechanism
> have more to do with translation of headers that use numeric identifiers
> into http/1.1 named headers than it does the translation of UTF-8 values.
> However, more to the point.. a 400 Bad Request response would be fine for
> the most part but a more specific error status could be provided. We
> already have response codes like 431 Request Header Too Large, it would n=
ot
> be unreasonable to have a similar 4xx response that indicates that the
> message could not be translated successfully to a downlevel protocol.
>
>
>> These are the new edge cases I was referring to earlier.
>>
>> Mike
>>
>>
>> On Fri, Aug 3, 2012 at 8:52 AM, James M Snell <jasnell@gmail.com> wrote:
>>
>>> I'll say it again: simply allowing header values to contain UTF-8
>>> characters does not break compatibility with 1.1 because the existing
>>> header definitions for the existing headers would not be changed. The
>>> change would impact new header definitions or applications that are
>>> specifically targeted for 2.0 implementations.
>>>
>>> For example, suppose we define a new binary optimized encoding for the
>>> host header that accepts IDN's. That new encoding does not change the
>>> details of the existing Host header in HTTP/1.1. When an intermediary
>>> translates the 2.0 message into a 1.1 message, it would convert the IDN
>>> into a proper punycode value within the 1.1 Host header. If the
>>> intermediary happens across some other arbitrary new header using UTF-8
>>> that it does not understand or know how to translate, it can either ign=
ore
>>> it or return a protocol error. Interoperability is not affected at all.
>>>
>>> Limits are a bad thing... aren't they? ;-)
>>>
>>> - James
>>>
>>> On Fri, Aug 3, 2012 at 8:33 AM, Mike Belshe <mike@belshe.com> wrote:
>>>
>>>> One of the charter requirements of HTTP/2, I thought, was interop to
>>>> HTTP/1.1 servers.
>>>>
>>>> If so, how would we pass UTF8 headers to HTTP/1.1 servers?
>>>>
>>>> If we can't then we don't need to support them, right?
>>>>
>>>> Mike
>>>>
>>>>
>>>> On Fri, Aug 3, 2012 at 8:30 AM, Jonathan Ballard <dzonatas@gmail.com>w=
rote:
>>>>
>>>>> ASCII is not "trivially UTF8." UTF8 lacks the available flow control
>>>>> of ASCII. Any conversion between ASCII and EBCDIC is best done in har=
dware.
>>>>> We already know the security issue of conversions from unicode to EBC=
DIC,
>>>>> and I doubt that is something we can scheme here on on-topic.
>>>>>
>>>>>
>>>>> On Friday, August 3, 2012, "Martin J. D=FCrst" wrote:
>>>>>
>>>>>> On 2012/08/02 17:27, Poul-Henning Kamp wrote:
>>>>>>
>>>>>>> In message<
>>>>>>> CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.gmail.com>
>>>>>>> , Mike Belshe writes:
>>>>>>>
>>>>>>>  * I don't think we need utf-8 encoded headers.  Not sure how you'd
>>>>>>>>>> pass
>>>>>>>>>>
>>>>>>>>> them off to HTTP anyway?
>>>>>>>>>
>>>>>>>>
>>>>>>>> I just don't see any problem being solved by adding this?  If ther=
e
>>>>>>>> is no
>>>>>>>> benefit, we should not do it, right?
>>>>>>>>
>>>>>>>
>>>>>>> If this would solve any major problems inside a 20 year horizon, we
>>>>>>> should do it.
>>>>>>>
>>>>>>
>>>>>> It will solve quite a few problems, some of them major, maybe not fo=
r
>>>>>> HTTP itself, but for the applications on top. It will actually solve=
 some
>>>>>> problems that have been around for at least the last 15 years.
>>>>>>
>>>>>> HTML and HTTP were created when the breakthrough of iso-8859-1
>>>>>> (Latin-1) in Western Europe was predictable (the nascent Web helped =
to
>>>>>> unify the Western Europe 'national' 7-bit and 8-bit encodings quite =
a bit).
>>>>>>
>>>>>> At least as early as 1995 (RFC 2070) or 1996 (RFC 2130, RFC 2277), i=
t
>>>>>> was clear to those concerned that Unicode and UTF-8 was the way of t=
he
>>>>>> future. As everybody should be able to confirm when thinking about
>>>>>> US-ASCII, using a single character encoding (rather than e.g. ASCII =
and
>>>>>> EBCDIC or some such alternatively) brings HUGE benefits. The same is=
 true
>>>>>> when streamlining from a zoo of character encodings to UTF-8.
>>>>>>
>>>>>> These days, over 60% of the Web is already in UTF-8, and if you add
>>>>>> in the 20% of pure ASCII which is trivially also UTF-8, it's 80%. Al=
l other
>>>>>> encodings are in serious decline. (see p. 52 of the July IEEE Spectr=
um).
>>>>>> And efforts such as HTML5 are strongly pushing to get more UTF-8. I =
think
>>>>>> lots of HTTP users would appreciate a better commitment from HTTP wi=
th
>>>>>> respect to character encoding in headers and the like. What's curren=
tly
>>>>>> there is really just a mess, and should be cleaned up.
>>>>>>
>>>>>>
>>>>>> Regards,    Martin.
>>>>>>
>>>>>>
>>>>
>>>
>>
>

--bcaec51717ef82a79404c661bfb3
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Fri, Aug 3, 2012 at 10:33 AM, James M=
 Snell <span dir=3D"ltr">&lt;<a href=3D"mailto:jasnell@gmail.com" target=3D=
"_blank">jasnell@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">
<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te"><div class=3D"im">On Fri, Aug 3, 2012 at 10:15 AM, Mike Belshe <span di=
r=3D"ltr">&lt;<a href=3D"mailto:mike@belshe.com" target=3D"_blank">mike@bel=
she.com</a>&gt;</span> wrote:<br>


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">OK. =A0More concrete use cases for why we ne=
ed this would help me understand better.<div><br></div><div>From the User A=
gent&#39;s perspective - how would it know whether a given HTTP/2 server wo=
uld be able to grok its UTF8 headers? =A0Just try and fail? =A0</div>



<div><br></div></blockquote><div><br></div></div><div>No different than wha=
t the user-agent does today: attempt to send the message and be prepared to=
 deal with failure. Currently, there&#39;s no guarantee that an origin serv=
er supports the various Allow-* headers... some do, some don&#39;t. That&#3=
9;s ok.</div>
</div></blockquote><div><br></div><div>OK - so this means browsers won&#39;=
t use it :-)<br><br>So now we need to know which use cases *would* use it :=
-)</div><div><br></div><div>Overall, its a fine idea, I just don&#39;t thin=
k we need it.<br>
<br>Mike</div><div><br></div><div><br></div><div>=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex"><div class=3D"gmail_quote"><div class=3D"im">

<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><div></div><div>If you send a =
UTF8 header, and the origin server can&#39;t handle it, does it cause a fai=
lure of the entire request? =A0Or is this a partial failure? =A0I see you c=
lassified some as ignorable and others not. =A0Is the error code specifical=
ly a &quot;couldn&#39;t pass UTF8 header&quot; error? =A0If not, how would =
the UA differentiate an error that the server didn&#39;t grok the UTF8 vs o=
ther server errors?</div>



<div><br></div></blockquote><div><br></div></div><div>The &quot;must-unders=
tand&quot; and &quot;must-ignore&quot; aspects of the codepage mechanism ha=
ve more to do with translation of headers that use numeric identifiers into=
 http/1.1 named headers than it does the translation of UTF-8 values. Howev=
er, more to the point.. a 400 Bad Request response would be fine for the mo=
st part but a more specific error status could be provided. We already have=
 response codes like 431 Request Header Too Large, it would not be unreason=
able to have a similar 4xx response that indicates that the message could n=
ot be translated successfully to a downlevel protocol.</div>
<div><div class=3D"h5">

<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><div></div><div>These are the =
new edge cases I was referring to earlier.</div><span><font color=3D"#88888=
8"><div>


<br></div><div>Mike</div></font></span><div><div><div><br><br><div class=3D=
"gmail_quote">On Fri, Aug 3, 2012 at 8:52 AM, James M Snell <span dir=3D"lt=
r">&lt;<a href=3D"mailto:jasnell@gmail.com" target=3D"_blank">jasnell@gmail=
.com</a>&gt;</span> wrote:<br>



<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><font face=3D"courier new,monospace">I&#39;l=
l say it again: simply allowing header values to contain UTF-8 characters d=
oes not break compatibility with 1.1 because the existing header definition=
s for the existing headers would not be changed. The change would impact ne=
w header definitions or applications that are specifically targeted for 2.0=
 implementations.</font><div>





<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">For example, suppose we define a new binary optimized =
encoding for the host header that accepts IDN&#39;s. That new encoding does=
 not change the details of the existing Host header in HTTP/1.1. When an in=
termediary translates the 2.0 message into a 1.1 message, it would convert =
the IDN into a proper punycode value within the 1.1 Host header. If the int=
ermediary happens across some other arbitrary new header using UTF-8 that i=
t does not understand or know how to translate, it can either ignore it or =
return a protocol error. Interoperability is not affected at all.</font></d=
iv>





<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">Limits are a bad thing... aren&#39;t they? ;-)</=
font></div><span><font color=3D"#888888"><div><font face=3D"courier new,mon=
ospace"><br>



</font></div></font></span><div><span><font color=3D"#888888"><font face=3D=
"courier new,monospace">- James=A0<br>

</font></font></span><div><div><br><div class=3D"gmail_quote">On Fri, Aug 3=
, 2012 at 8:33 AM, Mike Belshe <span dir=3D"ltr">&lt;<a href=3D"mailto:mike=
@belshe.com" target=3D"_blank">mike@belshe.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">

<div>One of the charter requirements of HTTP/2, I thought, was interop to H=
TTP/1.1 servers.</div><div><br></div><div>If so, how would we pass UTF8 hea=
ders to HTTP/1.1 servers? =A0</div><div><br></div><div>If we can&#39;t then=
 we don&#39;t need to support them, right?</div>





<span><font color=3D"#888888">
<div><br></div><div>Mike</div></font></span><div><div><div><br><br><div cla=
ss=3D"gmail_quote">On Fri, Aug 3, 2012 at 8:30 AM, Jonathan Ballard <span d=
ir=3D"ltr">&lt;<a href=3D"mailto:dzonatas@gmail.com" target=3D"_blank">dzon=
atas@gmail.com</a>&gt;</span> wrote:<br>






<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">ASCII is not &quot;trivially UTF8.&quot; UTF=
8 lacks the available flow control of ASCII. Any conversion between ASCII a=
nd EBCDIC is best done in hardware. We already know the security issue of c=
onversions from unicode to EBCDIC, and I doubt that is something we can sch=
eme here on on-topic.<div>






<div><br>
<br>On Friday, August 3, 2012, &quot;Martin J. D=FCrst&quot;  wrote:<br><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex">On 2012/08/02 17:27, Poul-Henning Kamp wrote:<b=
r>








<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
In message&lt;<a>CABaLYCv7U7iLBu5+8Nb9Wa1VeQguoMLJw4VOCbDBQK3WoE-sFg@mail.g=
mail.com</a>&gt;<br>
, Mike Belshe writes:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">








* I don&#39;t think we need utf-8 encoded headers. =A0Not sure how you&#39;=
d pass<br>
</blockquote>
them off to HTTP anyway?<br>
</blockquote>
<br>
I just don&#39;t see any problem being solved by adding this? =A0If there i=
s no<br>
benefit, we should not do it, right?<br>
</blockquote>
<br>
If this would solve any major problems inside a 20 year horizon, we<br>
should do it.<br>
</blockquote>
<br>
It will solve quite a few problems, some of them major, maybe not for HTTP =
itself, but for the applications on top. It will actually solve some proble=
ms that have been around for at least the last 15 years.<br>
<br>
HTML and HTTP were created when the breakthrough of iso-8859-1 (Latin-1) in=
 Western Europe was predictable (the nascent Web helped to unify the Wester=
n Europe &#39;national&#39; 7-bit and 8-bit encodings quite a bit).<br>








<br>
At least as early as 1995 (RFC 2070) or 1996 (RFC 2130, RFC 2277), it was c=
lear to those concerned that Unicode and UTF-8 was the way of the future. A=
s everybody should be able to confirm when thinking about US-ASCII, using a=
 single character encoding (rather than e.g. ASCII and EBCDIC or some such =
alternatively) brings HUGE benefits. The same is true when streamlining fro=
m a zoo of character encodings to UTF-8.<br>








<br>
These days, over 60% of the Web is already in UTF-8, and if you add in the =
20% of pure ASCII which is trivially also UTF-8, it&#39;s 80%. All other en=
codings are in serious decline. (see p. 52 of the July IEEE Spectrum). And =
efforts such as HTML5 are strongly pushing to get more UTF-8. I think lots =
of HTTP users would appreciate a better commitment from HTTP with respect t=
o character encoding in headers and the like. What&#39;s currently there is=
 really just a mess, and should be cleaned up.<br>








<br>
<br>
Regards, =A0 =A0Martin.<br>
<br>
</blockquote>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div></div></div><br>
</blockquote></div><br>

--bcaec51717ef82a79404c661bfb3--


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 13:06:54 2012
Return-Path: <ietf-http-wg-request@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 3003521F8DCD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 13:06:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.449
X-Spam-Level: 
X-Spam-Status: No, score=-8.449 tagged_above=-999 required=5 tests=[AWL=2.150, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YMogqF5oC9mb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 13:06:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B57ED21F8D52 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 13:06:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxO7N-0000pP-45 for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 20:05:05 +0000
Resent-Date: Fri, 03 Aug 2012 20:05:05 +0000
Resent-Message-Id: <E1SxO7N-0000pP-45@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SxO79-0007yj-SP for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 20:04:51 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SxO78-0005KE-Kw for ietf-http-wg@w3.org; Fri, 03 Aug 2012 20:04:51 +0000
Received: from [10.6.130.84] (unknown [50.56.228.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id DD38D22E25E; Fri,  3 Aug 2012 16:04:28 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAMeZVwu34TVJ_=Fox7gupe7GRPJ6bSEVbhG-p2XMRx=-p4NgRw@mail.gmail.com>
Date: Fri, 3 Aug 2012 15:04:27 -0500
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <334DDD61-FD35-43F5-83DB-EC111208C572@mnot.net>
References: <57ED38C2-30BF-4AC8-A60D-58410DC24B9C@mnot.net> <CAMeZVwu34TVJ_=Fox7gupe7GRPJ6bSEVbhG-p2XMRx=-p4NgRw@mail.gmail.com>
To: Yutaka OIWA <y.oiwa@aist.go.jp>
X-Mailer: Apple Mail (2.1485)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=1.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RAZOR2_CF_RANGE_51_100=0.5, RAZOR2_CF_RANGE_E8_51_100=1.886, RAZOR2_CHECK=0.922, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SxO78-0005KE-Kw 87f42b0aae983e8f60d3b8c661bb9642
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Vancouver minutes
Archived-At: <http://www.w3.org/mid/334DDD61-FD35-43F5-83DB-EC111208C572@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14922
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>

Will do, thanks!


On 03/08/2012, at 2:35 PM, Yutaka OIWA <y.oiwa@aist.go.jp> wrote:

> Thank you, Mark.
>=20
>> [oiwa] agrees there is a user interface issue.. comments or =
improvements on http mutual auth welcome
>=20
> Could you update this to the following?:
>=20
>> [oiwa] agrees there is a user interface issue.. comments or =
improvements on http auth extension draft (which trying to solve this) =
welcome
>=20
> May be sorry for my poor English speaking, but that was the intention.
>=20
> Of course, comments or improvements on http-mutual main draft is
> always very welcome, too :-)
>=20
>=20
> 2012/8/4 Mark Nottingham <mnot@mnot.net>:
>> ROUGH minutes for Tuesday's session are attached.
>>=20
>> Those for Wednesday are available at:
>>  http://www.ietf.org/jabber/logs/httpbis/2012-08-01.html
>>=20
>> I'll clean them up and get them recorded ASAP.
>>=20
>> Thanks,
>>=20
>>=20
>>=20
>>=20
>> --
>> Mark Nottingham
>> http://www.mnot.net/
>>=20
>>=20
>>=20
>>=20
>>=20
>=20
>=20
>=20
> --=20
> Yutaka OIWA, Ph.D.              Leader, Software Reliability Research =
Group
>                             Research Institute for Secure Systems =
(RISEC)
>   National Institute of Advanced Industrial Science and Technology =
(AIST)
>                     Mail addresses: <y.oiwa@aist.go.jp>, =
<yutaka@oiwa.jp>
> OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 =
46B5]
>=20

--
Mark Nottingham
http://www.mnot.net/






From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 13:07:24 2012
Return-Path: <ietf-http-wg-request@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 6BF2921F8DD6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 13:07:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.524
X-Spam-Level: 
X-Spam-Status: No, score=-8.524 tagged_above=-999 required=5 tests=[AWL=2.075, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vwVIQwS2+STj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 13:07:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 741FD21F8DD4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 13:07:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxO8w-0000w4-Am for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 20:06:42 +0000
Resent-Date: Fri, 03 Aug 2012 20:06:42 +0000
Resent-Message-Id: <E1SxO8w-0000w4-Am@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SxO8j-0000qu-Cb for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 20:06:29 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SxO8h-0007Wj-RU for ietf-http-wg@w3.org; Fri, 03 Aug 2012 20:06:29 +0000
Received: from [10.6.130.84] (unknown [50.56.228.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id AD0FD22E253 for <ietf-http-wg@w3.org>; Fri,  3 Aug 2012 16:06:06 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Message-Id: <28F9FD01-5B48-45F2-A3A2-758EEE162704@mnot.net>
Date: Fri, 3 Aug 2012 15:06:06 -0500
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
X-Mailer: Apple Mail (2.1485)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SxO8h-0007Wj-RU 54dfa08af76bbbb7340d938f1726f046
X-Original-To: ietf-http-wg@w3.org
Subject: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/28F9FD01-5B48-45F2-A3A2-758EEE162704@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14923
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>

In the second Vancouver session, we discussed the proposals, expressions =
of interest in them, and the proposed charter text sent to the list =
earlier.=20

The result of those discussions has been captured in the charter =
proposal below.

Please have a look and discuss, express your support or concern, and of =
course make proposals for any changes that you believe will be able to =
gain consensus. Barring serious problems, I'd like to get it to the ADs =
in the next week.

---8<---

This Working Group is charged with maintaining and developing the "core"
specifications for HTTP.

The Working Group's specification deliverables are:
* A document (or set of documents) that is suitable to supersede RFC =
2616 as
 the definition of HTTP/1.1 and move RFC 2817 to Historic status
* A document cataloguing the security properties of HTTP/1.1
* A document (or set of documents) that specifies HTTP/2.0, an improved
 binding of HTTP's semantics to an underlying transport.

HTTP/1.1
--------

HTTP/1.1 is one of the most successful and widely-used protocols on the
Internet today. However, its specification has several editorial issues.
Additionally, after years of implementation and extension, several =
ambiguities
have become evident, impairing interoperability and the ability to =
easily
implement and use HTTP.

The working group will refine RFC2616 to:
* Incorporate errata and updates (e.g., references, IANA registries, =
ABNF)
* Fix editorial problems which have led to misunderstandings of the
 specification
* Clarify conformance requirements
* Remove known ambiguities where they affect interoperability
* Clarify existing methods of extensibility
* Remove or deprecate those features that are not widely implemented and
 also unduly affect interoperability
* Where necessary, add implementation advice
* Document the security properties of HTTP and its associated mechanisms
 (e.g., Basic and Digest authentication, cookies, TLS) for common
 applications

It will also incorporate the generic authentication framework from RFC
2617, without obsoleting or updating that specification's definition of
the Basic and Digest schemes.

Finally, it will incorporate relevant portions of RFC 2817 (in
particular, the CONNECT method and advice on the use of Upgrade), so
that that specification can be moved to Historic status.

In doing so, it should consider:
* Implementer experience
* Demonstrated use of HTTP
* Impact on existing implementations and deployments

HTTP/2.0
--------

There is emerging implementation experience and interest in a protocol =
that
retains the semantics of HTTP without the legacy of HTTP/1.x message
framing and syntax, which have been identified as hampering performance =
and
encouraging misuse of the underlying transport.

The Working Group will produce a specification of a new expression of =
HTTP's
current semantics in ordered, bi-directional streams. As with HTTP/1.x,=20=

the primary target transport is TCP, but it should be possible to use
other transports.

Work will begin using draft-mbelshe-httpbis-spdy-00 as a starting point;
proposals are to be expressed in terms of changes to that document. Note =
that
consensus is required both for changes to the document and anything that
remains in the document.

As part of that work, the following issues are explicitly called out for
discussion:
* A negotiation mechanism that is capable of not only choosing between
 HTTP/1.x and HTTP/2.x, but also for bindings of HTTP URLs to other
 transports (for example).
* Header compression (which may encompass header encoding or =
tokenisation)
* Server push (which may encompass pull or other techniques)

It is expected that HTTP/2.0 will:
* Substantially and measurably improve end-user perceived latency in =
most
 cases, over HTTP/1.1 using TCP.
* Address the "head of line blocking" problem in HTTP.
* Not require multiple connections to a server to enable parallelism, =
thus
 improving its use of TCP, especially regarding congestion control.
* Retain the semantics of HTTP/1.1, leveraging existing documentation =
(see
 above), including (but not limited to) HTTP methods, status codes, =
URIs, and
 where appropriate, header fields.
* Clearly define how HTTP/2.0 interacts with HTTP/1.x, especially in
 intermediaries (both 2->1 and 1->2).
* Clearly identify any new extensibility points and policy for their=20
 appropriate use.

The resulting specification(s) are expected to be meet these goals for =
common
existing deployments of HTTP; in particular, Web browsing (desktop and
mobile), non-browsers ("HTTP APIs"), Web serving (at a variety of =
scales), and
intermediation (by proxies, corporate firewalls, "reverse" proxies and =
Content
Delivery Networks). Likewise, current and future semantic extensions to
HTTP/1.x (e.g., headers, methods, status codes, cache directives) should =
be
supported in the new protocol.

Note that this does not include uses of HTTP where non-specified =
behaviours
are relied upon (e.g., connection state such as timeouts or client =
affinity,
and "interception" proxies); these uses may or may not be enabled by the =
final
product.

Explicitly out-of-scope items include:
* Specifying the use of alternate transport-layer protocols. Note that =
it
 is expected that the Working Group will define how the protocol is used
 with the TLS Protocol.
* Specifying how the HTTP protocol is to be used or presented in a =
specific
 use case (e.g., in Web browsers).

The Working Group will coordinate this item with:
* The TLS Working Group, regarding use of TLS.
* The Transport Area, regarding impact on and interaction with transport
 protocols.
* The HYBI Working Group, regarding the possible future extension of =
HTTP/2.0
 to carry WebSockets semantics.

The Working Group will prioritize HTTP/1.1 work until it is complete.

Other HTTP-Related Work
-----------------------

The Working Group may define additional extensions to HTTP as work =
items,
provided that:
* There is clear consensus to do so, and
* It does not, in the judgement of the Chair(s), interfere with the work=20=

 described above, and
* The Area Director(s) give consent, and add corresponding milestones.

Additionally, the Working Group will not start work on any extensions =
that=20
are specific to HTTP/2.0 until that work is completed.


Goals and Milestones

Done	First HTTP/1.1 Revision Internet Draft
Done	First HTTP Security Properties Internet Draft
Done	Call for Proposals for HTTP/2.0
Aug 2012	Working Group Last Call for HTTP/1.1 Revision
Sep 2012	Working Group Last Call for HTTP Security Properties
Sep 2012	First WG draft of HTTP/2.0, based upon =
draft-mbelshe-httpbis-spdy-00
Oct 2012	Submit HTTP/1.1 Revision to IESG for consideration as a =
Proposed Standard
Oct 2012	Submit HTTP Security Properties to IESG for =
consideration as Informational RFC
Apr 2014	Working Group Last call for HTTP/2.0
Nov 2014	Submit HTTP/2.0 to IESG for consideration as a Proposed =
Standard
--->8---

Regards,

--
Mark Nottingham   Systems Architect, Cloud Standards and APIs
mark.nottingham@rackspace.com    http://www.mnot.net/

--
Mark Nottingham
http://www.mnot.net/






From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 13:25:02 2012
Return-Path: <ietf-http-wg-request@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 C592F21F8E26 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 13:25:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.939
X-Spam-Level: 
X-Spam-Status: No, score=-8.939 tagged_above=-999 required=5 tests=[AWL=1.660, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6yjAhd4anCZM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 13:25:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B951721F8D60 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 13:25:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxOPp-00078X-84 for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 20:24:09 +0000
Resent-Date: Fri, 03 Aug 2012 20:24:09 +0000
Resent-Message-Id: <E1SxOPp-00078X-84@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SxOPd-00077m-2g for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 20:23:57 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SxOPb-0007vO-SO for ietf-http-wg@w3.org; Fri, 03 Aug 2012 20:23:57 +0000
Received: from [10.6.130.84] (unknown [50.56.228.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 20DE222E253; Fri,  3 Aug 2012 16:23:33 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <20120803202238.GK24334@1wt.eu>
Date: Fri, 3 Aug 2012 15:23:33 -0500
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: 7bit
Message-Id: <58B1E516-C784-48A4-866D-97FC99F96347@mnot.net>
References: <57ED38C2-30BF-4AC8-A60D-58410DC24B9C@mnot.net> <20120803202238.GK24334@1wt.eu>
To: Willy Tarreau <w@1wt.eu>
X-Mailer: Apple Mail (2.1485)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SxOPb-0007vO-SO 225093a9e1920abe7d6353d2368c5ac9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Vancouver minutes
Archived-At: <http://www.w3.org/mid/58B1E516-C784-48A4-866D-97FC99F96347@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14925
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>

Sorry, I meant to say -- thanks to Patrick McManus and Ted Hardie!


On 03/08/2012, at 3:22 PM, Willy Tarreau <w@1wt.eu> wrote:

> On Fri, Aug 03, 2012 at 01:46:14PM -0500, Mark Nottingham wrote:
>> ROUGH minutes for Tuesday's session are attached.
> (...)
> 
> Thanks to whoever took them, I missed the audio meeting and it's nice
> to read them now.
> 
> Cheers,
> Willy
> 

--
Mark Nottingham
http://www.mnot.net/






From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 13:25:03 2012
Return-Path: <ietf-http-wg-request@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 2A81721F8D60 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 13:25:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.733
X-Spam-Level: 
X-Spam-Status: No, score=-9.733 tagged_above=-999 required=5 tests=[AWL=0.866, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UoLCfNohTtgS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 13:25:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C66F321F8E24 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 13:25:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxOP3-000776-2w for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 20:23:21 +0000
Resent-Date: Fri, 03 Aug 2012 20:23:21 +0000
Resent-Message-Id: <E1SxOP3-000776-2w@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SxOOn-00076G-N5 for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 20:23:05 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SxOOm-0005mo-LB for ietf-http-wg@w3.org; Fri, 03 Aug 2012 20:23:05 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q73KMceR029060; Fri, 3 Aug 2012 22:22:38 +0200
Date: Fri, 3 Aug 2012 22:22:38 +0200
From: Willy Tarreau <w@1wt.eu>
To: Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20120803202238.GK24334@1wt.eu>
References: <57ED38C2-30BF-4AC8-A60D-58410DC24B9C@mnot.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <57ED38C2-30BF-4AC8-A60D-58410DC24B9C@mnot.net>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SxOOm-0005mo-LB 53964f112b78eae5164176b22940a68b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Vancouver minutes
Archived-At: <http://www.w3.org/mid/20120803202238.GK24334@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14924
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, Aug 03, 2012 at 01:46:14PM -0500, Mark Nottingham wrote:
> ROUGH minutes for Tuesday's session are attached.
(...)

Thanks to whoever took them, I missed the audio meeting and it's nice
to read them now.

Cheers,
Willy



From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 13:55:38 2012
Return-Path: <ietf-http-wg-request@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 96A6721F8D09 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 13:55:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.684
X-Spam-Level: 
X-Spam-Status: No, score=-9.684 tagged_above=-999 required=5 tests=[AWL=0.914, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JXei0K93K-bY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 13:55:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7432321F8D08 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 13:55:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxOsc-0006a8-3P for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 20:53:54 +0000
Resent-Date: Fri, 03 Aug 2012 20:53:54 +0000
Resent-Message-Id: <E1SxOsc-0006a8-3P@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SxOsO-0006ZJ-Sm for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 20:53:40 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SxOsN-0000Bw-6n for ietf-http-wg@w3.org; Fri, 03 Aug 2012 20:53:40 +0000
Received: by weyx43 with SMTP id x43so728619wey.2 for <ietf-http-wg@w3.org>; Fri, 03 Aug 2012 13:53:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=gnlIJeTsqd8dvdMX7T8M1xt2vZEbZVNeWzZ/WkB2hCM=; b=EIVKEEMXWB15LAqwxj2Ncjsgxmrr+uR0PBEx4yqyT2U2WmoggaOjYwOb1pZVoYZtKM hre2up6B06prnjvQ/OupJvxkVXHfnRgUSg9I8LnlKhwnETH8NFHMPmezdGUu1Dq0ZO6H KerE9pPX5gju0OB4B1h5f+5Jl4SHkXhtKAdOSlTQfmHf8sDo5716mI7DbRFrc7fhCiCO xmABCwnjOMvlyqphBoyXQoP/JiiV6aRauVvPJYTB7iA49DetMIA9S5kikPBfB1TyB2BU KsBGWki8JT7FH/94YcJVE0URUVRiYPicpbDS6eErGqmeMxIkzZ/UBznGyv6v97orzIAF n0/Q==
Received: by 10.216.221.74 with SMTP id q52mr1430701wep.181.1344027192739; Fri, 03 Aug 2012 13:53:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Fri, 3 Aug 2012 13:52:52 -0700 (PDT)
In-Reply-To: <28F9FD01-5B48-45F2-A3A2-758EEE162704@mnot.net>
References: <28F9FD01-5B48-45F2-A3A2-758EEE162704@mnot.net>
From: James M Snell <jasnell@gmail.com>
Date: Fri, 3 Aug 2012 13:52:52 -0700
Message-ID: <CABP7RbcS-yOuxUG2u-OB3rGK+s1MTp-TXa9ts4xwnp-o7Pchjw@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=0016e6471bca6447f104c662b787
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SxOsN-0000Bw-6n ebd16951703f8d7e68f79a6b10a88d99
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/CABP7RbcS-yOuxUG2u-OB3rGK+s1MTp-TXa9ts4xwnp-o7Pchjw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14926
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>

--0016e6471bca6447f104c662b787
Content-Type: text/plain; charset=UTF-8

On Fri, Aug 3, 2012 at 1:06 PM, Mark Nottingham <mnot@mnot.net> wrote:

> [snip]
> * Retain the semantics of HTTP/1.1, leveraging existing documentation (see
>  above), including (but not limited to) HTTP methods, status codes, URIs,
> and
>  where appropriate, header fields.
> * Clearly define how HTTP/2.0 interacts with HTTP/1.x, especially in
>  intermediaries (both 2->1 and 1->2).
> * Clearly identify any new extensibility points and policy for their
>  appropriate use.
>
> The resulting specification(s) are expected to be meet these goals for
> common
> existing deployments of HTTP; in particular, Web browsing (desktop and
> mobile), non-browsers ("HTTP APIs"), Web serving (at a variety of scales),
> and
> intermediation (by proxies, corporate firewalls, "reverse" proxies and
> Content
> Delivery Networks). Likewise, current and future semantic extensions to
> HTTP/1.x (e.g., headers, methods, status codes, cache directives) should be
> supported in the new protocol.
>

I want to just clarify that the proposed language does leave the room open
for potentially non-backwards compatible changes to be made within HTTP
2.0. Specifically, the way I read this, it should be possible for us to
tunnel a 1.1 message through a 2.0 request, as well as reasonably translate
a 2.0 message into a 1.1, but the charter also allows for the introduction
of mechanisms within 2.0 that do not necessarily translate directly into
1.1 so long as those are clearly spelled out within the specification (In
particular I'm thinking of things like the binary optimized header
encoding, UTF-8 support, etc). I see nothing in the draft spec language
that rules non-backwards compatible changes as being out of scope. If
that's correct, then I'm +1 on the revised charter.

- James


>
> Note that this does not include uses of HTTP where non-specified behaviours
> are relied upon (e.g., connection state such as timeouts or client
> affinity,
> and "interception" proxies); these uses may or may not be enabled by the
> final
> product.
>
> Explicitly out-of-scope items include:
> * Specifying the use of alternate transport-layer protocols. Note that it
>  is expected that the Working Group will define how the protocol is used
>  with the TLS Protocol.
> * Specifying how the HTTP protocol is to be used or presented in a specific
>  use case (e.g., in Web browsers).
>
> The Working Group will coordinate this item with:
> * The TLS Working Group, regarding use of TLS.
> * The Transport Area, regarding impact on and interaction with transport
>  protocols.
> * The HYBI Working Group, regarding the possible future extension of
> HTTP/2.0
>  to carry WebSockets semantics.
>
> The Working Group will prioritize HTTP/1.1 work until it is complete.
>
> Other HTTP-Related Work
> -----------------------
>
> The Working Group may define additional extensions to HTTP as work items,
> provided that:
> * There is clear consensus to do so, and
> * It does not, in the judgement of the Chair(s), interfere with the work
>  described above, and
> * The Area Director(s) give consent, and add corresponding milestones.
>
> Additionally, the Working Group will not start work on any extensions that
> are specific to HTTP/2.0 until that work is completed.
>
>
> Goals and Milestones
>
> Done    First HTTP/1.1 Revision Internet Draft
> Done    First HTTP Security Properties Internet Draft
> Done    Call for Proposals for HTTP/2.0
> Aug 2012        Working Group Last Call for HTTP/1.1 Revision
> Sep 2012        Working Group Last Call for HTTP Security Properties
> Sep 2012        First WG draft of HTTP/2.0, based upon
> draft-mbelshe-httpbis-spdy-00
> Oct 2012        Submit HTTP/1.1 Revision to IESG for consideration as a
> Proposed Standard
> Oct 2012        Submit HTTP Security Properties to IESG for consideration
> as Informational RFC
> Apr 2014        Working Group Last call for HTTP/2.0
> Nov 2014        Submit HTTP/2.0 to IESG for consideration as a Proposed
> Standard
> --->8---
>
> Regards,
>
> --
> Mark Nottingham   Systems Architect, Cloud Standards and APIs
> mark.nottingham@rackspace.com    http://www.mnot.net/
>
> --
> Mark Nottingham
> http://www.mnot.net/
>
>
>
>
>
>

--0016e6471bca6447f104c662b787
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Fri, Aug 3, 2012 at 1:06 PM, Mark Nottingham <span dir=3D"ltr">&lt;<=
a href=3D"mailto:mnot@mnot.net" target=3D"_blank">mnot@mnot.net</a>&gt;</sp=
an> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">[snip]<br>
* Retain the semantics of HTTP/1.1, leveraging existing documentation (see<=
br>
=C2=A0above), including (but not limited to) HTTP methods, status codes, UR=
Is, and<br>
=C2=A0where appropriate, header fields.<br>
* Clearly define how HTTP/2.0 interacts with HTTP/1.x, especially in<br>
=C2=A0intermediaries (both 2-&gt;1 and 1-&gt;2).<br>
* Clearly identify any new extensibility points and policy for their<br>
=C2=A0appropriate use.<br>
<br>
The resulting specification(s) are expected to be meet these goals for comm=
on<br>
existing deployments of HTTP; in particular, Web browsing (desktop and<br>
mobile), non-browsers (&quot;HTTP APIs&quot;), Web serving (at a variety of=
 scales), and<br>
intermediation (by proxies, corporate firewalls, &quot;reverse&quot; proxie=
s and Content<br>
Delivery Networks). Likewise, current and future semantic extensions to<br>
HTTP/1.x (e.g., headers, methods, status codes, cache directives) should be=
<br>
supported in the new protocol.<br></blockquote><div><br></div><div>I want t=
o just clarify that the proposed language does leave the room open for pote=
ntially non-backwards compatible changes to be made within HTTP 2.0. Specif=
ically, the way I read this, it should be possible for us to tunnel a 1.1 m=
essage through a 2.0 request, as well as reasonably translate a 2.0 message=
 into a 1.1, but the charter also allows for the introduction of mechanisms=
 within 2.0 that do not necessarily translate directly into 1.1 so long as =
those are clearly spelled out within the specification (In particular I&#39=
;m thinking of things like the binary optimized header encoding, UTF-8 supp=
ort, etc). I see nothing in the draft spec language that rules non-backward=
s compatible changes as being out of scope. If that&#39;s correct, then I&#=
39;m +1 on the revised charter.</div>

<div><br></div><div>- James</div><div>=C2=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">
<br>
Note that this does not include uses of HTTP where non-specified behaviours=
<br>
are relied upon (e.g., connection state such as timeouts or client affinity=
,<br>
and &quot;interception&quot; proxies); these uses may or may not be enabled=
 by the final<br>
product.<br>
<br>
Explicitly out-of-scope items include:<br>
* Specifying the use of alternate transport-layer protocols. Note that it<b=
r>
=C2=A0is expected that the Working Group will define how the protocol is us=
ed<br>
=C2=A0with the TLS Protocol.<br>
* Specifying how the HTTP protocol is to be used or presented in a specific=
<br>
=C2=A0use case (e.g., in Web browsers).<br>
<br>
The Working Group will coordinate this item with:<br>
* The TLS Working Group, regarding use of TLS.<br>
* The Transport Area, regarding impact on and interaction with transport<br=
>
=C2=A0protocols.<br>
* The HYBI Working Group, regarding the possible future extension of HTTP/2=
.0<br>
=C2=A0to carry WebSockets semantics.<br>
<br>
The Working Group will prioritize HTTP/1.1 work until it is complete.<br>
<br>
Other HTTP-Related Work<br>
-----------------------<br>
<br>
The Working Group may define additional extensions to HTTP as work items,<b=
r>
provided that:<br>
* There is clear consensus to do so, and<br>
* It does not, in the judgement of the Chair(s), interfere with the work<br=
>
=C2=A0described above, and<br>
* The Area Director(s) give consent, and add corresponding milestones.<br>
<br>
Additionally, the Working Group will not start work on any extensions that<=
br>
are specific to HTTP/2.0 until that work is completed.<br>
<br>
<br>
Goals and Milestones<br>
<br>
Done =C2=A0 =C2=A0First HTTP/1.1 Revision Internet Draft<br>
Done =C2=A0 =C2=A0First HTTP Security Properties Internet Draft<br>
Done =C2=A0 =C2=A0Call for Proposals for HTTP/2.0<br>
Aug 2012 =C2=A0 =C2=A0 =C2=A0 =C2=A0Working Group Last Call for HTTP/1.1 Re=
vision<br>
Sep 2012 =C2=A0 =C2=A0 =C2=A0 =C2=A0Working Group Last Call for HTTP Securi=
ty Properties<br>
Sep 2012 =C2=A0 =C2=A0 =C2=A0 =C2=A0First WG draft of HTTP/2.0, based upon =
draft-mbelshe-httpbis-spdy-00<br>
Oct 2012 =C2=A0 =C2=A0 =C2=A0 =C2=A0Submit HTTP/1.1 Revision to IESG for co=
nsideration as a Proposed Standard<br>
Oct 2012 =C2=A0 =C2=A0 =C2=A0 =C2=A0Submit HTTP Security Properties to IESG=
 for consideration as Informational RFC<br>
Apr 2014 =C2=A0 =C2=A0 =C2=A0 =C2=A0Working Group Last call for HTTP/2.0<br=
>
Nov 2014 =C2=A0 =C2=A0 =C2=A0 =C2=A0Submit HTTP/2.0 to IESG for considerati=
on as a Proposed Standard<br>
---&gt;8---<br>
<br>
Regards,<br>
<br>
--<br>
Mark Nottingham =C2=A0 Systems Architect, Cloud Standards and APIs<br>
<a href=3D"mailto:mark.nottingham@rackspace.com">mark.nottingham@rackspace.=
com</a> =C2=A0 =C2=A0<a href=3D"http://www.mnot.net/" target=3D"_blank">htt=
p://www.mnot.net/</a><br>
<br>
--<br>
Mark Nottingham<br>
<a href=3D"http://www.mnot.net/" target=3D"_blank">http://www.mnot.net/</a>=
<br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div><br>

--0016e6471bca6447f104c662b787--


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 14:06:33 2012
Return-Path: <ietf-http-wg-request@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 2F33311E8099 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 14:06:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.087
X-Spam-Level: 
X-Spam-Status: No, score=-7.087 tagged_above=-999 required=5 tests=[AWL=2.512, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SUBJ_RE_NUM=1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lC-eQopYtKZT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 14:06:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A6C6F21E8089 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 14:06:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxP3Q-0004fW-Lw for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 21:05:04 +0000
Resent-Date: Fri, 03 Aug 2012 21:05:04 +0000
Resent-Message-Id: <E1SxP3Q-0004fW-Lw@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SxP3E-0003PV-7p for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 21:04:52 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SxP3C-0000WO-H3 for ietf-http-wg@w3.org; Fri, 03 Aug 2012 21:04:52 +0000
Received: From [192.168.1.25] (unverified [219.89.218.88]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.2.6 (Build 3449)) with SMTP id <0019174452@smtp.qbik.com>; Sat, 04 Aug 2012 09:04:25 +1200
From: "Adrien de Croy" <adrien@qbik.com>
To: "Zhong Yu" <zhong.j.yu@gmail.com>
Cc: =?utf-8?q?Martin=20J=2e=20D=c3=bcrst?= <duerst@it.aoyama.ac.jp>, "James M Snell" <jasnell@gmail.com>, "Poul-Henning Kamp" <phk@phk.freebsd.dk>, "Mike Belshe" <mike@belshe.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Fri, 03 Aug 2012 21:04:24 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <CACuKZqHj2tx_MDeg6rjncrCdzc61tRC8TJVbhgJe4KDmu=1vvA@mail.gmail.com>
Message-Id: <emcb1e378c-a3b9-4b39-9f43-238a1d5c1cfb@reboist>
Mime-Version: 1.0
Reply-To: "Adrien de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SxP3C-0000WO-H3 dfce8be1eae242768f03fb14d2c66f83
X-Original-To: ietf-http-wg@w3.org
Subject: Re[2]: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/emcb1e378c-a3b9-4b39-9f43-238a1d5c1cfb@reboist>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14927
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>

------ Original Message ------
From: "Zhong Yu" <zhong.j.yu@gmail.com>
>Wait... why should HTTP care about the internal structure of a URI?
>

shared caches

Adrien



From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 14:06:34 2012
Return-Path: <ietf-http-wg-request@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 6EC4811E8099 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 14:06:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.562
X-Spam-Level: 
X-Spam-Status: No, score=-8.562 tagged_above=-999 required=5 tests=[AWL=2.038, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NOjWo9QZKdvN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 14:06:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6A9E721E808E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 14:06:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxP4I-0004n8-Kc for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 21:05:58 +0000
Resent-Date: Fri, 03 Aug 2012 21:05:58 +0000
Resent-Message-Id: <E1SxP4I-0004n8-Kc@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SxP43-0004lZ-BG for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 21:05:43 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SxP3z-0006yu-BR for ietf-http-wg@w3.org; Fri, 03 Aug 2012 21:05:43 +0000
Received: from [10.6.130.84] (unknown [50.56.228.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 9B76522E1F4; Fri,  3 Aug 2012 17:05:17 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CABP7RbcS-yOuxUG2u-OB3rGK+s1MTp-TXa9ts4xwnp-o7Pchjw@mail.gmail.com>
Date: Fri, 3 Aug 2012 16:05:17 -0500
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <542F28E6-8756-4B9B-A1E9-EADBA4F1E576@mnot.net>
References: <28F9FD01-5B48-45F2-A3A2-758EEE162704@mnot.net> <CABP7RbcS-yOuxUG2u-OB3rGK+s1MTp-TXa9ts4xwnp-o7Pchjw@mail.gmail.com>
To: James M Snell <jasnell@gmail.com>
X-Mailer: Apple Mail (2.1485)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SxP3z-0006yu-BR a394fb41509de18a2742f03aad568e19
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/542F28E6-8756-4B9B-A1E9-EADBA4F1E576@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14928
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 03/08/2012, at 3:52 PM, James M Snell <jasnell@gmail.com> wrote:
>=20
> I want to just clarify that the proposed language does leave the room =
open for potentially non-backwards compatible changes to be made within =
HTTP 2.0. Specifically, the way I read this, it should be possible for =
us to tunnel a 1.1 message through a 2.0 request, as well as reasonably =
translate a 2.0 message into a 1.1, but the charter also allows for the =
introduction of mechanisms within 2.0 that do not necessarily translate =
directly into 1.1 so long as those are clearly spelled out within the =
specification (In particular I'm thinking of things like the binary =
optimized header encoding, UTF-8 support, etc). I see nothing in the =
draft spec language that rules non-backwards compatible changes as being =
out of scope. If that's correct, then I'm +1 on the revised charter.

It does not prohibit optimisations, but the combination of the =
requirements for supporting current use cases, current extensions and =
1.x<->2.0 does constrain things quite a bit.=20

Any such scheme is going to have to balance the concerns and gain =
consensus; e.g., telling people that new headers have to be defined =
twice (as HTTP/1.x and HTTP/2.x) probably isn't going to fly, because of =
the burdens that places on new headers as well as intermediaries.

Cheers,


--
Mark Nottingham
http://www.mnot.net/






From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 14:06:44 2012
Return-Path: <ietf-http-wg-request@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 BD98C21E8095 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 14:06:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.127
X-Spam-Level: 
X-Spam-Status: No, score=-7.127 tagged_above=-999 required=5 tests=[AWL=2.471, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SUBJ_RE_NUM=1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EP95sBEwov9r for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 14:06:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A0B6121E8094 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 14:06:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxP4o-0004tb-N1 for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 21:06:30 +0000
Resent-Date: Fri, 03 Aug 2012 21:06:30 +0000
Resent-Message-Id: <E1SxP4o-0004tb-N1@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SxP4c-0004pB-9S for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 21:06:18 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SxP4a-0000YH-Nf for ietf-http-wg@w3.org; Fri, 03 Aug 2012 21:06:18 +0000
Received: From [192.168.1.25] (unverified [219.89.218.88]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.2.6 (Build 3449)) with SMTP id <0019174455@smtp.qbik.com>; Sat, 04 Aug 2012 09:05:54 +1200
From: "Adrien de Croy" <adrien@qbik.com>
To: "James M Snell" <jasnell@gmail.com>, "Zhong Yu" <zhong.j.yu@gmail.com>
Cc: =?utf-8?q?Martin=20J=2e=20D=c3=bcrst?= <duerst@it.aoyama.ac.jp>, "Poul-Henning Kamp" <phk@phk.freebsd.dk>, "Mike Belshe" <mike@belshe.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Fri, 03 Aug 2012 21:05:53 +0000
Content-Type: multipart/alternative; boundary="------=_MB28A89C7C-4EB2-48A0-8A47-AB829C466A8E"
In-Reply-To: <CABP7Rbf2P7qC3Uu_-sC3OqCuUGw5QhF+DNjbA0LhUhj-CDABwA@mail.gmail.com>
Message-Id: <em3ff60a6d-dd6e-4747-9648-17256e5f8332@reboist>
Mime-Version: 1.0
Reply-To: "Adrien de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SxP4a-0000YH-Nf 482e1c15d9c9937c8707f18618268207
X-Original-To: ietf-http-wg@w3.org
Subject: Re[2]: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/em3ff60a6d-dd6e-4747-9648-17256e5f8332@reboist>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14929
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>

--------=_MB28A89C7C-4EB2-48A0-8A47-AB829C466A8E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8

=EF=BB=BF
------ Original Message ------
From: "James M Snell" <jasnell@gmail.com>
To: "Zhong Yu" <zhong.j.yu@gmail.com>
Cc: "Adrien W. de Croy" <adrien@qbik.com>;"Martin J. D=C3=BCrst"=20
<duerst@it.aoyama.ac.jp>;"Poul-Henning Kamp" <phk@phk.freebsd.dk>;"Mike=20
Belshe" <mike@belshe.com>;"ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Sent: 4/08/2012 5:11:53 a.m.
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
>+1... at the HTTP level, we should not be trying to split up the=20
>request URI like this. Treat it like an opaque string...
>Besides, there are MANY applications that mix application specific=20
>parameters into the path as well as the query string, so splitting=20
>those up to protect privacy doesn't really make any sense at all.

I wasn't suggesting it as a privacy thing.

Merely as a way to avoid string parsing, which necessitates escaping,=20
which reduces performance, and introduces other problems.

Adrien

--------=_MB28A89C7C-4EB2-48A0-8A47-AB829C466A8E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8

<HTML><HEAD>
<STYLE id=3DeMClientCss>blockquote.cite { margin-left: 5px; margin-right:=
 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #000000=
 }
.plain pre { font-family: monospace; font-size: 100%; font-weight: normal;=
 font-style: normal; }
body {font-family: Tahoma;font-size: 12pt;}
.plain pre {font-family: Tahoma;font-size: 12pt;}

#eb3e8ccc941f48c89c9f69cad7e2b7c0 BLOCKQUOTE.cite
{BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px}
#eb3e8ccc941f48c89c9f69cad7e2b7c0 .plain PRE
{FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal}
#eb3e8ccc941f48c89c9f69cad7e2b7c0=20
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}
#eb3e8ccc941f48c89c9f69cad7e2b7c0 .plain PRE
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}</STYLE>
</HEAD>
<BODY scroll=3Dauto class><BR>------ Original Message ------<BR>From: "Jame=
s M Snell" &lt;jasnell@gmail.com&gt;<BR>To: "Zhong Yu" &lt;zhong.j.yu@gmail=
.com&gt;<BR>Cc: "Adrien W. de Croy" &lt;adrien@qbik.com&gt;;"Martin J. D=
=C3=BCrst" &lt;duerst@it.aoyama.ac.jp&gt;;"Poul-Henning Kamp" &lt;phk@phk.f=
reebsd.dk&gt;;"Mike Belshe" &lt;mike@belshe.com&gt;;"ietf-http-wg@w3.org"=
 &lt;ietf-http-wg@w3.org&gt;<BR>Sent: 4/08/2012 5:11:53 a.m.<BR>Subject:=
 Re: FYI... Binary Optimized Header Encoding for SPDY<BR>
<BLOCKQUOTE class=3Dcite cite=3DCABP7Rbf2P7qC3Uu_-sC3OqCuUGw5QhF+DNjbA0LhUh=
j-CDABwA@mail.gmail.com type=3D"cite">
<DIV id=3Deb3e8ccc941f48c89c9f69cad7e2b7c0><FONT face=3D"courier new,monosp=
ace">+1... at the HTTP level, we should not be trying to split up the reque=
st URI like this. Treat it like an opaque string...</FONT>=20
<DIV><FONT face=3D"courier new,monospace"><BR></FONT></DIV>
<DIV><FONT face=3D"courier new,monospace">Besides, there are MANY applicati=
ons that mix application specific parameters into the path as well as the=
 query string, so splitting those up to protect privacy doesn't really make=
 any sense at all.</FONT></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>I wasn't suggesting it as a privacy=
 thing.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Merely as a way to avoid string parsi=
ng, which necessitates escaping, which reduces performance, and introduces=
 other problems.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Adrien<BR></DIV></BODY></HTML>
--------=_MB28A89C7C-4EB2-48A0-8A47-AB829C466A8E--



From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 14:12:12 2012
Return-Path: <ietf-http-wg-request@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 E04C521E805D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 14:12:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.588
X-Spam-Level: 
X-Spam-Status: No, score=-10.588 tagged_above=-999 required=5 tests=[AWL=0.011, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jpdz71Cqio4m for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 14:12:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 600E511E8091 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 14:12:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxP9O-00076S-Gj for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 21:11:14 +0000
Resent-Date: Fri, 03 Aug 2012 21:11:14 +0000
Resent-Message-Id: <E1SxP9O-00076S-Gj@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SxP9C-00075d-EU for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 21:11:02 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SxP9B-00076p-FH for ietf-http-wg@w3.org; Fri, 03 Aug 2012 21:11:02 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 43D353B772; Fri,  3 Aug 2012 21:10:40 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q73LAcY8006716; Fri, 3 Aug 2012 21:10:39 GMT (envelope-from phk@phk.freebsd.dk)
To: James M Snell <jasnell@gmail.com>
cc: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 03 Aug 2012 13:52:52 MST." <CABP7RbcS-yOuxUG2u-OB3rGK+s1MTp-TXa9ts4xwnp-o7Pchjw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 03 Aug 2012 21:10:38 +0000
Message-ID: <6715.1344028238@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SxP9B-00076p-FH 4d69dae9f1776bc98967d46f5ef68b38
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/6715.1344028238@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14930
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>

In message <CABP7RbcS-yOuxUG2u-OB3rGK+s1MTp-TXa9ts4xwnp-o7Pchjw@mail.gmail.com>
, James M Snell writes:

>I want to just clarify that the proposed language does leave the room open
>for potentially non-backwards compatible changes to be made within HTTP
>2.0.

Where does 2.0<-->1.1 conversion _realistically_ come into play ?

Given the premise that we will not get rid of 1.1 for a looong time
under any circumstances, we can either make the answer "everywhere"
(to get as much traffic upgraded as possible) or "nowhere" (leaving
1.1 traffic alone and using it as fallback, as long as needed.)

This is a question we should decide in the abstract, because it
greatly influences protocol design with respect to 1.1/2.0 interop
and upgrades.

For reasons of simplicity I'm partial to "nowhere", since it saves
a lot of verbiage about the conversions, and would give us more
free hands to make HTTP/2.0 actually be better.

If the consensus is "everywhere", we should bite the bullet up front,
and decide to do both "HTTP/2.0-reduced" which can be mapped to
1.1, and "HTTP/2.0-full" which cannot, so that we have a path to
eventually get rid of HTTP/1.1.

If we have that modality in our vocabulary, it becomes very easy
to explain things like:

	In HTTP/2.0-reduced headers are in ASCII
	In HTTP/2.0-full headers are in UTF8 

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 14:16:09 2012
Return-Path: <ietf-http-wg-request@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 8546E21F8C9A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 14:16:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.477
X-Spam-Level: 
X-Spam-Status: No, score=-6.477 tagged_above=-999 required=5 tests=[AWL=3.499, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZhaTzAE59N2h for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 14:16:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 09D0421F842A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 14:16:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxPDo-0002Ke-41 for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 21:15:48 +0000
Resent-Date: Fri, 03 Aug 2012 21:15:48 +0000
Resent-Message-Id: <E1SxPDo-0002Ke-41@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <barryleiba.mailing.lists@gmail.com>) id 1SxPDb-0002Hc-KN for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 21:15:35 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <barryleiba.mailing.lists@gmail.com>) id 1SxPDa-0007EF-Jz for ietf-http-wg@w3.org; Fri, 03 Aug 2012 21:15:35 +0000
Received: by lbol12 with SMTP id l12so1545139lbo.2 for <ietf-http-wg@w3.org>; Fri, 03 Aug 2012 14:15:07 -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:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=IjOYbc0SqJliRhabv1vJ3Ub3ze4DpBPjC7pw0S15lQk=; b=aEFgHdc0vLULsKXkZLq+B0IcIvEBJFhJlTP8XJSb2ZustiSv4hV3WqUNrhTcEfnQoD mkxkjT0HcVLnj4GtQcVjFi9yWiyEVISScZmah2sxKLta732etLc+tcfdZVLkcjl16O0v yKGo3IUuyDFMEcDQAQXOGNweDSt/GB+HQlauCjbwzkDhOZIDZ6u42j4+PFtOQGc/MXU5 +CHc4yDF7jgS/PhcSS8TSUttcsz+4rFimC38OgFKObaGA3DT5JlEnMeLRmqX7qKhCXXg BgWZMLsW09ZuZUZfSth2WVH5Wi+cmB3uq4nRTyaZdu4whtVqGUbLc+FLYtLOdzfv31hp hB1A==
MIME-Version: 1.0
Received: by 10.152.103.11 with SMTP id fs11mr2800936lab.23.1344028507788; Fri, 03 Aug 2012 14:15:07 -0700 (PDT)
Sender: barryleiba.mailing.lists@gmail.com
Received: by 10.112.17.133 with HTTP; Fri, 3 Aug 2012 14:15:07 -0700 (PDT)
In-Reply-To: <28F9FD01-5B48-45F2-A3A2-758EEE162704@mnot.net>
References: <28F9FD01-5B48-45F2-A3A2-758EEE162704@mnot.net>
Date: Fri, 3 Aug 2012 17:15:07 -0400
X-Google-Sender-Auth: k22DmTglCcWfLg-DD0cfnuFWdeo
Message-ID: <CAC4RtVBjsefMuURrwiyTCKGpw0ETfcLT2b0XMK089_-BDuLAAA@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
To: Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d040715c5c655bd04c663054b
Received-SPF: pass client-ip=209.85.217.171; envelope-from=barryleiba.mailing.lists@gmail.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SxPDa-0007EF-Jz 0e3c87e36e5da8fe0f984652ad45d3cb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/CAC4RtVBjsefMuURrwiyTCKGpw0ETfcLT2b0XMK089_-BDuLAAA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14931
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>

--f46d040715c5c655bd04c663054b
Content-Type: text/plain; charset=ISO-8859-1

> The Working Group will prioritize HTTP/1.1 work until it is complete.

Just a small bit of wording quibbling.  "Prioritize" means arranging in
priority order... it does not mean "make its highest priority".  I'd prefer
this:

"The Working Group will make HTTP/1.1 work its highest priority until that
work is complete."

Barry

--f46d040715c5c655bd04c663054b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<span class=3D"Apple-style-span" style>&gt; The Working Group will prioriti=
ze HTTP/1.1 work until it is complete.<br></span><div><span class=3D"Apple-=
style-span" style><br></span></div><div><span class=3D"Apple-style-span" st=
yle>Just a small bit of wording quibbling. =A0&quot;Prioritize&quot; means =
arranging in priority order... it does not mean &quot;make its highest prio=
rity&quot;. =A0I&#39;d prefer this:</span></div>
<div><span class=3D"Apple-style-span" style><br></span></div><span class=3D=
"Apple-style-span" style>&quot;The Working Group will make HTTP/1.1 work it=
s highest priority until that work is complete.&quot;</span><div><span clas=
s=3D"Apple-style-span" style><br>
</span></div><div><span class=3D"Apple-style-span" style>Barry<span></span>=
</span></div>

--f46d040715c5c655bd04c663054b--


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 14:20:32 2012
Return-Path: <ietf-http-wg-request@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 B3BAF21E808D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 14:20:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.169
X-Spam-Level: 
X-Spam-Status: No, score=-10.169 tagged_above=-999 required=5 tests=[AWL=0.429, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ByAQl8vhEtkI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 14:20:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D3E0321E805D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 14:20:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxPHU-0002Wl-FT for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 21:19:36 +0000
Resent-Date: Fri, 03 Aug 2012 21:19:36 +0000
Resent-Message-Id: <E1SxPHU-0002Wl-FT@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SxPHH-0002Vr-SS for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 21:19:23 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SxPHG-0007Ol-UD for ietf-http-wg@w3.org; Fri, 03 Aug 2012 21:19:23 +0000
Received: by vcdd16 with SMTP id d16so1226391vcd.2 for <ietf-http-wg@w3.org>; Fri, 03 Aug 2012 14:18:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Vfk2Ipp6k901Hoo+EhINV2hQB2XJu9RtR6NqK40GQ64=; b=gR6qQQLJuYtg9fTwJAfjKtpntIBt/js+29f8cRLnD+4Cmiu+R3IGzHy3N9l+8p0hXl t5T3I/tT7ER3fLUIJUqYjcXVJ/AEuwM6RKb2b8C5T2FrbqNoEJA82R6uM2dYunZLUTef d2zshAnr1a0k+EeJ0WdVXqBqeuo+8pAlCku8Xh84U4hxYKdtuatXcWM0RmlQLg7s5wnA d+c4RTu4F5zgahQOgTOr56xAFBH4OiE14aq9BGSbs2V0pTeqszPV6aRnttxRjRxGLNMB F5yi+tmXBJuVQ0OT00TsqwAzSrDZVVkvL+1ZzRK8RvIskZLn7YWVXd6XnO8Gv9DkMtMZ 4iLQ==
MIME-Version: 1.0
Received: by 10.52.100.165 with SMTP id ez5mr2089891vdb.108.1344028736760; Fri, 03 Aug 2012 14:18:56 -0700 (PDT)
Received: by 10.58.221.97 with HTTP; Fri, 3 Aug 2012 14:18:56 -0700 (PDT)
In-Reply-To: <6715.1344028238@critter.freebsd.dk>
References: <CABP7RbcS-yOuxUG2u-OB3rGK+s1MTp-TXa9ts4xwnp-o7Pchjw@mail.gmail.com> <6715.1344028238@critter.freebsd.dk>
Date: Fri, 3 Aug 2012 14:18:56 -0700
Message-ID: <CAAPAK-4=D3hnrpBiE_derUHU+-i2V1qdEw19+srLc5ckuGec-w@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: James M Snell <jasnell@gmail.com>, Mark Nottingham <mnot@mnot.net>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf3063dc036c2d5104c663138c
Received-SPF: pass client-ip=209.85.220.171; envelope-from=dzonatas@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SxPHG-0007Ol-UD 0716750eaf89b808d10d83259e80c560
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/CAAPAK-4=D3hnrpBiE_derUHU+-i2V1qdEw19+srLc5ckuGec-w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14932
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>

--20cf3063dc036c2d5104c663138c
Content-Type: text/plain; charset=ISO-8859-1

That makes it easier to require, and say, the first message of any new HTTP
pipeline always has ASCII headers.

On Friday, August 3, 2012, Poul-Henning Kamp wrote:

> In message <
> CABP7RbcS-yOuxUG2u-OB3rGK+s1MTp-TXa9ts4xwnp-o7Pchjw@mail.gmail.com<javascript:;>
> >
> , James M Snell writes:
>
> >I want to just clarify that the proposed language does leave the room open
> >for potentially non-backwards compatible changes to be made within HTTP
> >2.0.
>
> Where does 2.0<-->1.1 conversion _realistically_ come into play ?
>
> Given the premise that we will not get rid of 1.1 for a looong time
> under any circumstances, we can either make the answer "everywhere"
> (to get as much traffic upgraded as possible) or "nowhere" (leaving
> 1.1 traffic alone and using it as fallback, as long as needed.)
>
> This is a question we should decide in the abstract, because it
> greatly influences protocol design with respect to 1.1/2.0 interop
> and upgrades.
>
> For reasons of simplicity I'm partial to "nowhere", since it saves
> a lot of verbiage about the conversions, and would give us more
> free hands to make HTTP/2.0 actually be better.
>
> If the consensus is "everywhere", we should bite the bullet up front,
> and decide to do both "HTTP/2.0-reduced" which can be mapped to
> 1.1, and "HTTP/2.0-full" which cannot, so that we have a path to
> eventually get rid of HTTP/1.1.
>
> If we have that modality in our vocabulary, it becomes very easy
> to explain things like:
>
>         In HTTP/2.0-reduced headers are in ASCII
>         In HTTP/2.0-full headers are in UTF8
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
>

--20cf3063dc036c2d5104c663138c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

That makes it easier to require, and say, the first message of any new HTTP=
 pipeline always has ASCII headers.<br><br>On Friday, August 3, 2012, Poul-=
Henning Kamp  wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In message &lt;<a href=3D"javascript:;" onclick=3D"_e(event, &#39;cvml&#39;=
, &#39;CABP7RbcS-yOuxUG2u-OB3rGK+s1MTp-TXa9ts4xwnp-o7Pchjw@mail.gmail.com&#=
39;)">CABP7RbcS-yOuxUG2u-OB3rGK+s1MTp-TXa9ts4xwnp-o7Pchjw@mail.gmail.com</a=
>&gt;<br>

, James M Snell writes:<br>
<br>
&gt;I want to just clarify that the proposed language does leave the room o=
pen<br>
&gt;for potentially non-backwards compatible changes to be made within HTTP=
<br>
&gt;2.0.<br>
<br>
Where does 2.0&lt;--&gt;1.1 conversion _realistically_ come into play ?<br>
<br>
Given the premise that we will not get rid of 1.1 for a looong time<br>
under any circumstances, we can either make the answer &quot;everywhere&quo=
t;<br>
(to get as much traffic upgraded as possible) or &quot;nowhere&quot; (leavi=
ng<br>
1.1 traffic alone and using it as fallback, as long as needed.)<br>
<br>
This is a question we should decide in the abstract, because it<br>
greatly influences protocol design with respect to 1.1/2.0 interop<br>
and upgrades.<br>
<br>
For reasons of simplicity I&#39;m partial to &quot;nowhere&quot;, since it =
saves<br>
a lot of verbiage about the conversions, and would give us more<br>
free hands to make HTTP/2.0 actually be better.<br>
<br>
If the consensus is &quot;everywhere&quot;, we should bite the bullet up fr=
ont,<br>
and decide to do both &quot;HTTP/2.0-reduced&quot; which can be mapped to<b=
r>
1.1, and &quot;HTTP/2.0-full&quot; which cannot, so that we have a path to<=
br>
eventually get rid of HTTP/1.1.<br>
<br>
If we have that modality in our vocabulary, it becomes very easy<br>
to explain things like:<br>
<br>
=A0 =A0 =A0 =A0 In HTTP/2.0-reduced headers are in ASCII<br>
=A0 =A0 =A0 =A0 In HTTP/2.0-full headers are in UTF8<br>
<br>
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
<br>
</blockquote>

--20cf3063dc036c2d5104c663138c--


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 14:34:32 2012
Return-Path: <ietf-http-wg-request@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 0A88B21E8040 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 14:34:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.701
X-Spam-Level: 
X-Spam-Status: No, score=-9.701 tagged_above=-999 required=5 tests=[AWL=0.897, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RTCpQSzSYkXb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 14:34:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B856011E80A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 14:34:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxPUO-0000V2-MO for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 21:32:56 +0000
Resent-Date: Fri, 03 Aug 2012 21:32:56 +0000
Resent-Message-Id: <E1SxPUO-0000V2-MO@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SxPUC-0000TT-9x for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 21:32:44 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SxPUB-0001CE-0z for ietf-http-wg@w3.org; Fri, 03 Aug 2012 21:32:44 +0000
Received: by wgbdq12 with SMTP id dq12so951844wgb.26 for <ietf-http-wg@w3.org>; Fri, 03 Aug 2012 14:32:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=g2vmZL0BDXDY+YMbE6duC/iGyETOf+zkP7+7ash7lLs=; b=v81Zw8ixV+rIsKuM6QOhY+MXrAjI+rXUSkE6U0zQP/Wk4txocHHKevKAHqfLNUvoez 2lvnhdrNp+rtIaKjoWtRzEMWino8hAtfYjIoWSLZr2xumoIbdNA+EBlJ6CM3yyR4cPsG /vowsNWriL8a9u4o4XRab3cozVY7hLLMG6xfEaBQnTZQkY2+UzGDcfj48iSM12TV/qoq 4avYeQe6o/F7VLVU8aeLJ+XA8JN3HTP//Eq9ay/leIrtfmfuJplw+UmtTBwggmLlhM8e ksbEK4cLKWM5xKtJgPa8UJrM+Bkmq6g6AnWEHsrLPHdWODNj/29GEBo6uKfXCEA8PA8H lWNQ==
Received: by 10.216.138.200 with SMTP id a50mr1565689wej.155.1344029536440; Fri, 03 Aug 2012 14:32:16 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Fri, 3 Aug 2012 14:31:56 -0700 (PDT)
In-Reply-To: <542F28E6-8756-4B9B-A1E9-EADBA4F1E576@mnot.net>
References: <28F9FD01-5B48-45F2-A3A2-758EEE162704@mnot.net> <CABP7RbcS-yOuxUG2u-OB3rGK+s1MTp-TXa9ts4xwnp-o7Pchjw@mail.gmail.com> <542F28E6-8756-4B9B-A1E9-EADBA4F1E576@mnot.net>
From: James M Snell <jasnell@gmail.com>
Date: Fri, 3 Aug 2012 14:31:56 -0700
Message-ID: <CABP7RbdWZ0WcuZA-grvJiSSBHxYGwr_fHFNv4B0qU2da=NYvrg@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=0016e6d7e73716533c04c6634330
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SxPUB-0001CE-0z 8b287c6e08cd05d0261e08c48eacf3ec
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/CABP7RbdWZ0WcuZA-grvJiSSBHxYGwr_fHFNv4B0qU2da=NYvrg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14933
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>

--0016e6d7e73716533c04c6634330
Content-Type: text/plain; charset=UTF-8

On Fri, Aug 3, 2012 at 2:05 PM, Mark Nottingham <mnot@mnot.net> wrote:

> [snip]
>
> Any such scheme is going to have to balance the concerns and gain
> consensus; e.g., telling people that new headers have to be defined twice
> (as HTTP/1.x and HTTP/2.x) probably isn't going to fly, because of the
> burdens that places on new headers as well as intermediaries.
>
>
Indeed. What would be far more likely (and useful) is to define *new*
headers strictly in HTTP/2.x terms and provide a canonical translation of
those into 1.1. Implementors that care about the new headers will make it
work; implementors who don't could easily ignore them.

Regardless, thank you for the clarification

- James


> Cheers,
>
>
> --
> Mark Nottingham
> http://www.mnot.net/
>
>
>
>
>

--0016e6d7e73716533c04c6634330
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<br><div class=3D"gmail_quote">On Fri, Aug 3, 2012 at 2:05 PM, Mark Notting=
ham <span dir=3D"ltr">&lt;<a href=3D"mailto:mnot@mnot.net" target=3D"_blank=
">mnot@mnot.net</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class=3D"im">[snip]</div>
<br>
Any such scheme is going to have to balance the concerns and gain consensus=
; e.g., telling people that new headers have to be defined twice (as HTTP/1=
.x and HTTP/2.x) probably isn&#39;t going to fly, because of the burdens th=
at places on new headers as well as intermediaries.<br>


<br></blockquote><div><br></div><div>Indeed. What would be far more likely =
(and useful) is to define *new* headers strictly in HTTP/2.x terms and prov=
ide a canonical translation of those into 1.1. Implementors that care about=
 the new headers will make it work; implementors who don&#39;t could easily=
 ignore them.=C2=A0</div>

<div><br></div><div>Regardless, thank you for the clarification</div><div><=
br></div><div>- James</div><div>=C2=A0</div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Cheers,<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
--<br>
Mark Nottingham<br>
<a href=3D"http://www.mnot.net/" target=3D"_blank">http://www.mnot.net/</a>=
<br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br>

--0016e6d7e73716533c04c6634330--


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 15:24:56 2012
Return-Path: <ietf-http-wg-request@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 E87F011E80AD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 15:24:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.718
X-Spam-Level: 
X-Spam-Status: No, score=-9.718 tagged_above=-999 required=5 tests=[AWL=0.880, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AWfzjC+Kwulf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 15:24:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A959A11E809C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 15:24:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxQGj-0005hC-Th for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Aug 2012 22:22:53 +0000
Resent-Date: Fri, 03 Aug 2012 22:22:53 +0000
Resent-Message-Id: <E1SxQGj-0005hC-Th@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SxQGK-0005gI-MG for ietf-http-wg@listhub.w3.org; Fri, 03 Aug 2012 22:22:28 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SxQGJ-0000in-HL for ietf-http-wg@w3.org; Fri, 03 Aug 2012 22:22:28 +0000
Received: by weyx43 with SMTP id x43so766281wey.2 for <ietf-http-wg@w3.org>; Fri, 03 Aug 2012 15:22:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=sWnQ/oa0XGFjm/iYH039fr5msjuOrh0068W3Zuiqb8Y=; b=BDD5157CW2wFHNvN+ev9SVMpd4FrcJDeZ3+4jZs0Uu1Z1nlQxBLM5wSHX8RGtaFrPZ /j0FzILLUuO7m3tiy+ByxCwS2qomL7oEQF7mUC5IhIdZtMigq63Koo2zoBMRx6zCxk63 lagGJ+DApPo58nGDyekDVANHkFMJ6XpwJqRoGtY/TOXmrxrsj8SWcwU/VmFDpf6YzGQA uW607fRWBqUeCT8hdV/tfUmYCr+cTRoRrBNkxlWUyvFfF+Pcigq2FG+GMlJorBLvWAOG 79bCk6T5YZh5bG8JZiFKB5qx6Kd8lK2y2hhM0tK+aQm5pCrwXNYydrRPu1pGxpAYVv6J Spsw==
Received: by 10.216.138.200 with SMTP id a50mr1621970wej.155.1344032521097; Fri, 03 Aug 2012 15:22:01 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Fri, 3 Aug 2012 15:21:40 -0700 (PDT)
From: James M Snell <jasnell@gmail.com>
Date: Fri, 3 Aug 2012 15:21:40 -0700
Message-ID: <CABP7Rbc-3XvGV6WQfdcUf+1i4zJ3S_2GCHQzHh9ONACrxBtFSQ@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=0016e6d7e737fc92eb04c663f4a9
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SxQGJ-0000in-HL ab3fab62c34b469a43cf4f578a4ed0d4
X-Original-To: ietf-http-wg@w3.org
Subject: FYI... In-Stream Key Negotiation Initial Draft
Archived-At: <http://www.w3.org/mid/CABP7Rbc-3XvGV6WQfdcUf+1i4zJ3S_2GCHQzHh9ONACrxBtFSQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14934
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>

--0016e6d7e737fc92eb04c663f4a9
Content-Type: text/plain; charset=UTF-8

For the purposes of discussion, I have published a rough first draft of the
SPDY KEY_NEGO mechanism I discussed previously.

  http://www.ietf.org/id/draft-snell-httpbis-keynego-00.txt

The short version is: this introduces the ability to perform key
negotiation for encrypted streams *within* an established SPDY session,
even if TLS is not being used to secure the connection. This is largely
theoretical and experimental at this point but I have done some initial
implementation to at least demonstrate (mostly for myself) that the basic
idea works in theory. However, there's much that would need to be done.

To answer the more immediate question: Why would we do this... the short
answer is that this approach gives us a number of things that TLS currently
does not.. specifically: the ability to multiplex secure and insecure
traffic over a single TCP/IP connection, server-initiated security,
in-stream end-to-end integrity checking, and dynamic, on-the-fly
(re)negotiation of keys on the fly without having to tear down and
reestablish the connection.

There is much more that needs to be done to flesh this out, obviously, and
I'm not yet convinced that it's a great idea. Much more experimentation and
implementation would need to go into determining that, but I wanted to get
the basic idea documented and out there for discussion and to get some
additional eyes looking at it.

As always, comments and feedback are welcomed.

- James

--0016e6d7e737fc92eb04c663f4a9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new, monospace">For the purposes of discussion, I hav=
e published a rough first draft of the SPDY KEY_NEGO mechanism I discussed =
previously.</font><div><font face=3D"courier new, monospace"><br></font></d=
iv>

<div><font face=3D"courier new, monospace">=C2=A0=C2=A0<a href=3D"http://ww=
w.ietf.org/id/draft-snell-httpbis-keynego-00.txt">http://www.ietf.org/id/dr=
aft-snell-httpbis-keynego-00.txt</a></font></div><div><font face=3D"courier=
 new, monospace"><br>

</font></div><div><font face=3D"courier new, monospace">The short version i=
s: this introduces the ability to perform key negotiation for encrypted str=
eams *within* an established SPDY session, even if TLS is not being used to=
 secure the connection. This is largely theoretical and experimental at thi=
s point but I have done some initial implementation to at least demonstrate=
 (mostly for myself) that the basic idea works in theory. However, there&#3=
9;s much that would need to be done.</font></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">To answer the more immediate question: Why woul=
d we do this... the short answer is that this approach gives us a number of=
 things that TLS currently does not.. specifically: the ability to multiple=
x secure and insecure traffic over a single TCP/IP connection, server-initi=
ated security, in-stream end-to-end integrity checking, and dynamic, on-the=
-fly (re)negotiation of keys on the fly without having to tear down and ree=
stablish the connection.</font></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">There is much more that needs to be done to fle=
sh this out, obviously, and I&#39;m not yet convinced that it&#39;s a great=
 idea. Much more experimentation and implementation would need to go into d=
etermining that, but I wanted to get the basic idea documented and out ther=
e for discussion and to get some additional eyes looking at it.</font></div=
>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">As always, comments and feedback are welcomed.=
=C2=A0</font></div><div><font face=3D"courier new, monospace"><br></font></=
div><div>

<font face=3D"courier new, monospace">- James</font></div>

--0016e6d7e737fc92eb04c663f4a9--


From ietf-http-wg-request@listhub.w3.org  Fri Aug  3 20:12:51 2012
Return-Path: <ietf-http-wg-request@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 2885D21F8D5B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 20:12:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.099
X-Spam-Level: 
X-Spam-Status: No, score=-7.099 tagged_above=-999 required=5 tests=[AWL=3.500, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V2W3yg6HBz1A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  3 Aug 2012 20:12:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 71F3E21F8D5A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  3 Aug 2012 20:12:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxUlP-0004kG-O4 for ietf-http-wg-dist@listhub.w3.org; Sat, 04 Aug 2012 03:10:51 +0000
Resent-Date: Sat, 04 Aug 2012 03:10:51 +0000
Resent-Message-Id: <E1SxUlP-0004kG-O4@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zehn.cao@gmail.com>) id 1SxUl8-0004jV-Cv for ietf-http-wg@listhub.w3.org; Sat, 04 Aug 2012 03:10:34 +0000
Received: from mail-gh0-f171.google.com ([209.85.160.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zehn.cao@gmail.com>) id 1SxUl7-000275-2r for ietf-http-wg@w3.org; Sat, 04 Aug 2012 03:10:34 +0000
Received: by ghy16 with SMTP id 16so1489399ghy.2 for <ietf-http-wg@w3.org>; Fri, 03 Aug 2012 20:10:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=NO5mIR4gtuP66ElLui+PmH2u4GyqkgrYp0BRsq6rsXk=; b=MC7hpE15IW7VPeXqF3zFESUtW5ZEyQekqZr9qq9/sRcFCih5LbcpENEUVL8O6mpWz3 WLL2kfuP3RWh1qno4CBX6FTjUW5KxjYRvEKrtvuAlNzpVTbcX0c/nfZJOEXtoPcuIkC4 1ycs1ufbp9EpCyGbPlIPnWo1g4/W01orw92cO8nxnVGcd+oqktUOF3jg+RFrgqLSoU5/ uzzwNFsFSdLM7dPAZVdeL1ibvtce7L0c62D2KkSCq9yFAhJKo3jyn00/iCWddwLZKeLb 2AMJSXHQEB8jG5/Dgz8xwSaoiPoeAJz8Y29BtNY+oNOq5jHJ3CiZCc7HLMTbGv6QJvG3 aj3Q==
MIME-Version: 1.0
Received: by 10.50.187.226 with SMTP id fv2mr265447igc.47.1344049806553; Fri, 03 Aug 2012 20:10:06 -0700 (PDT)
Received: by 10.64.164.196 with HTTP; Fri, 3 Aug 2012 20:10:06 -0700 (PDT)
In-Reply-To: <57ED38C2-30BF-4AC8-A60D-58410DC24B9C@mnot.net>
References: <57ED38C2-30BF-4AC8-A60D-58410DC24B9C@mnot.net>
Date: Fri, 3 Aug 2012 20:10:06 -0700
Message-ID: <CAProHAQa7XXvVVKPNuFmutpckQPN8KXZCPSZQrLu0AwYxNUx8g@mail.gmail.com>
From: Zhen Cao <zehn.cao@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.160.171; envelope-from=zehn.cao@gmail.com; helo=mail-gh0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SxUl7-000275-2r d4ee6473987cd27122575a08b686cda5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Vancouver minutes
Archived-At: <http://www.w3.org/mid/CAProHAQa7XXvVVKPNuFmutpckQPN8KXZCPSZQrLu0AwYxNUx8g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14935
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>

Where can I find the slides? Only one set of slides posted on the
proceedings page.

-cz

On Fri, Aug 3, 2012 at 11:46 AM, Mark Nottingham <mnot@mnot.net> wrote:
> ROUGH minutes for Tuesday's session are attached.
>
> Those for Wednesday are available at:
>   http://www.ietf.org/jabber/logs/httpbis/2012-08-01.html
>
> I'll clean them up and get them recorded ASAP.
>
> Thanks,
>
>
>
>
> --
> Mark Nottingham
> http://www.mnot.net/
>
>
>
>
>


From ietf-http-wg-request@listhub.w3.org  Sat Aug  4 02:46:39 2012
Return-Path: <ietf-http-wg-request@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 AA3B621F8769 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  4 Aug 2012 02:46:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.372
X-Spam-Level: 
X-Spam-Status: No, score=-9.372 tagged_above=-999 required=5 tests=[AWL=1.228, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hsqcnaVUh6I6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  4 Aug 2012 02:46:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C479021F86D7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  4 Aug 2012 02:46:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sxatl-0001Mb-4p for ietf-http-wg-dist@listhub.w3.org; Sat, 04 Aug 2012 09:43:53 +0000
Resent-Date: Sat, 04 Aug 2012 09:43:53 +0000
Resent-Message-Id: <E1Sxatl-0001Mb-4p@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SxatU-0001LF-HQ for ietf-http-wg@listhub.w3.org; Sat, 04 Aug 2012 09:43:36 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SxatT-0002ef-Bj for ietf-http-wg@w3.org; Sat, 04 Aug 2012 09:43:36 +0000
Received: (qmail invoked by alias); 04 Aug 2012 09:43:07 -0000
Received: from AMontpellier-554-1-126-57.w92-145.abo.wanadoo.fr (EHLO [192.168.3.132]) [92.145.237.57] by mail.gmx.net (mp029) with SMTP; 04 Aug 2012 11:43:07 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX189CLYExno9lKzcCffyJBWMDyOY3dS5aMQlaCFId/ WJ/4kbnLg8D7Ln
Message-ID: <501CEE95.1010901@gmx.de>
Date: Sat, 04 Aug 2012 11:42:45 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Thunderbird/16.0a2
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <28F9FD01-5B48-45F2-A3A2-758EEE162704@mnot.net> <CAC4RtVBjsefMuURrwiyTCKGpw0ETfcLT2b0XMK089_-BDuLAAA@mail.gmail.com>
In-Reply-To: <CAC4RtVBjsefMuURrwiyTCKGpw0ETfcLT2b0XMK089_-BDuLAAA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SxatT-0002ef-Bj 57238c25c19d85dc4721d0b1c2c0e208
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/501CEE95.1010901@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14936
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 03.08.2012 23:15, Barry Leiba wrote:
>> The Working Group will prioritize HTTP/1.1 work until it is complete.
>
> Just a small bit of wording quibbling.  "Prioritize" means arranging in
> priority order... it does not mean "make its highest priority".  I'd
> prefer this:
>
> "The Working Group will make HTTP/1.1 work its highest priority until
> that work is complete."
>
> Barry

+1



From ietf-http-wg-request@listhub.w3.org  Sat Aug  4 03:21:48 2012
Return-Path: <ietf-http-wg-request@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 DBD6D21F87B4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  4 Aug 2012 03:21:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.53
X-Spam-Level: 
X-Spam-Status: No, score=-10.53 tagged_above=-999 required=5 tests=[AWL=0.069, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Za-rbyiWjnMe for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  4 Aug 2012 03:21:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 347D321F87B3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  4 Aug 2012 03:21:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxbSr-000095-TZ for ietf-http-wg-dist@listhub.w3.org; Sat, 04 Aug 2012 10:20:09 +0000
Resent-Date: Sat, 04 Aug 2012 10:20:09 +0000
Resent-Message-Id: <E1SxbSr-000095-TZ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1SxbSe-00071T-Uu for ietf-http-wg@listhub.w3.org; Sat, 04 Aug 2012 10:19:56 +0000
Received: from ams-iport-1.cisco.com ([144.254.224.140]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1SxbSd-0005ou-SB for ietf-http-wg@w3.org; Sat, 04 Aug 2012 10:19:56 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=lear@cisco.com; l=413; q=dns/txt; s=iport; t=1344075595; x=1345285195; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=sNrSdPgvX4tl0GT3qUHQkWrVC8ewR5rIhsLYRXilMx4=; b=JwqNMiqj1eDSKGkMiS8RE2+QGTq0GyvWkm7FlUtqJN+iSs6YxzsgmeSi J3ZobaDS/1GK4TofnhfRMliqk6gmI3vlG7eFj9Z+5BmejKfaOWxUBn4zm NPTh2tT+sUZBcsmGFiySZn9iERcM0iK7HXZnHLPfnC4X7NeLK0foRxZ0u A=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EAFj2HFCQ/khM/2dsb2JhbABFhXuzRIEHgiABAQEEEgEQVhALDgoCAgUhAgIPAkYGDQEHAQEeh2ucdo0ZkleBIZAZgRIDlUmOJoFmgmE
X-IronPort-AV: E=Sophos;i="4.77,711,1336348800";  d="scan'208";a="142005221"
Received: from ams-core-3.cisco.com ([144.254.72.76]) by ams-iport-1.cisco.com with ESMTP; 04 Aug 2012 10:19:29 +0000
Received: from dhcp-10-55-81-37.cisco.com (dhcp-10-55-81-37.cisco.com [10.55.81.37]) by ams-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id q74AJS0A026858 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 4 Aug 2012 10:19:29 GMT
Message-ID: <501CF730.50204@cisco.com>
Date: Sat, 04 Aug 2012 12:19:28 +0200
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <28F9FD01-5B48-45F2-A3A2-758EEE162704@mnot.net>
In-Reply-To: <28F9FD01-5B48-45F2-A3A2-758EEE162704@mnot.net>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=144.254.224.140; envelope-from=lear@cisco.com; helo=ams-iport-1.cisco.com
X-W3C-Hub-Spam-Status: No, score=-9.1
X-W3C-Hub-Spam-Report: BAYES_99=3.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: lisa.w3.org 1SxbSd-0005ou-SB 3a67c56b816ff867b01a5029736dc22d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/501CF730.50204@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14937
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>

Mark,

One change:

On 8/3/12 1:06 PM, Mark Nottingham wrote:
> As part of that work, the following issues are explicitly called out for
> discussion:
> * A negotiation mechanism that is capable of not only choosing between

I suggest striking the word "negotiation".  Perhaps it will be a
negotiation mechanism, but given that HTTP itself has no banner, other
approaches may be appropriate.

Eliot



From ietf-http-wg-request@listhub.w3.org  Sat Aug  4 04:16:05 2012
Return-Path: <ietf-http-wg-request@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 7834421F87BE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  4 Aug 2012 04:16:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.372
X-Spam-Level: 
X-Spam-Status: No, score=-9.372 tagged_above=-999 required=5 tests=[AWL=1.228, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id koUm7DnhvN-P for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  4 Aug 2012 04:16:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E9A9421F87BD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  4 Aug 2012 04:16:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxcIs-0002xO-Ug for ietf-http-wg-dist@listhub.w3.org; Sat, 04 Aug 2012 11:13:54 +0000
Resent-Date: Sat, 04 Aug 2012 11:13:54 +0000
Resent-Message-Id: <E1SxcIs-0002xO-Ug@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SxcIg-0002vk-Tw for ietf-http-wg@listhub.w3.org; Sat, 04 Aug 2012 11:13:42 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SxcIf-00076M-Qf for ietf-http-wg@w3.org; Sat, 04 Aug 2012 11:13:42 +0000
Received: (qmail invoked by alias); 04 Aug 2012 11:13:14 -0000
Received: from AMontpellier-259-1-83-115.w92-133.abo.wanadoo.fr (EHLO [192.168.3.131]) [92.133.50.115] by mail.gmx.net (mp002) with SMTP; 04 Aug 2012 13:13:14 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/ye+c7sS3ycxdJhmQzXbKNzQ9VU4KcFa8OF7Awch RfjuO7wphygkfx
Message-ID: <501D03AC.8020502@gmx.de>
Date: Sat, 04 Aug 2012 13:12:44 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Thunderbird/16.0a2
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <28F9FD01-5B48-45F2-A3A2-758EEE162704@mnot.net>
In-Reply-To: <28F9FD01-5B48-45F2-A3A2-758EEE162704@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SxcIf-00076M-Qf 243a35ed2f254d9a4efae7c62a5a96af
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/501D03AC.8020502@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14938
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>

Does taking SPDY as a base imply that what we'll be doing is a delta 
spec to HTTP/1.1, essentially adding one new TCP binding / 
serialization, and potentially some new options?

In that case I believe we should plan to maintain the HTTP/1.1 specs; 
both incorporating fixes for errata, and also doing editorial 
improvements so that the existing bits integrate well with the new stuff.

That would mean that we revise HTTPbis in parallel, and submit it for 
Full Standard at the same time the HTTP/2.0 go to Proposed.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Sat Aug  4 04:40:47 2012
Return-Path: <ietf-http-wg-request@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 880BD21F86D4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  4 Aug 2012 04:40:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q24YHYHEDIq6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  4 Aug 2012 04:40:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CEEB821F85A5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  4 Aug 2012 04:40:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sxcgw-0004K7-Tu for ietf-http-wg-dist@listhub.w3.org; Sat, 04 Aug 2012 11:38:46 +0000
Resent-Date: Sat, 04 Aug 2012 11:38:46 +0000
Resent-Message-Id: <E1Sxcgw-0004K7-Tu@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1Sxcgj-0004JH-A0 for ietf-http-wg@listhub.w3.org; Sat, 04 Aug 2012 11:38:33 +0000
Received: from mtv-iport-3.cisco.com ([173.36.130.14]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1Sxcgi-0007mI-2n for ietf-http-wg@w3.org; Sat, 04 Aug 2012 11:38:33 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=lear@cisco.com; l=846; q=dns/txt; s=iport; t=1344080312; x=1345289912; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=1hwnXJwiaynae1zjLXhwo5Yj6a7fyK4LICYGDzWtgBY=; b=S8bAIRFwY8gbUX7ZHQx+ZwUaKNHFmQl3MJPhDYWKoBOsOQNIcoPySCXB mOQDi4CZeXHNFUibOwOiakPmCQuQLH3TJaZNYJvKe2rX3pteEWNrizpuR 9vcz5VjOSXTvBWLyVY2h/+T/ALsxEBzpnQFfNkbkdH3+uhUA+zcSXo9Ut Y=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgAFABkJHVCrRDoH/2dsb2JhbABFhXuzQ4EHgiABAQEEEgEQVQEQCxgCAgUWCwICCQMCAQIBRQYNAQcBAR6HapwMjRmSVoEhkBmBEgOVSY4mgWaCYQ
X-IronPort-AV: E=Sophos;i="4.77,711,1336348800";  d="scan'208";a="51493584"
Received: from mtv-core-2.cisco.com ([171.68.58.7]) by mtv-iport-3.cisco.com with ESMTP; 04 Aug 2012 11:38:05 +0000
Received: from elear-mac.local (sjc-vpn2-345.cisco.com [10.21.113.89]) by mtv-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id q74BbJhk003626 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 4 Aug 2012 11:37:46 GMT
Message-ID: <501D096E.7000006@cisco.com>
Date: Sat, 04 Aug 2012 13:37:18 +0200
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Julian Reschke <julian.reschke@gmx.de>
CC: ietf-http-wg@w3.org
References: <28F9FD01-5B48-45F2-A3A2-758EEE162704@mnot.net> <501D03AC.8020502@gmx.de>
In-Reply-To: <501D03AC.8020502@gmx.de>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=173.36.130.14; envelope-from=lear@cisco.com; helo=mtv-iport-3.cisco.com
X-W3C-Hub-Spam-Status: No, score=-11.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: lisa.w3.org 1Sxcgi-0007mI-2n a58429b342bd7a01e957a4892884ed93
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/501D096E.7000006@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14939
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>

Julian,

On 8/4/12 1:12 PM, Julian Reschke wrote:
> Does taking SPDY as a base imply that what we'll be doing is a delta
> spec to HTTP/1.1, essentially adding one new TCP binding /
> serialization, and potentially some new options?
>
> In that case I believe we should plan to maintain the HTTP/1.1 specs;
> both incorporating fixes for errata, and also doing editorial
> improvements so that the existing bits integrate well with the new stuff.
>
> That would mean that we revise HTTPbis in parallel, and submit it for
> Full Standard at the same time the HTTP/2.0 go to Proposed.
>

The alternative would be to do something like what we did in Calsify
where we respecified ALL of the primitives in what was a major cleanup. 
That's not necessary here.  Arguably 2.0 doesn't even update 2616, let
alone obsolete it.

Eliot


From ietf-http-wg-request@listhub.w3.org  Sat Aug  4 13:25:45 2012
Return-Path: <ietf-http-wg-request@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 6898621F8795 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  4 Aug 2012 13:25:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.783
X-Spam-Level: 
X-Spam-Status: No, score=-7.783 tagged_above=-999 required=5 tests=[AWL=-0.316, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bT0Zo4U-eEYn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  4 Aug 2012 13:25:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BF2AB21F85BB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  4 Aug 2012 13:25:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxksX-0001WE-CQ for ietf-http-wg-dist@listhub.w3.org; Sat, 04 Aug 2012 20:23:17 +0000
Resent-Date: Sat, 04 Aug 2012 20:23:17 +0000
Resent-Message-Id: <E1SxksX-0001WE-CQ@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1SxksJ-0001Tz-70 for ietf-http-wg@listhub.w3.org; Sat, 04 Aug 2012 20:23:03 +0000
Received: from va3ehsobe001.messaging.microsoft.com ([216.32.180.11] helo=va3outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1SxksH-0001uh-KB for ietf-http-wg@w3.org; Sat, 04 Aug 2012 20:23:03 +0000
Received: from mail250-va3-R.bigfish.com (10.7.14.250) by VA3EHSOBE004.bigfish.com (10.7.40.24) with Microsoft SMTP Server id 14.1.225.23; Sat, 4 Aug 2012 20:22:34 +0000
Received: from mail250-va3 (localhost [127.0.0.1])	by mail250-va3-R.bigfish.com (Postfix) with ESMTP id B09E516801F6	for <ietf-http-wg@w3.org>; Sat,  4 Aug 2012 20:22:34 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14MLTC103.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -6
X-BigFish: VS-6(zz9371I148cI542M4015Izz1202hzz8275ch8275bh8275dhz2fh2a8h683h839h944hd24hf0ah107ah9a9j)
Received-SPF: pass (mail250-va3: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14MLTC103.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.240.21;KIP:(null);UIP:(null);(null);H:BL2PRD0310HT004.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail250-va3 (localhost.localdomain [127.0.0.1]) by mail250-va3 (MessageSwitch) id 1344111751896272_13641; Sat,  4 Aug 2012 20:22:31 +0000 (UTC)
Received: from VA3EHSMHS014.bigfish.com (unknown [10.7.14.241])	by mail250-va3.bigfish.com (Postfix) with ESMTP id D92AE1A40049	for <ietf-http-wg@w3.org>; Sat,  4 Aug 2012 20:22:31 +0000 (UTC)
Received: from TK5EX14MLTC103.redmond.corp.microsoft.com (131.107.125.8) by VA3EHSMHS014.bigfish.com (10.7.99.24) with Microsoft SMTP Server (TLS) id 14.1.225.23; Sat, 4 Aug 2012 20:22:31 +0000
Received: from co1outboundpool.messaging.microsoft.com (157.54.51.113) by mail.microsoft.com (157.54.79.174) with Microsoft SMTP Server (TLS) id 14.2.298.5; Sat, 4 Aug 2012 20:22:29 +0000
Received: from mail69-co1-R.bigfish.com (10.243.78.248) by CO1EHSOBE013.bigfish.com (10.243.66.76) with Microsoft SMTP Server id 14.1.225.23; Sat, 4 Aug 2012 20:22:28 +0000
Received: from mail69-co1 (localhost [127.0.0.1])	by mail69-co1-R.bigfish.com (Postfix) with ESMTP id CCDD0C60469	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Sat,  4 Aug 2012 20:22:28 +0000 (UTC)
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(13464001)(377454001)(164054002)(52604002)(16406001)(5343655001)(5343645001)(5343635001)(42186003)(33646001)(266001)(31966006)(24736002);DIR:INB;;LANG:en;
Received: from mail69-co1 (localhost.localdomain [127.0.0.1]) by mail69-co1 (MessageSwitch) id 1344111745478768_3941; Sat,  4 Aug 2012 20:22:25 +0000 (UTC)
Received: from CO1EHSMHS019.bigfish.com (unknown [10.243.78.241])	by mail69-co1.bigfish.com (Postfix) with ESMTP id 7148B68003F;	Sat,  4 Aug 2012 20:22:25 +0000 (UTC)
Received: from BL2PRD0310HT004.namprd03.prod.outlook.com (157.56.240.21) by CO1EHSMHS019.bigfish.com (10.243.66.29) with Microsoft SMTP Server (TLS) id 14.1.225.23; Sat, 4 Aug 2012 20:22:25 +0000
Received: from CH1PR03MB624.namprd03.prod.outlook.com (10.255.156.171) by BL2PRD0310HT004.namprd03.prod.outlook.com (10.255.97.39) with Microsoft SMTP Server (TLS) id 14.16.175.8; Sat, 4 Aug 2012 20:22:24 +0000
Received: from CH1PR03MB622.namprd03.prod.outlook.com (10.255.156.169) by CH1PR03MB624.namprd03.prod.outlook.com (10.255.156.171) with Microsoft SMTP Server (TLS) id 15.0.466.11; Sat, 4 Aug 2012 20:22:10 +0000
Received: from CH1PR03MB622.namprd03.prod.outlook.com ([169.254.5.238]) by CH1PR03MB622.namprd03.prod.outlook.com ([169.254.5.238]) with mapi id 15.00.0466.010; Sat, 4 Aug 2012 20:22:09 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Thread-Topic: Moving forward with HTTP/2.0: proposed charter
Thread-Index: AQHNcbOkLFKyqBQ17E+FFS7yUvbWSZdKEU4g
Date: Sat, 4 Aug 2012 20:22:09 +0000
Message-ID: <7900274048c2421bbabf476beba71644@CH1PR03MB622.namprd03.prod.outlook.com>
References: <28F9FD01-5B48-45F2-A3A2-758EEE162704@mnot.net>
In-Reply-To: <28F9FD01-5B48-45F2-A3A2-758EEE162704@mnot.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.255.156.148]
x-forefront-prvs: 0563F2E8B7
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OrganizationHeadersPreserved: CH1PR03MB624.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%MNOT.NET$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14MLTC103.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14MLTC103.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.180.11; envelope-from=henrikn@microsoft.com; helo=va3outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=1.3
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: maggie.w3.org 1SxksH-0001uh-KB 8d2f9eea3813d4388adbb9cc72f570f6
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/7900274048c2421bbabf476beba71644@CH1PR03MB622.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14940
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>

Mark

Thanks for sending this out! Based on the discussion at the Vancouver meeti=
ng and on the mailing list I think there are four items that need explicitl=
y to be clarified in the proposed charter:

1) Clarify the relationship to SPDY, especially the ongoing work on SPDY 3 =
and the upcoming 4. We don't want to get in a situation with dueling specif=
ications so we have to be clear on there the WG and the SPDY community stan=
d on this. My sense is that as the SPDY spec is used as a starting point we=
 have to roll all new development in under HTTP/2.0 as otherwise we don't k=
now where we stand.

2) Clarify the point made during the WG meeting in Vancouver that because s=
omething is in the starting point it doesn't mean that there is consensus a=
round it. That is, there shouldn't be a perception that because something i=
s in that we have to argue whether it should be taken out. It is just as mu=
ch an argument as to whether something should say in.

3) Clarify that it is the intent of HTTP/2.0 to function as a functional re=
placement of HTTP/1.1, part 1. That is, it should be possible (in practical=
 and realistic, not theoretical terms) to use HTTP/2.0 in the same scenario=
s where HTTP/1.1 (and HTTP/1.0) is used today. One group that is missing fr=
om the below is embedded systems in which HTTP has a huge role.

4) State that, while not part of the deliverables, given the focus on perfo=
rmance, the WG will continue work on performance evaluation so that we can =
determine whether something actually improves performance and by how much w=
ithin the scenarios we are looking at.

I have appended comments to clarify these issue in the below text (look for=
 text between $...$)

Thanks,

Henrik

HTTP/2.0
--------

There is emerging implementation experience and interest in a protocol that=
 retains the semantics of HTTP without the legacy of HTTP/1.x message frami=
ng and syntax, which have been identified as hampering performance and enco=
uraging misuse of the underlying transport.

The Working Group will produce a specification of a new expression of HTTP'=
s current semantics in ordered, bi-directional streams. As with HTTP/1.x, t=
he primary target transport is TCP, but it should be possible to use other =
transports.

Work will begin using draft-mbelshe-httpbis-spdy-00 as a starting point; pr=
oposals are to be expressed in terms of changes to that document. Note that=
 consensus is required both for changes to the document and anything that r=
emains in the document.

$Because something is in the initial document does not imply that there is =
consensus around the feature or how it is specified.$

$The outcome of this WG is HTTP/2.0, not SPDY. It is important that there i=
s no confusion about the relationship between HTTP/2.0 and SPDY as we do no=
t want to have dueling specifications in this area.$

As part of that work, the following issues are explicitly called out for di=
scussion:
* A negotiation mechanism that is capable of not only choosing between  HTT=
P/1.x and HTTP/2.x, but also for bindings of HTTP URLs to other  transports=
 (for example).
* Header compression (which may encompass header encoding or tokenisation)
* Server push (which may encompass pull or other techniques)

$Note that this doesn't mean that no other issues should be brought up. The=
 discussion can and should cover the entire HTTP/2.0 spec$

It is expected that HTTP/2.0 will:
* Substantially and measurably improve end-user perceived latency in most  =
cases, over HTTP/1.1 using TCP.
* Address the "head of line blocking" problem in HTTP.
* Not require multiple connections to a server to enable parallelism, thus =
 improving its use of TCP, especially regarding congestion control.
* Retain the semantics of HTTP/1.1, leveraging existing documentation (see =
 above), including (but not limited to) HTTP methods, status codes, URIs, a=
nd  where appropriate, header fields.
* Clearly define how HTTP/2.0 interacts with HTTP/1.x, especially in  inter=
mediaries (both 2->1 and 1->2).
* Clearly identify any new extensibility points and policy for their  appro=
priate use.

The resulting specification(s) are expected to be meet these goals for comm=
on existing deployments of HTTP; in particular, Web browsing (desktop and m=
obile), non-browsers ("HTTP APIs"), Web serving (at a variety of scales), a=
nd intermediation (by proxies, corporate firewalls, "reverse" proxies and C=
ontent Delivery Networks).=20

$as well as embedded systems$

Likewise, current and future semantic extensions to HTTP/1.x (e.g., headers=
, methods, status codes, cache directives) should be supported in the new p=
rotocol.

$That is, in functional terms, one should consider the goal of this work to=
 address parts of HTTP/1.1 part 1 in terms of how the HTTP protocol is mapp=
ed to message structures as well as to the underlying transport.$

Note that this does not include uses of HTTP where non-specified behaviours=
 are relied upon (e.g., connection state such as timeouts or client affinit=
y, and "interception" proxies); these uses may or may not be enabled by the=
 final product.

Explicitly out-of-scope items include:
* Specifying the use of alternate transport-layer protocols. Note that it  =
is expected that the Working Group will define how the protocol is used  wi=
th the TLS Protocol.
* Specifying how the HTTP protocol is to be used or presented in a specific=
  use case (e.g., in Web browsers).

$While not a direct deliverable of the WG, given the focus on performance, =
it is critical that the WG evaluates how well the proposed features in HTTP=
/2.0 perform within a common set of scenarios. It is expected that the WG w=
ill take such data into consideration when discussing features.$

The Working Group will coordinate this item with:
* The TLS Working Group, regarding use of TLS.
* The Transport Area, regarding impact on and interaction with transport  p=
rotocols.
* The HYBI Working Group, regarding the possible future extension of HTTP/2=
.0  to carry WebSockets semantics.

The Working Group will prioritize HTTP/1.1 work until it is complete.

Other HTTP-Related Work
-----------------------

The Working Group may define additional extensions to HTTP as work items, p=
rovided that:
* There is clear consensus to do so, and
* It does not, in the judgement of the Chair(s), interfere with the work  d=
escribed above, and
* The Area Director(s) give consent, and add corresponding milestones.

Additionally, the Working Group will not start work on any extensions that =
are specific to HTTP/2.0 until that work is completed.


-----Original Message-----
From: Mark Nottingham [mailto:mnot@mnot.net]=20
Sent: Friday, August 03, 2012 1:06 PM
To: ietf-http-wg@w3.org Group
Subject: Moving forward with HTTP/2.0: proposed charter

In the second Vancouver session, we discussed the proposals, expressions of=
 interest in them, and the proposed charter text sent to the list earlier.=
=20

The result of those discussions has been captured in the charter proposal b=
elow.

Please have a look and discuss, express your support or concern, and of cou=
rse make proposals for any changes that you believe will be able to gain co=
nsensus. Barring serious problems, I'd like to get it to the ADs in the nex=
t week.

---8<---

This Working Group is charged with maintaining and developing the "core"
specifications for HTTP.

The Working Group's specification deliverables are:
* A document (or set of documents) that is suitable to supersede RFC 2616 a=
s  the definition of HTTP/1.1 and move RFC 2817 to Historic status
* A document cataloguing the security properties of HTTP/1.1
* A document (or set of documents) that specifies HTTP/2.0, an improved  bi=
nding of HTTP's semantics to an underlying transport.

HTTP/1.1
--------

HTTP/1.1 is one of the most successful and widely-used protocols on the Int=
ernet today. However, its specification has several editorial issues.
Additionally, after years of implementation and extension, several ambiguit=
ies have become evident, impairing interoperability and the ability to easi=
ly implement and use HTTP.

The working group will refine RFC2616 to:
* Incorporate errata and updates (e.g., references, IANA registries, ABNF)
* Fix editorial problems which have led to misunderstandings of the  specif=
ication
* Clarify conformance requirements
* Remove known ambiguities where they affect interoperability
* Clarify existing methods of extensibility
* Remove or deprecate those features that are not widely implemented and  a=
lso unduly affect interoperability
* Where necessary, add implementation advice
* Document the security properties of HTTP and its associated mechanisms  (=
e.g., Basic and Digest authentication, cookies, TLS) for common  applicatio=
ns

It will also incorporate the generic authentication framework from RFC 2617=
, without obsoleting or updating that specification's definition of the Bas=
ic and Digest schemes.

Finally, it will incorporate relevant portions of RFC 2817 (in particular, =
the CONNECT method and advice on the use of Upgrade), so that that specific=
ation can be moved to Historic status.

In doing so, it should consider:
* Implementer experience
* Demonstrated use of HTTP
* Impact on existing implementations and deployments

HTTP/2.0
--------

There is emerging implementation experience and interest in a protocol that=
 retains the semantics of HTTP without the legacy of HTTP/1.x message frami=
ng and syntax, which have been identified as hampering performance and enco=
uraging misuse of the underlying transport.

The Working Group will produce a specification of a new expression of HTTP'=
s current semantics in ordered, bi-directional streams. As with HTTP/1.x, t=
he primary target transport is TCP, but it should be possible to use other =
transports.

Work will begin using draft-mbelshe-httpbis-spdy-00 as a starting point; pr=
oposals are to be expressed in terms of changes to that document. Note that=
 consensus is required both for changes to the document and anything that r=
emains in the document.

As part of that work, the following issues are explicitly called out for
discussion:
* A negotiation mechanism that is capable of not only choosing between  HTT=
P/1.x and HTTP/2.x, but also for bindings of HTTP URLs to other  transports=
 (for example).
* Header compression (which may encompass header encoding or tokenisation)
* Server push (which may encompass pull or other techniques)

It is expected that HTTP/2.0 will:
* Substantially and measurably improve end-user perceived latency in most  =
cases, over HTTP/1.1 using TCP.
* Address the "head of line blocking" problem in HTTP.
* Not require multiple connections to a server to enable parallelism, thus =
 improving its use of TCP, especially regarding congestion control.
* Retain the semantics of HTTP/1.1, leveraging existing documentation (see =
 above), including (but not limited to) HTTP methods, status codes, URIs, a=
nd  where appropriate, header fields.
* Clearly define how HTTP/2.0 interacts with HTTP/1.x, especially in  inter=
mediaries (both 2->1 and 1->2).
* Clearly identify any new extensibility points and policy for their  appro=
priate use.

The resulting specification(s) are expected to be meet these goals for comm=
on existing deployments of HTTP; in particular, Web browsing (desktop and m=
obile), non-browsers ("HTTP APIs"), Web serving (at a variety of scales), a=
nd intermediation (by proxies, corporate firewalls, "reverse" proxies and C=
ontent Delivery Networks). Likewise, current and future semantic extensions=
 to HTTP/1.x (e.g., headers, methods, status codes, cache directives) shoul=
d be supported in the new protocol.

Note that this does not include uses of HTTP where non-specified behaviours=
 are relied upon (e.g., connection state such as timeouts or client affinit=
y, and "interception" proxies); these uses may or may not be enabled by the=
 final product.

Explicitly out-of-scope items include:
* Specifying the use of alternate transport-layer protocols. Note that it  =
is expected that the Working Group will define how the protocol is used  wi=
th the TLS Protocol.
* Specifying how the HTTP protocol is to be used or presented in a specific=
  use case (e.g., in Web browsers).

The Working Group will coordinate this item with:
* The TLS Working Group, regarding use of TLS.
* The Transport Area, regarding impact on and interaction with transport  p=
rotocols.
* The HYBI Working Group, regarding the possible future extension of HTTP/2=
.0  to carry WebSockets semantics.

The Working Group will prioritize HTTP/1.1 work until it is complete.

Other HTTP-Related Work
-----------------------

The Working Group may define additional extensions to HTTP as work items, p=
rovided that:
* There is clear consensus to do so, and
* It does not, in the judgement of the Chair(s), interfere with the work  d=
escribed above, and
* The Area Director(s) give consent, and add corresponding milestones.

Additionally, the Working Group will not start work on any extensions that =
are specific to HTTP/2.0 until that work is completed.


Goals and Milestones

Done	First HTTP/1.1 Revision Internet Draft
Done	First HTTP Security Properties Internet Draft
Done	Call for Proposals for HTTP/2.0
Aug 2012	Working Group Last Call for HTTP/1.1 Revision
Sep 2012	Working Group Last Call for HTTP Security Properties
Sep 2012	First WG draft of HTTP/2.0, based upon draft-mbelshe-httpbis-spdy-=
00
Oct 2012	Submit HTTP/1.1 Revision to IESG for consideration as a Proposed S=
tandard
Oct 2012	Submit HTTP Security Properties to IESG for consideration as Infor=
mational RFC
Apr 2014	Working Group Last call for HTTP/2.0
Nov 2014	Submit HTTP/2.0 to IESG for consideration as a Proposed Standard
--->8---

Regards,

--
Mark Nottingham   Systems Architect, Cloud Standards and APIs
mark.nottingham@rackspace.com    http://www.mnot.net/

--
Mark Nottingham
http://www.mnot.net/












From ietf-http-wg-request@listhub.w3.org  Sat Aug  4 17:27:01 2012
Return-Path: <ietf-http-wg-request@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 C2BC221F87CC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  4 Aug 2012 17:27:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.486
X-Spam-Level: 
X-Spam-Status: No, score=-6.486 tagged_above=-999 required=5 tests=[AWL=-3.098, BAYES_00=-2.599, FB_WORD1_END_DOLLAR=3.294, FB_WORD2_END_DOLLAR=3.294, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id InxjTqLSeTXQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  4 Aug 2012 17:26:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0843121F87BC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  4 Aug 2012 17:26:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxoeE-0000xN-Uo for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Aug 2012 00:24:47 +0000
Resent-Date: Sun, 05 Aug 2012 00:24:46 +0000
Resent-Message-Id: <E1SxoeE-0000xN-Uo@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sxodw-0000vi-2a for ietf-http-wg@listhub.w3.org; Sun, 05 Aug 2012 00:24:28 +0000
Received: from mail-lpp01m010-f43.google.com ([209.85.215.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sxodt-0007Y0-D0 for ietf-http-wg@w3.org; Sun, 05 Aug 2012 00:24:28 +0000
Received: by lahg1 with SMTP id g1so952910lah.2 for <ietf-http-wg@w3.org>; Sat, 04 Aug 2012 17:23:58 -0700 (PDT)
X-Google-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:x-gm-message-state; bh=Ih9BA3S7Pxo/o0kJwIgCUbcIpV3shIIwag/QBfUyYXU=; b=YUpEEx4P2ar7tc0zYyyCrWVqtbjRxZUT2vKhG0iq04OOoLqahTFslR2YsLAsQdAqst dpZUq6kHvZTYjPPaVRbUqXP0HJgZRMFT2/OpqcCM8v2M+yuzkVrLQoJrVHVLFinkKS4x 26Sej3dmja5PLP76RQRk9ODW4wZeh3lqzTa5Xvgj5rUW3V9XydEnKuhcxiIbVX6m2Zqf c3cG/HE5xlX2U+BWqk5LoySulCaMsSlXVOitXPtUl4m6y7huj5Z9rOK/Yf2eCSh+szn5 1M4GmBChssbuvedxVhQIybgE6a6gKL35H7ylkLfQ5RASsA/fHOPeKt2ZgFPoPTDMpqfd UcOQ==
MIME-Version: 1.0
Received: by 10.152.104.146 with SMTP id ge18mr6140613lab.7.1344126238462; Sat, 04 Aug 2012 17:23:58 -0700 (PDT)
Received: by 10.112.77.33 with HTTP; Sat, 4 Aug 2012 17:23:58 -0700 (PDT)
In-Reply-To: <7900274048c2421bbabf476beba71644@CH1PR03MB622.namprd03.prod.outlook.com>
References: <28F9FD01-5B48-45F2-A3A2-758EEE162704@mnot.net> <7900274048c2421bbabf476beba71644@CH1PR03MB622.namprd03.prod.outlook.com>
Date: Sat, 4 Aug 2012 17:23:58 -0700
Message-ID: <CABaLYCs4gtdMvEeUC7FvQTUZhz8jVJv9pyYzQLK+N-WoC5fhEw@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
Cc: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d04083e13fa13d304c679c68e
X-Gm-Message-State: ALoCoQnYTcOpfi57n39sW6kxGlC5gUvmoWPD3BfgYolm0J/U97MlwyM+uH+joCtSDRLqCt4lHTKd
Received-SPF: none client-ip=209.85.215.43; envelope-from=mike@belshe.com; helo=mail-lpp01m010-f43.google.com
X-W3C-Hub-Spam-Status: No, score=0.1
X-W3C-Hub-Spam-Report: BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1Sxodt-0007Y0-D0 a7f8b52508086b8f1ec51137db2c873c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/CABaLYCs4gtdMvEeUC7FvQTUZhz8jVJv9pyYzQLK+N-WoC5fhEw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14941
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>

--f46d04083e13fa13d304c679c68e
Content-Type: text/plain; charset=ISO-8859-1

On Sat, Aug 4, 2012 at 1:22 PM, Henrik Frystyk Nielsen <
henrikn@microsoft.com> wrote:

> Mark
>
> Thanks for sending this out! Based on the discussion at the Vancouver
> meeting and on the mailing list I think there are four items that need
> explicitly to be clarified in the proposed charter:
>
> 1) Clarify the relationship to SPDY, especially the ongoing work on SPDY 3
> and the upcoming 4. We don't want to get in a situation with dueling
> specifications so we have to be clear on there the WG and the SPDY
> community stand on this. My sense is that as the SPDY spec is used as a
> starting point we have to roll all new development in under HTTP/2.0 as
> otherwise we don't know where we stand.
>
> 2) Clarify the point made during the WG meeting in Vancouver that because
> something is in the starting point it doesn't mean that there is consensus
> around it. That is, there shouldn't be a perception that because something
> is in that we have to argue whether it should be taken out. It is just as
> much an argument as to whether something should say in.
>
> 3) Clarify that it is the intent of HTTP/2.0 to function as a functional
> replacement of HTTP/1.1, part 1. That is, it should be possible (in
> practical and realistic, not theoretical terms) to use HTTP/2.0 in the same
> scenarios where HTTP/1.1 (and HTTP/1.0) is used today. One group that is
> missing from the below is embedded systems in which HTTP has a huge role.
>
> 4) State that, while not part of the deliverables, given the focus on
> performance, the WG will continue work on performance evaluation so that we
> can determine whether something actually improves performance and by how
> much within the scenarios we are looking at.
>
> I have appended comments to clarify these issue in the below text (look
> for text between $...$)


> Thanks,
>
> Henrik
>
> HTTP/2.0
> --------
>
> There is emerging implementation experience and interest in a protocol
> that retains the semantics of HTTP without the legacy of HTTP/1.x message
> framing and syntax, which have been identified as hampering performance and
> encouraging misuse of the underlying transport.
>
> The Working Group will produce a specification of a new expression of
> HTTP's current semantics in ordered, bi-directional streams. As with
> HTTP/1.x, the primary target transport is TCP, but it should be possible to
> use other transports.
>
> Work will begin using draft-mbelshe-httpbis-spdy-00 as a starting point;
> proposals are to be expressed in terms of changes to that document. Note
> that consensus is required both for changes to the document and anything
> that remains in the document.
>
> $Because something is in the initial document does not imply that there is
> consensus around the feature or how it is specified.$
>

I think this was already covered by "consensus is required both for changes
to the document and anything that remains in the document".


>
> $The outcome of this WG is HTTP/2.0, not SPDY. It is important that there
> is no confusion about the relationship between HTTP/2.0 and SPDY as we do
> not want to have dueling specifications in this area.$
>

There are no dueling specifications.  This working group is working on
HTTP/2.0.  We can say it again, but it probably doesn't decrease the
paranoia ;-)


>
> As part of that work, the following issues are explicitly called out for
> discussion:
> * A negotiation mechanism that is capable of not only choosing between
>  HTTP/1.x and HTTP/2.x, but also for bindings of HTTP URLs to other
>  transports (for example).
> * Header compression (which may encompass header encoding or tokenisation)
> * Server push (which may encompass pull or other techniques)
>
> $Note that this doesn't mean that no other issues should be brought up.
> The discussion can and should cover the entire HTTP/2.0 spec$
>

I think Mark was trying to confine our goals more than this.   Of course it
is true that things will come up as we go, but it is better if we can
identify the areas to work on up front.


>
> It is expected that HTTP/2.0 will:
> * Substantially and measurably improve end-user perceived latency in most
>  cases, over HTTP/1.1 using TCP.
> * Address the "head of line blocking" problem in HTTP.
> * Not require multiple connections to a server to enable parallelism, thus
>  improving its use of TCP, especially regarding congestion control.
> * Retain the semantics of HTTP/1.1, leveraging existing documentation (see
>  above), including (but not limited to) HTTP methods, status codes, URIs,
> and  where appropriate, header fields.
> * Clearly define how HTTP/2.0 interacts with HTTP/1.x, especially in
>  intermediaries (both 2->1 and 1->2).
> * Clearly identify any new extensibility points and policy for their
>  appropriate use.
>
> The resulting specification(s) are expected to be meet these goals for
> common existing deployments of HTTP; in particular, Web browsing (desktop
> and mobile), non-browsers ("HTTP APIs"), Web serving (at a variety of
> scales), and intermediation (by proxies, corporate firewalls, "reverse"
> proxies and Content Delivery Networks).
>
> $as well as embedded systems$
>

I think you're looking for 'reasonableness' - such that HTTP/2.0 works with
most existing systems.  I am too.

I don't think we need to callout 'embedded systems', as it is already
covered in "expected to meet these goals for common existing deployments of
HTTP".  Embedded systems are common today and will naturally be a big part
of HTTP/2.0.  If we call them out, do we need to start listing all the
other common uses of HTTP? :-)



>
> Likewise, current and future semantic extensions to HTTP/1.x (e.g.,
> headers, methods, status codes, cache directives) should be supported in
> the new protocol.
>
> $That is, in functional terms, one should consider the goal of this work
> to address parts of HTTP/1.1 part 1 in terms of how the HTTP protocol is
> mapped to message structures as well as to the underlying transport.$
>
> Note that this does not include uses of HTTP where non-specified
> behaviours are relied upon (e.g., connection state such as timeouts or
> client affinity, and "interception" proxies); these uses may or may not be
> enabled by the final product.
>
> Explicitly out-of-scope items include:
> * Specifying the use of alternate transport-layer protocols. Note that it
>  is expected that the Working Group will define how the protocol is used
>  with the TLS Protocol.
> * Specifying how the HTTP protocol is to be used or presented in a
> specific  use case (e.g., in Web browsers).
>
> $While not a direct deliverable of the WG, given the focus on performance,
> it is critical that the WG evaluates how well the proposed features in
> HTTP/2.0 perform within a common set of scenarios. It is expected that the
> WG will take such data into consideration when discussing features.$
>
> The Working Group will coordinate this item with:
> * The TLS Working Group, regarding use of TLS.
> * The Transport Area, regarding impact on and interaction with transport
>  protocols.
> * The HYBI Working Group, regarding the possible future extension of
> HTTP/2.0  to carry WebSockets semantics.
>
> The Working Group will prioritize HTTP/1.1 work until it is complete.
>
> Other HTTP-Related Work
> -----------------------
>
> The Working Group may define additional extensions to HTTP as work items,
> provided that:
> * There is clear consensus to do so, and
> * It does not, in the judgement of the Chair(s), interfere with the work
>  described above, and
> * The Area Director(s) give consent, and add corresponding milestones.
>
> Additionally, the Working Group will not start work on any extensions that
> are specific to HTTP/2.0 until that work is completed.
>
>
> -----Original Message-----
> From: Mark Nottingham [mailto:mnot@mnot.net]
> Sent: Friday, August 03, 2012 1:06 PM
> To: ietf-http-wg@w3.org Group
> Subject: Moving forward with HTTP/2.0: proposed charter
>
> In the second Vancouver session, we discussed the proposals, expressions
> of interest in them, and the proposed charter text sent to the list earlier.
>
> The result of those discussions has been captured in the charter proposal
> below.
>
> Please have a look and discuss, express your support or concern, and of
> course make proposals for any changes that you believe will be able to gain
> consensus. Barring serious problems, I'd like to get it to the ADs in the
> next week.
>
> ---8<---
>
> This Working Group is charged with maintaining and developing the "core"
> specifications for HTTP.
>
> The Working Group's specification deliverables are:
> * A document (or set of documents) that is suitable to supersede RFC 2616
> as  the definition of HTTP/1.1 and move RFC 2817 to Historic status
> * A document cataloguing the security properties of HTTP/1.1
> * A document (or set of documents) that specifies HTTP/2.0, an improved
>  binding of HTTP's semantics to an underlying transport.
>
> HTTP/1.1
> --------
>
> HTTP/1.1 is one of the most successful and widely-used protocols on the
> Internet today. However, its specification has several editorial issues.
> Additionally, after years of implementation and extension, several
> ambiguities have become evident, impairing interoperability and the ability
> to easily implement and use HTTP.
>
> The working group will refine RFC2616 to:
> * Incorporate errata and updates (e.g., references, IANA registries, ABNF)
> * Fix editorial problems which have led to misunderstandings of the
>  specification
> * Clarify conformance requirements
> * Remove known ambiguities where they affect interoperability
> * Clarify existing methods of extensibility
> * Remove or deprecate those features that are not widely implemented and
>  also unduly affect interoperability
> * Where necessary, add implementation advice
> * Document the security properties of HTTP and its associated mechanisms
>  (e.g., Basic and Digest authentication, cookies, TLS) for common
>  applications
>
> It will also incorporate the generic authentication framework from RFC
> 2617, without obsoleting or updating that specification's definition of the
> Basic and Digest schemes.
>
> Finally, it will incorporate relevant portions of RFC 2817 (in particular,
> the CONNECT method and advice on the use of Upgrade), so that that
> specification can be moved to Historic status.
>
> In doing so, it should consider:
> * Implementer experience
> * Demonstrated use of HTTP
> * Impact on existing implementations and deployments
>
> HTTP/2.0
> --------
>
> There is emerging implementation experience and interest in a protocol
> that retains the semantics of HTTP without the legacy of HTTP/1.x message
> framing and syntax, which have been identified as hampering performance and
> encouraging misuse of the underlying transport.
>
> The Working Group will produce a specification of a new expression of
> HTTP's current semantics in ordered, bi-directional streams. As with
> HTTP/1.x, the primary target transport is TCP, but it should be possible to
> use other transports.
>
> Work will begin using draft-mbelshe-httpbis-spdy-00 as a starting point;
> proposals are to be expressed in terms of changes to that document. Note
> that consensus is required both for changes to the document and anything
> that remains in the document.
>
> As part of that work, the following issues are explicitly called out for
> discussion:
> * A negotiation mechanism that is capable of not only choosing between
>  HTTP/1.x and HTTP/2.x, but also for bindings of HTTP URLs to other
>  transports (for example).
> * Header compression (which may encompass header encoding or tokenisation)
> * Server push (which may encompass pull or other techniques)
>
> It is expected that HTTP/2.0 will:
> * Substantially and measurably improve end-user perceived latency in most
>  cases, over HTTP/1.1 using TCP.
> * Address the "head of line blocking" problem in HTTP.
> * Not require multiple connections to a server to enable parallelism, thus
>  improving its use of TCP, especially regarding congestion control.
> * Retain the semantics of HTTP/1.1, leveraging existing documentation (see
>  above), including (but not limited to) HTTP methods, status codes, URIs,
> and  where appropriate, header fields.
> * Clearly define how HTTP/2.0 interacts with HTTP/1.x, especially in
>  intermediaries (both 2->1 and 1->2).
> * Clearly identify any new extensibility points and policy for their
>  appropriate use.
>
> The resulting specification(s) are expected to be meet these goals for
> common existing deployments of HTTP; in particular, Web browsing (desktop
> and mobile), non-browsers ("HTTP APIs"), Web serving (at a variety of
> scales), and intermediation (by proxies, corporate firewalls, "reverse"
> proxies and Content Delivery Networks). Likewise, current and future
> semantic extensions to HTTP/1.x (e.g., headers, methods, status codes,
> cache directives) should be supported in the new protocol.
>
> Note that this does not include uses of HTTP where non-specified
> behaviours are relied upon (e.g., connection state such as timeouts or
> client affinity, and "interception" proxies); these uses may or may not be
> enabled by the final product.
>
> Explicitly out-of-scope items include:
> * Specifying the use of alternate transport-layer protocols. Note that it
>  is expected that the Working Group will define how the protocol is used
>  with the TLS Protocol.
> * Specifying how the HTTP protocol is to be used or presented in a
> specific  use case (e.g., in Web browsers).
>
> The Working Group will coordinate this item with:
> * The TLS Working Group, regarding use of TLS.
> * The Transport Area, regarding impact on and interaction with transport
>  protocols.
> * The HYBI Working Group, regarding the possible future extension of
> HTTP/2.0  to carry WebSockets semantics.
>
> The Working Group will prioritize HTTP/1.1 work until it is complete.
>
> Other HTTP-Related Work
> -----------------------
>
> The Working Group may define additional extensions to HTTP as work items,
> provided that:
> * There is clear consensus to do so, and
> * It does not, in the judgement of the Chair(s), interfere with the work
>  described above, and
> * The Area Director(s) give consent, and add corresponding milestones.
>
> Additionally, the Working Group will not start work on any extensions that
> are specific to HTTP/2.0 until that work is completed.
>
>
> Goals and Milestones
>
> Done    First HTTP/1.1 Revision Internet Draft
> Done    First HTTP Security Properties Internet Draft
> Done    Call for Proposals for HTTP/2.0
> Aug 2012        Working Group Last Call for HTTP/1.1 Revision
> Sep 2012        Working Group Last Call for HTTP Security Properties
> Sep 2012        First WG draft of HTTP/2.0, based upon
> draft-mbelshe-httpbis-spdy-00
> Oct 2012        Submit HTTP/1.1 Revision to IESG for consideration as a
> Proposed Standard
> Oct 2012        Submit HTTP Security Properties to IESG for consideration
> as Informational RFC
> Apr 2014        Working Group Last call for HTTP/2.0
> Nov 2014        Submit HTTP/2.0 to IESG for consideration as a Proposed
> Standard
> --->8---
>
> Regards,
>
> --
> Mark Nottingham   Systems Architect, Cloud Standards and APIs
> mark.nottingham@rackspace.com    http://www.mnot.net/
>
> --
> Mark Nottingham
> http://www.mnot.net/
>
>
>
>
>
>
>
>
>
>
>
>

--f46d04083e13fa13d304c679c68e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Sat, Aug 4, 2012 at 1:22 PM, Henrik F=
rystyk Nielsen <span dir=3D"ltr">&lt;<a href=3D"mailto:henrikn@microsoft.co=
m" target=3D"_blank">henrikn@microsoft.com</a>&gt;</span> wrote:<br><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex">
Mark<br>
<br>
Thanks for sending this out! Based on the discussion at the Vancouver meeti=
ng and on the mailing list I think there are four items that need explicitl=
y to be clarified in the proposed charter:<br>
<br>
1) Clarify the relationship to SPDY, especially the ongoing work on SPDY 3 =
and the upcoming 4. We don&#39;t want to get in a situation with dueling sp=
ecifications so we have to be clear on there the WG and the SPDY community =
stand on this. My sense is that as the SPDY spec is used as a starting poin=
t we have to roll all new development in under HTTP/2.0 as otherwise we don=
&#39;t know where we stand.<br>

<br>
2) Clarify the point made during the WG meeting in Vancouver that because s=
omething is in the starting point it doesn&#39;t mean that there is consens=
us around it. That is, there shouldn&#39;t be a perception that because som=
ething is in that we have to argue whether it should be taken out. It is ju=
st as much an argument as to whether something should say in.<br>

<br>
3) Clarify that it is the intent of HTTP/2.0 to function as a functional re=
placement of HTTP/1.1, part 1. That is, it should be possible (in practical=
 and realistic, not theoretical terms) to use HTTP/2.0 in the same scenario=
s where HTTP/1.1 (and HTTP/1.0) is used today. One group that is missing fr=
om the below is embedded systems in which HTTP has a huge role.<br>

<br>
4) State that, while not part of the deliverables, given the focus on perfo=
rmance, the WG will continue work on performance evaluation so that we can =
determine whether something actually improves performance and by how much w=
ithin the scenarios we are looking at.<br>

<br>
I have appended comments to clarify these issue in the below text (look for=
 text between $...$)</blockquote><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
<br>
Henrik<br>
<div class=3D"im"><br>
HTTP/2.0<br>
--------<br>
<br>
There is emerging implementation experience and interest in a protocol that=
 retains the semantics of HTTP without the legacy of HTTP/1.x message frami=
ng and syntax, which have been identified as hampering performance and enco=
uraging misuse of the underlying transport.<br>

<br>
The Working Group will produce a specification of a new expression of HTTP&=
#39;s current semantics in ordered, bi-directional streams. As with HTTP/1.=
x, the primary target transport is TCP, but it should be possible to use ot=
her transports.<br>

<br>
Work will begin using draft-mbelshe-httpbis-spdy-00 as a starting point; pr=
oposals are to be expressed in terms of changes to that document. Note that=
 consensus is required both for changes to the document and anything that r=
emains in the document.<br>

<br>
</div>$Because something is in the initial document does not imply that the=
re is consensus around the feature or how it is specified.$<br></blockquote=
><div><br></div><div>I think this was already covered by &quot;consensus is=
 required both for changes to the document and anything that remains in the=
 document&quot;.</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<br>
$The outcome of this WG is HTTP/2.0, not SPDY. It is important that there i=
s no confusion about the relationship between HTTP/2.0 and SPDY as we do no=
t want to have dueling specifications in this area.$<br></blockquote><div>
<br></div><div>There are no dueling specifications. =A0This working group i=
s working on HTTP/2.0. =A0We can say it again, but it probably doesn&#39;t =
decrease the paranoia ;-)</div><div>=A0</div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
>

<div class=3D"im"><br>
As part of that work, the following issues are explicitly called out for di=
scussion:<br>
* A negotiation mechanism that is capable of not only choosing between =A0H=
TTP/1.x and HTTP/2.x, but also for bindings of HTTP URLs to other =A0transp=
orts (for example).<br>
* Header compression (which may encompass header encoding or tokenisation)<=
br>
* Server push (which may encompass pull or other techniques)<br>
<br>
</div>$Note that this doesn&#39;t mean that no other issues should be broug=
ht up. The discussion can and should cover the entire HTTP/2.0 spec$<br></b=
lockquote><div><br></div><div>I think Mark was trying to confine our goals =
more than this. =A0 Of course it is true that things will come up as we go,=
 but it is better if we can identify the areas to work on up front.</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im"><br>
It is expected that HTTP/2.0 will:<br>
* Substantially and measurably improve end-user perceived latency in most =
=A0cases, over HTTP/1.1 using TCP.<br>
* Address the &quot;head of line blocking&quot; problem in HTTP.<br>
* Not require multiple connections to a server to enable parallelism, thus =
=A0improving its use of TCP, especially regarding congestion control.<br>
* Retain the semantics of HTTP/1.1, leveraging existing documentation (see =
=A0above), including (but not limited to) HTTP methods, status codes, URIs,=
 and =A0where appropriate, header fields.<br>
* Clearly define how HTTP/2.0 interacts with HTTP/1.x, especially in =A0int=
ermediaries (both 2-&gt;1 and 1-&gt;2).<br>
* Clearly identify any new extensibility points and policy for their =A0app=
ropriate use.<br>
<br>
The resulting specification(s) are expected to be meet these goals for comm=
on existing deployments of HTTP; in particular, Web browsing (desktop and m=
obile), non-browsers (&quot;HTTP APIs&quot;), Web serving (at a variety of =
scales), and intermediation (by proxies, corporate firewalls, &quot;reverse=
&quot; proxies and Content Delivery Networks).<br>

<br>
</div>$as well as embedded systems$<br></blockquote><div><br>I think you&#3=
9;re looking for &#39;reasonableness&#39; - such that HTTP/2.0 works with m=
ost existing systems. =A0I am too. =A0</div><div><br>I don&#39;t think we n=
eed to callout &#39;embedded systems&#39;, as it is already covered in &quo=
t;expected to meet these goals for common existing deployments of HTTP&quot=
;. =A0Embedded systems are common today and will naturally be a big part of=
 HTTP/2.0. =A0If we call them out, do we need to start listing all the othe=
r common uses of HTTP? :-)</div>
<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im"><br>
Likewise, current and future semantic extensions to HTTP/1.x (e.g., headers=
, methods, status codes, cache directives) should be supported in the new p=
rotocol.<br>
<br>
</div>$That is, in functional terms, one should consider the goal of this w=
ork to address parts of HTTP/1.1 part 1 in terms of how the HTTP protocol i=
s mapped to message structures as well as to the underlying transport.$<br>

<div class=3D"im"><br>
Note that this does not include uses of HTTP where non-specified behaviours=
 are relied upon (e.g., connection state such as timeouts or client affinit=
y, and &quot;interception&quot; proxies); these uses may or may not be enab=
led by the final product.<br>

<br>
Explicitly out-of-scope items include:<br>
* Specifying the use of alternate transport-layer protocols. Note that it =
=A0is expected that the Working Group will define how the protocol is used =
=A0with the TLS Protocol.<br>
* Specifying how the HTTP protocol is to be used or presented in a specific=
 =A0use case (e.g., in Web browsers).<br>
<br>
</div>$While not a direct deliverable of the WG, given the focus on perform=
ance, it is critical that the WG evaluates how well the proposed features i=
n HTTP/2.0 perform within a common set of scenarios. It is expected that th=
e WG will take such data into consideration when discussing features.$<br>

<div class=3D"im HOEnZb"><br>
The Working Group will coordinate this item with:<br>
* The TLS Working Group, regarding use of TLS.<br>
* The Transport Area, regarding impact on and interaction with transport =
=A0protocols.<br>
* The HYBI Working Group, regarding the possible future extension of HTTP/2=
.0 =A0to carry WebSockets semantics.<br>
<br>
The Working Group will prioritize HTTP/1.1 work until it is complete.<br>
<br>
Other HTTP-Related Work<br>
-----------------------<br>
<br>
The Working Group may define additional extensions to HTTP as work items, p=
rovided that:<br>
* There is clear consensus to do so, and<br>
* It does not, in the judgement of the Chair(s), interfere with the work =
=A0described above, and<br>
* The Area Director(s) give consent, and add corresponding milestones.<br>
<br>
Additionally, the Working Group will not start work on any extensions that =
are specific to HTTP/2.0 until that work is completed.<br>
<br>
<br>
</div><div class=3D"HOEnZb"><div class=3D"h5">-----Original Message-----<br=
>
From: Mark Nottingham [mailto:<a href=3D"mailto:mnot@mnot.net">mnot@mnot.ne=
t</a>]<br>
Sent: Friday, August 03, 2012 1:06 PM<br>
To: <a href=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</a> Group<br=
>
Subject: Moving forward with HTTP/2.0: proposed charter<br>
<br>
In the second Vancouver session, we discussed the proposals, expressions of=
 interest in them, and the proposed charter text sent to the list earlier.<=
br>
<br>
The result of those discussions has been captured in the charter proposal b=
elow.<br>
<br>
Please have a look and discuss, express your support or concern, and of cou=
rse make proposals for any changes that you believe will be able to gain co=
nsensus. Barring serious problems, I&#39;d like to get it to the ADs in the=
 next week.<br>

<br>
---8&lt;---<br>
<br>
This Working Group is charged with maintaining and developing the &quot;cor=
e&quot;<br>
specifications for HTTP.<br>
<br>
The Working Group&#39;s specification deliverables are:<br>
* A document (or set of documents) that is suitable to supersede RFC 2616 a=
s =A0the definition of HTTP/1.1 and move RFC 2817 to Historic status<br>
* A document cataloguing the security properties of HTTP/1.1<br>
* A document (or set of documents) that specifies HTTP/2.0, an improved =A0=
binding of HTTP&#39;s semantics to an underlying transport.<br>
<br>
HTTP/1.1<br>
--------<br>
<br>
HTTP/1.1 is one of the most successful and widely-used protocols on the Int=
ernet today. However, its specification has several editorial issues.<br>
Additionally, after years of implementation and extension, several ambiguit=
ies have become evident, impairing interoperability and the ability to easi=
ly implement and use HTTP.<br>
<br>
The working group will refine RFC2616 to:<br>
* Incorporate errata and updates (e.g., references, IANA registries, ABNF)<=
br>
* Fix editorial problems which have led to misunderstandings of the =A0spec=
ification<br>
* Clarify conformance requirements<br>
* Remove known ambiguities where they affect interoperability<br>
* Clarify existing methods of extensibility<br>
* Remove or deprecate those features that are not widely implemented and =
=A0also unduly affect interoperability<br>
* Where necessary, add implementation advice<br>
* Document the security properties of HTTP and its associated mechanisms =
=A0(e.g., Basic and Digest authentication, cookies, TLS) for common =A0appl=
ications<br>
<br>
It will also incorporate the generic authentication framework from RFC 2617=
, without obsoleting or updating that specification&#39;s definition of the=
 Basic and Digest schemes.<br>
<br>
Finally, it will incorporate relevant portions of RFC 2817 (in particular, =
the CONNECT method and advice on the use of Upgrade), so that that specific=
ation can be moved to Historic status.<br>
<br>
In doing so, it should consider:<br>
* Implementer experience<br>
* Demonstrated use of HTTP<br>
* Impact on existing implementations and deployments<br>
<br>
HTTP/2.0<br>
--------<br>
<br>
There is emerging implementation experience and interest in a protocol that=
 retains the semantics of HTTP without the legacy of HTTP/1.x message frami=
ng and syntax, which have been identified as hampering performance and enco=
uraging misuse of the underlying transport.<br>

<br>
The Working Group will produce a specification of a new expression of HTTP&=
#39;s current semantics in ordered, bi-directional streams. As with HTTP/1.=
x, the primary target transport is TCP, but it should be possible to use ot=
her transports.<br>

<br>
Work will begin using draft-mbelshe-httpbis-spdy-00 as a starting point; pr=
oposals are to be expressed in terms of changes to that document. Note that=
 consensus is required both for changes to the document and anything that r=
emains in the document.<br>

<br>
As part of that work, the following issues are explicitly called out for<br=
>
discussion:<br>
* A negotiation mechanism that is capable of not only choosing between =A0H=
TTP/1.x and HTTP/2.x, but also for bindings of HTTP URLs to other =A0transp=
orts (for example).<br>
* Header compression (which may encompass header encoding or tokenisation)<=
br>
* Server push (which may encompass pull or other techniques)<br>
<br>
It is expected that HTTP/2.0 will:<br>
* Substantially and measurably improve end-user perceived latency in most =
=A0cases, over HTTP/1.1 using TCP.<br>
* Address the &quot;head of line blocking&quot; problem in HTTP.<br>
* Not require multiple connections to a server to enable parallelism, thus =
=A0improving its use of TCP, especially regarding congestion control.<br>
* Retain the semantics of HTTP/1.1, leveraging existing documentation (see =
=A0above), including (but not limited to) HTTP methods, status codes, URIs,=
 and =A0where appropriate, header fields.<br>
* Clearly define how HTTP/2.0 interacts with HTTP/1.x, especially in =A0int=
ermediaries (both 2-&gt;1 and 1-&gt;2).<br>
* Clearly identify any new extensibility points and policy for their =A0app=
ropriate use.<br>
<br>
The resulting specification(s) are expected to be meet these goals for comm=
on existing deployments of HTTP; in particular, Web browsing (desktop and m=
obile), non-browsers (&quot;HTTP APIs&quot;), Web serving (at a variety of =
scales), and intermediation (by proxies, corporate firewalls, &quot;reverse=
&quot; proxies and Content Delivery Networks). Likewise, current and future=
 semantic extensions to HTTP/1.x (e.g., headers, methods, status codes, cac=
he directives) should be supported in the new protocol.<br>

<br>
Note that this does not include uses of HTTP where non-specified behaviours=
 are relied upon (e.g., connection state such as timeouts or client affinit=
y, and &quot;interception&quot; proxies); these uses may or may not be enab=
led by the final product.<br>

<br>
Explicitly out-of-scope items include:<br>
* Specifying the use of alternate transport-layer protocols. Note that it =
=A0is expected that the Working Group will define how the protocol is used =
=A0with the TLS Protocol.<br>
* Specifying how the HTTP protocol is to be used or presented in a specific=
 =A0use case (e.g., in Web browsers).<br>
<br>
The Working Group will coordinate this item with:<br>
* The TLS Working Group, regarding use of TLS.<br>
* The Transport Area, regarding impact on and interaction with transport =
=A0protocols.<br>
* The HYBI Working Group, regarding the possible future extension of HTTP/2=
.0 =A0to carry WebSockets semantics.<br>
<br>
The Working Group will prioritize HTTP/1.1 work until it is complete.<br>
<br>
Other HTTP-Related Work<br>
-----------------------<br>
<br>
The Working Group may define additional extensions to HTTP as work items, p=
rovided that:<br>
* There is clear consensus to do so, and<br>
* It does not, in the judgement of the Chair(s), interfere with the work =
=A0described above, and<br>
* The Area Director(s) give consent, and add corresponding milestones.<br>
<br>
Additionally, the Working Group will not start work on any extensions that =
are specific to HTTP/2.0 until that work is completed.<br>
<br>
<br>
Goals and Milestones<br>
<br>
Done =A0 =A0First HTTP/1.1 Revision Internet Draft<br>
Done =A0 =A0First HTTP Security Properties Internet Draft<br>
Done =A0 =A0Call for Proposals for HTTP/2.0<br>
Aug 2012 =A0 =A0 =A0 =A0Working Group Last Call for HTTP/1.1 Revision<br>
Sep 2012 =A0 =A0 =A0 =A0Working Group Last Call for HTTP Security Propertie=
s<br>
Sep 2012 =A0 =A0 =A0 =A0First WG draft of HTTP/2.0, based upon draft-mbelsh=
e-httpbis-spdy-00<br>
Oct 2012 =A0 =A0 =A0 =A0Submit HTTP/1.1 Revision to IESG for consideration =
as a Proposed Standard<br>
Oct 2012 =A0 =A0 =A0 =A0Submit HTTP Security Properties to IESG for conside=
ration as Informational RFC<br>
Apr 2014 =A0 =A0 =A0 =A0Working Group Last call for HTTP/2.0<br>
Nov 2014 =A0 =A0 =A0 =A0Submit HTTP/2.0 to IESG for consideration as a Prop=
osed Standard<br>
---&gt;8---<br>
<br>
Regards,<br>
<br>
--<br>
Mark Nottingham =A0 Systems Architect, Cloud Standards and APIs<br>
<a href=3D"mailto:mark.nottingham@rackspace.com">mark.nottingham@rackspace.=
com</a> =A0 =A0<a href=3D"http://www.mnot.net/" target=3D"_blank">http://ww=
w.mnot.net/</a><br>
<br>
--<br>
Mark Nottingham<br>
<a href=3D"http://www.mnot.net/" target=3D"_blank">http://www.mnot.net/</a>=
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br>

--f46d04083e13fa13d304c679c68e--


From ietf-http-wg-request@listhub.w3.org  Sat Aug  4 17:43:54 2012
Return-Path: <ietf-http-wg-request@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 0622921F87BC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  4 Aug 2012 17:43:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.734
X-Spam-Level: 
X-Spam-Status: No, score=-9.734 tagged_above=-999 required=5 tests=[AWL=0.864, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dEgVcjh5zM3N for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  4 Aug 2012 17:43:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5032021F876A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  4 Aug 2012 17:43:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sxoun-0001iL-5B for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Aug 2012 00:41:53 +0000
Resent-Date: Sun, 05 Aug 2012 00:41:53 +0000
Resent-Message-Id: <E1Sxoun-0001iL-5B@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Sxoub-0001hU-11 for ietf-http-wg@listhub.w3.org; Sun, 05 Aug 2012 00:41:41 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SxouZ-000129-R6 for ietf-http-wg@w3.org; Sun, 05 Aug 2012 00:41:40 +0000
Received: by wgbdq12 with SMTP id dq12so1595980wgb.26 for <ietf-http-wg@w3.org>; Sat, 04 Aug 2012 17:41:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=wJAe+dGrVcgibqQdchj1qHx0DSAI1gff90gOcVRGKtM=; b=CPldHD+NT+SLJwPmXg3dhVeClY3rNjTuIA4Am4agoL9pNnFuUF9mw89uNcm6XK9NFA Taz7CmS/j5NV42JG0TpnoYOAl1nRebIjrYq/WlLj6hXxzU25HHblCylGjbMYApntIGsS XLdbHazAf3sMKfI3TxLa/afOkVe0rvLAYTCtXfr/hZsj2ha6p1Dp56LztwFHgOcrMhVO W5LYs59wPAUusplFsZ0In0wjttctRFR7A14x18t3m6b5INGCjxfqQUspg50bYFdWkPMF QbFCAPQ6nfsBu/JQz9yYlUeJOR+DdYGbR1Y7Do53vzJwvzJTRvHFlXaNX4F5DQxbYcGd 7Dww==
MIME-Version: 1.0
Received: by 10.180.81.66 with SMTP id y2mr7415877wix.22.1344127273227; Sat, 04 Aug 2012 17:41:13 -0700 (PDT)
Received: by 10.223.171.72 with HTTP; Sat, 4 Aug 2012 17:41:12 -0700 (PDT)
Received: by 10.223.171.72 with HTTP; Sat, 4 Aug 2012 17:41:12 -0700 (PDT)
In-Reply-To: <CABaLYCs4gtdMvEeUC7FvQTUZhz8jVJv9pyYzQLK+N-WoC5fhEw@mail.gmail.com>
References: <28F9FD01-5B48-45F2-A3A2-758EEE162704@mnot.net> <7900274048c2421bbabf476beba71644@CH1PR03MB622.namprd03.prod.outlook.com> <CABaLYCs4gtdMvEeUC7FvQTUZhz8jVJv9pyYzQLK+N-WoC5fhEw@mail.gmail.com>
Date: Sat, 4 Aug 2012 17:41:12 -0700
Message-ID: <CABP7RbfnYLqtyR8i-S-MGR5=UJG1jhHHdHEmxfbNNpxGJR4bqQ@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: ietf-http-wg@w3.org, Henrik Frystyk Nielsen <henrikn@microsoft.com>,  Mark Nottingham <mnot@mnot.net>
Content-Type: multipart/alternative; boundary=f46d04428d2ca7553704c67a0405
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SxouZ-000129-R6 a39c855fff3fe070c7a2939fe7b203a9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/CABP7RbfnYLqtyR8i-S-MGR5=UJG1jhHHdHEmxfbNNpxGJR4bqQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14942
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>

--f46d04428d2ca7553704c67a0405
Content-Type: text/plain; charset=UTF-8

On Aug 4, 2012 5:27 PM, "Mike Belshe" <mike@belshe.com> wrote:
>
>
>
[Snip]
>>
>> Work will begin using draft-mbelshe-httpbis-spdy-00 as a starting point;
proposals are to be expressed in terms of changes to that document. Note
that consensus is required both for changes to the document and anything
that remains in the document.
>>
>> $Because something is in the initial document does not imply that there
is consensus around the feature or how it is specified.$
>
>
> I think this was already covered by "consensus is required both for
changes to the document and anything that remains in the document".
>
>>
>>
>> $The outcome of this WG is HTTP/2.0, not SPDY. It is important that
there is no confusion about the relationship between HTTP/2.0 and SPDY as
we do not want to have dueling specifications in this area.$
>
>
> There are no dueling specifications.  This working group is working on
HTTP/2.0.  We can say it again, but it probably doesn't decrease the
paranoia ;-)
>

The paranoia is well justified I think given how other notable specs have
developed recently. I think it would be great to know if the existing SPDY
folks are intending to continue parallel development on SPDY or go all in
working on http 2.0.

- James

--f46d04428d2ca7553704c67a0405
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
On Aug 4, 2012 5:27 PM, &quot;Mike Belshe&quot; &lt;<a href=3D"mailto:mike@=
belshe.com">mike@belshe.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
[Snip]<br>
&gt;&gt;<br>
&gt;&gt; Work will begin using draft-mbelshe-httpbis-spdy-00 as a starting =
point; proposals are to be expressed in terms of changes to that document. =
Note that consensus is required both for changes to the document and anythi=
ng that remains in the document.<br>

&gt;&gt;<br>
&gt;&gt; $Because something is in the initial document does not imply that =
there is consensus around the feature or how it is specified.$<br>
&gt;<br>
&gt;<br>
&gt; I think this was already covered by &quot;consensus is required both f=
or changes to the document and anything that remains in the document&quot;.=
<br>
&gt; =C2=A0<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; $The outcome of this WG is HTTP/2.0, not SPDY. It is important tha=
t there is no confusion about the relationship between HTTP/2.0 and SPDY as=
 we do not want to have dueling specifications in this area.$<br>
&gt;<br>
&gt;<br>
&gt; There are no dueling specifications. =C2=A0This working group is worki=
ng on HTTP/2.0. =C2=A0We can say it again, but it probably doesn&#39;t decr=
ease the paranoia ;-)<br>
&gt; =C2=A0</p>
<p dir=3D"ltr">The paranoia is well justified I think given how other notab=
le specs have developed recently. I think it would be great to know if the =
existing SPDY folks are intending to continue parallel development on SPDY =
or go all in working on http 2.0. </p>

<p dir=3D"ltr">- James<br>
</p>

--f46d04428d2ca7553704c67a0405--


From ietf-http-wg-request@listhub.w3.org  Sat Aug  4 18:05:10 2012
Return-Path: <ietf-http-wg-request@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 0026121F8820 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  4 Aug 2012 18:05:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.895
X-Spam-Level: 
X-Spam-Status: No, score=-6.895 tagged_above=-999 required=5 tests=[AWL=-2.885, BAYES_00=-2.599, FB_WORD1_END_DOLLAR=3.294, FB_WORD2_END_DOLLAR=3.294, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JtWKbM8Mp0ri for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  4 Aug 2012 18:05:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D058421F8818 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  4 Aug 2012 18:05:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SxpFj-0001fs-Pb for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Aug 2012 01:03:31 +0000
Resent-Date: Sun, 05 Aug 2012 01:03:31 +0000
Resent-Message-Id: <E1SxpFj-0001fs-Pb@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SxpFV-0001f3-M2 for ietf-http-wg@listhub.w3.org; Sun, 05 Aug 2012 01:03:17 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SxpFT-0001Qw-I7 for ietf-http-wg@w3.org; Sun, 05 Aug 2012 01:03:17 +0000
Received: by vbbfq11 with SMTP id fq11so1951278vbb.2 for <ietf-http-wg@w3.org>; Sat, 04 Aug 2012 18:02:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jT7Vz6whNwajsBGVr8c3Vcle5NiKuoSZ2mxC/wqL85o=; b=Xuet77ibazRU46ZT1hMcDJs6JWQO6F1eNYV5vGDHE6zZ0IR/ulpwAl87RDgHFb7ZdR S75Xkg8nFbBLSLvNUwG/29CcjP25Ft1jv1y1rjA7vbrBTHDEEOGxnsf81zsEqZ6NvcUK SXHDW0ZjffrqZ4xY+Zt8J8JV0DJyeBg/onYaT4rt27UX5YtXOTCV5jXGaNaFDmR+lrsz aynkCUI7bNV1mMQ9Oq3m7kHh/uBJmB23czukL87n87UV5UttcpLEiOtqW9s7ekY5WP+F E29zT6aOeEEjPPQtrsTvU2r60Esf97+g4oHJSMtuWpLoNPDg3Kqj6U0v5wsLHd+9c+mu FSxQ==
MIME-Version: 1.0
Received: by 10.52.100.165 with SMTP id ez5mr4187993vdb.108.1344128569108; Sat, 04 Aug 2012 18:02:49 -0700 (PDT)
Received: by 10.58.221.97 with HTTP; Sat, 4 Aug 2012 18:02:49 -0700 (PDT)
In-Reply-To: <CABaLYCs4gtdMvEeUC7FvQTUZhz8jVJv9pyYzQLK+N-WoC5fhEw@mail.gmail.com>
References: <28F9FD01-5B48-45F2-A3A2-758EEE162704@mnot.net> <7900274048c2421bbabf476beba71644@CH1PR03MB622.namprd03.prod.outlook.com> <CABaLYCs4gtdMvEeUC7FvQTUZhz8jVJv9pyYzQLK+N-WoC5fhEw@mail.gmail.com>
Date: Sat, 4 Aug 2012 18:02:49 -0700
Message-ID: <CAAPAK-4Ey+wJV_sx6KYE4gLVh7pCkP=ehq1cgEai-x_R6AP7Cw@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: Henrik Frystyk Nielsen <henrikn@microsoft.com>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf3063dc03e4e99504c67a516a
Received-SPF: pass client-ip=209.85.212.43; envelope-from=dzonatas@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SxpFT-0001Qw-I7 f4cc0a261807b2a75ef941807abb3ff7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/CAAPAK-4Ey+wJV_sx6KYE4gLVh7pCkP=ehq1cgEai-x_R6AP7Cw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14943
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>

--20cf3063dc03e4e99504c67a516a
Content-Type: text/plain; charset=ISO-8859-1

Embedded systems is easier stated than direct reference or incorporation of
all listed areas. It made sense for highly scalar processors where each
core unit has its own vectors. In that sense we can then specify at which
level remains stateless or how that paradigm shifts.

On Saturday, August 4, 2012, Mike Belshe wrote:

>
>
> On Sat, Aug 4, 2012 at 1:22 PM, Henrik Frystyk Nielsen <
> henrikn@microsoft.com <javascript:_e({}, 'cvml',
> 'henrikn@microsoft.com');>> wrote:
>
>> Mark
>>
>> Thanks for sending this out! Based on the discussion at the Vancouver
>> meeting and on the mailing list I think there are four items that need
>> explicitly to be clarified in the proposed charter:
>>
>> 1) Clarify the relationship to SPDY, especially the ongoing work on SPDY
>> 3 and the upcoming 4. We don't want to get in a situation with dueling
>> specifications so we have to be clear on there the WG and the SPDY
>> community stand on this. My sense is that as the SPDY spec is used as a
>> starting point we have to roll all new development in under HTTP/2.0 as
>> otherwise we don't know where we stand.
>>
>> 2) Clarify the point made during the WG meeting in Vancouver that because
>> something is in the starting point it doesn't mean that there is consensus
>> around it. That is, there shouldn't be a perception that because something
>> is in that we have to argue whether it should be taken out. It is just as
>> much an argument as to whether something should say in.
>>
>> 3) Clarify that it is the intent of HTTP/2.0 to function as a functional
>> replacement of HTTP/1.1, part 1. That is, it should be possible (in
>> practical and realistic, not theoretical terms) to use HTTP/2.0 in the same
>> scenarios where HTTP/1.1 (and HTTP/1.0) is used today. One group that is
>> missing from the below is embedded systems in which HTTP has a huge role.
>>
>> 4) State that, while not part of the deliverables, given the focus on
>> performance, the WG will continue work on performance evaluation so that we
>> can determine whether something actually improves performance and by how
>> much within the scenarios we are looking at.
>>
>> I have appended comments to clarify these issue in the below text (look
>> for text between $...$)
>
>
>> Thanks,
>>
>> Henrik
>>
>> HTTP/2.0
>> --------
>>
>> There is emerging implementation experience and interest in a protocol
>> that retains the semantics of HTTP without the legacy of HTTP/1.x message
>> framing and syntax, which have been identified as hampering performance and
>> encouraging misuse of the underlying transport.
>>
>> The Working Group will produce a specification of a new expression of
>> HTTP's current semantics in ordered, bi-directional streams. As with
>> HTTP/1.x, the primary target transport is TCP, but it should be possible to
>> use other transports.
>>
>> Work will begin using draft-mbelshe-httpbis-spdy-00 as a starting point;
>> proposals are to be expressed in terms of changes to that document. Note
>> that consensus is required both for changes to the document and anything
>> that remains in the document.
>>
>> $Because something is in the initial document does not imply that there
>> is consensus around the feature or how it is specified.$
>>
>
> I think this was already covered by "consensus is required both for
> changes to the document and anything that remains in the document".
>
>
>>
>> $The outcome of this WG is HTTP/2.0, not SPDY. It is important that there
>> is no confusion about the relationship between HTTP/2.0 and SPDY as we do
>> not want to have dueling specifications in this area.$
>>
>
> There are no dueling specifications.  This working group is working on
> HTTP/2.0.  We can say it again, but it probably doesn't decrease the
> paranoia ;-)
>
>
>>
>> As part of that work, the following issues are explicitly called out for
>> discussion:
>> * A negotiation mechanism that is capable of not only choosing between
>>  HTTP/1.x and HTTP/2.x, but also for bindings of HTTP URLs to other
>>  transports (for example).
>> * Header compression (which may encompass header encoding or tokenisation)
>> * Server push (which may encompass pull or other techniques)
>>
>> $Note that this doesn't mean that no other issues should be brought up.
>> The discussion can and should cover the entire HTTP/2.0 spec$
>>
>
> I think Mark was trying to confine our goals more than this.   Of course
> it is true that things will come up as we go, but it is better if we can
> identify the areas to work on up front.
>
>
>>
>> It is expected that HTTP/2.0 will:
>> * Substantially and measurably improve end-user perceived latency in most
>>  cases, over HTTP/1.1 using TCP.
>> * Address the "head of line blocking" problem in HTTP.
>> * Not require multiple connections to a server to enable parallelism,
>> thus  improving its use of TCP, especially regarding congestion control.
>> * Retain the semantics of HTTP/1.1, leveraging existing documentation
>> (see  above), including (but not limited to) HTTP methods, status codes,
>> URIs, and  where appropriate, header fields.
>> * Clearly define how HTTP/2.0 interacts with HTTP/1.x, especially in
>>  intermediaries (both 2->1 and 1->2).
>> * Clearly identify any new extensibility points and policy for their
>>  appropriate use.
>>
>> The resulting specification(s) are expected to be meet these goals for
>> common existing deployments of HTTP; in particular, Web browsing (desktop
>> and mobile), non-browsers ("HTTP APIs"), Web serving (at a variety of
>> scales), and intermediation (by proxies, corporate firewalls, "reverse"
>> proxies and Content Delivery Networks).
>>
>> $as well as embedded systems$
>>
>
> I think you're looking for 'reasonableness' - such that HTTP/2.0 works
> with most existing systems.  I am too.
>
> I don't think we need to callout 'embedded systems', as it is already
> covered in "expected to meet these goals for common existing deployments of
> HTTP".  Embedded systems are common today and will naturally be a big part
> of HTTP/2.0.  If we call them out, do we need to start listing all the
> other common uses of HTTP? :-)
>
>
>
>
> Likewise, current and future semantic extensions to HTTP/1.x (e.g.,
> headers, methods, status codes, cache directives) should be supported in
> the new protocol.
>
> $That is, in functional terms, one should consider the goal of this work
> to address parts of HTTP/1.1 part 1 in terms of how the HTTP protocol is
> mapped to message structures as well as to the underlying transport.$
>
> Note that this does not include uses of HTTP where non-specified
> behaviours are relied upon (e.g., connection state such as timeouts or
> client affinity, and "interception" proxies); these uses may or may not be
> enabled by the final product.
>
> Explicitly out-of-scope items include:
> * Specifying the use of alternate transport-layer protocols. Note that it
>  is expected that the Working Group will define how the protocol is used
>  with the TLS Protocol.
> * Specifying how the HTTP protocol is to be used or presented in a
> specific  use case (e.g., in Web browsers).
>
> $While not a direct deliverable of the WG, given the focus on performance,
> it is critical that the WG evaluates how well the proposed features in
> HTTP/2.0 perform within a common set of scenarios. It is expected that the
> WG will take such data into consideration when discussing features.$
>
> The Working Group will coordinate this item with:
> * The TLS Working Group, regarding use of TLS.
> * The Transport Area, regarding impact on and interaction with transport
>  protocols.
> * The HYBI Working Group, regarding the possible future extension of
> HTTP/2.0  to carry WebSockets semantics.
>
> The Working Group will prioritize HTTP/1.1 work until it is complete.
>
> Other HTTP-Related Work
> -----------------------
>
> The Working Group may define additional extensions to HTTP as work items,
> provided that:
> * There is clear consensus to do so, and
> * It does not, in the judgement of the Chair(s), interfere with the work
>  described above, and
> * The Area Director(s) give consent, and add corresponding milestones.
>
> Additionally, the Working Group will not start work on any extensions that
> are specific to HTTP/2.0 until that work is completed.
>
>
> -----Original Message-----
> From: Mark Nottingham [mailto:mnot@mnot.net]
> Sent: Friday, August 03, 2012 1:06 PM
> To: ietf-http-wg@w3.org Group
> Subject: Moving forward with HTTP/2.0: proposed charter
>
> In the second Vancouver session, we discussed the proposals, expressions
> of interest in them, and the proposed charter text sent to the list earlier.
>
> The result of those discussions has been captured in the charter proposal
> below.
>
> Please have a look and discuss, express your support or concern, and of
> course make proposals for any changes that you believe will be able to gain
> consensus. Barring serious problems, I'd like to get it to the ADs in the
> next week.
>
> ---8<---
>
> This Working Group is charged with maintaining and developing the "core"
> specifications for HTTP.
>
> The Working Group's specification deliverables are:
> * A document (or set of documents) that is suitable to supersede RFC 2616
> as  the definition of HTTP/1.1 and move RFC 2817 to Historic status
> * A document cataloguing the security properties of HTTP/1.1
> * A document (or set of documents) that specifies HTTP/2.0, an improved
>  binding of HTTP's semantics to an underlying transport.
>
> HTTP/1.1
> --------
>
> HTTP/1.1 is one of the most successful and widely-used protocols on the
> Internet today. However, its specification has several editorial issues.
> Additionally, after years of implementation and extension, several
> ambiguities have become evident, impairing interoperability and the ability
> to easily implement and use HTTP.
>
> The working group will refine RFC2616 to:
> * Incorporate errata and updates (e.g., references, IANA registries, ABNF)
> * Fix editorial problems which have led to misunderstandings of the
>  specification
> * Clarify conformance requirements
> * Remove known ambiguities where they affect interoperability
> * Clarify existing methods of extensibility
> * Remove or deprecate those features that are not widely implemented and
>  also unduly affect interoperability
> * Where necessary, add implementation advice
> * Document the security properties of HTTP and its associated mechanisms
>  (e.g., Basic and Digest authentication, cookies, TLS) for common
>  applications
>
> It will also incorporate the generic authentication framework from RFC
> 2617, without obsoleting or updating that specification's definition of the
> Basic and Digest schemes.
>
> Finally, it will incorporate relev
>
>
>

--20cf3063dc03e4e99504c67a516a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Embedded systems is easier stated than direct reference or incorporation of=
 all listed areas. It made sense for highly=A0scalar=A0processors where eac=
h core unit has its own vectors. In that sense we can then specify at which=
 level remains stateless or how that paradigm shifts.=A0<br>
<br>On Saturday, August 4, 2012, Mike Belshe  wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex"><br><br><div class=3D"gmail_quote">On Sat, Aug 4, 2012 at 1:2=
2 PM, Henrik Frystyk Nielsen <span dir=3D"ltr">&lt;<a href=3D"javascript:_e=
({}, &#39;cvml&#39;, &#39;henrikn@microsoft.com&#39;);" target=3D"_blank">h=
enrikn@microsoft.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Mark<br>
<br>
Thanks for sending this out! Based on the discussion at the Vancouver meeti=
ng and on the mailing list I think there are four items that need explicitl=
y to be clarified in the proposed charter:<br>
<br>
1) Clarify the relationship to SPDY, especially the ongoing work on SPDY 3 =
and the upcoming 4. We don&#39;t want to get in a situation with dueling sp=
ecifications so we have to be clear on there the WG and the SPDY community =
stand on this. My sense is that as the SPDY spec is used as a starting poin=
t we have to roll all new development in under HTTP/2.0 as otherwise we don=
&#39;t know where we stand.<br>


<br>
2) Clarify the point made during the WG meeting in Vancouver that because s=
omething is in the starting point it doesn&#39;t mean that there is consens=
us around it. That is, there shouldn&#39;t be a perception that because som=
ething is in that we have to argue whether it should be taken out. It is ju=
st as much an argument as to whether something should say in.<br>


<br>
3) Clarify that it is the intent of HTTP/2.0 to function as a functional re=
placement of HTTP/1.1, part 1. That is, it should be possible (in practical=
 and realistic, not theoretical terms) to use HTTP/2.0 in the same scenario=
s where HTTP/1.1 (and HTTP/1.0) is used today. One group that is missing fr=
om the below is embedded systems in which HTTP has a huge role.<br>


<br>
4) State that, while not part of the deliverables, given the focus on perfo=
rmance, the WG will continue work on performance evaluation so that we can =
determine whether something actually improves performance and by how much w=
ithin the scenarios we are looking at.<br>


<br>
I have appended comments to clarify these issue in the below text (look for=
 text between $...$)</blockquote><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
<br>
Henrik<br>
<div><br>
HTTP/2.0<br>
--------<br>
<br>
There is emerging implementation experience and interest in a protocol that=
 retains the semantics of HTTP without the legacy of HTTP/1.x message frami=
ng and syntax, which have been identified as hampering performance and enco=
uraging misuse of the underlying transport.<br>


<br>
The Working Group will produce a specification of a new expression of HTTP&=
#39;s current semantics in ordered, bi-directional streams. As with HTTP/1.=
x, the primary target transport is TCP, but it should be possible to use ot=
her transports.<br>


<br>
Work will begin using draft-mbelshe-httpbis-spdy-00 as a starting point; pr=
oposals are to be expressed in terms of changes to that document. Note that=
 consensus is required both for changes to the document and anything that r=
emains in the document.<br>


<br>
</div>$Because something is in the initial document does not imply that the=
re is consensus around the feature or how it is specified.$<br></blockquote=
><div><br></div><div>I think this was already covered by &quot;consensus is=
 required both for changes to the document and anything that remains in the=
 document&quot;.</div>

<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<br>
$The outcome of this WG is HTTP/2.0, not SPDY. It is important that there i=
s no confusion about the relationship between HTTP/2.0 and SPDY as we do no=
t want to have dueling specifications in this area.$<br></blockquote><div>

<br></div><div>There are no dueling specifications. =A0This working group i=
s working on HTTP/2.0. =A0We can say it again, but it probably doesn&#39;t =
decrease the paranoia ;-)</div><div>=A0</div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
>


<div><br>
As part of that work, the following issues are explicitly called out for di=
scussion:<br>
* A negotiation mechanism that is capable of not only choosing between =A0H=
TTP/1.x and HTTP/2.x, but also for bindings of HTTP URLs to other =A0transp=
orts (for example).<br>
* Header compression (which may encompass header encoding or tokenisation)<=
br>
* Server push (which may encompass pull or other techniques)<br>
<br>
</div>$Note that this doesn&#39;t mean that no other issues should be broug=
ht up. The discussion can and should cover the entire HTTP/2.0 spec$<br></b=
lockquote><div><br></div><div>I think Mark was trying to confine our goals =
more than this. =A0 Of course it is true that things will come up as we go,=
 but it is better if we can identify the areas to work on up front.</div>

<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<div><br>
It is expected that HTTP/2.0 will:<br>
* Substantially and measurably improve end-user perceived latency in most =
=A0cases, over HTTP/1.1 using TCP.<br>
* Address the &quot;head of line blocking&quot; problem in HTTP.<br>
* Not require multiple connections to a server to enable parallelism, thus =
=A0improving its use of TCP, especially regarding congestion control.<br>
* Retain the semantics of HTTP/1.1, leveraging existing documentation (see =
=A0above), including (but not limited to) HTTP methods, status codes, URIs,=
 and =A0where appropriate, header fields.<br>
* Clearly define how HTTP/2.0 interacts with HTTP/1.x, especially in =A0int=
ermediaries (both 2-&gt;1 and 1-&gt;2).<br>
* Clearly identify any new extensibility points and policy for their =A0app=
ropriate use.<br>
<br>
The resulting specification(s) are expected to be meet these goals for comm=
on existing deployments of HTTP; in particular, Web browsing (desktop and m=
obile), non-browsers (&quot;HTTP APIs&quot;), Web serving (at a variety of =
scales), and intermediation (by proxies, corporate firewalls, &quot;reverse=
&quot; proxies and Content Delivery Networks).<br>


<br>
</div>$as well as embedded systems$<br></blockquote><div><br>I think you&#3=
9;re looking for &#39;reasonableness&#39; - such that HTTP/2.0 works with m=
ost existing systems. =A0I am too. =A0</div><div><br>I don&#39;t think we n=
eed to callout &#39;embedded systems&#39;, as it is already covered in &quo=
t;expected to meet these goals for common existing deployments of HTTP&quot=
;. =A0Embedded systems are common today and will naturally be a big part of=
 HTTP/2.0. =A0If we call them out, do we need to start listing all the othe=
r common uses of HTTP? :-)</div>

<div><br></div><div>=A0</div><blockquote style=3D"margin:0 0 0 .8ex;border-=
left:1px #ccc solid;padding-left:1ex">
<div><br>
Likewise, current and future semantic extensions to HTTP/1.x (e.g., headers=
, methods, status codes, cache directives) should be supported in the new p=
rotocol.<br>
<br>
</div>$That is, in functional terms, one should consider the goal of this w=
ork to address parts of HTTP/1.1 part 1 in terms of how the HTTP protocol i=
s mapped to message structures as well as to the underlying transport.$<br>


<div><br>
Note that this does not include uses of HTTP where non-specified behaviours=
 are relied upon (e.g., connection state such as timeouts or client affinit=
y, and &quot;interception&quot; proxies); these uses may or may not be enab=
led by the final product.<br>


<br>
Explicitly out-of-scope items include:<br>
* Specifying the use of alternate transport-layer protocols. Note that it =
=A0is expected that the Working Group will define how the protocol is used =
=A0with the TLS Protocol.<br>
* Specifying how the HTTP protocol is to be used or presented in a specific=
 =A0use case (e.g., in Web browsers).<br>
<br>
</div>$While not a direct deliverable of the WG, given the focus on perform=
ance, it is critical that the WG evaluates how well the proposed features i=
n HTTP/2.0 perform within a common set of scenarios. It is expected that th=
e WG will take such data into consideration when discussing features.$<br>


<div><br>
The Working Group will coordinate this item with:<br>
* The TLS Working Group, regarding use of TLS.<br>
* The Transport Area, regarding impact on and interaction with transport =
=A0protocols.<br>
* The HYBI Working Group, regarding the possible future extension of HTTP/2=
.0 =A0to carry WebSockets semantics.<br>
<br>
The Working Group will prioritize HTTP/1.1 work until it is complete.<br>
<br>
Other HTTP-Related Work<br>
-----------------------<br>
<br>
The Working Group may define additional extensions to HTTP as work items, p=
rovided that:<br>
* There is clear consensus to do so, and<br>
* It does not, in the judgement of the Chair(s), interfere with the work =
=A0described above, and<br>
* The Area Director(s) give consent, and add corresponding milestones.<br>
<br>
Additionally, the Working Group will not start work on any extensions that =
are specific to HTTP/2.0 until that work is completed.<br>
<br>
<br>
</div><div><div>-----Original Message-----<br>
From: Mark Nottingham [mailto:<a>mnot@mnot.net</a>]<br>
Sent: Friday, August 03, 2012 1:06 PM<br>
To: <a>ietf-http-wg@w3.org</a> Group<br>
Subject: Moving forward with HTTP/2.0: proposed charter<br>
<br>
In the second Vancouver session, we discussed the proposals, expressions of=
 interest in them, and the proposed charter text sent to the list earlier.<=
br>
<br>
The result of those discussions has been captured in the charter proposal b=
elow.<br>
<br>
Please have a look and discuss, express your support or concern, and of cou=
rse make proposals for any changes that you believe will be able to gain co=
nsensus. Barring serious problems, I&#39;d like to get it to the ADs in the=
 next week.<br>


<br>
---8&lt;---<br>
<br>
This Working Group is charged with maintaining and developing the &quot;cor=
e&quot;<br>
specifications for HTTP.<br>
<br>
The Working Group&#39;s specification deliverables are:<br>
* A document (or set of documents) that is suitable to supersede RFC 2616 a=
s =A0the definition of HTTP/1.1 and move RFC 2817 to Historic status<br>
* A document cataloguing the security properties of HTTP/1.1<br>
* A document (or set of documents) that specifies HTTP/2.0, an improved =A0=
binding of HTTP&#39;s semantics to an underlying transport.<br>
<br>
HTTP/1.1<br>
--------<br>
<br>
HTTP/1.1 is one of the most successful and widely-used protocols on the Int=
ernet today. However, its specification has several editorial issues.<br>
Additionally, after years of implementation and extension, several ambiguit=
ies have become evident, impairing interoperability and the ability to easi=
ly implement and use HTTP.<br>
<br>
The working group will refine RFC2616 to:<br>
* Incorporate errata and updates (e.g., references, IANA registries, ABNF)<=
br>
* Fix editorial problems which have led to misunderstandings of the =A0spec=
ification<br>
* Clarify conformance requirements<br>
* Remove known ambiguities where they affect interoperability<br>
* Clarify existing methods of extensibility<br>
* Remove or deprecate those features that are not widely implemented and =
=A0also unduly affect interoperability<br>
* Where necessary, add implementation advice<br>
* Document the security properties of HTTP and its associated mechanisms =
=A0(e.g., Basic and Digest authentication, cookies, TLS) for common =A0appl=
ications<br>
<br>
It will also incorporate the generic authentication framework from RFC 2617=
, without obsoleting or updating that specification&#39;s definition of the=
 Basic and Digest schemes.<br>
<br>
Finally, it will incorporate relev</div></div></blockquote></div><br>
</blockquote>

--20cf3063dc03e4e99504c67a516a--


From ietf-http-wg-request@listhub.w3.org  Sat Aug  4 20:41:07 2012
Return-Path: <ietf-http-wg-request@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 AC14921F883F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  4 Aug 2012 20:41:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.535
X-Spam-Level: 
X-Spam-Status: No, score=-10.535 tagged_above=-999 required=5 tests=[AWL=0.062, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lnkpp-4zBkuU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  4 Aug 2012 20:41:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A48C821F8839 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  4 Aug 2012 20:41:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sxrfy-0006To-Ht for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Aug 2012 03:38:46 +0000
Resent-Date: Sun, 05 Aug 2012 03:38:46 +0000
Resent-Message-Id: <E1Sxrfy-0006To-Ht@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sxrfl-0006Pg-9u for ietf-http-wg@listhub.w3.org; Sun, 05 Aug 2012 03:38:33 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sxrfj-0004TZ-SQ for ietf-http-wg@w3.org; Sun, 05 Aug 2012 03:38:33 +0000
Received: by weyx43 with SMTP id x43so1285592wey.2 for <ietf-http-wg@w3.org>; Sat, 04 Aug 2012 20:38:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=iDbFnLDNhQaeTmEV+zg6i9/xYlpUKKrxsSbkuKUv0Mo=; b=UjBJed5+0/KJTInG1aNOhpPD2VeTH7kS6WDW9VL+6af4iOG6vFOP28CPLm/Wb/K3ZK G/q6Ov6crBjQalE54RgJVQpCRk8W+aT33wPLVGO7pgTQ4ywA9TffCaD+q0GStiZymc8u zVvXGEnOn0u4NxnyLlTmnKV5+MvKTqKmGE7Ylkpq6aaxLopPkwCrkjzZuWgNsKwnfKec nT+5XUZNA15uN9jXDP3TgEsXjljbaZmS88VeXRTQ331Rfo2vLmgLunYCk0vtCvJiv9mG Roc8S9gS5iRBeEOviNBRRkmLfb7N/ISJNWF2Gc+rLd4MH1BkE+E5LSj1LrfI0w2uhTHc VcDw==
MIME-Version: 1.0
Received: by 10.180.14.34 with SMTP id m2mr8200974wic.21.1344137884890; Sat, 04 Aug 2012 20:38:04 -0700 (PDT)
Received: by 10.194.77.4 with HTTP; Sat, 4 Aug 2012 20:38:04 -0700 (PDT)
Received: by 10.194.77.4 with HTTP; Sat, 4 Aug 2012 20:38:04 -0700 (PDT)
In-Reply-To: <CABP7Rbc-3XvGV6WQfdcUf+1i4zJ3S_2GCHQzHh9ONACrxBtFSQ@mail.gmail.com>
References: <CABP7Rbc-3XvGV6WQfdcUf+1i4zJ3S_2GCHQzHh9ONACrxBtFSQ@mail.gmail.com>
Date: Sat, 4 Aug 2012 20:38:04 -0700
Message-ID: <CAP+FsNddpddajN7WDA=GyD6k37rVnZPTUwmVmn=kD2PpMEXhQw@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d040f9f5428771804c67c7d39
Received-SPF: pass client-ip=74.125.82.171; envelope-from=grmocg@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sxrfj-0004TZ-SQ 180beb1775ee35ab151e4754f1a8db9e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... In-Stream Key Negotiation Initial Draft
Archived-At: <http://www.w3.org/mid/CAP+FsNddpddajN7WDA=GyD6k37rVnZPTUwmVmn=kD2PpMEXhQw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14944
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>

--f46d040f9f5428771804c67c7d39
Content-Type: text/plain; charset=ISO-8859-1

Awesome! This ties into possible explicit proxy with TLS.

-=R
On Aug 3, 2012 3:25 PM, "James M Snell" <jasnell@gmail.com> wrote:

> For the purposes of discussion, I have published a rough first draft of
> the SPDY KEY_NEGO mechanism I discussed previously.
>
>   http://www.ietf.org/id/draft-snell-httpbis-keynego-00.txt
>
> The short version is: this introduces the ability to perform key
> negotiation for encrypted streams *within* an established SPDY session,
> even if TLS is not being used to secure the connection. This is largely
> theoretical and experimental at this point but I have done some initial
> implementation to at least demonstrate (mostly for myself) that the basic
> idea works in theory. However, there's much that would need to be done.
>
> To answer the more immediate question: Why would we do this... the short
> answer is that this approach gives us a number of things that TLS currently
> does not.. specifically: the ability to multiplex secure and insecure
> traffic over a single TCP/IP connection, server-initiated security,
> in-stream end-to-end integrity checking, and dynamic, on-the-fly
> (re)negotiation of keys on the fly without having to tear down and
> reestablish the connection.
>
> There is much more that needs to be done to flesh this out, obviously, and
> I'm not yet convinced that it's a great idea. Much more experimentation and
> implementation would need to go into determining that, but I wanted to get
> the basic idea documented and out there for discussion and to get some
> additional eyes looking at it.
>
> As always, comments and feedback are welcomed.
>
> - James
>

--f46d040f9f5428771804c67c7d39
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Awesome! This ties into possible explicit proxy with TLS.</p=
>
<p dir=3D"ltr">-=3DR</p>
<div class=3D"gmail_quote">On Aug 3, 2012 3:25 PM, &quot;James M Snell&quot=
; &lt;<a href=3D"mailto:jasnell@gmail.com">jasnell@gmail.com</a>&gt; wrote:=
<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<font face=3D"courier new, monospace">For the purposes of discussion, I hav=
e published a rough first draft of the SPDY KEY_NEGO mechanism I discussed =
previously.</font><div><font face=3D"courier new, monospace"><br></font></d=
iv>


<div><font face=3D"courier new, monospace">=A0=A0<a href=3D"http://www.ietf=
.org/id/draft-snell-httpbis-keynego-00.txt" target=3D"_blank">http://www.ie=
tf.org/id/draft-snell-httpbis-keynego-00.txt</a></font></div><div><font fac=
e=3D"courier new, monospace"><br>


</font></div><div><font face=3D"courier new, monospace">The short version i=
s: this introduces the ability to perform key negotiation for encrypted str=
eams *within* an established SPDY session, even if TLS is not being used to=
 secure the connection. This is largely theoretical and experimental at thi=
s point but I have done some initial implementation to at least demonstrate=
 (mostly for myself) that the basic idea works in theory. However, there&#3=
9;s much that would need to be done.</font></div>


<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">To answer the more immediate question: Why woul=
d we do this... the short answer is that this approach gives us a number of=
 things that TLS currently does not.. specifically: the ability to multiple=
x secure and insecure traffic over a single TCP/IP connection, server-initi=
ated security, in-stream end-to-end integrity checking, and dynamic, on-the=
-fly (re)negotiation of keys on the fly without having to tear down and ree=
stablish the connection.</font></div>


<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">There is much more that needs to be done to fle=
sh this out, obviously, and I&#39;m not yet convinced that it&#39;s a great=
 idea. Much more experimentation and implementation would need to go into d=
etermining that, but I wanted to get the basic idea documented and out ther=
e for discussion and to get some additional eyes looking at it.</font></div=
>


<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">As always, comments and feedback are welcomed.=
=A0</font></div><div><font face=3D"courier new, monospace"><br></font></div=
><div>


<font face=3D"courier new, monospace">- James</font></div>
</blockquote></div>

--f46d040f9f5428771804c67c7d39--


From ietf-http-wg-request@listhub.w3.org  Sun Aug  5 04:38:41 2012
Return-Path: <ietf-http-wg-request@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 40C5921F84C9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 04:38:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.448
X-Spam-Level: 
X-Spam-Status: No, score=-10.448 tagged_above=-999 required=5 tests=[AWL=0.151, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lrRkKyIkqqjU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 04:38:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C43EB21F847B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Aug 2012 04:38:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sxz87-0006Sd-V8 for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Aug 2012 11:36:19 +0000
Resent-Date: Sun, 05 Aug 2012 11:36:19 +0000
Resent-Message-Id: <E1Sxz87-0006Sd-V8@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Sxz7t-0006Qh-HG for ietf-http-wg@listhub.w3.org; Sun, 05 Aug 2012 11:36:05 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Sxz7s-0005Ol-7K for ietf-http-wg@w3.org; Sun, 05 Aug 2012 11:36:05 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 32BFFE702A for <ietf-http-wg@w3.org>; Sun,  5 Aug 2012 23:35:11 +1200 (NZST)
Message-ID: <501E5A69.5000802@treenet.co.nz>
Date: Sun, 05 Aug 2012 23:35:05 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <emcb1e378c-a3b9-4b39-9f43-238a1d5c1cfb@reboist>
In-Reply-To: <emcb1e378c-a3b9-4b39-9f43-238a1d5c1cfb@reboist>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sxz7s-0005Ol-7K a5289d071c12d42c38f429d3b1bd9109
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/501E5A69.5000802@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14945
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 4/08/2012 9:04 a.m., Adrien de Croy wrote:
>
> ------ Original Message ------
> From: "Zhong Yu" <zhong.j.yu@gmail.com>
>> Wait... why should HTTP care about the internal structure of a URI?
>>
>
> shared caches
>
> Adrien
>
>

Only if you try to cache along the assumed filesystem hierarchy implicit 
in URLs. Using the absolute URL as an opaque hash key (as Squid does) 
instead of reading any meaning in its syntax avoids all these issues 
completely.

Amo


From ietf-http-wg-request@listhub.w3.org  Sun Aug  5 05:34:16 2012
Return-Path: <ietf-http-wg-request@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 0C3B121F84DD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 05:34:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.588
X-Spam-Level: 
X-Spam-Status: No, score=-10.588 tagged_above=-999 required=5 tests=[AWL=0.011, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 81TW8lwXgsF5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 05:34:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 72BF421F84D2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Aug 2012 05:34:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sy00m-0002B5-8m for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Aug 2012 12:32:48 +0000
Resent-Date: Sun, 05 Aug 2012 12:32:48 +0000
Resent-Message-Id: <E1Sy00m-0002B5-8m@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sy00P-00029p-H9 for ietf-http-wg@listhub.w3.org; Sun, 05 Aug 2012 12:32:25 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sy00M-0006BE-Mv for ietf-http-wg@w3.org; Sun, 05 Aug 2012 12:32:25 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 094503B080; Sun,  5 Aug 2012 12:31:59 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q75CVtuF015812; Sun, 5 Aug 2012 12:31:59 GMT (envelope-from phk@phk.freebsd.dk)
To: Amos Jeffries <squid3@treenet.co.nz>
cc: ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Sun, 05 Aug 2012 23:35:05 +1200." <501E5A69.5000802@treenet.co.nz>
Content-Type: text/plain; charset=ISO-8859-1
Date: Sun, 05 Aug 2012 12:31:55 +0000
Message-ID: <15811.1344169915@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sy00M-0006BE-Mv e95db8f7c0cfa224c1e44f9c2596eaa5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/15811.1344169915@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14946
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>

In message <501E5A69.5000802@treenet.co.nz>, Amos Jeffries writes:

>Only if you try to cache along the assumed filesystem hierarchy implicit 
>in URLs. Using the absolute URL as an opaque hash key (as Squid does) 
>instead of reading any meaning in its syntax avoids all these issues 
>completely.

But opens you up to DoS attacks along the lines of:

	GET /ABCDEF.html
	GET /%41BCDEF.html
	GET /A%42CDEF.html
	...

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Sun Aug  5 09:26:28 2012
Return-Path: <ietf-http-wg-request@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 B4E7E21F850D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 09:26:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.087
X-Spam-Level: 
X-Spam-Status: No, score=-9.087 tagged_above=-999 required=5 tests=[AWL=1.512, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 62jlUde70pJ3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 09:26:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0BA7E21F8504 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Aug 2012 09:26:27 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sy3cs-0005CI-JC for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Aug 2012 16:24:22 +0000
Resent-Date: Sun, 05 Aug 2012 16:24:22 +0000
Resent-Message-Id: <E1Sy3cs-0005CI-JC@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sy3cf-0005BT-OF for ietf-http-wg@listhub.w3.org; Sun, 05 Aug 2012 16:24:09 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1Sy3ce-0004EC-Hg for ietf-http-wg@w3.org; Sun, 05 Aug 2012 16:24:09 +0000
Received: by obqv19 with SMTP id v19so4434964obq.2 for <ietf-http-wg@w3.org>; Sun, 05 Aug 2012 09:23:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=DIuWUxrbFuuSZDbsYVcphKW+g2pN8czCgqKUNHvR+Uo=; b=YK+zoPurUwOPOBdljTr0Fx6wYIeLMAw1MPE0KHcspAkaei8cHlZGo+oYPEnBlMdO2U paK30hIfIQVB95w2KGJE+KHo3zCMb1mWRuHcwojnrs+lmtW9BUYCxd5/IPvO/Jm/Isr5 kFIyC1qSJWkFm8Ql27iiME7IDRuVwR/RF+cMKJ7gw9PGnJ+J94aGk/dASx48u/xs3OQM vCaNrXI9EtVajdex3DuALfF7SXNzGnNQVZoVJI+a9+9Vb+hZqVzP/b39GK83eGwdXfHP Ez6KrUvlImCL7Jp8OgULaW8Pp/K3fA0VmGKovx0ZkDnAQ/aTMbjBxP9+Js3d9lz57DrI jJPQ==
MIME-Version: 1.0
Received: by 10.60.2.3 with SMTP id 3mr15671341oeq.0.1344183822368; Sun, 05 Aug 2012 09:23:42 -0700 (PDT)
Received: by 10.76.114.226 with HTTP; Sun, 5 Aug 2012 09:23:42 -0700 (PDT)
In-Reply-To: <15811.1344169915@critter.freebsd.dk>
References: <501E5A69.5000802@treenet.co.nz> <15811.1344169915@critter.freebsd.dk>
Date: Sun, 5 Aug 2012 12:23:42 -0400
Message-ID: <CAMm+Lwj_MqNJRkXLVUbwCZdqFru_GwFs9Pe8AB+jYSQNO8jy=g@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sy3ce-0004EC-Hg ee849365cc1d5bf5e79d00d3e623562c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CAMm+Lwj_MqNJRkXLVUbwCZdqFru_GwFs9Pe8AB+jYSQNO8jy=g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14947
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 Sun, Aug 5, 2012 at 8:31 AM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> In message <501E5A69.5000802@treenet.co.nz>, Amos Jeffries writes:
>
>>Only if you try to cache along the assumed filesystem hierarchy implicit
>>in URLs. Using the absolute URL as an opaque hash key (as Squid does)
>>instead of reading any meaning in its syntax avoids all these issues
>>completely.
>
> But opens you up to DoS attacks along the lines of:
>
>         GET /ABCDEF.html
>         GET /%41BCDEF.html
>         GET /A%42CDEF.html
>         ...


Those are actually the same URL. Just different encodings.


-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Sun Aug  5 09:41:38 2012
Return-Path: <ietf-http-wg-request@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 15F6D21F8501 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 09:41:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.588
X-Spam-Level: 
X-Spam-Status: No, score=-10.588 tagged_above=-999 required=5 tests=[AWL=0.011, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tswQ48S+w5IV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 09:41:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 547FB21F84F2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Aug 2012 09:41:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sy3sQ-0005eD-EM for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Aug 2012 16:40:26 +0000
Resent-Date: Sun, 05 Aug 2012 16:40:26 +0000
Resent-Message-Id: <E1Sy3sQ-0005eD-EM@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sy3sC-0005dN-D4 for ietf-http-wg@listhub.w3.org; Sun, 05 Aug 2012 16:40:12 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Sy3sB-0004fo-0t for ietf-http-wg@w3.org; Sun, 05 Aug 2012 16:40:12 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 7A7133B080; Sun,  5 Aug 2012 16:39:48 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q75Gdk81017368; Sun, 5 Aug 2012 16:39:46 GMT (envelope-from phk@phk.freebsd.dk)
To: Phillip Hallam-Baker <hallam@gmail.com>
cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Sun, 05 Aug 2012 12:23:42 -0400." <CAMm+Lwj_MqNJRkXLVUbwCZdqFru_GwFs9Pe8AB+jYSQNO8jy=g@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Sun, 05 Aug 2012 16:39:46 +0000
Message-ID: <17367.1344184786@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sy3sB-0004fo-0t 8fd7df0fb3f58280aaa5e090d4d6b7a9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/17367.1344184786@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14948
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>

In message <CAMm+Lwj_MqNJRkXLVUbwCZdqFru_GwFs9Pe8AB+jYSQNO8jy=g@mail.gmail.com>
, Phillip Hallam-Baker writes:
>On Sun, Aug 5, 2012 at 8:31 AM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:

>> But opens you up to DoS attacks along the lines of:
>>
>>         GET /ABCDEF.html
>>         GET /%41BCDEF.html
>>         GET /A%42CDEF.html
>>         ...
>
>Those are actually the same URL. Just different encodings.

That's exactly the point.

Intermediaries need to decode URI and therefore the question of ASCII
vs. UTF8 performance is relevant.

But as I said earlier: I'm not sure if the advantage goes to ASCII
with the need for further encoding, or to UTF8 with no further encoding
needed.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Sun Aug  5 10:31:43 2012
Return-Path: <ietf-http-wg-request@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 5C94A21F84E4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 10:31:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=4.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UA0OfccXawgl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 10:31:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4215B21F84FD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Aug 2012 10:31:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sy4eL-0005FH-2H for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Aug 2012 17:29:57 +0000
Resent-Date: Sun, 05 Aug 2012 17:29:57 +0000
Resent-Message-Id: <E1Sy4eL-0005FH-2H@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sy4e8-0005EW-6z for ietf-http-wg@listhub.w3.org; Sun, 05 Aug 2012 17:29:44 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1Sy4e7-0007Ui-02 for ietf-http-wg@w3.org; Sun, 05 Aug 2012 17:29:44 +0000
Received: from [10.10.1.125] (unknown [67.79.29.132]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id C140F509B4; Sun,  5 Aug 2012 13:29:20 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAProHAQa7XXvVVKPNuFmutpckQPN8KXZCPSZQrLu0AwYxNUx8g@mail.gmail.com>
Date: Sun, 5 Aug 2012 12:29:23 -0500
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <711EB8B3-3729-4E0A-A76D-AF2BB23D2A9E@mnot.net>
References: <57ED38C2-30BF-4AC8-A60D-58410DC24B9C@mnot.net> <CAProHAQa7XXvVVKPNuFmutpckQPN8KXZCPSZQrLu0AwYxNUx8g@mail.gmail.com>
To: Zhen Cao <zehn.cao@gmail.com>
X-Mailer: Apple Mail (2.1485)
Received-SPF: pass client-ip=216.86.168.183; envelope-from=mnot@mnot.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sy4e7-0007Ui-02 66aa4ec59c556550ed2612b73ce6c873
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Vancouver minutes (uploaded)
Archived-At: <http://www.w3.org/mid/711EB8B3-3729-4E0A-A76D-AF2BB23D2A9E@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14949
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>

I've uploaded them, as well as the cleaned-up minutes; see:
  http://www.ietf.org/proceedings/84/httpbis.html

Thanks again to Patrick McManus, Ted Hardie, and Joe Hildebrand for =
their help.

Regards,


On 03/08/2012, at 10:10 PM, Zhen Cao <zehn.cao@gmail.com> wrote:

> Where can I find the slides? Only one set of slides posted on the
> proceedings page.
>=20
> -cz
>=20
> On Fri, Aug 3, 2012 at 11:46 AM, Mark Nottingham <mnot@mnot.net> =
wrote:
>> ROUGH minutes for Tuesday's session are attached.
>>=20
>> Those for Wednesday are available at:
>>  http://www.ietf.org/jabber/logs/httpbis/2012-08-01.html
>>=20
>> I'll clean them up and get them recorded ASAP.
>>=20
>> Thanks,
>>=20
>>=20
>>=20
>>=20
>> --
>> Mark Nottingham
>> http://www.mnot.net/
>>=20
>>=20
>>=20
>>=20
>>=20
>=20

--
Mark Nottingham
http://www.mnot.net/






From ietf-http-wg-request@listhub.w3.org  Sun Aug  5 16:06:11 2012
Return-Path: <ietf-http-wg-request@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 530E621F8552 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 16:06:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.188
X-Spam-Level: 
X-Spam-Status: No, score=-10.188 tagged_above=-999 required=5 tests=[AWL=0.411, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BrX0sgu9d7Lw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 16:06:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9CF6121F855B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Aug 2012 16:06:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sy9rz-0005rk-BF for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Aug 2012 23:04:23 +0000
Resent-Date: Sun, 05 Aug 2012 23:04:23 +0000
Resent-Message-Id: <E1Sy9rz-0005rk-BF@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Sy9rg-0005qv-Hg for ietf-http-wg@listhub.w3.org; Sun, 05 Aug 2012 23:04:04 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Sy9rf-0004nC-1U for ietf-http-wg@w3.org; Sun, 05 Aug 2012 23:04:04 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 0F89DE7037; Mon,  6 Aug 2012 11:03:35 +1200 (NZST)
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Mon, 06 Aug 2012 11:03:35 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, <ietf-http-wg@w3.org>
In-Reply-To: <17367.1344184786@critter.freebsd.dk>
References: <17367.1344184786@critter.freebsd.dk>
Message-ID: <e979ba0fb1259217ac93fcfcfebda344@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sy9rf-0004nC-1U ff58f898a6befb73ce3cd09bc954296c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/e979ba0fb1259217ac93fcfcfebda344@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14950
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 06.08.2012 04:39, Poul-Henning Kamp wrote:
> Phillip Hallam-Baker writes:
>>On Sun, Aug 5, 2012 at 8:31 AM, Poul-Henning Kamp wrote:
>
>>> But opens you up to DoS attacks along the lines of:
>>>
>>>         GET /ABCDEF.html
>>>         GET /%41BCDEF.html
>>>         GET /A%42CDEF.html
>>>         ...
>>
>>Those are actually the same URL. Just different encodings.
>
> That's exactly the point.
>
> Intermediaries need to decode URI and therefore the question of ASCII
> vs. UTF8 performance is relevant.
>
> But as I said earlier: I'm not sure if the advantage goes to ASCII
> with the need for further encoding, or to UTF8 with no further 
> encoding
> needed.

BUT, they don't need to know that A or B expanded to certain special 
directory path macros by the involved apps.

Encoding != Interpretation != Character set.


  * We already have to decode malicious (and just plain stupid 
over-encodings) for ASCII characters.
  * We already have to encode UTF-8 characters passed by some 
clients/servers using UTF-8 internally.
  => There is no new problem created here.

The only relevance this has is that 2.0 native middleware will no 
longer have to *encode* (memory allocate + copy) the raw-UTF emitted by 
dumb sources until it takes a 1.1 hop. Decoding is only a copy with no 
memory allocation - so not optimizing that is sad but does not make 
anything worse.

In short we gain a needed optimization for free, which improves its 
benefit the further 2.0 rolls out.

AYJ



From ietf-http-wg-request@listhub.w3.org  Sun Aug  5 16:22:33 2012
Return-Path: <ietf-http-wg-request@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 94B2321F8552 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 16:22:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.151
X-Spam-Level: 
X-Spam-Status: No, score=-7.151 tagged_above=-999 required=5 tests=[AWL=2.448, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SUBJ_RE_NUM=1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5R34jpyGqwbr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 16:22:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E0BB221F853F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Aug 2012 16:22:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyA8K-0005Jf-Tb for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Aug 2012 23:21:16 +0000
Resent-Date: Sun, 05 Aug 2012 23:21:16 +0000
Resent-Message-Id: <E1SyA8K-0005Jf-Tb@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SyA88-0005Iu-IX for ietf-http-wg@listhub.w3.org; Sun, 05 Aug 2012 23:21:04 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SyA85-00059N-H1 for ietf-http-wg@w3.org; Sun, 05 Aug 2012 23:21:04 +0000
Received: From [192.168.1.25] (unverified [219.89.218.88]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.2.6 (Build 3449)) with SMTP id <0019177168@smtp.qbik.com>; Mon, 06 Aug 2012 11:20:33 +1200
From: "Adrien de Croy" <adrien@qbik.com>
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>, "James M Snell" <jasnell@gmail.com>
Cc: "Mark Nottingham" <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Sun, 05 Aug 2012 23:20:21 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <6715.1344028238@critter.freebsd.dk>
Message-Id: <emc0d9c202-4de9-42a4-afcd-3e0714b94f4b@reboist>
Mime-Version: 1.0
Reply-To: "Adrien de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SyA85-00059N-H1 14305abf0e45ef067678ca3c97558468
X-Original-To: ietf-http-wg@w3.org
Subject: Re[2]: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/emc0d9c202-4de9-42a4-afcd-3e0714b94f4b@reboist>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14951
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>

=EF=BB=BF
------ Original Message ------
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
>In message <CABP7RbcS-yOuxUG2u-OB3rGK+s1MTp-TXa9ts4xwnp-o7Pchjw@mail.gmail=
.com>
>, James M Snell writes:
>
>
>>
>>I want to just clarify that the proposed language does leave the room =
open
>>for potentially non-backwards compatible changes to be made within HTTP
>>2.0.
>>
>
>
>Where does 2.0<-->1.1 conversion _realistically_ come into play ?
>
>
>

You mean where are we most likely to see 2.0 down-graded to 1.1?

I think this will be extremely common for a very long time.

2.0 client talks to 2.0 local proxy talking to 1.1 internet.

So the proxy is going to have to handle the discovery of server=20
protocol support.  What fun!

Adrien
>
>



From ietf-http-wg-request@listhub.w3.org  Sun Aug  5 16:24:25 2012
Return-Path: <ietf-http-wg-request@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 ED34821F8578 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 16:24:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.189
X-Spam-Level: 
X-Spam-Status: No, score=-7.189 tagged_above=-999 required=5 tests=[AWL=2.410, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SUBJ_RE_NUM=1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 397r77d2U-A4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 16:24:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5652021F8552 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Aug 2012 16:24:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyAAj-0005V9-Pc for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Aug 2012 23:23:45 +0000
Resent-Date: Sun, 05 Aug 2012 23:23:45 +0000
Resent-Message-Id: <E1SyAAj-0005V9-Pc@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SyAAX-0005UJ-CE for ietf-http-wg@listhub.w3.org; Sun, 05 Aug 2012 23:23:33 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SyAAV-0005ER-Q3 for ietf-http-wg@w3.org; Sun, 05 Aug 2012 23:23:33 +0000
Received: From [192.168.1.25] (unverified [219.89.218.88]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.2.6 (Build 3449)) with SMTP id <0019177175@smtp.qbik.com>; Mon, 06 Aug 2012 11:23:08 +1200
From: "Adrien de Croy" <adrien@qbik.com>
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>, "Phillip Hallam-Baker" <hallam@gmail.com>
Cc: "Amos Jeffries" <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Sun, 05 Aug 2012 23:22:57 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <17367.1344184786@critter.freebsd.dk>
Message-Id: <em0de53c00-1d76-4ae8-8e5d-46c90336af54@reboist>
Mime-Version: 1.0
Reply-To: "Adrien de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SyAAV-0005ER-Q3 3dee13841e79268e62a81ecbc87abb01
X-Original-To: ietf-http-wg@w3.org
Subject: Re[2]: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/em0de53c00-1d76-4ae8-8e5d-46c90336af54@reboist>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14952
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>

=EF=BB=BF
personally I see little value in allowing a "safe" character to be=20
encoded with %, and specify it has no semantic meaning (that it is=20
encoded rather than "native")

Why not simply deprecate such things for 2.0, and when it comes to=20
putting together a 1.1 message from a 2.0 message, it needs encoding at=20
that stage, and at that stage, there's only 1 allowed way to do it,=20
e.g. safe chars MUST NOT be %-encoded etc.

Adrien

------ Original Message ------
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To: "Phillip Hallam-Baker" <hallam@gmail.com>
Cc: "Amos Jeffries" <squid3@treenet.co.nz>;"ietf-http-wg@w3.org"=20
<ietf-http-wg@w3.org>
Sent: 6/08/2012 4:39:46 a.m.
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
>In message <CAMm+Lwj_MqNJRkXLVUbwCZdqFru_GwFs9Pe8AB+jYSQNO8jy=3Dg@mail.gma=
il.com>
>, Phillip Hallam-Baker writes:
>
>>
>>On Sun, Aug 5, 2012 at 8:31 AM, Poul-Henning Kamp <phk@phk.freebsd.dk>=
 wrote:
>>
>>>
>>>But opens you up to DoS attacks along the lines of:
>>>
>>>        GET /ABCDEF.html
>>>        GET /%41BCDEF.html
>>>        GET /A%42CDEF.html
>>>        ...
>>>
>>
>>
>>Those are actually the same URL. Just different encodings.
>>
>
>
>That's exactly the point.
>
>Intermediaries need to decode URI and therefore the question of ASCII
>vs. UTF8 performance is relevant.
>
>But as I said earlier: I'm not sure if the advantage goes to ASCII
>with the need for further encoding, or to UTF8 with no further encoding
>needed.
>
>--
>Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
>phk@FreeBSD.ORG         | TCP/IP since RFC 956
>FreeBSD committer       | BSD since 4.3-tahoe
>Never attribute to malice what can adequately be explained by incompetence=
.
>
>
>



From ietf-http-wg-request@listhub.w3.org  Sun Aug  5 16:44:57 2012
Return-Path: <ietf-http-wg-request@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 4702521F857E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 16:44:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.203
X-Spam-Level: 
X-Spam-Status: No, score=-10.203 tagged_above=-999 required=5 tests=[AWL=0.396, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VCFpoq4-y6Ua for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 16:44:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9E8EF21F853A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Aug 2012 16:44:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyAUF-0005yG-No for ietf-http-wg-dist@listhub.w3.org; Sun, 05 Aug 2012 23:43:55 +0000
Resent-Date: Sun, 05 Aug 2012 23:43:55 +0000
Resent-Message-Id: <E1SyAUF-0005yG-No@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SyAU3-0005xU-Gc for ietf-http-wg@listhub.w3.org; Sun, 05 Aug 2012 23:43:43 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SyAU2-0005qb-3v for ietf-http-wg@w3.org; Sun, 05 Aug 2012 23:43:43 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id B4D11E7037; Mon,  6 Aug 2012 11:43:18 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Mon, 06 Aug 2012 11:43:18 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <711EB8B3-3729-4E0A-A76D-AF2BB23D2A9E@mnot.net>
References: <57ED38C2-30BF-4AC8-A60D-58410DC24B9C@mnot.net> <CAProHAQa7XXvVVKPNuFmutpckQPN8KXZCPSZQrLu0AwYxNUx8g@mail.gmail.com> <711EB8B3-3729-4E0A-A76D-AF2BB23D2A9E@mnot.net>
Message-ID: <7205f543b66119630dcdf020b1c98f77@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=3.5
X-W3C-Hub-Spam-Report: BAYES_99=3.5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SyAU2-0005qb-3v 7bbd79954628468f6b4c6c4166e3b31a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Vancouver minutes (uploaded)
Archived-At: <http://www.w3.org/mid/7205f543b66119630dcdf020b1c98f77@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14953
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 06.08.2012 05:29, Mark Nottingham wrote:
> I've uploaded them, as well as the cleaned-up minutes; see:
>   http://www.ietf.org/proceedings/84/httpbis.html

hmm, just wondering if the charter date is really supposed to say "as 
of 2007..." or should it be the date of last re-charter?

AYJ



From ietf-http-wg-request@listhub.w3.org  Sun Aug  5 17:35:57 2012
Return-Path: <ietf-http-wg-request@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 351B121F85A3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 17:35:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.599
X-Spam-Level: 
X-Spam-Status: No, score=-7.599 tagged_above=-999 required=5 tests=[AWL=3.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2pa5gFsjuB-Z for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 17:35:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9106521F8593 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Aug 2012 17:35:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyBH9-0001G3-1b for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 00:34:27 +0000
Resent-Date: Mon, 06 Aug 2012 00:34:27 +0000
Resent-Message-Id: <E1SyBH9-0001G3-1b@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SyBGl-0001Cn-Od for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 00:34:03 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SyBGk-0001EO-L4 for ietf-http-wg@w3.org; Mon, 06 Aug 2012 00:34:03 +0000
Received: from [10.10.1.125] (unknown [67.79.29.132]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 8B60E509B4; Sun,  5 Aug 2012 20:33:38 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <7205f543b66119630dcdf020b1c98f77@treenet.co.nz>
Date: Sun, 5 Aug 2012 19:33:37 -0500
Cc: <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <46E76131-97FE-4C19-A655-E2D1025A24AF@mnot.net>
References: <57ED38C2-30BF-4AC8-A60D-58410DC24B9C@mnot.net> <CAProHAQa7XXvVVKPNuFmutpckQPN8KXZCPSZQrLu0AwYxNUx8g@mail.gmail.com> <711EB8B3-3729-4E0A-A76D-AF2BB23D2A9E@mnot.net> <7205f543b66119630dcdf020b1c98f77@treenet.co.nz>
To: Amos Jeffries <squid3@treenet.co.nz>
X-Mailer: Apple Mail (2.1485)
Received-SPF: pass client-ip=216.86.168.183; envelope-from=mnot@mnot.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SyBGk-0001EO-L4 1b6e034ac9f13da9d27579f709047ca9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Vancouver minutes (uploaded)
Archived-At: <http://www.w3.org/mid/46E76131-97FE-4C19-A655-E2D1025A24AF@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14954
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>

Yeah, there's something wrong there; I'll try to bring it to the =
attention of the right people.

Cheers,


On 05/08/2012, at 6:43 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:

> On 06.08.2012 05:29, Mark Nottingham wrote:
>> I've uploaded them, as well as the cleaned-up minutes; see:
>>  http://www.ietf.org/proceedings/84/httpbis.html
>=20
> hmm, just wondering if the charter date is really supposed to say "as =
of 2007..." or should it be the date of last re-charter?
>=20
> AYJ
>=20
>=20

--
Mark Nottingham
http://www.mnot.net/






From ietf-http-wg-request@listhub.w3.org  Sun Aug  5 18:36:28 2012
Return-Path: <ietf-http-wg-request@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 2228F21F849A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 18:36:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.102
X-Spam-Level: 
X-Spam-Status: No, score=-9.102 tagged_above=-999 required=5 tests=[AWL=0.875, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zmdPUYXlLtyw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 18:36:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 827DF21F8493 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Aug 2012 18:36:27 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyCDD-0001Pg-Fx for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 01:34:27 +0000
Resent-Date: Mon, 06 Aug 2012 01:34:27 +0000
Resent-Message-Id: <E1SyCDD-0001Pg-Fx@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1SyCD0-0001Or-8h for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 01:34:14 +0000
Received: from mail-qa0-f50.google.com ([209.85.216.50]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1SyCCz-0002fQ-4z for ietf-http-wg@w3.org; Mon, 06 Aug 2012 01:34:14 +0000
Received: by qatp27 with SMTP id p27so714366qat.2 for <ietf-http-wg@w3.org>; Sun, 05 Aug 2012 18:33:47 -0700 (PDT)
X-Google-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 :content-type:content-transfer-encoding:x-gm-message-state; bh=T2ElzWB0IgnUgO04AMsVOQC6zcxdM3knh8GHArk/RSw=; b=pXoxIklDO4Lt+x5NnQD+ZaStSioX9YGlAIldZKVdTADPnGwBys18Qs9HP4ATzN8Lq2 SIet0T+Ge+hTgHSsgcww6ztUDZUSJS7iyed488Mm+gfC6sxBv7wmFTEYU/UddkVYtbxp Hn7TD56U/AH3zwn/0zEUHisi1kMQ3YzH9L80Kkytk84Yml1lQve9EBjvOMMi9OooJ57R qS0tTI9O3WgxEzkrvwaBbY9lMhIx1s7PRuFq0kaFifSXG75WtoCTvQ5dS8UQwnnWvwSU h1OvWKhInA1wDuAjL3ps2/6kPOL6/3mS9orbtaINFSbLkNGiN/9/up+puBQpYrR3UL5x scTA==
MIME-Version: 1.0
Received: by 10.229.136.17 with SMTP id p17mr596498qct.139.1344216827186; Sun, 05 Aug 2012 18:33:47 -0700 (PDT)
Received: by 10.229.114.145 with HTTP; Sun, 5 Aug 2012 18:33:46 -0700 (PDT)
In-Reply-To: <CAHBU6ispTAnP7KKCZQyEzKmye+L8xYOEbUn33i4xLbTv0C4ayQ@mail.gmail.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp> <CAHBU6iuBx4AZFiGJD9OoCOhSn4PwH=kfVa50qHz36NSrc62V7A@mail.gmail.com> <CABaLYCt7u3kbM-jxUoVAS-_L1bjpgx2NuMrLcx0SHCvNWiJN=A@mail.gmail.com> <DDE44BEF-501E-4353-BB41-9187DA73877C@checkpoint.com> <CAHBU6ispTAnP7KKCZQyEzKmye+L8xYOEbUn33i4xLbTv0C4ayQ@mail.gmail.com>
Date: Mon, 6 Aug 2012 11:33:46 +1000
Message-ID: <CAH_y2NGkaLznHf3tgq9oT4X8hTtz3NmuDCBiwOjXc9iQTt5zfw@mail.gmail.com>
From: Greg Wilkins <gregw@intalio.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQnLzyaSqCGoxhTBTivxWesUiLEYd3Ux3tUwgWObPe5HkedViZ2wlUfUcJ/U0yJaQ+gGuO9Q
Received-SPF: pass client-ip=209.85.216.50; envelope-from=gregw@intalio.com; helo=mail-qa0-f50.google.com
X-W3C-Hub-Spam-Status: No, score=2.8
X-W3C-Hub-Spam-Report: BAYES_99=3.5, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SyCCz-0002fQ-4z ce9825e584295d64b465533f7fc53a8d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/CAH_y2NGkaLznHf3tgq9oT4X8hTtz3NmuDCBiwOjXc9iQTt5zfw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14955
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 31 July 2012 16:55, Tim Bray <tbray@textuality.com> wrote:
> This is why it=92s reasonable to think it important that privacy be the
> default

Again, let's not overstate what TLS can provide.  It cannot fully
provide privacy because it does not conceal who you are talking to and
when you talk or even how much to talk or in what size chunks you
talk, or if you listen more or less than you speak.

TLS can provide some degree of confidentiality and/or integrity, but
these are different from privacy.  If you wanted to hide your sexual
related browsing from network sniffers, the solution is not to use TLS
but not to establish a connection to www.someSexualPreference.com

--=20
Greg Wilkins <gregw@intalio.com>
http://www.webtide.com
Developer advice and support from the Jetty & CometD experts.


From ietf-http-wg-request@listhub.w3.org  Sun Aug  5 18:46:32 2012
Return-Path: <ietf-http-wg-request@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 61A7321F8577 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 18:46:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.277
X-Spam-Level: 
X-Spam-Status: No, score=-9.277 tagged_above=-999 required=5 tests=[AWL=0.700, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LlIsZg213YIO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 18:46:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8548321F8549 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Aug 2012 18:46:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyCNd-0007fJ-1x for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 01:45:13 +0000
Resent-Date: Mon, 06 Aug 2012 01:45:13 +0000
Resent-Message-Id: <E1SyCNd-0007fJ-1x@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1SyCNQ-0004kX-LC for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 01:45:00 +0000
Received: from mail-qa0-f43.google.com ([209.85.216.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1SyCNP-00031N-Cm for ietf-http-wg@w3.org; Mon, 06 Aug 2012 01:45:00 +0000
Received: by qaas11 with SMTP id s11so718076qaa.2 for <ietf-http-wg@w3.org>; Sun, 05 Aug 2012 18:44:33 -0700 (PDT)
X-Google-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 :content-type:x-gm-message-state; bh=mR1n7AeuybG0W6Y8F1eF7h+Gwf6/CUjUEjrrDPWJXIc=; b=NAwguDur++ev1bevtxtaiWArb9T4FZ6WslqorMXkwWOeTNimX/4fs6UDnliT4LPBOw xpBT86mYTWyvMwgH7Bfn9s+ObeIL4+PCEy4mu3ZiNXXnceAYM1d78fNOG69RL3IXbD7f OdkDpHhXyMUewlXaAQsj/8ISzDF7agIhBxCKZO89HsSgSGqTk9iVhMUbYHEYCDttvB31 DHBRpn2HtanBCiKCRq/BdIAduTl2nGmxwp6UVCuVvdKOyvMLNZbH8PBs91xBXIhXGqlW SL2Bfu4MA9XpgHrlSRFKTuYU0ljnFEseVz+zEPqINw2MFwkthi9QGrMUSHk+S1Rq1owE Dnqg==
MIME-Version: 1.0
Received: by 10.229.136.74 with SMTP id q10mr4619199qct.148.1344217473361; Sun, 05 Aug 2012 18:44:33 -0700 (PDT)
Received: by 10.229.114.145 with HTTP; Sun, 5 Aug 2012 18:44:33 -0700 (PDT)
In-Reply-To: <CABaLYCt7u3kbM-jxUoVAS-_L1bjpgx2NuMrLcx0SHCvNWiJN=A@mail.gmail.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp> <CAHBU6iuBx4AZFiGJD9OoCOhSn4PwH=kfVa50qHz36NSrc62V7A@mail.gmail.com> <CABaLYCt7u3kbM-jxUoVAS-_L1bjpgx2NuMrLcx0SHCvNWiJN=A@mail.gmail.com>
Date: Mon, 6 Aug 2012 11:44:33 +1000
Message-ID: <CAH_y2NH_f9CFPOHsFr+8Aa8UT4XAAxeMSxLLO+dqoDMC57=QNg@mail.gmail.com>
From: Greg Wilkins <gregw@intalio.com>
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQmI1SfEWldAZmZBNFkpmFNN9EHGyiQ+3/hgOyaDee3b2GCAWiVmrx5LqbRB2TuBPiurAxqZ
Received-SPF: pass client-ip=209.85.216.43; envelope-from=gregw@intalio.com; helo=mail-qa0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=2.8
X-W3C-Hub-Spam-Report: BAYES_99=3.5, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SyCNP-00031N-Cm 94b4cc5ee610d8bc1cd02240d41e2167
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/CAH_y2NH_f9CFPOHsFr+8Aa8UT4XAAxeMSxLLO+dqoDMC57=QNg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14956
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 31 July 2012 14:43, Mike Belshe <mike@belshe.com> wrote:
>
>
> On Wed, Jul 18, 2012 at 8:23 PM, Tim Bray <tbray@textuality.com> wrote:
>>
>> Fair point; I should. -T
>
>
> Yeah, belshe.com should too :-)
>

Mike,

I don't understand the benefit of encrypting traffic to/from a public
blog site?    There is no privacy obtained by doing so.

If I can see somebody on my network make a connection to belshe.com,
then I can go browse that site myself and see all the content that the
encrypted connection has available to it.  By looking at the dates and
sizes of the data transfers, I can make a pretty good estimate of the
pages that the encrypted connection has accessed.

TLS provides little privacy in this situation as I will know who the
client connected to, what they saw and when they saw it.   Even if the
browser pushes content, for a blog site that is more often than not a
comment, so that will get published as well and again size/date
matching can be very effective at working out who said what.

If privacy is a necessary attribute of HTTP/2.0, then we will have to
prevent direct connections to servers and all traffic will need to go
via anonymous proxy services.

There may well be good arguments for having confidential content as
the default for HTTP/2.0, but privacy is not one of them.

cheers












-- 
Greg Wilkins <gregw@intalio.com>
http://www.webtide.com
Developer advice and support from the Jetty & CometD experts.


From ietf-http-wg-request@listhub.w3.org  Sun Aug  5 19:29:52 2012
Return-Path: <ietf-http-wg-request@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 79B5521F8582 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 19:29:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.004
X-Spam-Level: 
X-Spam-Status: No, score=-6.004 tagged_above=-999 required=5 tests=[AWL=4.295, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2+dSgbgEtyKF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 19:29:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id ED39C21F8577 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Aug 2012 19:29:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyD3a-0005bE-24 for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 02:28:34 +0000
Resent-Date: Mon, 06 Aug 2012 02:28:34 +0000
Resent-Message-Id: <E1SyD3a-0005bE-24@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SyD3M-0005aT-Lw for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 02:28:20 +0000
Received: from scintmta02.scbb.aoyama.ac.jp ([133.2.253.34]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SyD3K-0001a6-Ss for ietf-http-wg@w3.org; Mon, 06 Aug 2012 02:28:20 +0000
Received: from scmse01.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta02.scbb.aoyama.ac.jp (secret/secret) with SMTP id q762RoaR008579 for <ietf-http-wg@w3.org>; Mon, 6 Aug 2012 11:27:50 +0900
Received: from (unknown [133.2.206.133]) by scmse01.scbb.aoyama.ac.jp with smtp id 4342_6ac8_5137024e_df6e_11e1_aaab_001d096c566a; Mon, 06 Aug 2012 11:27:49 +0900
Received: from [IPv6:::1] ([133.2.210.1]:55081) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S15EC7DD> for <ietf-http-wg@w3.org> from <duerst@it.aoyama.ac.jp>; Mon, 6 Aug 2012 11:27:50 +0900
Message-ID: <501F2BA4.6020805@it.aoyama.ac.jp>
Date: Mon, 06 Aug 2012 11:27:48 +0900
From: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: Adrien de Croy <adrien@qbik.com>
CC: Poul-Henning Kamp <phk@phk.freebsd.dk>, Phillip Hallam-Baker <hallam@gmail.com>, Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <em0de53c00-1d76-4ae8-8e5d-46c90336af54@reboist>
In-Reply-To: <em0de53c00-1d76-4ae8-8e5d-46c90336af54@reboist>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=133.2.253.34; envelope-from=duerst@it.aoyama.ac.jp; helo=scintmta02.scbb.aoyama.ac.jp
X-W3C-Hub-Spam-Status: No, score=-1.5
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SyD3K-0001a6-Ss 3757548aabcca8bc16f6efcec0b15d5e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/501F2BA4.6020805@it.aoyama.ac.jp>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14957
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 2012/08/06 8:22, Adrien de Croy wrote:
>
> personally I see little value in allowing a "safe" character to be
> encoded with %, and specify it has no semantic meaning (that it is
> encoded rather than "native")
>
> Why not simply deprecate such things for 2.0, and when it comes to
> putting together a 1.1 message from a 2.0 message, it needs encoding at
> that stage, and at that stage, there's only 1 allowed way to do it, e.g.
> safe chars MUST NOT be %-encoded etc.

It's possible for HTTP to forbid such useless %-encoding. Please note 
however that URIs (and IRIs) allow it, and HTTP can't change that.

Regards,   Martin.


From ietf-http-wg-request@listhub.w3.org  Sun Aug  5 19:43:33 2012
Return-Path: <ietf-http-wg-request@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 056AA21F85C0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 19:43:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.067
X-Spam-Level: 
X-Spam-Status: No, score=-6.067 tagged_above=-999 required=5 tests=[AWL=4.232, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IwUYzu2p0sF4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 19:43:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 42F7021F8532 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Aug 2012 19:43:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyDH8-0003Pc-54 for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 02:42:34 +0000
Resent-Date: Mon, 06 Aug 2012 02:42:34 +0000
Resent-Message-Id: <E1SyDH8-0003Pc-54@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SyDGv-0003Om-95 for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 02:42:21 +0000
Received: from scintmta02.scbb.aoyama.ac.jp ([133.2.253.34]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SyDGt-0001xv-PY for ietf-http-wg@w3.org; Mon, 06 Aug 2012 02:42:21 +0000
Received: from scmse01.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta02.scbb.aoyama.ac.jp (secret/secret) with SMTP id q762fqYu019684 for <ietf-http-wg@w3.org>; Mon, 6 Aug 2012 11:41:52 +0900
Received: from (unknown [133.2.206.133]) by scmse01.scbb.aoyama.ac.jp with smtp id 4342_6dd7_472dbfca_df70_11e1_aaab_001d096c566a; Mon, 06 Aug 2012 11:41:51 +0900
Received: from [IPv6:::1] ([133.2.210.1]:38386) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S15EC7F3> for <ietf-http-wg@w3.org> from <duerst@it.aoyama.ac.jp>; Mon, 6 Aug 2012 11:41:53 +0900
Message-ID: <501F2EEE.8010108@it.aoyama.ac.jp>
Date: Mon, 06 Aug 2012 11:41:50 +0900
From: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: Mike Belshe <mike@belshe.com>
CC: James M Snell <jasnell@gmail.com>, Jonathan Ballard <dzonatas@gmail.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <78618.1343896055@critter.freebsd.dk>	<501BA782.9030708@it.aoyama.ac.jp>	<CAAPAK-5uO7imx-ynVU1K-RPpv0CvCDU-kd18hFgRYgXJn-WrMA@mail.gmail.com>	<CABaLYCtGGQpO=APxQQA2RzZ5w5uB+umYGnz50cZffes9KoSTng@mail.gmail.com>	<CABP7RbezEoeT2xiUjXMh5Bat-qKX1xB8ELQRHa7ZqX_5MrujGg@mail.gmail.com>	<CABaLYCtjo2=L5YGSGVTv_4CpEbdrkLByM-HnSmBgyWJt835UWA@mail.gmail.com>	<CABP7RbeVLVOM5HqZgjf=or-886_orr8ra1kaZHAaChjYTeFNvQ@mail.gmail.com> <CABaLYCtu1Z5iV=MempARPtWsTGXondTWVrkzwd1DBKTGQbcsYg@mail.gmail.com>
In-Reply-To: <CABaLYCtu1Z5iV=MempARPtWsTGXondTWVrkzwd1DBKTGQbcsYg@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=133.2.253.34; envelope-from=duerst@it.aoyama.ac.jp; helo=scintmta02.scbb.aoyama.ac.jp
X-W3C-Hub-Spam-Status: No, score=-1.5
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SyDGt-0001xv-PY 59ad6fb43df3c4d468da93ee1604af8d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/501F2EEE.8010108@it.aoyama.ac.jp>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14958
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 2012/08/04 4:43, Mike Belshe wrote:
> On Fri, Aug 3, 2012 at 10:33 AM, James M Snell<jasnell@gmail.com>  wrote:

>> On Fri, Aug 3, 2012 at 10:15 AM, Mike Belshe<mike@belshe.com>  wrote:
>>
>>> OK.  More concrete use cases for why we need this would help me
>>> understand better.
>>>
>>>  From the User Agent's perspective - how would it know whether a given
>>> HTTP/2 server would be able to grok its UTF8 headers?  Just try and fail?
>>>
>>>
>> No different than what the user-agent does today: attempt to send the
>> message and be prepared to deal with failure. Currently, there's no
>> guarantee that an origin server supports the various Allow-* headers...
>> some do, some don't. That's ok.

Well, actually, if HTTP/2 says headers can contain UTF-8, then every 
HTTP/2 server must grok them, or not? Of course that doesn't mean that 
every protocol element in every header can use UTF-8, or that where 
UTF-8 is allowed by the definition of the header syntax, every value 
will be accepted by the server. But that's the same for ASCII now.

> OK - so this means browsers won't use it :-)

I'm rather sure that browser makers would prefer to use UTF-8 rather 
than some obscure encoding if HTTP allowed that. Actually, that would 
have been the case 10 and more years ago.

> So now we need to know which use cases *would* use it :-)

Look e.g. at http://tools.ietf.org/html/rfc6266#section-6 and
http://tools.ietf.org/html/rfc5987, which are just a hopeless mess.


> Overall, its a fine idea, I just don't think we need it.

You probably don't think you need it because you are not an user of HTTP 
who has to deal with non-ASCII characters day-in-day-out.

If HTTP used something like Baudot code, and occasionally a bit of ASCII 
or EBCDIC (potentially identified as such, but potentially not) 
depending on various circumstances, I guess you'd have an easier time 
understanding the need.

Regards,    Martin.


From ietf-http-wg-request@listhub.w3.org  Sun Aug  5 20:14:51 2012
Return-Path: <ietf-http-wg-request@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 0A8EB21F8592 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 20:14:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.434
X-Spam-Level: 
X-Spam-Status: No, score=-8.434 tagged_above=-999 required=5 tests=[AWL=1.543, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m7dYLct8Mwef for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  5 Aug 2012 20:14:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 19BD121F8530 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  5 Aug 2012 20:14:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyDkg-00067w-0v for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 03:13:06 +0000
Resent-Date: Mon, 06 Aug 2012 03:13:06 +0000
Resent-Message-Id: <E1SyDkg-00067w-0v@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1SyDkT-00066m-1d for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 03:12:53 +0000
Received: from mail-qa0-f50.google.com ([209.85.216.50]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1SyDkS-0005lz-5d for ietf-http-wg@w3.org; Mon, 06 Aug 2012 03:12:53 +0000
Received: by qatp27 with SMTP id p27so751869qat.2 for <ietf-http-wg@w3.org>; Sun, 05 Aug 2012 20:12:26 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=UHCFXhOh571ecrsi7nBxwS4oPXDgFrwd8BLq4RVP+Sg=; b=UXEBWugqY/q3I6qsfB8KH8KOY48zr9clwPnSoskoLjTT3OJUe2lx7mvgoXzALpZ4tp RDwAqEECQbEW/l6yrYJjb2ucDtLBVc2IRnLS5h7vlkVHkD40bHVwPR6WeFB+chy8zuR/ zHlr+zsD3HUIv4fWSkVXyhTWSc/tR1M5EDahC/Igh/+B9+OySp5QuMi4mGdwi2VqQKyW dvzjQxME6ZWAR9G7BrYP8kEOEZgTzvLO1Pf1Ccd6Uiz9l8HBkypEUMbsZOzrpfHDh5dE lrWAJ9DuX9OAenBVnN9W/E9AAPYcRO3whBxzUMXX4DOoz0qthAIAUoGmF3ku6hgHvsRv BrXA==
MIME-Version: 1.0
Received: by 10.224.203.198 with SMTP id fj6mr15761963qab.18.1344222746220; Sun, 05 Aug 2012 20:12:26 -0700 (PDT)
Received: by 10.229.234.5 with HTTP; Sun, 5 Aug 2012 20:12:26 -0700 (PDT)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <CAH_y2NH_f9CFPOHsFr+8Aa8UT4XAAxeMSxLLO+dqoDMC57=QNg@mail.gmail.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp> <CAHBU6iuBx4AZFiGJD9OoCOhSn4PwH=kfVa50qHz36NSrc62V7A@mail.gmail.com> <CABaLYCt7u3kbM-jxUoVAS-_L1bjpgx2NuMrLcx0SHCvNWiJN=A@mail.gmail.com> <CAH_y2NH_f9CFPOHsFr+8Aa8UT4XAAxeMSxLLO+dqoDMC57=QNg@mail.gmail.com>
Date: Sun, 5 Aug 2012 20:12:26 -0700
Message-ID: <CAHBU6isi0g8EUb3HQtE2-aJb27URNOkerdUuWpiNSPxEBsX01w@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Greg Wilkins <gregw@intalio.com>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQlzNIxPsHRwUps/GZOLwqzH+zBhkwhPGZLJ16BRx0AWN8R/bH/EUOhyFMPguE86Y/HdLCQ/
Received-SPF: none client-ip=209.85.216.50; envelope-from=tbray@textuality.com; helo=mail-qa0-f50.google.com
X-W3C-Hub-Spam-Status: No, score=2.8
X-W3C-Hub-Spam-Report: BAYES_99=3.5, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SyDkS-0005lz-5d ff17d56d671fd54bacc950249ce767b5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/CAHBU6isi0g8EUb3HQtE2-aJb27URNOkerdUuWpiNSPxEBsX01w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14959
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 Sun, Aug 5, 2012 at 6:44 PM, Greg Wilkins <gregw@intalio.com> wrote:

> I don't understand the benefit of encrypting traffic to/from a public
> blog site?    There is no privacy obtained by doing so.
>
> If I can see somebody on my network make a connection to belshe.com,

Um, suppose you observe that I have connected to 204.45.137.222 or
225.173.34.64.   You=92re a bad guy and can=92t see the content.  What
have you learned about me?  -T


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 00:14:11 2012
Return-Path: <ietf-http-wg-request@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 1571A21E803C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 00:14:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.588
X-Spam-Level: 
X-Spam-Status: No, score=-10.588 tagged_above=-999 required=5 tests=[AWL=0.011, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uNRVmD4MVkFA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 00:14:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 474B421F84A6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 00:14:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyHUC-0004xr-CU for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 07:12:20 +0000
Resent-Date: Mon, 06 Aug 2012 07:12:20 +0000
Resent-Message-Id: <E1SyHUC-0004xr-CU@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SyHTt-0004w9-QI for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 07:12:01 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SyHTr-0001xJ-Qt for ietf-http-wg@w3.org; Mon, 06 Aug 2012 07:12:01 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 16F2F3B788; Mon,  6 Aug 2012 07:11:38 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q767BZaF019947; Mon, 6 Aug 2012 07:11:36 GMT (envelope-from phk@phk.freebsd.dk)
To: "Adrien de Croy" <adrien@qbik.com>
cc: "James M Snell" <jasnell@gmail.com>, "Mark Nottingham" <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Sun, 05 Aug 2012 23:20:21 GMT." <emc0d9c202-4de9-42a4-afcd-3e0714b94f4b@reboist>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 06 Aug 2012 07:11:35 +0000
Message-ID: <19946.1344237095@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SyHTr-0001xJ-Qt e73e54bf2bd45c16da0cf057d881ef77
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/19946.1344237095@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14960
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>

In message <emc0d9c202-4de9-42a4-afcd-3e0714b94f4b@reboist>, "Adrien de Croy" w
rites:

>>From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
>>
>>Where does 2.0<-->1.1 conversion _realistically_ come into play ?

>You mean where are we most likely to see 2.0 down-graded to 1.1?
>
>I think this will be extremely common for a very long time.
>
>2.0 client talks to 2.0 local proxy talking to 1.1 internet.

That's not a terribly interesting use-case is it ?

The RTT to a local proxy is not prohibitive, so running HTTP/2.0
on that path will gain you very little performance, and insisting
on running both 2.0 and 1.1 would cost very little, since the
link is very likely a LAN.

So yeah, you have a shiny new protocol, but it doesn't do anything
for you...

(The GET https://... thing can be done as extension to 1.1 also,
so that is not a deciding factor)

The RTT performance gain of 2.0 only happens once 2.0 deploys on
the far (ie: server) side of things.

So I think the interesting use-case is the opposite of what
you suggest: 1.1 to proxy, 2.0 to server.

About the only other place I see a credible case for conversion
is a 1.1+2.0 load-balancer and a 1.1- or 2.0- only server.

The 2.0->1.1 case I can conceiveably see, in a somewhat strange set
of circumstances, but the 1.1->2.0 case seems entirely speculative
for the next many years.

Given how much simpler it will be for everybody, I still see a
"same version, end to end" model as very attractive.

Of course 1.1 and 2.0 must still interoperate, in particular we
need to be able to upgrade (and later downgrade ?) on port 80.

But I really have a hard time seeing the a business-case for
specifying conversion of individual requests and responses between
1.1 and 2.0.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 00:22:34 2012
Return-Path: <ietf-http-wg-request@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 5F16221F84EA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 00:22:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.128
X-Spam-Level: 
X-Spam-Status: No, score=-6.128 tagged_above=-999 required=5 tests=[AWL=4.170, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wc5zHnv8IcqH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 00:22:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 76DD321E803C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 00:22:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyHdM-00018o-Mq for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 07:21:48 +0000
Resent-Date: Mon, 06 Aug 2012 07:21:48 +0000
Resent-Message-Id: <E1SyHdM-00018o-Mq@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SyHd9-000183-JN for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 07:21:35 +0000
Received: from scintmta01.scbb.aoyama.ac.jp ([133.2.253.33]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <duerst@it.aoyama.ac.jp>) id 1SyHd7-0004kC-Pt for ietf-http-wg@w3.org; Mon, 06 Aug 2012 07:21:35 +0000
Received: from scmse01.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta01.scbb.aoyama.ac.jp (secret/secret) with SMTP id q767L5Ij009033 for <ietf-http-wg@w3.org>; Mon, 6 Aug 2012 16:21:05 +0900
Received: from (unknown [133.2.206.133]) by scmse01.scbb.aoyama.ac.jp with smtp id 4340_90a5_490615d2_df97_11e1_8f19_001d096c566a; Mon, 06 Aug 2012 16:21:04 +0900
Received: from [IPv6:::1] ([133.2.210.1]:52160) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S15EC90C> for <ietf-http-wg@w3.org> from <duerst@it.aoyama.ac.jp>; Mon, 6 Aug 2012 16:21:05 +0900
Message-ID: <501F705F.7020107@it.aoyama.ac.jp>
Date: Mon, 06 Aug 2012 16:21:03 +0900
From: =?UTF-8?B?Ik1hcnRpbiBKLiBEw7xyc3Qi?= <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: Roberto Peon <grmocg@gmail.com>
CC: James M Snell <jasnell@gmail.com>, Mike Belshe <mike@belshe.com>, Jonathan Ballard <dzonatas@gmail.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <78618.1343896055@critter.freebsd.dk>	<501BA782.9030708@it.aoyama.ac.jp>	<CAAPAK-5uO7imx-ynVU1K-RPpv0CvCDU-kd18hFgRYgXJn-WrMA@mail.gmail.com>	<CABaLYCtGGQpO=APxQQA2RzZ5w5uB+umYGnz50cZffes9KoSTng@mail.gmail.com>	<CABP7RbezEoeT2xiUjXMh5Bat-qKX1xB8ELQRHa7ZqX_5MrujGg@mail.gmail.com> <CAP+FsNf4Qr4J=ZsGhfTathCDQLKZvujU=pFaFQYYDgk8dm++jQ@mail.gmail.com>
In-Reply-To: <CAP+FsNf4Qr4J=ZsGhfTathCDQLKZvujU=pFaFQYYDgk8dm++jQ@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=133.2.253.33; envelope-from=duerst@it.aoyama.ac.jp; helo=scintmta01.scbb.aoyama.ac.jp
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SyHd7-0004kC-Pt ae1f2f5cb7c9b4971e145fcdd292d6f0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/501F705F.7020107@it.aoyama.ac.jp>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14961
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 2012/08/04 2:33, Roberto Peon wrote:
> I'm biased against utf-8, because it is trivial at the application layer to
> write a function which encodes and/or decodes it.

It's maybe trivial to write such functions once, but it's a total waste 
of time to write them over and over.

> I see that handling utf-8 adds complexity

What complexity?

> to the protocol but buys the
> protocol nothing.

It doesn't buy the protocol itself much. But it buys the users of the 
protocol a lot.

> It adds minimal advantage for the entities using the
> protocol, and makes intermediaries lives more difficult since they'll have
> to do more verification.
>
> Saying that the protocol handles sending a length-delimited string or a
> string guaranteed not to include '\n' would be fine, however, as at that
> point whatever encoding is used in any particular header value is matter of
> the client-app and server, as it should be for things that the protocol
> doesn't need to know about.

No, it is not fine. First, for most headers, interoperability should be 
between all clients and all servers. Second, it is absolutely no fun for 
client apps developers to solve the same character encoding problem 
again and again. It's just useless work, prone to errors. If you got 
told today that the host header can be in ASCII or EBCDIC, it's just 
between your client and your server, what would you say?

Regards,    Martin.


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 01:40:12 2012
Return-Path: <ietf-http-wg-request@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 3139C21F8609 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 01:40:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.744
X-Spam-Level: 
X-Spam-Status: No, score=-9.744 tagged_above=-999 required=5 tests=[AWL=0.855, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JLYvMKRvs4AK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 01:40:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 84E4C21F8604 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 01:40:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyIpk-0003Ng-Bu for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 08:38:40 +0000
Resent-Date: Mon, 06 Aug 2012 08:38:40 +0000
Resent-Message-Id: <E1SyIpk-0003Ng-Bu@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SyIpW-0003KZ-6i for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 08:38:26 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SyIpU-0007BA-Nd for ietf-http-wg@w3.org; Mon, 06 Aug 2012 08:38:26 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q768bsWr004039; Mon, 6 Aug 2012 10:37:54 +0200
Date: Mon, 6 Aug 2012 10:37:54 +0200
From: Willy Tarreau <w@1wt.eu>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Adrien de Croy <adrien@qbik.com>, James M Snell <jasnell@gmail.com>, Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20120806083754.GB3961@1wt.eu>
References: <emc0d9c202-4de9-42a4-afcd-3e0714b94f4b@reboist> <19946.1344237095@critter.freebsd.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <19946.1344237095@critter.freebsd.dk>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SyIpU-0007BA-Nd be83a858becbcf4a62839ff68e05d7a6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/20120806083754.GB3961@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14962
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 Mon, Aug 06, 2012 at 07:11:35AM +0000, Poul-Henning Kamp wrote:
> >I think this will be extremely common for a very long time.
> >
> >2.0 client talks to 2.0 local proxy talking to 1.1 internet.
> 
> That's not a terribly interesting use-case is it ?
> 
> The RTT to a local proxy is not prohibitive, so running HTTP/2.0
> on that path will gain you very little performance, and insisting
> on running both 2.0 and 1.1 would cost very little, since the
> link is very likely a LAN.

This use case should prevail in mobile environments. Your smartphone
should have an explicit proxy configured (instead of passing via an
interception proxy) that will also save it from round trips caused
by DNS requests. I really think that the biggest savings we could
expect from 2.0 and by far is to have smartphones communicate via
their operator's explicit proxies.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 01:47:09 2012
Return-Path: <ietf-http-wg-request@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 DDE2E21F8610 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 01:47:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.588
X-Spam-Level: 
X-Spam-Status: No, score=-10.588 tagged_above=-999 required=5 tests=[AWL=0.011, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9eFITX-8OgzJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 01:47:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5190E21F860F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 01:47:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyIx6-0000gE-DN for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 08:46:16 +0000
Resent-Date: Mon, 06 Aug 2012 08:46:16 +0000
Resent-Message-Id: <E1SyIx6-0000gE-DN@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SyIwt-0000eB-BU for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 08:46:03 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SyIwp-0007VD-3S for ietf-http-wg@w3.org; Mon, 06 Aug 2012 08:46:03 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 838653B599; Mon,  6 Aug 2012 08:45:37 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q768ja4v068396; Mon, 6 Aug 2012 08:45:36 GMT (envelope-from phk@phk.freebsd.dk)
To: Willy Tarreau <w@1wt.eu>
cc: Adrien de Croy <adrien@qbik.com>, James M Snell <jasnell@gmail.com>, Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 06 Aug 2012 10:37:54 +0200." <20120806083754.GB3961@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 06 Aug 2012 08:45:36 +0000
Message-ID: <68395.1344242736@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SyIwp-0007VD-3S e71451ecdf5cfe1974fcee700e04c7c9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/68395.1344242736@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14963
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>

In message <20120806083754.GB3961@1wt.eu>, Willy Tarreau writes:
>On Mon, Aug 06, 2012 at 07:11:35AM +0000, Poul-Henning Kamp wrote:

>> >2.0 client talks to 2.0 local proxy talking to 1.1 internet.
>> 
>> That's not a terribly interesting use-case is it ?
>
>This use case should prevail in mobile environments. Your smartphone
>should have an explicit proxy configured (instead of passing via an
>interception proxy) that will also save it from round trips caused
>by DNS requests.

But is 1.1 vs. 2.0 proxy really going to make that much of a difference ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 01:52:46 2012
Return-Path: <ietf-http-wg-request@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 71AEE21F8608 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 01:52:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hdZi2bXHBmHY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 01:52:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 772A421F85D9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 01:52:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyJ2j-0002UK-PF for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 08:52:05 +0000
Resent-Date: Mon, 06 Aug 2012 08:52:05 +0000
Resent-Message-Id: <E1SyJ2j-0002UK-PF@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <robertc@robertcollins.net>) id 1SyJ2W-0002TO-Su for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 08:51:52 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <robertc@robertcollins.net>) id 1SyJ2V-0007ff-Q8 for ietf-http-wg@w3.org; Mon, 06 Aug 2012 08:51:52 +0000
Received: by obqv19 with SMTP id v19so5536527obq.2 for <ietf-http-wg@w3.org>; Mon, 06 Aug 2012 01:51:22 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:x-originating-ip:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=wzomZxsDMT+nJYVP3Xl0ANRxMqkpXiPaJJxUpzwc8u4=; b=i2G240K36bT+kpdV4yku0OMqedUiirsRS6fMgLVK8GhFK7RNOK4NHtmLvsWO7Y1qut 0yLCm0CcxcAjAWYw4BoQLHhVGCd1vvf4/l3m5faLS5Kp02NkeEXuCEtylUHIdzoKc20C wCgDZcE2Ag/dfAy6Smgn7ghseeUz8aU2ojd5vcfuVGNziET4u9Lt/HCPUs1q1E8pne83 G3aK+71VPMA4wsUJCUcjisUbPOBZ/kfL2Wx3EdnE2j5WAMjCtZtdcq9LiG8kCc7yaG9A 5+3HwmU82VJ7pko+DRBL4HvgjHpP4GEyTJ/bQI0iS+I388g73nHQ5Xz6MRMEMapzG3uv QS5A==
MIME-Version: 1.0
Received: by 10.182.144.68 with SMTP id sk4mr18347535obb.0.1344243082561; Mon, 06 Aug 2012 01:51:22 -0700 (PDT)
Sender: robertc@robertcollins.net
Received: by 10.182.165.9 with HTTP; Mon, 6 Aug 2012 01:51:22 -0700 (PDT)
X-Originating-IP: [122.58.129.196]
In-Reply-To: <68395.1344242736@critter.freebsd.dk>
References: <20120806083754.GB3961@1wt.eu> <68395.1344242736@critter.freebsd.dk>
Date: Mon, 6 Aug 2012 20:51:22 +1200
X-Google-Sender-Auth: PS6-AEWo70swmcfgHM49cGaLNqg
Message-ID: <CAJ3HoZ05gRkZz_i-=WieFuTF-_hhK5L9oi5FRh27uQ-ywg+4OQ@mail.gmail.com>
From: Robert Collins <robertc@squid-cache.org>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Willy Tarreau <w@1wt.eu>, Adrien de Croy <adrien@qbik.com>, James M Snell <jasnell@gmail.com>,  Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQmuazgj6x/tOaZnTreB2K0niSr4w1jF75PgN7TAvcniIIHX1AriIuak/ZRq5K5cuRllZ+V+
Received-SPF: none client-ip=209.85.214.171; envelope-from=robertc@robertcollins.net; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.1
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SyJ2V-0007ff-Q8 252213fb5a575833ed0e8632fa0f8b4e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/CAJ3HoZ05gRkZz_i-=WieFuTF-_hhK5L9oi5FRh27uQ-ywg+4OQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14964
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 Mon, Aug 6, 2012 at 8:45 PM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> But is 1.1 vs. 2.0 proxy really going to make that much of a difference ?

Yes, absolutely.

The key bits are:
 - Fix HoL blocking
 - Only require one TCP connection
 - Define a mechanism for advising clients of the proxy to use

Transparent proxies pay TCP setup and window opening etc on each site.
Non-transparent proxies aren't trivially offered today.
Head of line blocking affects mobile significantly, and even a 2.0
proxy doing 1.1 conversion could support client driven prioritisation
amongst the N backend connections *it* is making. [BTW: this seems
like yet another reason to have clients drive the HoL prioritisation
stuff].

-Rob


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 01:58:33 2012
Return-Path: <ietf-http-wg-request@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 46FA621F8608 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 01:58:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.756
X-Spam-Level: 
X-Spam-Status: No, score=-9.756 tagged_above=-999 required=5 tests=[AWL=0.843, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7jB6PI1Syw0c for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 01:58:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 45A8221F8585 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 01:58:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyJ8S-0004QX-8f for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 08:58:00 +0000
Resent-Date: Mon, 06 Aug 2012 08:58:00 +0000
Resent-Message-Id: <E1SyJ8S-0004QX-8f@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SyJ8F-0004PK-Er for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 08:57:47 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SyJ8B-0007tf-AP for ietf-http-wg@w3.org; Mon, 06 Aug 2012 08:57:47 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q768vGn5004182; Mon, 6 Aug 2012 10:57:16 +0200
Date: Mon, 6 Aug 2012 10:57:16 +0200
From: Willy Tarreau <w@1wt.eu>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Adrien de Croy <adrien@qbik.com>, James M Snell <jasnell@gmail.com>, Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20120806085716.GD3961@1wt.eu>
References: <20120806083754.GB3961@1wt.eu> <68395.1344242736@critter.freebsd.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <68395.1344242736@critter.freebsd.dk>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SyJ8B-0007tf-AP b8d981f39d3186e19cc6c8712475ae26
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/20120806085716.GD3961@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14966
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 Mon, Aug 06, 2012 at 08:45:36AM +0000, Poul-Henning Kamp wrote:
> In message <20120806083754.GB3961@1wt.eu>, Willy Tarreau writes:
> >On Mon, Aug 06, 2012 at 07:11:35AM +0000, Poul-Henning Kamp wrote:
> 
> >> >2.0 client talks to 2.0 local proxy talking to 1.1 internet.
> >> 
> >> That's not a terribly interesting use-case is it ?
> >
> >This use case should prevail in mobile environments. Your smartphone
> >should have an explicit proxy configured (instead of passing via an
> >interception proxy) that will also save it from round trips caused
> >by DNS requests.
> 
> But is 1.1 vs. 2.0 proxy really going to make that much of a difference ?

The 1.1 to 2.0 proxy is not going to help a lot, but the 2.0 client to 2.0
proxy to 1.1 internet that Adrien was talking about above is going to be
the biggest immediate win. I predict that we will see them appear before
the protocol is finalized. With a 300ms RTT on the air medium and around
10ms on the wire, you can safely expect that if a client is able to send
all requests at once so that the proxy parallelizes them to 1.1 hosts on
"infinite bandwidth" links, it would be foolish not to deploy it.

Willy



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 01:58:33 2012
Return-Path: <ietf-http-wg-request@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 84BB621F8585 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 01:58:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.588
X-Spam-Level: 
X-Spam-Status: No, score=-10.588 tagged_above=-999 required=5 tests=[AWL=0.011, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S42gEFwfHjUT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 01:58:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C0B2721F85FC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 01:58:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyJ87-0004PD-Il for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 08:57:39 +0000
Resent-Date: Mon, 06 Aug 2012 08:57:39 +0000
Resent-Message-Id: <E1SyJ87-0004PD-Il@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SyJ7u-0004O5-Rg for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 08:57:26 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SyJ7o-0005CB-T3 for ietf-http-wg@w3.org; Mon, 06 Aug 2012 08:57:26 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 632F63B599; Mon,  6 Aug 2012 08:56:59 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q768uw1Q068445; Mon, 6 Aug 2012 08:56:58 GMT (envelope-from phk@phk.freebsd.dk)
To: Robert Collins <robertc@squid-cache.org>
cc: Willy Tarreau <w@1wt.eu>, Adrien de Croy <adrien@qbik.com>, James M Snell <jasnell@gmail.com>, Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 06 Aug 2012 20:51:22 +1200." <CAJ3HoZ05gRkZz_i-=WieFuTF-_hhK5L9oi5FRh27uQ-ywg+4OQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 06 Aug 2012 08:56:58 +0000
Message-ID: <68444.1344243418@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SyJ7o-0005CB-T3 8315dc9620ce8bfa532cdf877cd2c4c3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/68444.1344243418@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14965
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>

In message <CAJ3HoZ05gRkZz_i-=WieFuTF-_hhK5L9oi5FRh27uQ-ywg+4OQ@mail.gmail.com>
, Robert Collins writes:
>On Mon, Aug 6, 2012 at 8:45 PM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:

>> But is 1.1 vs. 2.0 proxy really going to make that much of a difference ?
>
>Yes, absolutely.
>
>The key bits are:
> - Fix HoL blocking
> - Only require one TCP connection

So how does that work for protected content ?

Is this assuming per-message protection (at least when you talk to
a proxy) or does these advantages only extend to unprotected content ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 05:17:06 2012
Return-Path: <ietf-http-wg-request@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 3D84321F86A2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 05:17:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.1
X-Spam-Level: 
X-Spam-Status: No, score=-9.1 tagged_above=-999 required=5 tests=[AWL=1.499, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KhFF-sQw1dvk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 05:17:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D4DAF21F86A0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 05:17:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyMD2-00076T-7I for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 12:14:56 +0000
Resent-Date: Mon, 06 Aug 2012 12:14:56 +0000
Resent-Message-Id: <E1SyMD2-00076T-7I@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SyMCo-00073m-JJ for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 12:14:42 +0000
Received: from mail-yx0-f171.google.com ([209.85.213.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1SyMCg-0003nW-BE for ietf-http-wg@w3.org; Mon, 06 Aug 2012 12:14:42 +0000
Received: by yenq1 with SMTP id q1so1931774yen.2 for <ietf-http-wg@w3.org>; Mon, 06 Aug 2012 05:14:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=DYb77oYp8YTgoaKbAzn5ZaU02lthRZ9WwBAY+wOInp4=; b=Z0rxq1+6tUe3w3RP9VRrvJ8NmrsoucH2aaRB8YMD95rHjxxPq4/HBJ8emBrfCyroWd Fyrkfqhh3fh/Q3ZCszNTZz0fjbLQdImUSlRmmjokYHKftgWLCPrh7DwdSbi3lByHxmvH 7CXTVkGcFvnZy16EKFvSZki0ye8bx5XktKsEIk0IoIaZdaBO/UBPY/8VotuBr3dzDeho Q37tWd4UVKKYaqNTxQOFJ0zR+0mZ1lpdm6YQwrmRVCp8UOUr+5ZOhKgZe3ECOEeHX59E IoXfbXiBgqmrSSo/HyleD9N8QOgzcH6bN0uH4dtcZGWJZ5uqzWmYAYq4MOEIvcha5J9o CujQ==
MIME-Version: 1.0
Received: by 10.60.26.134 with SMTP id l6mr18731168oeg.40.1344254775500; Mon, 06 Aug 2012 05:06:15 -0700 (PDT)
Received: by 10.76.114.226 with HTTP; Mon, 6 Aug 2012 05:06:15 -0700 (PDT)
In-Reply-To: <CAHBU6isi0g8EUb3HQtE2-aJb27URNOkerdUuWpiNSPxEBsX01w@mail.gmail.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp> <CAHBU6iuBx4AZFiGJD9OoCOhSn4PwH=kfVa50qHz36NSrc62V7A@mail.gmail.com> <CABaLYCt7u3kbM-jxUoVAS-_L1bjpgx2NuMrLcx0SHCvNWiJN=A@mail.gmail.com> <CAH_y2NH_f9CFPOHsFr+8Aa8UT4XAAxeMSxLLO+dqoDMC57=QNg@mail.gmail.com> <CAHBU6isi0g8EUb3HQtE2-aJb27URNOkerdUuWpiNSPxEBsX01w@mail.gmail.com>
Date: Mon, 6 Aug 2012 08:06:15 -0400
Message-ID: <CAMm+LwigdscVX9pjVVAFJXC1fEXbmnvYyVR-=xKf8x4KeHeQsQ@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Tim Bray <tbray@textuality.com>
Cc: Greg Wilkins <gregw@intalio.com>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.213.171; envelope-from=hallam@gmail.com; helo=mail-yx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=1.2
X-W3C-Hub-Spam-Report: BAYES_80=2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SyMCg-0003nW-BE afb51bf941dc4e8f29456503d7487205
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/CAMm+LwigdscVX9pjVVAFJXC1fEXbmnvYyVR-=xKf8x4KeHeQsQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14967
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 Sun, Aug 5, 2012 at 11:12 PM, Tim Bray <tbray@textuality.com> wrote:
> On Sun, Aug 5, 2012 at 6:44 PM, Greg Wilkins <gregw@intalio.com> wrote:
>
>> I don't understand the benefit of encrypting traffic to/from a public
>> blog site?    There is no privacy obtained by doing so.
>>
>> If I can see somebody on my network make a connection to belshe.com,
>
> Um, suppose you observe that I have connected to 204.45.137.222 or
> 225.173.34.64.   You=92re a bad guy and can=92t see the content.  What
> have you learned about me?  -T

If you are a common criminal, nothing of importance.

If you are a criminal government, pretty much everything you need.

Social network analysis is how oppressive regimes track the
opposition. If you know who is talking to whom, you know who is likely
to follow whom. That is why Iran was trying to get into Facebook.

Responding to that type of attack is important and rather more central
to the history of the Web than people might imagine. But it isn't a
sensible attack to base the design of the core specification on. That
is what schemes like Tor are for.

It used to be 'one war, one rifle'. The US army had to throw out their
old guns and replace them after each major conflict as opponents
adapted to the capabilities of the old one. Today it is one revolution
one application. Fortunately the number of really bad regimes is
falling fast enough that we will run out of crappy regimes before we
run out of ideas. And that is taking into account the fact that the
success rate is about 75% and 25% of the successor regimes need a
repeat revolution.




--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 09:08:00 2012
Return-Path: <ietf-http-wg-request@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 917DA11E808A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 09:08:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.538
X-Spam-Level: 
X-Spam-Status: No, score=-10.538 tagged_above=-999 required=5 tests=[AWL=0.060, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cmirTt2OiNEf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 09:07:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8CFF621F8634 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 09:07:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyPof-0003m8-Tg for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 16:06:01 +0000
Resent-Date: Mon, 06 Aug 2012 16:06:01 +0000
Resent-Message-Id: <E1SyPof-0003m8-Tg@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SyPoN-0003gh-4u for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 16:05:43 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SyPoJ-00066U-10 for ietf-http-wg@w3.org; Mon, 06 Aug 2012 16:05:43 +0000
Received: by weyx43 with SMTP id x43so2174207wey.2 for <ietf-http-wg@w3.org>; Mon, 06 Aug 2012 09:05:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=312f7Se89mHA34CS66IHVKNgnZYoFph9cznHG+Mvb2k=; b=Je/bIG3723H6fmsmVoYA4ueCiYyLR4mf0PaY8LGaxs7Pqtu2K4MLUltSaMc6rKTFYY 7rOV8JgFvGrT4iao7mNmzAagapIFgEE1FZ59lKaXAByMJvAbybV4iMfevyo2tEQqdsPy e4EZozHozLYujl4OXXxGCACZcnyqr+UvDAsqN2bm1Jw2LMMRhqzCUts8ahP8qaFEPSNj iQoqVUl3cpj95pgK2Vc/IDYYAgjROQQELyx93DdcIDkfnwHj39HGiRM3Vh+vjhHxp4Mz dHbPhO+AagP3TLd6gGVsXt7dhnrWILErnAPEG09hn3XvxPa8aYcA2d221t8H2k+bmzsz YPIA==
MIME-Version: 1.0
Received: by 10.180.83.106 with SMTP id p10mr19549113wiy.21.1344269112663; Mon, 06 Aug 2012 09:05:12 -0700 (PDT)
Received: by 10.194.77.4 with HTTP; Mon, 6 Aug 2012 09:05:12 -0700 (PDT)
Received: by 10.194.77.4 with HTTP; Mon, 6 Aug 2012 09:05:12 -0700 (PDT)
In-Reply-To: <19946.1344237095@critter.freebsd.dk>
References: <emc0d9c202-4de9-42a4-afcd-3e0714b94f4b@reboist> <19946.1344237095@critter.freebsd.dk>
Date: Mon, 6 Aug 2012 09:05:12 -0700
Message-ID: <CAP+FsNdBB9bZ0Kc-O5r0wpeWKrL+uxjaPvPSHO0fsrPbYSu31g@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, "Adrien W. de Croy" <adrien@qbik.com>,  James M Snell <jasnell@gmail.com>, Mark Nottingham <mnot@mnot.net>
Content-Type: multipart/alternative; boundary=f46d04428de8f15fb604c69b0a82
Received-SPF: pass client-ip=74.125.82.171; envelope-from=grmocg@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SyPoJ-00066U-10 3840692009bf4c933ce866a8e44c1c85
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/CAP+FsNdBB9bZ0Kc-O5r0wpeWKrL+uxjaPvPSHO0fsrPbYSu31g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14968
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>

--f46d04428de8f15fb604c69b0a82
Content-Type: text/plain; charset=ISO-8859-1

That (http2 client  -> http2 proxy -> http1 server) could be beneficial for
mobile devices in terms of both latency and battery life, so it isn't
something we should dismiss.

-=R
On Aug 6, 2012 12:14 AM, "Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote:

> In message <emc0d9c202-4de9-42a4-afcd-3e0714b94f4b@reboist>, "Adrien de
> Croy" w
> rites:
>
> >>From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
> >>
> >>Where does 2.0<-->1.1 conversion _realistically_ come into play ?
>
> >You mean where are we most likely to see 2.0 down-graded to 1.1?
> >
> >I think this will be extremely common for a very long time.
> >
> >2.0 client talks to 2.0 local proxy talking to 1.1 internet.
>
> That's not a terribly interesting use-case is it ?
>
> The RTT to a local proxy is not prohibitive, so running HTTP/2.0
> on that path will gain you very little performance, and insisting
> on running both 2.0 and 1.1 would cost very little, since the
> link is very likely a LAN.
>
> So yeah, you have a shiny new protocol, but it doesn't do anything
> for you...
>
> (The GET https://... thing can be done as extension to 1.1 also,
> so that is not a deciding factor)
>
> The RTT performance gain of 2.0 only happens once 2.0 deploys on
> the far (ie: server) side of things.
>
> So I think the interesting use-case is the opposite of what
> you suggest: 1.1 to proxy, 2.0 to server.
>
> About the only other place I see a credible case for conversion
> is a 1.1+2.0 load-balancer and a 1.1- or 2.0- only server.
>
> The 2.0->1.1 case I can conceiveably see, in a somewhat strange set
> of circumstances, but the 1.1->2.0 case seems entirely speculative
> for the next many years.
>
> Given how much simpler it will be for everybody, I still see a
> "same version, end to end" model as very attractive.
>
> Of course 1.1 and 2.0 must still interoperate, in particular we
> need to be able to upgrade (and later downgrade ?) on port 80.
>
> But I really have a hard time seeing the a business-case for
> specifying conversion of individual requests and responses between
> 1.1 and 2.0.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
>

--f46d04428de8f15fb604c69b0a82
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">That (http2 client=A0 -&gt; http2 proxy -&gt; http1 server) =
could be beneficial for mobile devices in terms of both latency and battery=
 life, so it isn&#39;t something we should dismiss.<br></p>
<p dir=3D"ltr">-=3DR</p>
<div class=3D"gmail_quote">On Aug 6, 2012 12:14 AM, &quot;Poul-Henning Kamp=
&quot; &lt;<a href=3D"mailto:phk@phk.freebsd.dk">phk@phk.freebsd.dk</a>&gt;=
 wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In message &lt;emc0d9c202-4de9-42a4-afcd-3e0714b94f4b@reboist&gt;, &quot;Ad=
rien de Croy&quot; w<br>
rites:<br>
<br>
&gt;&gt;From: &quot;Poul-Henning Kamp&quot; &lt;<a href=3D"mailto:phk@phk.f=
reebsd.dk">phk@phk.freebsd.dk</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt;Where does 2.0&lt;--&gt;1.1 conversion _realistically_ come into pl=
ay ?<br>
<br>
&gt;You mean where are we most likely to see 2.0 down-graded to 1.1?<br>
&gt;<br>
&gt;I think this will be extremely common for a very long time.<br>
&gt;<br>
&gt;2.0 client talks to 2.0 local proxy talking to 1.1 internet.<br>
<br>
That&#39;s not a terribly interesting use-case is it ?<br>
<br>
The RTT to a local proxy is not prohibitive, so running HTTP/2.0<br>
on that path will gain you very little performance, and insisting<br>
on running both 2.0 and 1.1 would cost very little, since the<br>
link is very likely a LAN.<br>
<br>
So yeah, you have a shiny new protocol, but it doesn&#39;t do anything<br>
for you...<br>
<br>
(The GET https://... thing can be done as extension to 1.1 also,<br>
so that is not a deciding factor)<br>
<br>
The RTT performance gain of 2.0 only happens once 2.0 deploys on<br>
the far (ie: server) side of things.<br>
<br>
So I think the interesting use-case is the opposite of what<br>
you suggest: 1.1 to proxy, 2.0 to server.<br>
<br>
About the only other place I see a credible case for conversion<br>
is a 1.1+2.0 load-balancer and a 1.1- or 2.0- only server.<br>
<br>
The 2.0-&gt;1.1 case I can conceiveably see, in a somewhat strange set<br>
of circumstances, but the 1.1-&gt;2.0 case seems entirely speculative<br>
for the next many years.<br>
<br>
Given how much simpler it will be for everybody, I still see a<br>
&quot;same version, end to end&quot; model as very attractive.<br>
<br>
Of course 1.1 and 2.0 must still interoperate, in particular we<br>
need to be able to upgrade (and later downgrade ?) on port 80.<br>
<br>
But I really have a hard time seeing the a business-case for<br>
specifying conversion of individual requests and responses between<br>
1.1 and 2.0.<br>
<br>
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
<br>
</blockquote></div>

--f46d04428de8f15fb604c69b0a82--


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 09:30:51 2012
Return-Path: <ietf-http-wg-request@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 64A5D21F866A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 09:30:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.256
X-Spam-Level: 
X-Spam-Status: No, score=-10.256 tagged_above=-999 required=5 tests=[AWL=0.042, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pp+ZENbdVdIu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 09:30:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8717D21F8501 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 09:30:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyQBS-0005So-Gv for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 16:29:34 +0000
Resent-Date: Mon, 06 Aug 2012 16:29:34 +0000
Resent-Message-Id: <E1SyQBS-0005So-Gv@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SyQBF-0005Rz-BV for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 16:29:21 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SyQB9-0005ud-6s for ietf-http-wg@w3.org; Mon, 06 Aug 2012 16:29:21 +0000
Received: by wibhm6 with SMTP id hm6so1599009wib.8 for <ietf-http-wg@w3.org>; Mon, 06 Aug 2012 09:28:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=QbCxM1XWUGwICJG8bvWpFrQRvzMAKUFQWrRaRXNDzwA=; b=r/maVDsBvxG0fTbPpa/GIy4Mz7ypwwvwIHvihN5wEF2hNBKTC7I0XdClgTSmWmgcTQ VPgUpqTjtJPUjd6kUV3CUaOJeEge4ljW4JkvAU4xqCL67ouaig79gzO0RXnrLLEKxoud dhyXNp85ZbMeNXpYyEEvfY4NpeQdEKY5PW/gYj0xdSKe5RH9aLk2/VZUkrga/Nj4gGBr xTXCtUVGHqqvCoAGq3Hl/Yxm3H6PfcjqnTTgk08evO2PE9Xw9yOg+3stOI6GzB/gJuJb Wt41zz9cvpu50i9g7WICO+ho9Tol06aJ4TQx9Kv6fulin4STXmAO5C8hdgrek2KAD2GF LOYQ==
MIME-Version: 1.0
Received: by 10.180.83.106 with SMTP id p10mr19706905wiy.21.1344270528716; Mon, 06 Aug 2012 09:28:48 -0700 (PDT)
Received: by 10.194.77.4 with HTTP; Mon, 6 Aug 2012 09:28:48 -0700 (PDT)
Received: by 10.194.77.4 with HTTP; Mon, 6 Aug 2012 09:28:48 -0700 (PDT)
In-Reply-To: <501F705F.7020107@it.aoyama.ac.jp>
References: <78618.1343896055@critter.freebsd.dk> <501BA782.9030708@it.aoyama.ac.jp> <CAAPAK-5uO7imx-ynVU1K-RPpv0CvCDU-kd18hFgRYgXJn-WrMA@mail.gmail.com> <CABaLYCtGGQpO=APxQQA2RzZ5w5uB+umYGnz50cZffes9KoSTng@mail.gmail.com> <CABP7RbezEoeT2xiUjXMh5Bat-qKX1xB8ELQRHa7ZqX_5MrujGg@mail.gmail.com> <CAP+FsNf4Qr4J=ZsGhfTathCDQLKZvujU=pFaFQYYDgk8dm++jQ@mail.gmail.com> <501F705F.7020107@it.aoyama.ac.jp>
Date: Mon, 6 Aug 2012 09:28:48 -0700
Message-ID: <CAP+FsNcDneyd8aRnr8+Ex5ftWdTXGhFV4Zq8ZoA+5LrJGjVnOg@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>
Cc: Jonathan Ballard <dzonatas@gmail.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>,  James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Mike Belshe <mike@belshe.com>
Content-Type: multipart/alternative; boundary=f46d04428de858a0e204c69b5f19
Received-SPF: pass client-ip=209.85.212.173; envelope-from=grmocg@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SyQB9-0005ud-6s 03b05d98406e5ad6bf75a7ee51a1ea35
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CAP+FsNcDneyd8aRnr8+Ex5ftWdTXGhFV4Zq8ZoA+5LrJGjVnOg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14969
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>

--f46d04428de858a0e204c69b5f19
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Aug 6, 2012 12:21 AM, Martin J. D=FCrst <duerst@it.aoyama.ac.jp> wrote:
>
> On 2012/08/04 2:33, Roberto Peon wrote:
>>
>> I'm biased against utf-8, because it is trivial at the application layer
to
>> write a function which encodes and/or decodes it.
>
>
> It's maybe trivial to write such functions once, but it's a total waste
of time to write them over and over.

But they don't... it is almost always a single function call where the
function is provided to them.

>
>
>> I see that handling utf-8 adds complexity
>
>
> What complexity?

Reencoding to ASCII for http/1.1, checking that all the characters are
actually displayable, parsing the dang strings in the cases where it does
wish to encode a multi byte character.

I don't see why proxies should have to do this. I don't care, however, so
long as a distinction is made for opaque (user set) headers, at which point
you could use an xor encoding for all I care.
>
>
>> to the protocol but buys the
>> protocol nothing.
>
>
> It doesn't buy the protocol itself much. But it buys the users of the
protocol a lot.

Which users? I'm having a hard time imagining why metadata has to be utf-8.

>
>
>> It adds minimal advantage for the entities using the
>> protocol, and makes intermediaries lives more difficult since they'll
have
>> to do more verification.
>>
>> Saying that the protocol handles sending a length-delimited string or a
>> string guaranteed not to include '\n' would be fine, however, as at that
>> point whatever encoding is used in any particular header value is matter
of
>> the client-app and server, as it should be for things that the protocol
>> doesn't need to know about.
>
>
> No, it is not fine. First, for most headers, interoperability should be
between all clients and all servers.

The person who wrote the application also controls the server. They will
interpret the byte stream how they see fit.
It is the other parties to the exchange that won't-- forward and reverse
proxies, for instance.

> Second, it is absolutely no fun for client apps developers to solve the
same character encoding problem again and again. It's just useless work,
prone to errors.

No disagreement there. Am I wrong about such functions already being
provided to such client app writers?

> If you got told today that the host header can be in ASCII or EBCDIC,
it's just between your client and your server, what would you say?

I'd say to ignore EBCDIC in more colorful words :)
-=3DR

>
> Regards,    Martin.

--f46d04428de858a0e204c69b5f19
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
On Aug 6, 2012 12:21 AM, Martin J. D=FCrst &lt;<a href=3D"mailto:duerst@it.=
aoyama.ac.jp">duerst@it.aoyama.ac.jp</a>&gt; wrote:<br>
&gt;<br>
&gt; On 2012/08/04 2:33, Roberto Peon wrote:<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m biased against utf-8, because it is trivial at the applica=
tion layer to<br>
&gt;&gt; write a function which encodes and/or decodes it.<br>
&gt;<br>
&gt;<br>
&gt; It&#39;s maybe trivial to write such functions once, but it&#39;s a to=
tal waste of time to write them over and over.</p>
<p dir=3D"ltr">But they don&#39;t... it is almost always a single function =
call where the function is provided to them.</p>
<p dir=3D"ltr">&gt;<br>
&gt;<br>
&gt;&gt; I see that handling utf-8 adds complexity<br>
&gt;<br>
&gt;<br>
&gt; What complexity?</p>
<p dir=3D"ltr">Reencoding to ASCII for http/1.1, checking that all the char=
acters are actually displayable, parsing the dang strings in the cases wher=
e it does wish to encode a multi byte character.</p>
<p dir=3D"ltr">I don&#39;t see why proxies should have to do this. I don&#3=
9;t care, however, so long as a distinction is made for opaque (user set) h=
eaders, at which point you could use an xor encoding for all I care.<br>

&gt;<br>
&gt;<br>
&gt;&gt; to the protocol but buys the<br>
&gt;&gt; protocol nothing.<br>
&gt;<br>
&gt;<br>
&gt; It doesn&#39;t buy the protocol itself much. But it buys the users of =
the protocol a lot.</p>
<p dir=3D"ltr">Which users? I&#39;m having a hard time imagining why metada=
ta has to be utf-8.</p>
<p dir=3D"ltr">&gt;<br>
&gt;<br>
&gt;&gt; It adds minimal advantage for the entities using the<br>
&gt;&gt; protocol, and makes intermediaries lives more difficult since they=
&#39;ll have<br>
&gt;&gt; to do more verification.<br>
&gt;&gt;<br>
&gt;&gt; Saying that the protocol handles sending a length-delimited string=
 or a<br>
&gt;&gt; string guaranteed not to include &#39;\n&#39; would be fine, howev=
er, as at that<br>
&gt;&gt; point whatever encoding is used in any particular header value is =
matter of<br>
&gt;&gt; the client-app and server, as it should be for things that the pro=
tocol<br>
&gt;&gt; doesn&#39;t need to know about.<br>
&gt;<br>
&gt;<br>
&gt; No, it is not fine. First, for most headers, interoperability should b=
e between all clients and all servers.</p>
<p dir=3D"ltr">The person who wrote the application also controls the serve=
r. They will interpret the byte stream how they see fit. <br>
It is the other parties to the exchange that won&#39;t-- forward and revers=
e proxies, for instance.</p>
<p dir=3D"ltr">&gt; Second, it is absolutely no fun for client apps develop=
ers to solve the same character encoding problem again and again. It&#39;s =
just useless work, prone to errors. </p>
<p dir=3D"ltr">No disagreement there. Am I wrong about such functions alrea=
dy being provided to such client app writers?</p>
<p dir=3D"ltr">&gt; If you got told today that the host header can be in AS=
CII or EBCDIC, it&#39;s just between your client and your server, what woul=
d you say?</p>
<p dir=3D"ltr">I&#39;d say to ignore EBCDIC in more colorful words :)<br>
-=3DR</p>
<p dir=3D"ltr">&gt;<br>
&gt; Regards, =A0 =A0Martin.<br>
</p>

--f46d04428de858a0e204c69b5f19--


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 10:02:49 2012
Return-Path: <ietf-http-wg-request@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 2D77221F8516 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 10:02:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.749
X-Spam-Level: 
X-Spam-Status: No, score=-9.749 tagged_above=-999 required=5 tests=[AWL=0.849, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vx384pdSKSMF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 10:02:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 058A121F8503 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 10:02:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyQga-0000G1-NW for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 17:01:44 +0000
Resent-Date: Mon, 06 Aug 2012 17:01:44 +0000
Resent-Message-Id: <E1SyQga-0000G1-NW@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SyQgM-0000EF-TH for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 17:01:30 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SyQgL-0008CS-A1 for ietf-http-wg@w3.org; Mon, 06 Aug 2012 17:01:30 +0000
Received: by wgbdq12 with SMTP id dq12so2831614wgb.26 for <ietf-http-wg@w3.org>; Mon, 06 Aug 2012 10:01:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=qXiEVis+2QtOAS9A1LnP+T4g0YnMF1lts1xBFsBtULs=; b=DstT1hAcZnvcnXu8xZSRdE3No336U8E915zSZb+g33IJGY6KabsZ/oivxuhdQ9mDHB UasguGhaNwVUn0x7Pn6D9y1MB67BO+8UAT+nZ8tK64EZo8bcjKKyRHB0FeHGB8p7N0l4 ceBbb5yUvvLzpSg+0G8MfiTG987B/ahgpGht8fh4hYAgdAK2iVG1Y7cxZtx9ppOnPfRM +Ct0jMV5J1OTqC4SNsZ4ejxt9l735OAk8Y/VLKhZt6DXk2q17CSDjFefEklkXRiNdGJU sWMEMS75MUotxgoxVaLoJRKs/HMcBGaT76mp3iueXcp4oqGINNkeN7KDD8k99phjVeJ2 bOag==
Received: by 10.180.86.106 with SMTP id o10mr19924358wiz.22.1344272462755; Mon, 06 Aug 2012 10:01:02 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Mon, 6 Aug 2012 10:00:42 -0700 (PDT)
In-Reply-To: <CAP+FsNcDneyd8aRnr8+Ex5ftWdTXGhFV4Zq8ZoA+5LrJGjVnOg@mail.gmail.com>
References: <78618.1343896055@critter.freebsd.dk> <501BA782.9030708@it.aoyama.ac.jp> <CAAPAK-5uO7imx-ynVU1K-RPpv0CvCDU-kd18hFgRYgXJn-WrMA@mail.gmail.com> <CABaLYCtGGQpO=APxQQA2RzZ5w5uB+umYGnz50cZffes9KoSTng@mail.gmail.com> <CABP7RbezEoeT2xiUjXMh5Bat-qKX1xB8ELQRHa7ZqX_5MrujGg@mail.gmail.com> <CAP+FsNf4Qr4J=ZsGhfTathCDQLKZvujU=pFaFQYYDgk8dm++jQ@mail.gmail.com> <501F705F.7020107@it.aoyama.ac.jp> <CAP+FsNcDneyd8aRnr8+Ex5ftWdTXGhFV4Zq8ZoA+5LrJGjVnOg@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Mon, 6 Aug 2012 10:00:42 -0700
Message-ID: <CABP7RbfGcBcLXipo5KJ7yPXbHh-cvFAAt76iMt_XRi=cbuPYZA@mail.gmail.com>
To: Roberto Peon <grmocg@gmail.com>
Cc: =?UTF-8?Q?Martin_J=2E_D=C3=BCrst?= <duerst@it.aoyama.ac.jp>,  Jonathan Ballard <dzonatas@gmail.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Mike Belshe <mike@belshe.com>
Content-Type: multipart/alternative; boundary=f46d041827529fb81f04c69bd23e
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SyQgL-0008CS-A1 46f2f87069fc8e3ee631fd2d7ccede6a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CABP7RbfGcBcLXipo5KJ7yPXbHh-cvFAAt76iMt_XRi=cbuPYZA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14970
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>

--f46d041827529fb81f04c69bd23e
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 6, 2012 at 9:28 AM, Roberto Peon <grmocg@gmail.com> wrote:

>
> On Aug 6, 2012 12:21 AM, Martin J. D=C3=BCrst <duerst@it.aoyama.ac.jp> wr=
ote:
> >
> > On 2012/08/04 2:33, Roberto Peon wrote:
> >>
> >> I'm biased against utf-8, because it is trivial at the application
> layer to
> >> write a function which encodes and/or decodes it.
> >
> >
> > It's maybe trivial to write such functions once, but it's a total waste
> of time to write them over and over.
>
> But they don't... it is almost always a single function call where the
> function is provided to them.
>
>
Except when it's not... which happens much more frequently than you may
imagine. There is actually quite a bit of inconsistency in the various,
more complex headers such as Authorization, Content-Disposition, Link, etc.
Developers don't always know when they need to be using Base64, RFC5987,
B-Coding, Q-Coding, %-encoding, or no encoding allowed at all and the
existing specification does not provide any help at all.

> >
> >
> >> I see that handling utf-8 adds complexity
> >
> >
> > What complexity?
>
> Reencoding to ASCII for http/1.1, checking that all the characters are
> actually displayable, parsing the dang strings in the cases where it does
> wish to encode a multi byte character.
>
> I don't see why proxies should have to do this. I don't care, however, so
> long as a distinction is made for opaque (user set) headers, at which poi=
nt
> you could use an xor encoding for all I care.
>
>
But, I thought writing encoders was a trivial exercise? And the proxy
really shouldn't have to care if the characters are displayable.. in fact,
for the vast overwhelming majority of cases, proxies will simply treat the
headers as opaque and pass them along. It would be excellent if HTTP/2.0
could make things a bit easier for application developers too.


> >
> >
> >> to the protocol but buys the
> >> protocol nothing.
> >
> >
> > It doesn't buy the protocol itself much. But it buys the users of the
> protocol a lot.
>
> Which users? I'm having a hard time imagining why metadata has to be utf-=
8.
>

No one said it *HAS* to be. Again, simply saying that a particular value
could contain UTF-8 characters doesn't mean we change the specific value
definitions of individual headers. Allowing for UTF-8, however, would
provide benefits to non-english speaking users who are making use of things
like IDN's, Content-Disposition, Link header titles, etc. The typical every
day browser user likely would not see a difference, but developers and
users of HTTP API's would likely see significant advantage.


> >
> >
> >> It adds minimal advantage for the entities using the
> >> protocol, and makes intermediaries lives more difficult since they'll
> have
> >> to do more verification.
> >>
> >> Saying that the protocol handles sending a length-delimited string or =
a
> >> string guaranteed not to include '\n' would be fine, however, as at th=
at
> >> point whatever encoding is used in any particular header value is
> matter of
> >> the client-app and server, as it should be for things that the protoco=
l
> >> doesn't need to know about.
> >
> >
> > No, it is not fine. First, for most headers, interoperability should be
> between all clients and all servers.
>
> The person who wrote the application also controls the server. They will
> interpret the byte stream how they see fit.
> It is the other parties to the exchange that won't-- forward and reverse
> proxies, for instance.
>
It is certainly not always true that the person writing the application
controls the server. In fact, I would say quite the opposite in countless
cases.

> > Second, it is absolutely no fun for client apps developers to solve the
> same character encoding problem again and again. It's just useless work,
> prone to errors.
>
> No disagreement there. Am I wrong about such functions already being
> provided to such client app writers?
>
Spotty, at best. Oh sure, Base64 encoders and decoders are a dime a dozen
and there are implementations of other encoders out there. *That* is the
easy part. It's knowing when encoding is required, and which particular
scheme to use in which particular case, and dealing with inconsistent
implementation across servers and clients, and dealing with intermediaries
in the middle that potentially screw things up further.

- James

> > If you got told today that the host header can be in ASCII or EBCDIC,
> it's just between your client and your server, what would you say?
>
> I'd say to ignore EBCDIC in more colorful words :)
> -=3DR
>
> >
> > Regards,    Martin.
>

--f46d041827529fb81f04c69bd23e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<br><div class=3D"gmail_quote">On Mon, Aug 6, 2012 at 9:28 AM, Roberto Peon=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:grmocg@gmail.com" target=3D"_blank=
">grmocg@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class=3D"im"><p dir=3D"ltr"><br>
On Aug 6, 2012 12:21 AM, Martin J. D=C3=BCrst &lt;<a href=3D"mailto:duerst@=
it.aoyama.ac.jp" target=3D"_blank">duerst@it.aoyama.ac.jp</a>&gt; wrote:<br=
>
&gt;<br>
&gt; On 2012/08/04 2:33, Roberto Peon wrote:<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m biased against utf-8, because it is trivial at the applica=
tion layer to<br>
&gt;&gt; write a function which encodes and/or decodes it.<br>
&gt;<br>
&gt;<br>
&gt; It&#39;s maybe trivial to write such functions once, but it&#39;s a to=
tal waste of time to write them over and over.</p>
</div><p dir=3D"ltr">But they don&#39;t... it is almost always a single fun=
ction call where the function is provided to them.</p><div class=3D"im">
<p dir=3D"ltr"></p></div></blockquote><div><br></div><div>Except when it&#3=
9;s not... which happens much more frequently than you may imagine. There i=
s actually quite a bit of inconsistency in the various, more complex header=
s such as Authorization, Content-Disposition, Link, etc. Developers don&#39=
;t always know when they need to be using Base64, RFC5987, B-Coding, Q-Codi=
ng, %-encoding, or no encoding allowed at all and the existing specificatio=
n does not provide any help at all. =C2=A0</div>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im"><p dir=3D"ltr">&gt;<br>
&gt;<br>
&gt;&gt; I see that handling utf-8 adds complexity<br>
&gt;<br>
&gt;<br>
&gt; What complexity?</p>
</div><p dir=3D"ltr">Reencoding to ASCII for http/1.1, checking that all th=
e characters are actually displayable, parsing the dang strings in the case=
s where it does wish to encode a multi byte character.</p>
<p dir=3D"ltr">I don&#39;t see why proxies should have to do this. I don&#3=
9;t care, however, so long as a distinction is made for opaque (user set) h=
eaders, at which point you could use an xor encoding for all I care.</p>

<div class=3D"im"><br></div></blockquote><div><br></div><div>But, I thought=
 writing encoders was a trivial exercise? And the proxy really shouldn&#39;=
t have to care if the characters are displayable.. in fact, for the vast ov=
erwhelming majority of cases, proxies will simply treat the headers as opaq=
ue and pass them along. It would be excellent if HTTP/2.0 could make things=
 a bit easier for application developers too.</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"im">

&gt;<br>
&gt;<br>
&gt;&gt; to the protocol but buys the<br>
&gt;&gt; protocol nothing.<br>
&gt;<br>
&gt;<br>
&gt; It doesn&#39;t buy the protocol itself much. But it buys the users of =
the protocol a lot.</div><p></p>
<p dir=3D"ltr">Which users? I&#39;m having a hard time imagining why metada=
ta has to be utf-8.</p></blockquote><div><br></div><div>No one said it *HAS=
* to be. Again, simply saying that a particular value could contain UTF-8 c=
haracters doesn&#39;t mean we change the specific value definitions of indi=
vidual headers. Allowing for UTF-8, however, would provide benefits to non-=
english speaking users who are making use of things like IDN&#39;s, Content=
-Disposition, Link header titles, etc. The typical every day browser user l=
ikely would not see a difference, but developers and users of HTTP API&#39;=
s would likely see significant advantage.</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"im">
<p dir=3D"ltr">&gt;<br>
&gt;<br>
&gt;&gt; It adds minimal advantage for the entities using the<br>
&gt;&gt; protocol, and makes intermediaries lives more difficult since they=
&#39;ll have<br>
&gt;&gt; to do more verification.<br>
&gt;&gt;<br>
&gt;&gt; Saying that the protocol handles sending a length-delimited string=
 or a<br>
&gt;&gt; string guaranteed not to include &#39;\n&#39; would be fine, howev=
er, as at that<br>
&gt;&gt; point whatever encoding is used in any particular header value is =
matter of<br>
&gt;&gt; the client-app and server, as it should be for things that the pro=
tocol<br>
&gt;&gt; doesn&#39;t need to know about.<br>
&gt;<br>
&gt;<br>
&gt; No, it is not fine. First, for most headers, interoperability should b=
e between all clients and all servers.</p>
</div><p dir=3D"ltr">The person who wrote the application also controls the=
 server. They will interpret the byte stream how they see fit. <br>
It is the other parties to the exchange that won&#39;t-- forward and revers=
e proxies, for instance.</p></blockquote><div>It is certainly not always tr=
ue that the person writing the application controls the server. In fact, I =
would say quite the opposite in countless cases.</div>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">
<p dir=3D"ltr">&gt; Second, it is absolutely no fun for client apps develop=
ers to solve the same character encoding problem again and again. It&#39;s =
just useless work, prone to errors. </p>
</div><p dir=3D"ltr">No disagreement there. Am I wrong about such functions=
 already being provided to such client app writers?</p></blockquote><div>Sp=
otty, at best. Oh sure, Base64 encoders and decoders are a dime a dozen and=
 there are implementations of other encoders out there. *That* is the easy =
part. It&#39;s knowing when encoding is required, and which particular sche=
me to use in which particular case, and dealing with inconsistent implement=
ation across servers and clients, and dealing with intermediaries in the mi=
ddle that potentially screw things up further.=C2=A0</div>

<div><br></div><div>- James</div><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=
=3D"im">
<p dir=3D"ltr">&gt; If you got told today that the host header can be in AS=
CII or EBCDIC, it&#39;s just between your client and your server, what woul=
d you say?</p>
</div><p dir=3D"ltr">I&#39;d say to ignore EBCDIC in more colorful words :)=
<br>
-=3DR</p>
<p dir=3D"ltr">&gt;<br>
&gt; Regards, =C2=A0 =C2=A0Martin.<br>
</p>
</blockquote></div><br>

--f46d041827529fb81f04c69bd23e--


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 10:05:02 2012
Return-Path: <ietf-http-wg-request@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 F39EA21F850C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 10:05:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.509
X-Spam-Level: 
X-Spam-Status: No, score=-10.509 tagged_above=-999 required=5 tests=[AWL=0.090, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Akf21+9CONHn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 10:05:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D4B5F21F8503 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 10:05:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyQjA-0000en-N9 for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 17:04:24 +0000
Resent-Date: Mon, 06 Aug 2012 17:04:24 +0000
Resent-Message-Id: <E1SyQjA-0000en-N9@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SyQix-0000cJ-RV for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 17:04:11 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1SyQit-0007Qj-K2 for ietf-http-wg@w3.org; Mon, 06 Aug 2012 17:04:11 +0000
Received: by vbbfq11 with SMTP id fq11so792245vbb.2 for <ietf-http-wg@w3.org>; Mon, 06 Aug 2012 10:03:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=y8fp182RpcxzKReBflXrzgv8/j3/8Ei28F8GYr8sN9M=; b=gmaIMzdducTaWKOYsYTUvGzaa4Mr3s2/7Q2vmJXV2Hy3359fsCSFUAbpQyclxJdh5K BlxYSv0qNrGdvW7LZlcgYnBr6vxgxTtY/kYFVZM5dXCvvYk5ymyBqdsVEuGrCGGjQwn0 ABlnnV5trnINyTtqcRs0Z38rq/WxtG/xwYWmSPcV8242JCuwTd0JhzQnQR7J/+v6CNn0 gpc75OKSS9N/PUcG1gYgGWV0ViqQgqKDS7wduDhsNCGuSYEgECwNC2xvsM9Hjb84p4AI QWovhemY3X6ygUdC+fMF3tY9pErbe3gO8/VHr84/Kd5gEyJu/95dqBLXgBNQRPCp+Gnx Amwg==
MIME-Version: 1.0
Received: by 10.220.214.205 with SMTP id hb13mr8627100vcb.28.1344272621652; Mon, 06 Aug 2012 10:03:41 -0700 (PDT)
Received: by 10.220.117.77 with HTTP; Mon, 6 Aug 2012 10:03:41 -0700 (PDT)
In-Reply-To: <15811.1344169915@critter.freebsd.dk>
References: <501E5A69.5000802@treenet.co.nz> <15811.1344169915@critter.freebsd.dk>
Date: Mon, 6 Aug 2012 12:03:41 -0500
Message-ID: <CACuKZqGG2Q6=faA+s7QWQzba9D8vSgEmV7rTX7=Pr=UMN4eLxA@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=zhong.j.yu@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SyQit-0007Qj-K2 bc7eed06690df426fbc1f8962922d5b5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CACuKZqGG2Q6=faA+s7QWQzba9D8vSgEmV7rTX7=Pr=UMN4eLxA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14971
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>

Equivalency between URIs is ultimately decided by the application. For
example majority of apps ignore unknown query parameters, therefore
the attacker can simply append some garbage to expand the key space.
The cache needs some other anti-abuse detection mechanism; trying to
normalize maliciously crafted URIs won't go very far.

Imagine URI was defined to be just an opaque sequence of allowed
chars; there's no standard delimiters and escaping rules, it's all up
to apps. Would that have caused any serious problems? Probably not.

Now URI does define standard delimiters, and the escaping rules that's
then necessary, so we can somewhat recognize components of a URI.
That's good for anyone who finds it useful. But it's only one flat
level. If an app needs deeper structure in URIs, it'll invent its own
delimiting and escaping mechanisms.

Zhong Yu



On Sun, Aug 5, 2012 at 7:31 AM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> In message <501E5A69.5000802@treenet.co.nz>, Amos Jeffries writes:
>
>>Only if you try to cache along the assumed filesystem hierarchy implicit
>>in URLs. Using the absolute URL as an opaque hash key (as Squid does)
>>instead of reading any meaning in its syntax avoids all these issues
>>completely.
>
> But opens you up to DoS attacks along the lines of:
>
>         GET /ABCDEF.html
>         GET /%41BCDEF.html
>         GET /A%42CDEF.html
>         ...
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 10:16:11 2012
Return-Path: <ietf-http-wg-request@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 A6BFA21E8053 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 10:16:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.764
X-Spam-Level: 
X-Spam-Status: No, score=-9.764 tagged_above=-999 required=5 tests=[AWL=0.834, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bIpPLIpOvYTU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 10:16:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5665821E804C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 10:16:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyQtk-00084s-NJ for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 17:15:20 +0000
Resent-Date: Mon, 06 Aug 2012 17:15:20 +0000
Resent-Message-Id: <E1SyQtk-00084s-NJ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SyQtW-0006G5-Co for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 17:15:06 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SyQtU-0007rF-C1 for ietf-http-wg@w3.org; Mon, 06 Aug 2012 17:15:06 +0000
Received: by wgbdq12 with SMTP id dq12so2842679wgb.26 for <ietf-http-wg@w3.org>; Mon, 06 Aug 2012 10:14:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=1EiWRioLdQEVccphnKsk0mwUgNBXQC7qPmFmrSGl/Xc=; b=FRsd8dYPupzEyid5fMy0d8Rm0uoMoI9ORA8zeKGt1NLybbECWy5XiYUs7ZnIkR8lhP SqjW+vzCIWQE9jQ0+PRmwIYbIlArJChRA+5hr4Nx5Kvj/gNVKa0v90wjvighYqC6QEK0 QWiV62PwRMFTUXbAVYKgwJU3t1sk9WmBb33iqdgkKCXkcZdbDbTD965xoeGGLVPg4cUL g92696v2b+dnLm2emRDKHviXUs5e2illgdiJAIcEacRuvfpY61A3ieV+Lwv0KyIWNZV2 oHAZZK9BePGrPnHCganLewvsoajkex2hJBpH7jgKGdGeGsCFFOE9BjH729wb9W9WoX9d 0KGQ==
Received: by 10.216.237.193 with SMTP id y43mr6328270weq.75.1344273277839; Mon, 06 Aug 2012 10:14:37 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Mon, 6 Aug 2012 10:14:17 -0700 (PDT)
In-Reply-To: <CAP+FsNdBB9bZ0Kc-O5r0wpeWKrL+uxjaPvPSHO0fsrPbYSu31g@mail.gmail.com>
References: <emc0d9c202-4de9-42a4-afcd-3e0714b94f4b@reboist> <19946.1344237095@critter.freebsd.dk> <CAP+FsNdBB9bZ0Kc-O5r0wpeWKrL+uxjaPvPSHO0fsrPbYSu31g@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Mon, 6 Aug 2012 10:14:17 -0700
Message-ID: <CABP7RbeXJKJHspO6iHC03Wr=XwFhXo-ZOcY0Dn7hLjE5Uk98NA@mail.gmail.com>
To: Roberto Peon <grmocg@gmail.com>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, HTTP Working Group <ietf-http-wg@w3.org>,  "Adrien W. de Croy" <adrien@qbik.com>, Mark Nottingham <mnot@mnot.net>
Content-Type: multipart/alternative; boundary=0015175774fe34e8c604c69c03ea
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SyQtU-0007rF-C1 26a7baba569cb01d4b68a076771e654c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re[2]: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/CABP7RbeXJKJHspO6iHC03Wr=XwFhXo-ZOcY0Dn7hLjE5Uk98NA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14972
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>

--0015175774fe34e8c604c69c03ea
Content-Type: text/plain; charset=UTF-8

On Mon, Aug 6, 2012 at 9:05 AM, Roberto Peon <grmocg@gmail.com> wrote:

> That (http2 client  -> http2 proxy -> http1 server) could be beneficial
> for mobile devices in terms of both latency and battery life, so it isn't
> something we should dismiss.
>
Indeed. There certainly is a very reasonable case for protocol
translation... what I'm not convinced of is just how automatic and
transparent that translation needs to be considering the various use cases.

For instance, I would wager that the overwhelming majority of "normal" web
traffic -- that of browsers accessing your typical web site -- is generally
predictable and static. There are generally a known, limited set of
headers, a known set of authentication schemes, a known set of patterns
that can be easily translated to and from, at scale, at the proxy level.
These are things that we can optimize the hell out of.  For the more exotic
kinds of traffic, things that are specific to individual services or apis,
the client side developer will typically be in lock step with the server
side development. There will be older downlevel client applications that
are hard coded to use HTTP 1.1 and won't ever be changed (so even if those
are forced through an explicit proxy, they'll still be talking 1.1 end to
end). If the server side of an HTTP API still requires 1.1, there's going
to be extremely little motivation on the part of the client side developer
to change the client side to 2.0 *until the server side also changes*. In
fact, I would wager to say that client application developers simply will
NOT change their side until the server side changes. For such cases,
protocol translation is likely going to be unnecessary.

There are ways of making this more explicit tho.  If I, as a client using
HTTP/2.0 send a message to the proxy that includes a :version=1.1 header in
the request, what I'd basically be saying is that this HTTP Request
conforms to the semantics and the basic rules of HTTP 1.1, meaning that it
should be directly and easily translatable into an HTTP/1.1 message. If,
however, I include :version=2.0 in the request, I'm explicitly stating that
I'm using 2.0 semantics that may or may not be directly translatable into
an HTTP/1.1 message... in which case, unless I know I'm definitely talking
to an HTTP/2.0 server, I fully recognize and accept that things might
break. By default, Web browsers can be configured to operate with this
"compatibility mode" for a while, sending :version=1.1 by default for all
general requests; while allowing applications the option of sending
:version=2.0.

That would seem to be a perfectly reasonable approach.

- James


>
> -=R
> On Aug 6, 2012 12:14 AM, "Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote:
>
>> In message <emc0d9c202-4de9-42a4-afcd-3e0714b94f4b@reboist>, "Adrien de
>> Croy" w
>> rites:
>>
>> >>From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
>> >>
>> >>Where does 2.0<-->1.1 conversion _realistically_ come into play ?
>>
>> >You mean where are we most likely to see 2.0 down-graded to 1.1?
>> >
>> >I think this will be extremely common for a very long time.
>> >
>> >2.0 client talks to 2.0 local proxy talking to 1.1 internet.
>>
>> That's not a terribly interesting use-case is it ?
>>
>> The RTT to a local proxy is not prohibitive, so running HTTP/2.0
>> on that path will gain you very little performance, and insisting
>> on running both 2.0 and 1.1 would cost very little, since the
>> link is very likely a LAN.
>>
>> So yeah, you have a shiny new protocol, but it doesn't do anything
>> for you...
>>
>> (The GET https://... thing can be done as extension to 1.1 also,
>> so that is not a deciding factor)
>>
>> The RTT performance gain of 2.0 only happens once 2.0 deploys on
>> the far (ie: server) side of things.
>>
>> So I think the interesting use-case is the opposite of what
>> you suggest: 1.1 to proxy, 2.0 to server.
>>
>> About the only other place I see a credible case for conversion
>> is a 1.1+2.0 load-balancer and a 1.1- or 2.0- only server.
>>
>> The 2.0->1.1 case I can conceiveably see, in a somewhat strange set
>> of circumstances, but the 1.1->2.0 case seems entirely speculative
>> for the next many years.
>>
>> Given how much simpler it will be for everybody, I still see a
>> "same version, end to end" model as very attractive.
>>
>> Of course 1.1 and 2.0 must still interoperate, in particular we
>> need to be able to upgrade (and later downgrade ?) on port 80.
>>
>> But I really have a hard time seeing the a business-case for
>> specifying conversion of individual requests and responses between
>> 1.1 and 2.0.
>>
>> --
>> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
>> phk@FreeBSD.ORG         | TCP/IP since RFC 956
>> FreeBSD committer       | BSD since 4.3-tahoe
>> Never attribute to malice what can adequately be explained by
>> incompetence.
>>
>>

--0015175774fe34e8c604c69c03ea
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Mon, Aug 6, 2012 at 9:05 AM, Roberto Peon <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:grmocg@gmail.com" target=3D"_blank">grmocg@gmail.com</a>&gt;<=
/span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><p dir=3D"ltr">That (http2 client=C2=A0 -&gt=
; http2 proxy -&gt; http1 server) could be beneficial for mobile devices in=
 terms of both latency and battery life, so it isn&#39;t something we shoul=
d dismiss.</p>

</blockquote><div>Indeed. There certainly is a very reasonable case for pro=
tocol translation... what I&#39;m not convinced of is just how automatic an=
d transparent that translation needs to be considering the various use case=
s.=C2=A0</div>

<div><br></div><div>For instance, I would wager that the overwhelming major=
ity of &quot;normal&quot; web traffic -- that of browsers accessing your ty=
pical web site -- is generally predictable and static. There are generally =
a known, limited set of headers, a known set of authentication schemes, a k=
nown set of patterns that can be easily translated to and from, at scale, a=
t the proxy level. These are things that we can optimize the hell out of. =
=C2=A0For the more exotic kinds of traffic, things that are specific to ind=
ividual services or apis, the client side developer will typically be in lo=
ck step with the server side development. There will be older downlevel cli=
ent applications that are hard coded to use HTTP 1.1 and won&#39;t ever be =
changed (so even if those are forced through an explicit proxy, they&#39;ll=
 still be talking 1.1 end to end). If the server side of an HTTP API still =
requires 1.1, there&#39;s going to be extremely little motivation on the pa=
rt of the client side developer to change the client side to 2.0 *until the=
 server side also changes*. In fact, I would wager to say that client appli=
cation developers simply will NOT change their side until the server side c=
hanges. For such cases, protocol translation is likely going to be unnecess=
ary.=C2=A0</div>

<div><br></div><div>There are ways of making this more explicit tho. =C2=A0=
If I, as a client using HTTP/2.0 send a message to the proxy that includes =
a :version=3D1.1 header in the request, what I&#39;d basically be saying is=
 that this HTTP Request conforms to the semantics and the basic rules of HT=
TP 1.1, meaning that it should be directly and easily translatable into an =
HTTP/1.1 message. If, however, I include :version=3D2.0 in the request, I&#=
39;m explicitly stating that I&#39;m using 2.0 semantics that may or may no=
t be directly translatable into an HTTP/1.1 message... in which case, unles=
s I know I&#39;m definitely talking to an HTTP/2.0 server, I fully recogniz=
e and accept that things might break. By default, Web browsers can be confi=
gured to operate with this &quot;compatibility mode&quot; for a while, send=
ing :version=3D1.1 by default for all general requests; while allowing appl=
ications the option of sending :version=3D2.0.=C2=A0</div>

<div><br></div><div>That would seem to be a perfectly reasonable approach.<=
/div><div><br></div><div>- James</div><div>=C2=A0</div><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">

<p dir=3D"ltr"><span class=3D"HOEnZb"><font color=3D"#888888"><br></font></=
span></p><span class=3D"HOEnZb"><font color=3D"#888888">
<p dir=3D"ltr">-=3DR</p></font></span><div class=3D"HOEnZb"><div class=3D"h=
5">
<div class=3D"gmail_quote">On Aug 6, 2012 12:14 AM, &quot;Poul-Henning Kamp=
&quot; &lt;<a href=3D"mailto:phk@phk.freebsd.dk" target=3D"_blank">phk@phk.=
freebsd.dk</a>&gt; wrote:<br type=3D"attribution"><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">


In message &lt;emc0d9c202-4de9-42a4-afcd-3e0714b94f4b@reboist&gt;, &quot;Ad=
rien de Croy&quot; w<br>
rites:<br>
<br>
&gt;&gt;From: &quot;Poul-Henning Kamp&quot; &lt;<a href=3D"mailto:phk@phk.f=
reebsd.dk" target=3D"_blank">phk@phk.freebsd.dk</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt;Where does 2.0&lt;--&gt;1.1 conversion _realistically_ come into pl=
ay ?<br>
<br>
&gt;You mean where are we most likely to see 2.0 down-graded to 1.1?<br>
&gt;<br>
&gt;I think this will be extremely common for a very long time.<br>
&gt;<br>
&gt;2.0 client talks to 2.0 local proxy talking to 1.1 internet.<br>
<br>
That&#39;s not a terribly interesting use-case is it ?<br>
<br>
The RTT to a local proxy is not prohibitive, so running HTTP/2.0<br>
on that path will gain you very little performance, and insisting<br>
on running both 2.0 and 1.1 would cost very little, since the<br>
link is very likely a LAN.<br>
<br>
So yeah, you have a shiny new protocol, but it doesn&#39;t do anything<br>
for you...<br>
<br>
(The GET https://... thing can be done as extension to 1.1 also,<br>
so that is not a deciding factor)<br>
<br>
The RTT performance gain of 2.0 only happens once 2.0 deploys on<br>
the far (ie: server) side of things.<br>
<br>
So I think the interesting use-case is the opposite of what<br>
you suggest: 1.1 to proxy, 2.0 to server.<br>
<br>
About the only other place I see a credible case for conversion<br>
is a 1.1+2.0 load-balancer and a 1.1- or 2.0- only server.<br>
<br>
The 2.0-&gt;1.1 case I can conceiveably see, in a somewhat strange set<br>
of circumstances, but the 1.1-&gt;2.0 case seems entirely speculative<br>
for the next many years.<br>
<br>
Given how much simpler it will be for everybody, I still see a<br>
&quot;same version, end to end&quot; model as very attractive.<br>
<br>
Of course 1.1 and 2.0 must still interoperate, in particular we<br>
need to be able to upgrade (and later downgrade ?) on port 80.<br>
<br>
But I really have a hard time seeing the a business-case for<br>
specifying conversion of individual requests and responses between<br>
1.1 and 2.0.<br>
<br>
--<br>
Poul-Henning Kamp =C2=A0 =C2=A0 =C2=A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =C2=A0 =C2=A0 =C2=A0 =C2=A0 | TCP/IP since RFC 956<br>
FreeBSD committer =C2=A0 =C2=A0 =C2=A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
<br>
</blockquote></div>
</div></div></blockquote></div><br>

--0015175774fe34e8c604c69c03ea--


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 10:34:31 2012
Return-Path: <ietf-http-wg-request@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 DF3CD21E8039 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 10:34:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.72
X-Spam-Level: 
X-Spam-Status: No, score=-9.72 tagged_above=-999 required=5 tests=[AWL=0.256, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BLtk+2tO5qyd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 10:34:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B3CFC21E804A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 10:34:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyRBE-0006bw-CD for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 17:33:24 +0000
Resent-Date: Mon, 06 Aug 2012 17:33:24 +0000
Resent-Message-Id: <E1SyRBE-0006bw-CD@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SyRB0-0006bB-EM for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 17:33:10 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SyRAy-0008PP-I2 for ietf-http-wg@w3.org; Mon, 06 Aug 2012 17:33:10 +0000
Received: by lbol12 with SMTP id l12so2579462lbo.2 for <ietf-http-wg@w3.org>; Mon, 06 Aug 2012 10:32:41 -0700 (PDT)
X-Google-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:x-gm-message-state; bh=qOmIbB1uPq8AzBVqxP/60A9BRWNNaVQ6pA1wwr8QasA=; b=mGhwNtHGjR81FN5o7Mc/10kzvrNAnSdffAlf5yeGhta98tSI9uHO30+g38P1r5241W Zyzzr+PzyFnmA33pAGba+hvvnRBfqjWdXOYCOubp1s4mrVrq/9lsRoT46Al61wCyWtLv DG1r8mAP0paJBQyZ7XHZUDYxw7hmuv3wIzDF52G6TM1Yg6YAR3BYU21Dh4GOVRQrsY4f kFp9bziM4qA+e8qii1e/OV37SHX2qYupchG5aOYN6xLHZQAIDz5l0787RV6AainV0ZGR ae+EcSROyWjcJM2RQo4NDrwWL/AECs7FU9JFnx/dCoeWVhHCQQO5voioKdm3jdHrLkFs oBng==
MIME-Version: 1.0
Received: by 10.112.83.198 with SMTP id s6mr4923155lby.76.1344274361589; Mon, 06 Aug 2012 10:32:41 -0700 (PDT)
Received: by 10.112.77.33 with HTTP; Mon, 6 Aug 2012 10:32:41 -0700 (PDT)
In-Reply-To: <CAH_y2NH_f9CFPOHsFr+8Aa8UT4XAAxeMSxLLO+dqoDMC57=QNg@mail.gmail.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp> <CAHBU6iuBx4AZFiGJD9OoCOhSn4PwH=kfVa50qHz36NSrc62V7A@mail.gmail.com> <CABaLYCt7u3kbM-jxUoVAS-_L1bjpgx2NuMrLcx0SHCvNWiJN=A@mail.gmail.com> <CAH_y2NH_f9CFPOHsFr+8Aa8UT4XAAxeMSxLLO+dqoDMC57=QNg@mail.gmail.com>
Date: Mon, 6 Aug 2012 10:32:41 -0700
Message-ID: <CABaLYCs0ZyxBrVp=UaN0Kbu--frJKPx8MHoPYp73uDkZhhDp=A@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Greg Wilkins <gregw@intalio.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d04016b23cda29404c69c4360
X-Gm-Message-State: ALoCoQk/wwDtezO7wtDtGI9TqA1zqq+6zHdJsF1RfZ6/pPFoSRCfrz4/qDMAcRNoIakZ+ktdf4TS
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=1.3
X-W3C-Hub-Spam-Report: BAYES_80=2, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SyRAy-0008PP-I2 cf5bccb469e7b50f09e8904ce4ac562d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/CABaLYCs0ZyxBrVp=UaN0Kbu--frJKPx8MHoPYp73uDkZhhDp=A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14973
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>

--f46d04016b23cda29404c69c4360
Content-Type: text/plain; charset=ISO-8859-1

On Sun, Aug 5, 2012 at 6:44 PM, Greg Wilkins <gregw@intalio.com> wrote:

> On 31 July 2012 14:43, Mike Belshe <mike@belshe.com> wrote:
> >
> >
> > On Wed, Jul 18, 2012 at 8:23 PM, Tim Bray <tbray@textuality.com> wrote:
> >>
> >> Fair point; I should. -T
> >
> >
> > Yeah, belshe.com should too :-)
> >
>
> Mike,
>
> I don't understand the benefit of encrypting traffic to/from a public
> blog site?    There is no privacy obtained by doing so.
>

Hey Greg -

I don't want to restate things over and over, so I'll be brief.  For the
most part, I just see this as a natural evolution.  We should be constantly
innovating and raising the bar in the security and privacy space.  This is
just one step.  Many many more are needed to.  But this is the most simple
and logical one to take now.

My opinions:
   a) With all else being equal, encrypted is always better than not
encrypted
   b) Encryption doesn't "fix" everything, but there is no "fix".  With
security and privacy its always about "raising the bar".
   c) Users expect and want encryption.  It's only site operators/proxy
vendors/server vendors that complain.
   d) The cost of encryption is tiny.  (I know others disagree on this
point)
   e) Debugging is not a real issue and can be mitigated with better tools.
   f) As the world comes online, there are many amateur site
operator/content owners. They don't know when it is important to encrypt or
not.  We should help them protect themselves and their users by building
stronger protocols.
   g) The most common theft is cookie hijacking, which can still be done
today on a plethora of services - hotmail, yahoo mail, flickr, etc etc.
   h) The larger security issues to be fixed, like the CA system, can't be
fixed until we turn on TLS everywhere.  Once we do, we'll quickly see
browsers innovate with new CA/trust systems.  Without more TLS everywhere,
everyone just side-steps the issue.

Mike




> If I can see somebody on my network make a connection to belshe.com,
> then I can go browse that site myself and see all the content that the
> encrypted connection has available to it.  By looking at the dates and
> sizes of the data transfers, I can make a pretty good estimate of the
> pages that the encrypted connection has accessed.
>
> TLS provides little privacy in this situation as I will know who the
> client connected to, what they saw and when they saw it.   Even if the
> browser pushes content, for a blog site that is more often than not a
> comment, so that will get published as well and again size/date
> matching can be very effective at working out who said what.
>
> If privacy is a necessary attribute of HTTP/2.0, then we will have to
> prevent direct connections to servers and all traffic will need to go
> via anonymous proxy services.
>
> There may well be good arguments for having confidential content as
> the default for HTTP/2.0, but privacy is not one of them.
>
> cheers
>
>
>
>
>
>
>
>
>
>
>
>
> --
> Greg Wilkins <gregw@intalio.com>
> http://www.webtide.com
> Developer advice and support from the Jetty & CometD experts.
>
>

--f46d04016b23cda29404c69c4360
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Sun, Aug 5, 2012 at 6:44 PM, Greg Wil=
kins <span dir=3D"ltr">&lt;<a href=3D"mailto:gregw@intalio.com" target=3D"_=
blank">gregw@intalio.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">
<div class=3D"im">On 31 July 2012 14:43, Mike Belshe &lt;<a href=3D"mailto:=
mike@belshe.com">mike@belshe.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Jul 18, 2012 at 8:23 PM, Tim Bray &lt;<a href=3D"mailto:tbray@=
textuality.com">tbray@textuality.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Fair point; I should. -T<br>
&gt;<br>
&gt;<br>
&gt; Yeah, <a href=3D"http://belshe.com" target=3D"_blank">belshe.com</a> s=
hould too :-)<br>
&gt;<br>
<br>
</div>Mike,<br>
<br>
I don&#39;t understand the benefit of encrypting traffic to/from a public<b=
r>
blog site? =A0 =A0There is no privacy obtained by doing so.<br></blockquote=
><div><br></div><div>Hey Greg -</div><div><br>I don&#39;t want to restate t=
hings over and over, so I&#39;ll be brief. =A0For the most part, I just see=
 this as a natural evolution. =A0We should be constantly innovating and rai=
sing the bar in the security and privacy space. =A0This is just one step. =
=A0Many many more are needed to. =A0But this is the most simple and logical=
 one to take now.=A0</div>
<div><br></div><div>My opinions:</div><div>=A0 =A0a) With all else being eq=
ual, encrypted is always better than not encrypted</div><div>=A0 =A0b) Encr=
yption doesn&#39;t &quot;fix&quot; everything, but there is no &quot;fix&qu=
ot;. =A0With security and privacy its always about &quot;raising the bar&qu=
ot;.</div>
<div>=A0 =A0c) Users expect and want encryption. =A0It&#39;s only site oper=
ators/proxy vendors/server vendors that complain.</div><div>=A0 =A0d) The c=
ost of encryption is tiny. =A0(I know others disagree on this point)</div><=
div>=A0 =A0e) Debugging is not a real issue and can be mitigated with bette=
r tools.</div>
<div>=A0 =A0f) As the world comes online, there are many amateur site opera=
tor/content owners. They don&#39;t know when it is important to encrypt or =
not. =A0We should help them protect themselves and their users by building =
stronger protocols.</div>
<div>=A0 =A0g) The most common theft is cookie hijacking, which can still b=
e done today on a plethora of services - hotmail, yahoo mail, flickr, etc e=
tc. =A0</div><div>=A0 =A0h) The larger security issues to be fixed, like th=
e CA system, can&#39;t be fixed until we turn on TLS everywhere. =A0Once we=
 do, we&#39;ll quickly see browsers innovate with new CA/trust systems. =A0=
Without more TLS everywhere, everyone just side-steps the issue.</div>
<div><br></div><div>Mike</div><div><br></div><div><br></div><div><br></div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
If I can see somebody on my network make a connection to <a href=3D"http://=
belshe.com" target=3D"_blank">belshe.com</a>,<br>
then I can go browse that site myself and see all the content that the<br>
encrypted connection has available to it. =A0By looking at the dates and<br=
>
sizes of the data transfers, I can make a pretty good estimate of the<br>
pages that the encrypted connection has accessed.<br>
<br>
TLS provides little privacy in this situation as I will know who the<br>
client connected to, what they saw and when they saw it. =A0 Even if the<br=
>
browser pushes content, for a blog site that is more often than not a<br>
comment, so that will get published as well and again size/date<br>
matching can be very effective at working out who said what.<br>
<br>
If privacy is a necessary attribute of HTTP/2.0, then we will have to<br>
prevent direct connections to servers and all traffic will need to go<br>
via anonymous proxy services.<br>
<br>
There may well be good arguments for having confidential content as<br>
the default for HTTP/2.0, but privacy is not one of them.<br>
<br>
cheers<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
Greg Wilkins &lt;<a href=3D"mailto:gregw@intalio.com">gregw@intalio.com</a>=
&gt;<br>
<a href=3D"http://www.webtide.com" target=3D"_blank">http://www.webtide.com=
</a><br>
Developer advice and support from the Jetty &amp; CometD experts.<br>
<br>
</div></div></blockquote></div><br>

--f46d04016b23cda29404c69c4360--


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 11:18:11 2012
Return-Path: <ietf-http-wg-request@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 8BF3811E80D2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 11:18:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.063
X-Spam-Level: 
X-Spam-Status: No, score=-10.063 tagged_above=-999 required=5 tests=[AWL=0.535, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wvq4SanE0-R7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 11:18:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 297CE11E80D1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 11:18:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyRrL-0002nv-Ax for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 18:16:55 +0000
Resent-Date: Mon, 06 Aug 2012 18:16:55 +0000
Resent-Message-Id: <E1SyRrL-0002nv-Ax@frink.w3.org>
Received: from aji.keio.w3.org ([133.27.228.206]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SyRr6-0002mh-BF for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 18:16:40 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by aji.keio.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SyRr0-0004Ar-BO for ietf-http-wg@w3.org; Mon, 06 Aug 2012 18:16:38 +0000
Received: by vcdd16 with SMTP id d16so3214801vcd.2 for <ietf-http-wg@w3.org>; Mon, 06 Aug 2012 11:15:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fJIerpnOLF2spd/dH8+uurtdI0fxLCxQ8/1Mc+4x6Y4=; b=NjR2XB9YPZqDHOqmqMznEHH9st7HoIViarkc/2HAS85m1c/jJFO8zThtRVxroDb3M3 4FfzEpCVZ3A414Ut06MLSgqe7tBMGK/WA0DPpEqflZ7IEGqUXq8rXwGDAEmmIly3kft2 cXW+VQDO/TDAESI+AqYQ6c+FHu9X8zpri+ifagfz2bQTRvSouw3ZsRdFirdIeRcqNE2v XXjjt7kvdwI9M5f7WsogsczvqA28XrhDys6CvsOkWoyQuPBHILDU/2qbHx0r2xcE3K/2 u4jekNJ5f8EDG0ERIgCIypnWsIxV8+DpdC42AlsB9GmxaP8ZIK9EunCjAm2GT+tYEVga XAUA==
MIME-Version: 1.0
Received: by 10.221.13.72 with SMTP id pl8mr8778812vcb.5.1344275458475; Mon, 06 Aug 2012 10:50:58 -0700 (PDT)
Received: by 10.58.221.97 with HTTP; Mon, 6 Aug 2012 10:50:58 -0700 (PDT)
In-Reply-To: <CABP7RbfGcBcLXipo5KJ7yPXbHh-cvFAAt76iMt_XRi=cbuPYZA@mail.gmail.com>
References: <78618.1343896055@critter.freebsd.dk> <501BA782.9030708@it.aoyama.ac.jp> <CAAPAK-5uO7imx-ynVU1K-RPpv0CvCDU-kd18hFgRYgXJn-WrMA@mail.gmail.com> <CABaLYCtGGQpO=APxQQA2RzZ5w5uB+umYGnz50cZffes9KoSTng@mail.gmail.com> <CABP7RbezEoeT2xiUjXMh5Bat-qKX1xB8ELQRHa7ZqX_5MrujGg@mail.gmail.com> <CAP+FsNf4Qr4J=ZsGhfTathCDQLKZvujU=pFaFQYYDgk8dm++jQ@mail.gmail.com> <501F705F.7020107@it.aoyama.ac.jp> <CAP+FsNcDneyd8aRnr8+Ex5ftWdTXGhFV4Zq8ZoA+5LrJGjVnOg@mail.gmail.com> <CABP7RbfGcBcLXipo5KJ7yPXbHh-cvFAAt76iMt_XRi=cbuPYZA@mail.gmail.com>
Date: Mon, 6 Aug 2012 10:50:58 -0700
Message-ID: <CAAPAK-7rG_OH8-jinvYFbi1uVR77jL=eO53M2Q2SwN+4xSZn3w@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Roberto Peon <grmocg@gmail.com>, =?ISO-8859-1?Q?Martin_J=2E_D=FCrst?= <duerst@it.aoyama.ac.jp>,  Poul-Henning Kamp <phk@phk.freebsd.dk>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Mike Belshe <mike@belshe.com>
Content-Type: multipart/alternative; boundary=bcaec54d4b022ec68404c69c8534
Received-SPF: pass client-ip=209.85.220.171; envelope-from=dzonatas@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=1.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: aji.keio.w3.org 1SyRr0-0004Ar-BO 2e785a9c3ddaf81ccb333897ff81090f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CAAPAK-7rG_OH8-jinvYFbi1uVR77jL=eO53M2Q2SwN+4xSZn3w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14974
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>

--bcaec54d4b022ec68404c69c8534
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

The %-encoding is literal compared to entities. If there are no such
literals in the URI then, we can assume the message is ASCII. That is true
to the point we don't see any registered UTF8 headers here unless I skipped
something in HTTP/2.0.

On Monday, August 6, 2012, James M Snell wrote:

>
> On Mon, Aug 6, 2012 at 9:28 AM, Roberto Peon <grmocg@gmail.com<javascript=
:_e({}, 'cvml', 'grmocg@gmail.com');>
> > wrote:
>
>>
>> On Aug 6, 2012 12:21 AM, Martin J. D=FCrst <duerst@it.aoyama.ac.jp<javas=
cript:_e({}, 'cvml', 'duerst@it.aoyama.ac.jp');>>
>> wrote:
>> >
>> > On 2012/08/04 2:33, Roberto Peon wrote:
>> >>
>> >> I'm biased against utf-8, because it is trivial at the application
>> layer to
>> >> write a function which encodes and/or decodes it.
>> >
>> >
>> > It's maybe trivial to write such functions once, but it's a total wast=
e
>> of time to write them over and over.
>>
>> But they don't... it is almost always a single function call where the
>> function is provided to them.
>>
>>
> Except when it's not... which happens much more frequently than you may
> imagine. There is actually quite a bit of inconsistency in the various,
> more complex headers such as Authorization, Content-Disposition, Link, et=
c.
> Developers don't always know when they need to be using Base64, RFC5987,
> B-Coding, Q-Coding, %-encoding, or no encoding allowed at all and the
> existing specification does not provide any help at all.
>
>> >
>> >
>> >> I see that handling utf-8 adds complexity
>> >
>> >
>> > What complexity?
>>
>> Reencoding to ASCII for http/1.1, checking that all the characters are
>> actually displayable, parsing the dang strings in the cases where it doe=
s
>> wish to encode a multi byte character.
>>
>> I don't see why proxies should have to do this. I don't care, however, s=
o
>> long as a distinction is made for opaque (user set) headers, at which po=
int
>> you could use an xor encoding for all I care.
>>
>>
> But, I thought writing encoders was a trivial exercise? And the proxy
> really shouldn't have to care if the characters are displayable.. in fact=
,
> for the vast overwhelming majority of cases, proxies will simply treat th=
e
> headers as opaque and pass them along. It would be excellent if HTTP/2.0
> could make things a bit easier for application developers too.
>
>
>> >
>> >
>> >> to the protocol but buys the
>> >> protocol nothing.
>> >
>> >
>> > It doesn't buy the protocol itself much. But it buys the users of the
>> protocol a lot.
>>
>> Which users? I'm having a hard time imagining why metadata has to be
>> utf-8.
>>
>
> No one said it *HAS* to be. Again, simply saying that a particular value
> could contain UTF-8 characters doesn't mean we change the specific value
> definitions of individual headers. Allowing for UTF-8, however, would
> provide benefits to non-english speaking users who are making use of thin=
gs
> like IDN's, Content-Disposition, Link header titles, etc. The typical eve=
ry
> day browser user likely would not see a difference, but developers and
> users of HTTP API's would likely see significant advantage.
>
>
>> >
>> >
>> >> It adds minimal advantage for the entities using the
>> >> protocol, and makes intermediaries lives more difficult since they'll
>> have
>> >> to do more verification.
>> >>
>> >> Saying that the protocol handles sending a length-delimited string or=
 a
>> >> string guaranteed not to include '\n' would be fine, however, as at
>> that
>> >> point whatever encoding is used in any particular header value is
>> matter of
>> >> the client-app and server, as it should be for things that the protoc=
ol
>> >> doesn't need to know about.
>> >
>> >
>> > No, it is not fine. First, for most headers, interoperability should b=
e
>> between all clients and all servers.
>>
>> The person who wrote the application also controls the server. They will
>> interpret the byte stream how they see fit.
>> It is the other parties to the exchange that won't-- forward and reverse
>> proxies, for instance.
>>
> It is certainly not always true that the person writing the application
> controls the server. In fact, I would say quite the opposite in countless
> cases.
>
>> > Second, it is absolutely no fun for client apps developers to solve th=
e
>> same character encoding problem again and again. It's just useless work,
>> prone to errors.
>>
>> No disagreement there. Am I wrong about such functions already being
>> provided to such client app writers?
>>
> Spotty, at best. Oh sure, Base64 encoders and decoders are a dime a dozen
> and there are implementations of other encoders out there. *That* is the
> easy part. It's knowing when encoding is required, and which particular
> scheme to use in which particular case, and dealing with inconsistent
> implementation across servers and clients, and dealing with intermediarie=
s
> in the middle that potentially screw things up further.
>
> - James
>
>> > If you got told today that the host header can be in ASCII or EBCDIC,
>> it's just between your client and your server, what would you say?
>>
>> I'd say to ignore EBCDIC in more colorful words :)
>> -=3DR
>>
>> >
>> > Regards,    Martin.
>>
>
>

--bcaec54d4b022ec68404c69c8534
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<span style=3D"font-size:13px;line-height:17px;background-color:rgb(255,255=
,255)">The %-encoding is literal compared to entities. If there are no such=
 literals in the URI then, we can assume the message is ASCII. That is true=
 to the point we don&#39;t see any registered UTF8 headers here unless I sk=
ipped something in HTTP/2.0.</span><br>
<br>On Monday, August 6, 2012, James M Snell  wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex"><br><div class=3D"gmail_quote">On Mon, Aug 6, 2012 at 9:28 AM=
, Roberto Peon <span dir=3D"ltr">&lt;<a href=3D"javascript:_e({}, &#39;cvml=
&#39;, &#39;grmocg@gmail.com&#39;);" target=3D"_blank">grmocg@gmail.com</a>=
&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">

<div><p dir=3D"ltr"><br>
On Aug 6, 2012 12:21 AM, Martin J. D=FCrst &lt;<a href=3D"javascript:_e({},=
 &#39;cvml&#39;, &#39;duerst@it.aoyama.ac.jp&#39;);" target=3D"_blank">duer=
st@it.aoyama.ac.jp</a>&gt; wrote:<br>
&gt;<br>
&gt; On 2012/08/04 2:33, Roberto Peon wrote:<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m biased against utf-8, because it is trivial at the applica=
tion layer to<br>
&gt;&gt; write a function which encodes and/or decodes it.<br>
&gt;<br>
&gt;<br>
&gt; It&#39;s maybe trivial to write such functions once, but it&#39;s a to=
tal waste of time to write them over and over.</p>
</div><p dir=3D"ltr">But they don&#39;t... it is almost always a single fun=
ction call where the function is provided to them.</p><div>
<p dir=3D"ltr"></p></div></blockquote><div><br></div><div>Except when it&#3=
9;s not... which happens much more frequently than you may imagine. There i=
s actually quite a bit of inconsistency in the various, more complex header=
s such as Authorization, Content-Disposition, Link, etc. Developers don&#39=
;t always know when they need to be using Base64, RFC5987, B-Coding, Q-Codi=
ng, %-encoding, or no encoding allowed at all and the existing specificatio=
n does not provide any help at all. =A0</div>


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div><p dir=3D"ltr">&gt;<br>
&gt;<br>
&gt;&gt; I see that handling utf-8 adds complexity<br>
&gt;<br>
&gt;<br>
&gt; What complexity?</p>
</div><p dir=3D"ltr">Reencoding to ASCII for http/1.1, checking that all th=
e characters are actually displayable, parsing the dang strings in the case=
s where it does wish to encode a multi byte character.</p>
<p dir=3D"ltr">I don&#39;t see why proxies should have to do this. I don&#3=
9;t care, however, so long as a distinction is made for opaque (user set) h=
eaders, at which point you could use an xor encoding for all I care.</p>


<div><br></div></blockquote><div><br></div><div>But, I thought writing enco=
ders was a trivial exercise? And the proxy really shouldn&#39;t have to car=
e if the characters are displayable.. in fact, for the vast overwhelming ma=
jority of cases, proxies will simply treat the headers as opaque and pass t=
hem along. It would be excellent if HTTP/2.0 could make things a bit easier=
 for application developers too.</div>


<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><div>

&gt;<br>
&gt;<br>
&gt;&gt; to the protocol but buys the<br>
&gt;&gt; protocol nothing.<br>
&gt;<br>
&gt;<br>
&gt; It doesn&#39;t buy the protocol itself much. But it buys the users of =
the protocol a lot.</div><p></p>
<p dir=3D"ltr">Which users? I&#39;m having a hard time imagining why metada=
ta has to be utf-8.</p></blockquote><div><br></div><div>No one said it *HAS=
* to be. Again, simply saying that a particular value could contain UTF-8 c=
haracters doesn&#39;t mean we change the specific value definitions of indi=
vidual headers. Allowing for UTF-8, however, would provide benefits to non-=
english speaking users who are making use of things like IDN&#39;s, Content=
-Disposition, Link header titles, etc. The typical every day browser user l=
ikely would not see a difference, but developers and users of HTTP API&#39;=
s would likely see significant advantage.</div>


<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><div>
<p dir=3D"ltr">&gt;<br>
&gt;<br>
&gt;&gt; It adds minimal advantage for the entities using the<br>
&gt;&gt; protocol, and makes intermediaries lives more difficult since they=
&#39;ll have<br>
&gt;&gt; to do more verification.<br>
&gt;&gt;<br>
&gt;&gt; Saying that the protocol handles sending a length-delimited string=
 or a<br>
&gt;&gt; string guaranteed not to include &#39;\n&#39; would be fine, howev=
er, as at that<br>
&gt;&gt; point whatever encoding is used in any particular header value is =
matter of<br>
&gt;&gt; the client-app and server, as it should be for things that the pro=
tocol<br>
&gt;&gt; doesn&#39;t need to know about.<br>
&gt;<br>
&gt;<br>
&gt; No, it is not fine. First, for most headers, interoperability should b=
e between all clients and all servers.</p>
</div><p dir=3D"ltr">The person who wrote the application also controls the=
 server. They will interpret the byte stream how they see fit. <br>
It is the other parties to the exchange that won&#39;t-- forward and revers=
e proxies, for instance.</p></blockquote><div>It is certainly not always tr=
ue that the person writing the application controls the server. In fact, I =
would say quite the opposite in countless cases.</div>


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div>
<p dir=3D"ltr">&gt; Second, it is absolutely no fun for client apps develop=
ers to solve the same character encoding problem again and again. It&#39;s =
just useless work, prone to errors. </p>
</div><p dir=3D"ltr">No disagreement there. Am I wrong about such functions=
 already being provided to such client app writers?</p></blockquote><div>Sp=
otty, at best. Oh sure, Base64 encoders and decoders are a dime a dozen and=
 there are implementations of other encoders out there. *That* is the easy =
part. It&#39;s knowing when encoding is required, and which particular sche=
me to use in which particular case, and dealing with inconsistent implement=
ation across servers and clients, and dealing with intermediaries in the mi=
ddle that potentially screw things up further.=A0</div>


<div><br></div><div>- James</div><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<p dir=3D"ltr">&gt; If you got told today that the host header can be in AS=
CII or EBCDIC, it&#39;s just between your client and your server, what woul=
d you say?</p>
</div><p dir=3D"ltr">I&#39;d say to ignore EBCDIC in more colorful words :)=
<br>
-=3DR</p>
<p dir=3D"ltr">&gt;<br>
&gt; Regards, =A0 =A0Martin.<br>
</p>
</blockquote></div><br>
</blockquote>

--bcaec54d4b022ec68404c69c8534--


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 11:31:56 2012
Return-Path: <ietf-http-wg-request@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 33A3B11E80A6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 11:31:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.725
X-Spam-Level: 
X-Spam-Status: No, score=-9.725 tagged_above=-999 required=5 tests=[AWL=0.251, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E4Rexc8ux7lY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 11:31:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 76B8F11E808A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 11:31:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyS4y-0003DX-CS for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 18:31:00 +0000
Resent-Date: Mon, 06 Aug 2012 18:31:00 +0000
Resent-Message-Id: <E1SyS4y-0003DX-CS@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SyS4l-0003C1-KA for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 18:30:47 +0000
Received: from mail-lpp01m010-f43.google.com ([209.85.215.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SyS4k-0002vW-Cl for ietf-http-wg@w3.org; Mon, 06 Aug 2012 18:30:47 +0000
Received: by lagk11 with SMTP id k11so463310lag.2 for <ietf-http-wg@w3.org>; Mon, 06 Aug 2012 11:30:19 -0700 (PDT)
X-Google-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:x-gm-message-state; bh=iklO8aUSyx0oUXChrtabn5yH4iqsNuFRrKZWUcMoGPE=; b=fu/w7E/nasX5q58JF2GdTPWDPksLwMe/YU/pdeP6u+NyEVS0hSdPCjXHPS0Tr0jJgV 8f6XHzQwXZjrgCWJhslzLmVGf04rCxIBW18eD2pmaa9qA1gF1fyJZhH6hHrO4nNdDW2F 4Jc1G3aP8HfVbS5rVsnYijIrFObt0lRtc5JhusYapZF2qamXigY30prMQyYab39tr7qQ WdgYPvcrJMXKRZmzInTmT62x50jk75kqE5cgRHfK50IPSeW8q2U+xXov0lkpwuFbyaHT FX9mCnWUcvO6CyT89RWzJDfksDchTWgW9Rrkh7zdKylHzHqFYXICB07beyliyjNZhyxG oYGA==
MIME-Version: 1.0
Received: by 10.152.112.234 with SMTP id it10mr8698900lab.36.1344277819167; Mon, 06 Aug 2012 11:30:19 -0700 (PDT)
Received: by 10.112.77.33 with HTTP; Mon, 6 Aug 2012 11:30:19 -0700 (PDT)
In-Reply-To: <CABP7RbfnYLqtyR8i-S-MGR5=UJG1jhHHdHEmxfbNNpxGJR4bqQ@mail.gmail.com>
References: <28F9FD01-5B48-45F2-A3A2-758EEE162704@mnot.net> <7900274048c2421bbabf476beba71644@CH1PR03MB622.namprd03.prod.outlook.com> <CABaLYCs4gtdMvEeUC7FvQTUZhz8jVJv9pyYzQLK+N-WoC5fhEw@mail.gmail.com> <CABP7RbfnYLqtyR8i-S-MGR5=UJG1jhHHdHEmxfbNNpxGJR4bqQ@mail.gmail.com>
Date: Mon, 6 Aug 2012 11:30:19 -0700
Message-ID: <CABaLYCuoLrGPDoq2iv=S4AinLigFj0a+U_eOWoX1+bSwHVAuKQ@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: James M Snell <jasnell@gmail.com>
Cc: ietf-http-wg@w3.org, Henrik Frystyk Nielsen <henrikn@microsoft.com>,  Mark Nottingham <mnot@mnot.net>
Content-Type: multipart/alternative; boundary=f46d04083919e4128104c69d11d5
X-Gm-Message-State: ALoCoQmkTqXQrX/eOGeud7k+lQFcDLeVXgyep9ZCCitucWA7B//TSyZBfe3itImDUqFLdUqtQQU3
Received-SPF: none client-ip=209.85.215.43; envelope-from=mike@belshe.com; helo=mail-lpp01m010-f43.google.com
X-W3C-Hub-Spam-Status: No, score=0.1
X-W3C-Hub-Spam-Report: BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SyS4k-0002vW-Cl 5ccb9c88d745d77f053bceed871ab7e4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/CABaLYCuoLrGPDoq2iv=S4AinLigFj0a+U_eOWoX1+bSwHVAuKQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14975
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>

--f46d04083919e4128104c69d11d5
Content-Type: text/plain; charset=ISO-8859-1

On Sat, Aug 4, 2012 at 5:41 PM, James M Snell <jasnell@gmail.com> wrote:

>
> On Aug 4, 2012 5:27 PM, "Mike Belshe" <mike@belshe.com> wrote:
> >
> >
> >
> [Snip]
>
> >>
> >> Work will begin using draft-mbelshe-httpbis-spdy-00 as a starting
> point; proposals are to be expressed in terms of changes to that document.
> Note that consensus is required both for changes to the document and
> anything that remains in the document.
> >>
> >> $Because something is in the initial document does not imply that there
> is consensus around the feature or how it is specified.$
> >
> >
> > I think this was already covered by "consensus is required both for
> changes to the document and anything that remains in the document".
> >
> >>
> >>
> >> $The outcome of this WG is HTTP/2.0, not SPDY. It is important that
> there is no confusion about the relationship between HTTP/2.0 and SPDY as
> we do not want to have dueling specifications in this area.$
> >
> >
> > There are no dueling specifications.  This working group is working on
> HTTP/2.0.  We can say it again, but it probably doesn't decrease the
> paranoia ;-)
> >
>
> The paranoia is well justified I think given how other notable specs have
> developed recently. I think it would be great to know if the existing SPDY
> folks are intending to continue parallel development on SPDY or go all in
> working on http 2.0.
>

Firefox and Chrome are committed to HTTP/2.0, it will happen.  But, Mark's
current outline for HTTP/2.0 is a 2 year effort.  There are research areas
in progress today which aren't ready for standardization yet (so they don't
belong in HTTP/2.0) and that research will continue.  It's not competing
specs - its just ongoing research.

mike





>  - James
>

--f46d04083919e4128104c69d11d5
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Sat, Aug 4, 2012 at 5:41 PM, James M =
Snell <span dir=3D"ltr">&lt;<a href=3D"mailto:jasnell@gmail.com" target=3D"=
_blank">jasnell@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex">
<p dir=3D"ltr"><br>
On Aug 4, 2012 5:27 PM, &quot;Mike Belshe&quot; &lt;<a href=3D"mailto:mike@=
belshe.com" target=3D"_blank">mike@belshe.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
[Snip]</p><div class=3D"im"><br>
&gt;&gt;<br>
&gt;&gt; Work will begin using draft-mbelshe-httpbis-spdy-00 as a starting =
point; proposals are to be expressed in terms of changes to that document. =
Note that consensus is required both for changes to the document and anythi=
ng that remains in the document.<br>


&gt;&gt;<br>
&gt;&gt; $Because something is in the initial document does not imply that =
there is consensus around the feature or how it is specified.$<br>
&gt;<br>
&gt;<br>
&gt; I think this was already covered by &quot;consensus is required both f=
or changes to the document and anything that remains in the document&quot;.=
<br>
&gt; =A0<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; $The outcome of this WG is HTTP/2.0, not SPDY. It is important tha=
t there is no confusion about the relationship between HTTP/2.0 and SPDY as=
 we do not want to have dueling specifications in this area.$<br>
&gt;<br>
&gt;<br>
&gt; There are no dueling specifications. =A0This working group is working =
on HTTP/2.0. =A0We can say it again, but it probably doesn&#39;t decrease t=
he paranoia ;-)<br>
&gt; =A0</div><p></p>
<p dir=3D"ltr">The paranoia is well justified I think given how other notab=
le specs have developed recently. I think it would be great to know if the =
existing SPDY folks are intending to continue parallel development on SPDY =
or go all in working on http 2.0.</p>
</blockquote><div><br></div><div>Firefox and Chrome are committed to HTTP/2=
.0, it will happen. =A0But, Mark&#39;s current outline for HTTP/2.0 is a 2 =
year effort. =A0There are research areas in progress today which aren&#39;t=
 ready for standardization yet (so they don&#39;t belong in HTTP/2.0) and t=
hat research will continue. =A0It&#39;s not competing specs - its just ongo=
ing research.</div>
<div><br></div><div>mike</div><div><br></div><div><br></div><div><br></div>=
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><p dir=3D"ltr"> </p><span clas=
s=3D"HOEnZb"><font color=3D"#888888">

<p dir=3D"ltr">- James<br>
</p>
</font></span></blockquote></div><br>

--f46d04083919e4128104c69d11d5--


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 11:52:23 2012
Return-Path: <ietf-http-wg-request@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 A775311E80C5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 11:52:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.788
X-Spam-Level: 
X-Spam-Status: No, score=-8.788 tagged_above=-999 required=5 tests=[AWL=1.811, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BVCw9zxh1ksW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 11:52:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D8FCA11E808A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 11:52:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SySOi-0003XR-86 for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 18:51:24 +0000
Resent-Date: Mon, 06 Aug 2012 18:51:24 +0000
Resent-Message-Id: <E1SySOi-0003XR-86@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SySOS-0003Wg-Cz for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 18:51:08 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SySOR-0003ga-9N for ietf-http-wg@w3.org; Mon, 06 Aug 2012 18:51:08 +0000
Received: from [10.6.130.146] (unknown [50.56.228.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 6B7F822E1F4 for <ietf-http-wg@w3.org>; Mon,  6 Aug 2012 14:50:45 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CABaLYCs0ZyxBrVp=UaN0Kbu--frJKPx8MHoPYp73uDkZhhDp=A@mail.gmail.com>
Date: Mon, 6 Aug 2012 13:50:44 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <9562D34F-52CC-44E1-B48A-B0DF5F03606A@mnot.net>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp> <CAHBU6iuBx4AZFiGJD9OoCOhSn4PwH=kfVa50qHz36NSrc62V7A@mail.gmail.com> <CABaLYCt7u3kbM-jxUoVAS-_L1bjpgx2NuMrLcx0SHCvNWiJN=A@mail.gmail.com> <CAH_y2NH_f9CFPOHsFr+8Aa8UT4XAAxeMSxLLO+dqoDMC57=QNg@mail.gmail.com> <CABaLYCs0ZyxBrVp=UaN0Kbu--frJKPx8MHoPYp73uDkZhhDp=A@mail.gmail.com>
To: ietf-http-wg@w3.org
X-Mailer: Apple Mail (2.1485)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SySOR-0003ga-9N 9038c9684cf27c6af1ce8ef349b2a5de
X-Original-To: ietf-http-wg@w3.org
Subject: Discussion of mandatory encryption / privacy impact / etc.
Archived-At: <http://www.w3.org/mid/9562D34F-52CC-44E1-B48A-B0DF5F03606A@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14976
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>

Folks,

We discussed these topics in the second meeting last week. The feeling =
in the room there needs to be confirmed as consensus around the new =
charter on this list, but as it is, this topic (mandatory TLS, impact of =
use of TLS, finer aspects of privacy) should be assumed to be off-topic =
for this list.

In an nutshell, while we are talking about mechanisms to negotiate or =
otherwise enable the use of TLS in various situations, we are not =
talking about what's mandatory to use, the impact of that decision, etc. =
These discussions are appropriate in places that define the use of HTTP =
(e.g., in coordination between browser vendors, such as in the W3C), not =
the protocol definition itself.

If we somehow fail to get consensus on this aspect of the charter (very =
doubtful, based on what I saw expressed in Vancouver), we can reopen =
this discussion, but as it is, it isn't helping.

Thanks,

--
Mark Nottingham
http://www.mnot.net/






From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 11:54:43 2012
Return-Path: <ietf-http-wg-request@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 2BEAB11E80BF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 11:54:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.395
X-Spam-Level: 
X-Spam-Status: No, score=-7.395 tagged_above=-999 required=5 tests=[AWL=-3.204, BAYES_00=-2.599, J_BACKHAIR_45=1, J_CHICKENPOX_66=0.6, RCVD_IN_DNSWL_HI=-8, SARE_SPOOF_COM2OTH=2.536, SPOOF_COM2COM=2.272]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dLg-K5utA2mW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 11:54:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3B26611E808A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 11:54:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SySRH-0003p5-Ow for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 18:54:03 +0000
Resent-Date: Mon, 06 Aug 2012 18:54:03 +0000
Resent-Message-Id: <E1SySRH-0003p5-Ow@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1SySR4-0003nx-Ny for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 18:53:50 +0000
Received: from smtp.opera.com ([213.236.208.81]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1SySR3-0003lf-0P for ietf-http-wg@w3.org; Mon, 06 Aug 2012 18:53:50 +0000
Received: from uranium.ssg5-serial (oslo.jvpn.opera.com [213.236.208.46]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q76IrHmV024034 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-http-wg@w3.org>; Mon, 6 Aug 2012 18:53:20 GMT
Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes
To: ietf-http-wg@w3.org
References: <501B54F4.6030709@it.aoyama.ac.jp> <em51bad768-459a-465b-9933-0957f139d7bd@bombed> <CACuKZqHj2tx_MDeg6rjncrCdzc61tRC8TJVbhgJe4KDmu=1vvA@mail.gmail.com>
Date: Mon, 06 Aug 2012 20:53:17 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: Quoted-Printable
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software
Message-ID: <op.wimuq3buiw9drz@uranium.ssg5-serial>
In-Reply-To: <CACuKZqHj2tx_MDeg6rjncrCdzc61tRC8TJVbhgJe4KDmu=1vvA@mail.gmail.com>
User-Agent: Opera Mail/12.01 (Win32)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=nilsson@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=0.5
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, SPOOF_COM2COM=2.048, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SySR3-0003lf-0P 3fd7d5f6abc415fe353cbdf24e05f317
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/op.wimuq3buiw9drz@uranium.ssg5-serial>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14977
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>

The HTTP proxy syntax is an ongoing source for security issues, due to t=
oo  =

relaxed pattern matching.

GET http://random.com/?facebook.com HTTP/1.1
GET http://facebook.com@random.com/ HTTP/1.1
GET http://facebook.com.random.com/ HTTP/1.1

etc.

/Martin Nilsson


On Fri, 03 Aug 2012 19:04:05 +0200, Zhong Yu <zhong.j.yu@gmail.com> wrot=
e:

> Wait... why should HTTP care about the internal structure of a URI? As=

> far as HTTP is concerned, a URI is an opaque string(though
> canonicalization needs to be defined)
>
> The internal structure of a URI is agreed upon by the client app and
> the server app. For example, the common ?n1=3Dv1&n2=3Dv2 form is actua=
lly
> defined by the HTML standard; the way n/v's are escaped is also
> defined by HTML. HTTP has no business in it.
>
> http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.13.4.1
>
> Zhong YU
>
>
> On Fri, Aug 3, 2012 at 12:15 AM, Adrien W. de Croy <adrien@qbik.com>  =

> wrote:
>>
>> ------ Original Message ------
>> From: "Martin J. D=FCrst" <duerst@it.aoyama.ac.jp>
>> To: "James M Snell" <jasnell@gmail.com>
>> Cc: "Poul-Henning Kamp" <phk@phk.freebsd.dk>;"Mike Belshe"
>> <mike@belshe.com>;"ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
>> Sent: 3/08/2012 4:35:00 p.m.
>> Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
>>>
>>> On 2012/08/03 2:48, James M Snell wrote:
>>>>
>>>> On Thu, Aug 2, 2012 at 1:27 AM, Poul-Henning
>>>> Kamp<phk@phk.freebsd.dk>wrote:
>>>
>>>
>>>>> For instance, could we get rid of the %-encoding of URIs by allowi=
ng
>>>>> UTF8 ?
>>>>
>>>>
>>>> It would be possible, for instance, to begin using IRI's directly  =

>>>> without
>>>> translating those to URI's first.
>>>
>>>
>>> Great idea. Please note that that will also save a few bytes (but  =

>>> that's
>>> definitely not the main reason for doing it).
>>>>
>>>> Doing so, however, does not eliminate the need for %-encoding,
>>>
>>>
>>> Yes, a '#' or '?' in a path segment and similar stuff still have to =
be
>>> %-encoded.
>>
>>
>> if we're defining a new binary-safe transport for header values,  =

>> shouldn't
>> we try to avoid all multiplexing / escaping and parsing of strings?
>>
>> e.g. just put querystring in another "header" instead.  Then anything=
  =

>> can
>> contain '?'
>>
>> same with fragments (#) although I thought these weren't allowed on t=
he
>> wire...
>>
>> In fact the concept of a single string which is a URI could be  =

>> deprecated
>> for 2.0 and just be sent as individual fields in a request.
>>
>> gatewaying back to 1.1 would require assembling a URI from the pieces=
,  =

>> but
>> that should be easy.
>> Seems a bit nuts to go binary and leave some parts as overloaded stri=
ng
>> fields requiring string parsing and escaping.
>>
>> Adrien
>>
>>
>>>
>>>
>>>> and there are a range of possible issues that could make this
>>>> problematic.
>>>
>>>
>>> Could you list up the issues you're thinking about? (I don't want to=
  =

>>> say
>>> there are none, but I can't at the moment come up with something tha=
t
>>> wouldn't already be around currently.)
>>> Regards, Martin.
>>
>>
>>


-- =

Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 13:25:32 2012
Return-Path: <ietf-http-wg-request@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 A370111E80A4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 13:25:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.73
X-Spam-Level: 
X-Spam-Status: No, score=-9.73 tagged_above=-999 required=5 tests=[AWL=0.246, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NDBIH0sZ46H9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 13:25:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2DFCE11E808A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 13:25:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyTq9-0003TX-NX for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 20:23:49 +0000
Resent-Date: Mon, 06 Aug 2012 20:23:49 +0000
Resent-Message-Id: <E1SyTq9-0003TX-NX@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SyTpv-0003S2-PG for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 20:23:35 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SyTpt-0006FB-VV for ietf-http-wg@w3.org; Mon, 06 Aug 2012 20:23:35 +0000
Received: by lbol12 with SMTP id l12so2668838lbo.2 for <ietf-http-wg@w3.org>; Mon, 06 Aug 2012 13:23:07 -0700 (PDT)
X-Google-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:x-gm-message-state; bh=7w6NuD1jlak4nHTm+mYMAwDUdQzfabJN8p6B8CB6gmw=; b=IDtPGXbMG3kWLZ+fP0+RoBFAUZuKHCt7A8Qwy6az/1WEhETmgLkRgXdE1x8gDVKqbc zOyd8YrdCHUaTdBwIdzvdn5rN4L8rEfE8NUIeV5/OgR4FcfawFTMEC4St9teifxyQDR7 jSjfrBT5NJ7q92UsCHctoY4Diox4J6eXMqjOQJX2zCAlyTSdJicNFOyYvrXjejtUgM8L vKiL5RJWYDY7qO8w7SdXzgqbU/0q/sBEU9i3J8ukj+JtbvUfEh/Ak3pUAyEuNYDmhdpN +k7UxK2bOe3USCCkUbCRDTIZL93sq+mBzBBuk5cYNC4HKoAPoPYkss112cLZBSHWFhzV FYSQ==
MIME-Version: 1.0
Received: by 10.112.83.198 with SMTP id s6mr5131751lby.76.1344284586956; Mon, 06 Aug 2012 13:23:06 -0700 (PDT)
Received: by 10.112.77.33 with HTTP; Mon, 6 Aug 2012 13:23:06 -0700 (PDT)
In-Reply-To: <CABaLYCs0ZyxBrVp=UaN0Kbu--frJKPx8MHoPYp73uDkZhhDp=A@mail.gmail.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp> <CAHBU6iuBx4AZFiGJD9OoCOhSn4PwH=kfVa50qHz36NSrc62V7A@mail.gmail.com> <CABaLYCt7u3kbM-jxUoVAS-_L1bjpgx2NuMrLcx0SHCvNWiJN=A@mail.gmail.com> <CAH_y2NH_f9CFPOHsFr+8Aa8UT4XAAxeMSxLLO+dqoDMC57=QNg@mail.gmail.com> <CABaLYCs0ZyxBrVp=UaN0Kbu--frJKPx8MHoPYp73uDkZhhDp=A@mail.gmail.com>
Date: Mon, 6 Aug 2012 13:23:06 -0700
Message-ID: <CABaLYCt1i7P4zqDk4i81yOSE9XbPnN6iVW8tttOQip=0DBnY6w@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Greg Wilkins <gregw@intalio.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d04016b2348587d04c69ea576
X-Gm-Message-State: ALoCoQnHSTRxcUb2D6u8/3Sw6bFaNIxDzpgCwjl9utfZFpdY+owc2bUW2HtcC5OlKT5u6qOYeVCs
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.1
X-W3C-Hub-Spam-Report: BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SyTpt-0006FB-VV d875bfa2930eb96cca4d8e2323a1f53e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/CABaLYCt1i7P4zqDk4i81yOSE9XbPnN6iVW8tttOQip=0DBnY6w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14978
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>

--f46d04016b2348587d04c69ea576
Content-Type: text/plain; charset=ISO-8859-1

BTW - thanks to Mark for reiterating that "mandatory SSL" is out-of-scope
for HTTP/2.0.

So I apologize if my comments today are confusing in this regard.

I'll reiterate what I said at the mic in Vancouver:
Although I think we're losing an opportunity to better secure HTTP, I don't
think we'll get consensus around it for HTTP/2.  The current SPDY draft
doesn't require SSL, and the HTTP/2.0 spec won't either.

Mike


On Mon, Aug 6, 2012 at 10:32 AM, Mike Belshe <mike@belshe.com> wrote:

>
>
> On Sun, Aug 5, 2012 at 6:44 PM, Greg Wilkins <gregw@intalio.com> wrote:
>
>> On 31 July 2012 14:43, Mike Belshe <mike@belshe.com> wrote:
>> >
>> >
>> > On Wed, Jul 18, 2012 at 8:23 PM, Tim Bray <tbray@textuality.com> wrote:
>> >>
>> >> Fair point; I should. -T
>> >
>> >
>> > Yeah, belshe.com should too :-)
>> >
>>
>> Mike,
>>
>> I don't understand the benefit of encrypting traffic to/from a public
>> blog site?    There is no privacy obtained by doing so.
>>
>
> Hey Greg -
>
> I don't want to restate things over and over, so I'll be brief.  For the
> most part, I just see this as a natural evolution.  We should be constantly
> innovating and raising the bar in the security and privacy space.  This is
> just one step.  Many many more are needed to.  But this is the most simple
> and logical one to take now.
>
> My opinions:
>    a) With all else being equal, encrypted is always better than not
> encrypted
>    b) Encryption doesn't "fix" everything, but there is no "fix".  With
> security and privacy its always about "raising the bar".
>    c) Users expect and want encryption.  It's only site operators/proxy
> vendors/server vendors that complain.
>    d) The cost of encryption is tiny.  (I know others disagree on this
> point)
>    e) Debugging is not a real issue and can be mitigated with better tools.
>    f) As the world comes online, there are many amateur site
> operator/content owners. They don't know when it is important to encrypt or
> not.  We should help them protect themselves and their users by building
> stronger protocols.
>    g) The most common theft is cookie hijacking, which can still be done
> today on a plethora of services - hotmail, yahoo mail, flickr, etc etc.
>    h) The larger security issues to be fixed, like the CA system, can't be
> fixed until we turn on TLS everywhere.  Once we do, we'll quickly see
> browsers innovate with new CA/trust systems.  Without more TLS everywhere,
> everyone just side-steps the issue.
>
> Mike
>
>
>
>
>> If I can see somebody on my network make a connection to belshe.com,
>> then I can go browse that site myself and see all the content that the
>> encrypted connection has available to it.  By looking at the dates and
>> sizes of the data transfers, I can make a pretty good estimate of the
>> pages that the encrypted connection has accessed.
>>
>> TLS provides little privacy in this situation as I will know who the
>> client connected to, what they saw and when they saw it.   Even if the
>> browser pushes content, for a blog site that is more often than not a
>> comment, so that will get published as well and again size/date
>> matching can be very effective at working out who said what.
>>
>> If privacy is a necessary attribute of HTTP/2.0, then we will have to
>> prevent direct connections to servers and all traffic will need to go
>> via anonymous proxy services.
>>
>> There may well be good arguments for having confidential content as
>> the default for HTTP/2.0, but privacy is not one of them.
>>
>> cheers
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> --
>> Greg Wilkins <gregw@intalio.com>
>> http://www.webtide.com
>> Developer advice and support from the Jetty & CometD experts.
>>
>>
>

--f46d04016b2348587d04c69ea576
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

BTW - thanks to Mark for reiterating that &quot;mandatory SSL&quot; is out-=
of-scope for HTTP/2.0.<div><br></div><div>So I apologize if my comments tod=
ay are confusing in this regard. =A0</div><div><br></div><div>I&#39;ll reit=
erate what I said at the mic in Vancouver:</div>
<div>Although I think we&#39;re losing an opportunity to better secure HTTP=
, I don&#39;t think we&#39;ll get consensus around it for HTTP/2. =A0The cu=
rrent SPDY draft doesn&#39;t require SSL, and the HTTP/2.0 spec won&#39;t e=
ither.</div>
<div><br></div><div>Mike</div><div><br></div><div><br><div class=3D"gmail_q=
uote">On Mon, Aug 6, 2012 at 10:32 AM, Mike Belshe <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:mike@belshe.com" target=3D"_blank">mike@belshe.com</a>&gt;<=
/span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br><br><div class=3D"gmail_quote"><div clas=
s=3D"im">On Sun, Aug 5, 2012 at 6:44 PM, Greg Wilkins <span dir=3D"ltr">&lt=
;<a href=3D"mailto:gregw@intalio.com" target=3D"_blank">gregw@intalio.com</=
a>&gt;</span> wrote:<br>
</div><div class=3D"im"><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 31 July 2012 14:43, Mike Belshe &lt;<a href=3D"mailto:mike@belshe.c=
om" target=3D"_blank">mike@belshe.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Jul 18, 2012 at 8:23 PM, Tim Bray &lt;<a href=3D"mailto:tbray@=
textuality.com" target=3D"_blank">tbray@textuality.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Fair point; I should. -T<br>
&gt;<br>
&gt;<br>
&gt; Yeah, <a href=3D"http://belshe.com" target=3D"_blank">belshe.com</a> s=
hould too :-)<br>
&gt;<br>
<br>
</div>Mike,<br>
<br>
I don&#39;t understand the benefit of encrypting traffic to/from a public<b=
r>
blog site? =A0 =A0There is no privacy obtained by doing so.<br></blockquote=
><div><br></div></div><div>Hey Greg -</div><div><br>I don&#39;t want to res=
tate things over and over, so I&#39;ll be brief. =A0For the most part, I ju=
st see this as a natural evolution. =A0We should be constantly innovating a=
nd raising the bar in the security and privacy space. =A0This is just one s=
tep. =A0Many many more are needed to. =A0But this is the most simple and lo=
gical one to take now.=A0</div>

<div><br></div><div>My opinions:</div><div>=A0 =A0a) With all else being eq=
ual, encrypted is always better than not encrypted</div><div>=A0 =A0b) Encr=
yption doesn&#39;t &quot;fix&quot; everything, but there is no &quot;fix&qu=
ot;. =A0With security and privacy its always about &quot;raising the bar&qu=
ot;.</div>

<div>=A0 =A0c) Users expect and want encryption. =A0It&#39;s only site oper=
ators/proxy vendors/server vendors that complain.</div><div>=A0 =A0d) The c=
ost of encryption is tiny. =A0(I know others disagree on this point)</div><=
div>=A0 =A0e) Debugging is not a real issue and can be mitigated with bette=
r tools.</div>

<div>=A0 =A0f) As the world comes online, there are many amateur site opera=
tor/content owners. They don&#39;t know when it is important to encrypt or =
not. =A0We should help them protect themselves and their users by building =
stronger protocols.</div>

<div>=A0 =A0g) The most common theft is cookie hijacking, which can still b=
e done today on a plethora of services - hotmail, yahoo mail, flickr, etc e=
tc. =A0</div><div>=A0 =A0h) The larger security issues to be fixed, like th=
e CA system, can&#39;t be fixed until we turn on TLS everywhere. =A0Once we=
 do, we&#39;ll quickly see browsers innovate with new CA/trust systems. =A0=
Without more TLS everywhere, everyone just side-steps the issue.</div>
<span class=3D"HOEnZb"><font color=3D"#888888">
<div><br></div><div>Mike</div></font></span><div class=3D"im"><div><br></di=
v><div><br></div><div><br></div><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
If I can see somebody on my network make a connection to <a href=3D"http://=
belshe.com" target=3D"_blank">belshe.com</a>,<br>
then I can go browse that site myself and see all the content that the<br>
encrypted connection has available to it. =A0By looking at the dates and<br=
>
sizes of the data transfers, I can make a pretty good estimate of the<br>
pages that the encrypted connection has accessed.<br>
<br>
TLS provides little privacy in this situation as I will know who the<br>
client connected to, what they saw and when they saw it. =A0 Even if the<br=
>
browser pushes content, for a blog site that is more often than not a<br>
comment, so that will get published as well and again size/date<br>
matching can be very effective at working out who said what.<br>
<br>
If privacy is a necessary attribute of HTTP/2.0, then we will have to<br>
prevent direct connections to servers and all traffic will need to go<br>
via anonymous proxy services.<br>
<br>
There may well be good arguments for having confidential content as<br>
the default for HTTP/2.0, but privacy is not one of them.<br>
<br>
cheers<br>
<div><div><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
Greg Wilkins &lt;<a href=3D"mailto:gregw@intalio.com" target=3D"_blank">gre=
gw@intalio.com</a>&gt;<br>
<a href=3D"http://www.webtide.com" target=3D"_blank">http://www.webtide.com=
</a><br>
Developer advice and support from the Jetty &amp; CometD experts.<br>
<br>
</div></div></blockquote></div></div><br>
</blockquote></div><br></div>

--f46d04016b2348587d04c69ea576--


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 13:33:33 2012
Return-Path: <ietf-http-wg-request@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 5BC0211E80A6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 13:33:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.969
X-Spam-Level: 
X-Spam-Status: No, score=-8.969 tagged_above=-999 required=5 tests=[AWL=1.630, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D7NE7JTEndr3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 13:33:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 68A5411E80A4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 13:33:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyTyg-0000P6-33 for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 20:32:38 +0000
Resent-Date: Mon, 06 Aug 2012 20:32:38 +0000
Resent-Message-Id: <E1SyTyg-0000P6-33@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SyTyT-0000Nt-0o for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 20:32:25 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SyTyR-0006jT-R1 for ietf-http-wg@w3.org; Mon, 06 Aug 2012 20:32:24 +0000
Received: from [10.6.130.146] (unknown [50.56.228.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 3134522DD6D for <ietf-http-wg@w3.org>; Mon,  6 Aug 2012 16:32:02 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Message-Id: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net>
Date: Mon, 6 Aug 2012 15:32:01 -0500
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
X-Mailer: Apple Mail (2.1485)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SyTyR-0006jT-R1 081636d0981f0e722bd88e17d86d3508
X-Original-To: ietf-http-wg@w3.org
Subject: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14979
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>

<=
https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p1-mes=
saging.html#https.uri> is slated to define the semantics of HTTPS urls.=20=


We currently talk about HTTPS' impact on caches and identity there, but =
we don't mention one other major effect on HTTP -- the use of CONNECT to =
proxies.=20

I think we need to define HTTPS as having a semantic of *end-to-end* use =
of SSL/TLS, and therefore CONNECT to proxies.=20

Make sense?

--
Mark Nottingham
http://www.mnot.net/






From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 13:45:00 2012
Return-Path: <ietf-http-wg-request@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 6318721E80A6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 13:45:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.766
X-Spam-Level: 
X-Spam-Status: No, score=-9.766 tagged_above=-999 required=5 tests=[AWL=0.833, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LpqBEuPjmDd5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 13:44:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A06E721E8099 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 13:44:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyU9n-0005hv-JF for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 20:44:07 +0000
Resent-Date: Mon, 06 Aug 2012 20:44:07 +0000
Resent-Message-Id: <E1SyU9n-0005hv-JF@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SyU9a-0005hA-Hv for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 20:43:54 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SyU9Z-0006pt-54 for ietf-http-wg@w3.org; Mon, 06 Aug 2012 20:43:54 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q76KhR4P007831; Mon, 6 Aug 2012 22:43:27 +0200
Date: Mon, 6 Aug 2012 22:43:27 +0200
From: Willy Tarreau <w@1wt.eu>
To: Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20120806204327.GA7647@1wt.eu>
References: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SyU9Z-0006pt-54 92ef8f95a6476b9930870a85ca6c0d12
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/20120806204327.GA7647@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14980
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 Mon, Aug 06, 2012 at 03:32:01PM -0500, Mark Nottingham wrote:
> <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p1-messaging.html#https.uri> is slated to define the semantics of HTTPS urls. 
> 
> We currently talk about HTTPS' impact on caches and identity there, but we don't mention one other major effect on HTTP -- the use of CONNECT to proxies. 
> 
> I think we need to define HTTPS as having a semantic of *end-to-end* use of SSL/TLS, and therefore CONNECT to proxies. 
> 
> Make sense?

I'd rather have it be the equivalent of the "GET https://" we've been talking
about, with something different for use with CONNECT. CONNECT is used to
establish a tunnel, and anything passes through (I'm using it on a daily
basis to SSH home).

Many people involved in proxies would like CONNECT to disappear or at least
to work based on fine whitelists (eg: banks, paypal, ...) and use GET https://
instead to provide the ability to use safe connections between the proxy and
the internet, with the ability to block malware.

Right now this is already performed with CONNECT using awful tricks that
totally break HTTP and even prevent software such as Firefox from being
able to upgrade itself, this is a total failure.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 14:07:52 2012
Return-Path: <ietf-http-wg-request@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 8384C21F84DC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 14:07:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.117
X-Spam-Level: 
X-Spam-Status: No, score=-9.117 tagged_above=-999 required=5 tests=[AWL=1.482, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bc8Y-wtI1Olh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 14:07:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7767C21F8493 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 14:07:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyUVj-00034n-Eg for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 21:06:47 +0000
Resent-Date: Mon, 06 Aug 2012 21:06:47 +0000
Resent-Message-Id: <E1SyUVj-00034n-Eg@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SyUVW-0002xo-3r for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 21:06:34 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SyUVU-0007kC-P4 for ietf-http-wg@w3.org; Mon, 06 Aug 2012 21:06:34 +0000
Received: from [10.6.130.146] (unknown [50.56.228.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 3348A22E25E; Mon,  6 Aug 2012 17:06:10 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <20120806204327.GA7647@1wt.eu>
Date: Mon, 6 Aug 2012 16:06:10 -0500
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <8CFB0582-52E8-4ACF-BD6E-24F773C4F5ED@mnot.net>
References: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net> <20120806204327.GA7647@1wt.eu>
To: Willy Tarreau <w@1wt.eu>
X-Mailer: Apple Mail (2.1485)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SyUVU-0007kC-P4 80941c622398fb966201c775c7771614
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/8CFB0582-52E8-4ACF-BD6E-24F773C4F5ED@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14981
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 06/08/2012, at 3:43 PM, Willy Tarreau <w@1wt.eu> wrote:

> On Mon, Aug 06, 2012 at 03:32:01PM -0500, Mark Nottingham wrote:
>> =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p1-me=
ssaging.html#https.uri> is slated to define the semantics of HTTPS urls.=20=

>>=20
>> We currently talk about HTTPS' impact on caches and identity there, =
but we don't mention one other major effect on HTTP -- the use of =
CONNECT to proxies.=20
>>=20
>> I think we need to define HTTPS as having a semantic of *end-to-end* =
use of SSL/TLS, and therefore CONNECT to proxies.=20
>>=20
>> Make sense?
>=20
> I'd rather have it be the equivalent of the "GET https://" we've been =
talking
> about, with something different for use with CONNECT. CONNECT is used =
to
> establish a tunnel, and anything passes through (I'm using it on a =
daily
> basis to SSH home).
>=20
> Many people involved in proxies would like CONNECT to disappear or at =
least
> to work based on fine whitelists (eg: banks, paypal, ...) and use GET =
https://
> instead to provide the ability to use safe connections between the =
proxy and
> the internet, with the ability to block malware.
>=20
> Right now this is already performed with CONNECT using awful tricks =
that
> totally break HTTP and even prevent software such as Firefox from =
being
> able to upgrade itself, this is a total failure.


Right. That's a big change from the semantics of HTTPS today, though; =
right now, when I see that, I know that I have end-to-end TLS. If we =
change that, it's going to require a LOT of coordination with W3C, =
browsers, privacy people, etc. to make sure expectations are managed, =
communicated, etc.

I think the question is here is whether end-to-end security is a =
fundamental part of the semantics of HTTPS, or something that is just a =
de facto now, and open to being changed later.=20

Personally, I think it is; while I can see the use cases you're taking =
about, having HTTPS URIs become inspectable by proxies is a surprising =
outcome from a user perspective.=20

Perhaps we could say something like "HTTP implies end-to-end security, =
unless the user has explicitly opted out of it (i.e., in a configuration =
dialog). When TLS is providing end-to-end security, the CONNECT method =
is used with proxies."

Just thinking out loud there...

--
Mark Nottingham
http://www.mnot.net/






From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 14:16:08 2012
Return-Path: <ietf-http-wg-request@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 0B8C711E809A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 14:16:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.777
X-Spam-Level: 
X-Spam-Status: No, score=-9.777 tagged_above=-999 required=5 tests=[AWL=0.822, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ipgs0LplGsMl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 14:16:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4847F11E80F5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 14:16:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyUe2-0000kX-HH for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 21:15:22 +0000
Resent-Date: Mon, 06 Aug 2012 21:15:22 +0000
Resent-Message-Id: <E1SyUe2-0000kX-HH@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SyUdp-0000Ps-9Z for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 21:15:09 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SyUdo-00080c-7M for ietf-http-wg@w3.org; Mon, 06 Aug 2012 21:15:09 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q76LEkvB008000; Mon, 6 Aug 2012 23:14:46 +0200
Date: Mon, 6 Aug 2012 23:14:46 +0200
From: Willy Tarreau <w@1wt.eu>
To: Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20120806211446.GB7647@1wt.eu>
References: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net> <20120806204327.GA7647@1wt.eu> <8CFB0582-52E8-4ACF-BD6E-24F773C4F5ED@mnot.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <8CFB0582-52E8-4ACF-BD6E-24F773C4F5ED@mnot.net>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=3.0
X-W3C-Hub-Spam-Report: BAYES_95=3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SyUdo-00080c-7M 22fb0376164ddbc099799f05e06c0f54
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/20120806211446.GB7647@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14982
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 Mon, Aug 06, 2012 at 04:06:10PM -0500, Mark Nottingham wrote:
> Right. That's a big change from the semantics of HTTPS today, though; right
> now, when I see that, I know that I have end-to-end TLS.

No, you *believe* you do, you really don't know. That's clearly the problem
with the way it works, man-in-the middle proxies are still able to intercept
it and to forge certs they sign with their own CA and you have no way to know
if your communications are snooped or not.

> If we change that,
> it's going to require a LOT of coordination with W3C, browsers, privacy
> people, etc. to make sure expectations are managed, communicated, etc.

That's for sure, but given that the promise offered by "https://" is not
granted nowadays, I think we don't need that many convincing efforts to
have something which now really reflects what's done (ie https to the
proxy then https to the web site).

> I think the question is here is whether end-to-end security is a fundamental
> part of the semantics of HTTPS, or something that is just a de facto now, and
> open to being changed later. 

I think it's important but then we should more clearly have an explicit
"tunnel://" scheme.

> Personally, I think it is; while I can see the use cases you're taking about,
> having HTTPS URIs become inspectable by proxies is a surprising outcome from
> a user perspective. 

But they're already and people don't suspect they are until they notice some
random breakage they only observe at work.

> Perhaps we could say something like "HTTP implies end-to-end security, unless
> the user has explicitly opted out of it (i.e., in a configuration dialog).
> When TLS is providing end-to-end security, the CONNECT method is used with
> proxies."

I really think we need a third scheme if we want to be transparent to the
user. Otherwise we can have the browsers support the two modes for the https
scheme and first try the tunnel, then upon failure fall back to the GET https://
if the browser policy allows it.

> Just thinking out loud there...

Same here :-)

I believe Adrien de Croy has more experience in this area, would be nice to
have his opinion here.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 14:17:50 2012
Return-Path: <ietf-http-wg-request@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 AE69711E80A4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 14:17:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.241
X-Spam-Level: 
X-Spam-Status: No, score=-9.241 tagged_above=-999 required=5 tests=[AWL=1.358, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gVChv1FlJrdk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 14:17:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6511911E809A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 14:17:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyUg0-00014Z-L4 for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 21:17:24 +0000
Resent-Date: Mon, 06 Aug 2012 21:17:24 +0000
Resent-Message-Id: <E1SyUg0-00014Z-L4@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SyUfn-000115-Rl for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 21:17:11 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SyUfm-00086A-Of for ietf-http-wg@w3.org; Mon, 06 Aug 2012 21:17:11 +0000
Received: from [10.6.130.146] (unknown [50.56.228.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 626FF22E25C; Mon,  6 Aug 2012 17:16:49 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <20120806211446.GB7647@1wt.eu>
Date: Mon, 6 Aug 2012 16:16:48 -0500
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net>
References: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net> <20120806204327.GA7647@1wt.eu> <8CFB0582-52E8-4ACF-BD6E-24F773C4F5ED@mnot.net> <20120806211446.GB7647@1wt.eu>
To: Willy Tarreau <w@1wt.eu>
X-Mailer: Apple Mail (2.1485)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SyUfm-00086A-Of 5bf84b36c7b23e05e9235835de6ff68b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14983
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 06/08/2012, at 4:14 PM, Willy Tarreau <w@1wt.eu> wrote:

>> Right. That's a big change from the semantics of HTTPS today, though; =
right
>> now, when I see that, I know that I have end-to-end TLS.
>=20
> No, you *believe* you do, you really don't know. That's clearly the =
problem
> with the way it works, man-in-the middle proxies are still able to =
intercept
> it and to forge certs they sign with their own CA and you have no way =
to know
> if your communications are snooped or not.

It's a really big logical leap from the existence of an attack to =
changing the fundamental semantics of the URI scheme. And, that's what a =
MITM proxy is -- it's not legitimate, it's not a recognised role, it's =
an attack. We shouldn't legitimise it.=20

Cheers,

--
Mark Nottingham
http://www.mnot.net/






From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 14:24:34 2012
Return-Path: <ietf-http-wg-request@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 8F36A11E80DF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 14:24:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E53ObzpKxS+C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 14:24:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C359411E809A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 14:24:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyUmO-0003hY-2c for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 21:24:00 +0000
Resent-Date: Mon, 06 Aug 2012 21:24:00 +0000
Resent-Message-Id: <E1SyUmO-0003hY-2c@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <robertc@robertcollins.net>) id 1SyUmB-0003ey-9w for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 21:23:47 +0000
Received: from mail-yx0-f171.google.com ([209.85.213.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <robertc@robertcollins.net>) id 1SyUmA-0008H7-4m for ietf-http-wg@w3.org; Mon, 06 Aug 2012 21:23:47 +0000
Received: by yenq1 with SMTP id q1so2595259yen.2 for <ietf-http-wg@w3.org>; Mon, 06 Aug 2012 14:23:18 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:x-originating-ip:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=Ip7i92PbnzFLJykVhKyelJG690/6i/x6PbuiclFw42I=; b=U39sYNS6SrpNPW/CqsCq7CgzFrx6svpBjdfLVCpAe+eSO0ExwYfRV7u35i3OHU9TEg 7YQsyOyT+NWS/Q/EmU779z9JuBjzPgxwG0+uFl4OUu03NZnpDExdmXudlwmMZfDxkOR5 6fQeYXHrnyuDIRFGhrxDZqI0gJtchmuzxXCLbyZYq7liKu4IEBVuaNaC5lPSezv1K3cS Kb3S4JI4mxJOSjMaETj5NTnRGQ+sV1JPIZOn1rZID0x0Ag4sito1HQ7IahklQ3UGBM0m bfI9s05a5NLsHokcTlhOEZg0VWLFhCTlu5ejYRmCTnyjDYzcmwQR0q+o0f9uGfWDkJv6 RsLg==
MIME-Version: 1.0
Received: by 10.50.6.197 with SMTP id d5mr6532898iga.44.1344288198044; Mon, 06 Aug 2012 14:23:18 -0700 (PDT)
Sender: robertc@robertcollins.net
Received: by 10.231.45.13 with HTTP; Mon, 6 Aug 2012 14:23:17 -0700 (PDT)
X-Originating-IP: [122.58.129.196]
In-Reply-To: <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net>
References: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net> <20120806204327.GA7647@1wt.eu> <8CFB0582-52E8-4ACF-BD6E-24F773C4F5ED@mnot.net> <20120806211446.GB7647@1wt.eu> <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net>
Date: Tue, 7 Aug 2012 09:23:17 +1200
X-Google-Sender-Auth: SuaBVOkRL4zQnIkji-t7BI_09fw
Message-ID: <CAJ3HoZ1hTOvcddN8c1ttBTYJyjSxLgSvnBMXQECVLnCGuuCLpw@mail.gmail.com>
From: Robert Collins <robertc@squid-cache.org>
To: Mark Nottingham <mnot@mnot.net>
Cc: Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQnIsl+Yn6Q/3mvLv1kZM7KHbTQxDl37DvPnmX0NBIL1oJIcf12wolDImdkLkghdRhxHDuJI
Received-SPF: none client-ip=209.85.213.171; envelope-from=robertc@robertcollins.net; helo=mail-yx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=1.3
X-W3C-Hub-Spam-Report: BAYES_80=2, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SyUmA-0008H7-4m 8fc8b8e9992cafad069e42c81b6adfb7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/CAJ3HoZ1hTOvcddN8c1ttBTYJyjSxLgSvnBMXQECVLnCGuuCLpw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14984
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 Tue, Aug 7, 2012 at 9:16 AM, Mark Nottingham <mnot@mnot.net> wrote:
> It's a really big logical leap from the existence of an attack to changing the fundamental semantics of the URI scheme. And, that's what a MITM proxy is -- it's not legitimate, it's not a recognised role, it's an attack. We shouldn't legitimise it.

It is however massively widespread. Its not 'attack' in the sense of
'well, someone /might do this/', its an attack in the sense of 'well I
get my IP address at work via DHCP'.

-Rob


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 14:24:59 2012
Return-Path: <ietf-http-wg-request@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 A241311E809A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 14:24:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.787
X-Spam-Level: 
X-Spam-Status: No, score=-9.787 tagged_above=-999 required=5 tests=[AWL=0.812, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iT1KNJFwE6pe for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 14:24:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5BD7121F8565 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 14:24:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyUmw-0003oM-QD for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 21:24:34 +0000
Resent-Date: Mon, 06 Aug 2012 21:24:34 +0000
Resent-Message-Id: <E1SyUmw-0003oM-QD@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SyUmk-0003hn-9x for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 21:24:22 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SyUmj-0008Hr-7E for ietf-http-wg@w3.org; Mon, 06 Aug 2012 21:24:22 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q76LNxEI008089; Mon, 6 Aug 2012 23:23:59 +0200
Date: Mon, 6 Aug 2012 23:23:59 +0200
From: Willy Tarreau <w@1wt.eu>
To: Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20120806212359.GC7647@1wt.eu>
References: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net> <20120806204327.GA7647@1wt.eu> <8CFB0582-52E8-4ACF-BD6E-24F773C4F5ED@mnot.net> <20120806211446.GB7647@1wt.eu> <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SyUmj-0008Hr-7E fde36fef6a42dc66f29c17848a35662a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/20120806212359.GC7647@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14985
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 Mon, Aug 06, 2012 at 04:16:48PM -0500, Mark Nottingham wrote:
> 
> On 06/08/2012, at 4:14 PM, Willy Tarreau <w@1wt.eu> wrote:
> 
> >> Right. That's a big change from the semantics of HTTPS today, though; right
> >> now, when I see that, I know that I have end-to-end TLS.
> > 
> > No, you *believe* you do, you really don't know. That's clearly the problem
> > with the way it works, man-in-the middle proxies are still able to intercept
> > it and to forge certs they sign with their own CA and you have no way to know
> > if your communications are snooped or not.
> 
> It's a really big logical leap from the existence of an attack to changing
> the fundamental semantics of the URI scheme. And, that's what a MITM proxy is
> -- it's not legitimate, it's not a recognised role, it's an attack. We
> shouldn't legitimise it. 

That's clearly what I'm suggesting : offer a clean way to have a proxy inspect
contents with the users' consent in the browser policy (using GET https://) or
ask for a tunnel to be established, assuming it should be end-to-end. There
will be no more solution than today to detect there's an MITM, but at least
there will be far less incentive for product authors to do that if it's only
for a handful of trustable websites.

At the moment the state of affairs has created MITM proxies and we'd better
get rid of them by offering a solution to the problem they try to solve.

Willy



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 14:34:53 2012
Return-Path: <ietf-http-wg-request@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 E240511E80F4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 14:34:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=4.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7wcS35zUTppc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 14:34:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1B0CB11E80F7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 14:34:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyUw7-000291-Pl for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 21:34:03 +0000
Resent-Date: Mon, 06 Aug 2012 21:34:03 +0000
Resent-Message-Id: <E1SyUw7-000291-Pl@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SyUvu-00027k-UN for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 21:33:50 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SyUvt-00004z-DN for ietf-http-wg@w3.org; Mon, 06 Aug 2012 21:33:50 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id E3CF3171CEF; Mon,  6 Aug 2012 22:33:27 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1344288807; bh=CvvxNU8WATai+s Rj/9kTw4QsRUhBk0a5ADDu88CwPA4=; b=PNfRD0rG/AVg1ksdpTlWmSDKKoprjV /eCSXs8cA4F0mXgiDxdpxeHYACVKuAblrGeIQ9g2q8a7yR6rvv3xHmOkq3TW4brW MV9jcwndtXhKGsouEcX/YUNg8elcRMsJKLzRfXw9jcwJWoER1bYR+nYtbipGY/Vz KLHtpfu+Zj68JM3+B/JZDHp/w3dRHtLk5wnd3XdGVFsdEZYN3tuEE8bKxZ28DUjT PJGDQx3WOxwBAWO1iMIa4dzqkB/QOGleiYm+PAfwG8/l/UTBQjYtiAXmiH3JqlVk /eocetIR0mxRy9zwyccvNgCl488OwS/H66WwjPllsf8vgeWH+9/zdc2A==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id 1LjGa-eyCxyk; Mon,  6 Aug 2012 22:33:27 +0100 (IST)
Received: from [10.87.48.8] (unknown [86.41.15.219]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id AD74C171CEE; Mon,  6 Aug 2012 22:33:26 +0100 (IST)
Message-ID: <50203826.6070604@cs.tcd.ie>
Date: Mon, 06 Aug 2012 22:33:26 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0
MIME-Version: 1.0
To: Willy Tarreau <w@1wt.eu>
CC: Mark Nottingham <mnot@mnot.net>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net> <20120806204327.GA7647@1wt.eu> <8CFB0582-52E8-4ACF-BD6E-24F773C4F5ED@mnot.net> <20120806211446.GB7647@1wt.eu> <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net> <20120806212359.GC7647@1wt.eu>
In-Reply-To: <20120806212359.GC7647@1wt.eu>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-1.6
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SyUvt-00004z-DN 01e2e745fb6ed02c2a7def2950e7b5d0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/50203826.6070604@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14986
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>

FWIW, I strongly agree with Mark on this. I'm sure that the
other SEC AD agrees too, and reckon that the SEC area as a
whole would also agree, but we can ask if that becomes useful.
A bit more below.

On 08/06/2012 10:23 PM, Willy Tarreau wrote:
> On Mon, Aug 06, 2012 at 04:16:48PM -0500, Mark Nottingham wrote:
>>
>> On 06/08/2012, at 4:14 PM, Willy Tarreau <w@1wt.eu> wrote:
>>
>>>> Right. That's a big change from the semantics of HTTPS today, though; right
>>>> now, when I see that, I know that I have end-to-end TLS.
>>>
>>> No, you *believe* you do, you really don't know. That's clearly the problem
>>> with the way it works, man-in-the middle proxies are still able to intercept
>>> it and to forge certs they sign with their own CA and you have no way to know
>>> if your communications are snooped or not.
>>
>> It's a really big logical leap from the existence of an attack to changing
>> the fundamental semantics of the URI scheme. And, that's what a MITM proxy is
>> -- it's not legitimate, it's not a recognised role, it's an attack. We
>> shouldn't legitimise it. 
> 
> That's clearly what I'm suggesting : offer a clean way to have a proxy inspect
> contents with the users' consent in the browser policy (using GET https://) or
> ask for a tunnel to be established, assuming it should be end-to-end. There
> will be no more solution than today to detect there's an MITM, but at least
> there will be far less incentive for product authors to do that if it's only
> for a handful of trustable websites.
> 
> At the moment the state of affairs has created MITM proxies and we'd better
> get rid of them by offering a solution to the problem they try to solve.

The tls WG was offered that option again last week and rejected it
again. If the httpbis WG want to standardise some kind of mitm without
changing TLS then that seems to re-define https to me at least.

Even though mitm hacks exist and people pay for them, the IETF has
actively and repeatedly refused to standardise that behaviour.

Cheers,
S.



> 
> Willy
> 
> 
> 
> 


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 14:42:21 2012
Return-Path: <ietf-http-wg-request@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 66E0421F857E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 14:42:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.797
X-Spam-Level: 
X-Spam-Status: No, score=-9.797 tagged_above=-999 required=5 tests=[AWL=0.802, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JeZ8W+2qlkDf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 14:42:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DD52D21F8575 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 14:42:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyV3X-0005cl-Hm for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 21:41:43 +0000
Resent-Date: Mon, 06 Aug 2012 21:41:43 +0000
Resent-Message-Id: <E1SyV3X-0005cl-Hm@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SyV3L-0005c0-3C for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 21:41:31 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SyV3K-0000J8-1o for ietf-http-wg@w3.org; Mon, 06 Aug 2012 21:41:31 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q76Lf6qE008186; Mon, 6 Aug 2012 23:41:06 +0200
Date: Mon, 6 Aug 2012 23:41:06 +0200
From: Willy Tarreau <w@1wt.eu>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Cc: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20120806214106.GD7647@1wt.eu>
References: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net> <20120806204327.GA7647@1wt.eu> <8CFB0582-52E8-4ACF-BD6E-24F773C4F5ED@mnot.net> <20120806211446.GB7647@1wt.eu> <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net> <20120806212359.GC7647@1wt.eu> <50203826.6070604@cs.tcd.ie>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <50203826.6070604@cs.tcd.ie>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SyV3K-0000J8-1o 3790d775c4d056a345fa30dd82f017f8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/20120806214106.GD7647@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14987
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>

Hi Stephen,

On Mon, Aug 06, 2012 at 10:33:26PM +0100, Stephen Farrell wrote:
> > At the moment the state of affairs has created MITM proxies and we'd better
> > get rid of them by offering a solution to the problem they try to solve.
> 
> The tls WG was offered that option again last week and rejected it
> again. If the httpbis WG want to standardise some kind of mitm without
> changing TLS then that seems to re-define https to me at least.
> 
> Even though mitm hacks exist and people pay for them, the IETF has
> actively and repeatedly refused to standardise that behaviour.

I'm not advocating MITM, quite the opposite : I'm advocating valid
use of proxies via opt-in to put an end to MITM.

The end user chooses in his browser :

    Proxy Connection for HTTPS :
        [ ] proxy may inspect contents fetched over HTTPS  (GET https://)
            except for those sites : _______________
        [ ] proxy may not inspect contents fetched over HTTPS  (CONNECT)

The proxy's policy then enables a number of sites to use CONNECT and
rejects the other ones. The user is then free to opt in for content
inspection or reject it. There's no MITM here. The MITM is what is
currently being done at many places without the user's consent.

Willy



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 14:44:58 2012
Return-Path: <ietf-http-wg-request@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 28EDB21F8575 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 14:44:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w-DIpDqYXZt5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 14:44:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 71F3F21F858F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 14:44:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyV5t-0005kc-Vi for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 21:44:10 +0000
Resent-Date: Mon, 06 Aug 2012 21:44:09 +0000
Resent-Message-Id: <E1SyV5t-0005kc-Vi@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <daniel@haxx.se>) id 1SyV5g-0005jm-7o for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 21:43:56 +0000
Received: from giant.haxx.se ([80.67.6.50]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <daniel@haxx.se>) id 1SyV5e-0000Np-Pa for ietf-http-wg@w3.org; Mon, 06 Aug 2012 21:43:56 +0000
Received: from giant.haxx.se (localhost.localdomain [127.0.0.1]) by giant.haxx.se (8.14.4/8.14.4/Debian-2) with ESMTP id q76Lh2v2025317 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 6 Aug 2012 23:43:02 +0200
Received: from localhost (dast@localhost) by giant.haxx.se (8.14.4/8.14.4/Submit) with ESMTP id q76Lh2s7025312; Mon, 6 Aug 2012 23:43:02 +0200
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Mon, 6 Aug 2012 23:43:02 +0200 (CEST)
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
cc: Willy Tarreau <w@1wt.eu>, Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
In-Reply-To: <50203826.6070604@cs.tcd.ie>
Message-ID: <alpine.DEB.2.00.1208062340480.10581@tvnag.unkk.fr>
References: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net> <20120806204327.GA7647@1wt.eu> <8CFB0582-52E8-4ACF-BD6E-24F773C4F5ED@mnot.net> <20120806211446.GB7647@1wt.eu> <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net> <20120806212359.GC7647@1wt.eu> <50203826.6070604@cs.tcd.ie>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
X-fromdanielhimself: yes
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Received-SPF: pass client-ip=80.67.6.50; envelope-from=daniel@haxx.se; helo=giant.haxx.se
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SyV5e-0000Np-Pa 223c8475d51c0a6c5bc5b6bda55dadba
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/alpine.DEB.2.00.1208062340480.10581@tvnag.unkk.fr>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14988
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 Mon, 6 Aug 2012, Stephen Farrell wrote:

> The tls WG was offered that option again last week and rejected it again. If 
> the httpbis WG want to standardise some kind of mitm without changing TLS 
> then that seems to re-define https to me at least.

I strongly agree. MITM proxies are not defined elements of a TLS 
infrastructure and legitimizing them would redefine HTTPS to me. They are 
hacks or attacks or whatever we should call them.

-- 

  / daniel.haxx.se


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 15:01:17 2012
Return-Path: <ietf-http-wg-request@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 AAF3A11E80DC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 15:01:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qSrCEU-h8u0r for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 15:01:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E892911E80BF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 15:01:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyVLs-0000Dg-Ax for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 22:00:40 +0000
Resent-Date: Mon, 06 Aug 2012 22:00:40 +0000
Resent-Message-Id: <E1SyVLs-0000Dg-Ax@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <karld@opera.com>) id 1SyVLf-0000Cv-I1 for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 22:00:27 +0000
Received: from smtp.opera.com ([213.236.208.81]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <karld@opera.com>) id 1SyVLe-0000v7-12 for ietf-http-wg@w3.org; Mon, 06 Aug 2012 22:00:27 +0000
Received: from [10.0.1.23] (modemcable048.20-130-66.mc.videotron.ca [66.130.20.48]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q76LxZus020761 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 6 Aug 2012 21:59:37 GMT
References: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net> <20120806204327.GA7647@1wt.eu> <8CFB0582-52E8-4ACF-BD6E-24F773C4F5ED@mnot.net> <20120806211446.GB7647@1wt.eu> <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net> <20120806212359.GC7647@1wt.eu> <50203826.6070604@cs.tcd.ie> <20120806214106.GD7647@1wt.eu>
In-Reply-To: <20120806214106.GD7647@1wt.eu>
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
Message-Id: <C47944B8-9E7E-48EC-972A-0D8926EF1CF3@opera.com>
Content-Transfer-Encoding: quoted-printable
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
From: Karl Dubost <karld@opera.com>
Date: Mon, 6 Aug 2012 17:59:34 -0400
To: Willy Tarreau <w@1wt.eu>
X-Mailer: Apple Mail (2.1278)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=karld@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-1.5
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SyVLe-0000v7-12 8aefde0ef9c392c5a121b18e1f79d0fc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/C47944B8-9E7E-48EC-972A-0D8926EF1CF3@opera.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14989
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>

Le 6 ao=FBt 2012 =E0 17:41, Willy Tarreau a =E9crit :
> I'm not advocating MITM, quite the opposite : I'm advocating valid use =
of proxies via opt-in to put an end to MITM.

* I can understand the why for proposing a validation of this usage.

* I can also see why many businesses will start to propose this as the =
default feature for users without a real choice for them.=20


There are plenty of EULA already that users sign-up without reading =
because the =AB power =BB is on the side of the service. I'm not sure it =
is a good idea to push further in that direction without proposing a =
real secure end to end mechanism in the platform.=20


--=20
Karl Dubost - http://dev.opera.com/
Developer Relations, Opera Software



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 15:13:33 2012
Return-Path: <ietf-http-wg-request@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 E2C4F11E8103 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 15:13:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.932
X-Spam-Level: 
X-Spam-Status: No, score=-7.932 tagged_above=-999 required=5 tests=[AWL=2.667, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cKCxtOaViokQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 15:13:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DB24611E80F4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 15:13:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyVXY-0003ks-Pn for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 22:12:44 +0000
Resent-Date: Mon, 06 Aug 2012 22:12:44 +0000
Resent-Message-Id: <E1SyVXY-0003ks-Pn@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SyVXL-0003hp-K1 for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 22:12:31 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SyVXK-0001D5-HD for ietf-http-wg@w3.org; Mon, 06 Aug 2012 22:12:31 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id 99E44171CEE; Mon,  6 Aug 2012 23:12:09 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1344291129; bh=A8BdWIXd5/dvZR aWO/g7iXW1n4iWBxj4G9k1sYtlNA8=; b=k1jXE4glwZVFNzds29iNyYNMkXbqrJ /Kra0Rs81xJqvJGTkqJqa02cW2eBxRGAx9ztfS6RLj8SCpPI6INpmSgou8TTZcVt LsKQgijBjV/6BsipKd/8HEffVOYdY5Vy9mMBTiG/JgfRMnJaGhZvN4Vr3odpgUBk Q4Tk4uMDFPlVuwN1a4NG647zn+LVRRuEgcF3bDXYIB6pILpZUfQC3giokG77RdOU Hh4HBAUc0hPaWBRUmvHAEGfud4g/kPYw6fayGcyFyK1Hkhv8H2Wlg3n5f7k4Of68 8oLLwlKECjYigDyPh8e5Wm/gWN06dZa3VjPzmzGoqCQeu/+uC6VuhRBg==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id 9mP-cZSPCyyS; Mon,  6 Aug 2012 23:12:09 +0100 (IST)
Received: from [10.87.48.8] (unknown [86.41.15.219]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id 76E571717A6; Mon,  6 Aug 2012 23:12:08 +0100 (IST)
Message-ID: <50204138.7090208@cs.tcd.ie>
Date: Mon, 06 Aug 2012 23:12:08 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0
MIME-Version: 1.0
To: Willy Tarreau <w@1wt.eu>
CC: Mark Nottingham <mnot@mnot.net>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net> <20120806204327.GA7647@1wt.eu> <8CFB0582-52E8-4ACF-BD6E-24F773C4F5ED@mnot.net> <20120806211446.GB7647@1wt.eu> <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net> <20120806212359.GC7647@1wt.eu> <50203826.6070604@cs.tcd.ie> <20120806214106.GD7647@1wt.eu>
In-Reply-To: <20120806214106.GD7647@1wt.eu>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-1.6
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SyVXK-0001D5-HD 4b6735c174c90a5e7ccd491c2a4afebc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/50204138.7090208@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14990
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>

Hi Willy,

On 08/06/2012 10:41 PM, Willy Tarreau wrote:
> Hi Stephen,
> 
> On Mon, Aug 06, 2012 at 10:33:26PM +0100, Stephen Farrell wrote:
>>> At the moment the state of affairs has created MITM proxies and we'd better
>>> get rid of them by offering a solution to the problem they try to solve.
>>
>> The tls WG was offered that option again last week and rejected it
>> again. If the httpbis WG want to standardise some kind of mitm without
>> changing TLS then that seems to re-define https to me at least.
>>
>> Even though mitm hacks exist and people pay for them, the IETF has
>> actively and repeatedly refused to standardise that behaviour.
> 
> I'm not advocating MITM, quite the opposite : I'm advocating valid
> use of proxies via opt-in to put an end to MITM.

I think that depends on how you define MITM. From the point of
view of a site, or a user forced into using this, your approach
still seems like a MITM, just a different one, but still a
re-definition of https I think.

> The end user chooses in his browser :
> 
>     Proxy Connection for HTTPS :
>         [ ] proxy may inspect contents fetched over HTTPS  (GET https://)
>             except for those sites : _______________

Does that whitelisting approach break TLS client auth and channel
binding? I guess we'd need to see a draft to know but regardless of
the fact that those are not very widely used, re-defining https
like this in a way that breaks those features seems like a bad
plan.

>         [ ] proxy may not inspect contents fetched over HTTPS  (CONNECT)

With what default? I'd bet there are many wrinkles here. What about
use of SNI in TLS to select between hosts?

Really, I think your proposal doesn't work out in the end. I also
understand why you propose it, but suspect that like many such
proposals there are many more problems than are apparent at first.

S.


> The proxy's policy then enables a number of sites to use CONNECT and
> rejects the other ones. The user is then free to opt in for content
> inspection or reject it. There's no MITM here. The MITM is what is
> currently being done at many places without the user's consent.
> 
> Willy
> 
> 
> 


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 15:15:02 2012
Return-Path: <ietf-http-wg-request@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 6DA9711E810A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 15:15:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.345
X-Spam-Level: 
X-Spam-Status: No, score=-9.345 tagged_above=-999 required=5 tests=[AWL=1.254, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QYNey-zINAIM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 15:15:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8589D11E80F4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 15:15:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyVZN-0004EV-8Y for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 22:14:37 +0000
Resent-Date: Mon, 06 Aug 2012 22:14:37 +0000
Resent-Message-Id: <E1SyVZN-0004EV-8Y@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SyVZA-0004Bi-2k for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 22:14:24 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SyVZ9-0001EV-3w for ietf-http-wg@w3.org; Mon, 06 Aug 2012 22:14:24 +0000
Received: from [10.6.130.146] (unknown [50.56.228.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4AF3322E256; Mon,  6 Aug 2012 18:14:01 -0400 (EDT)
Content-Type: text/plain; charset=windows-1252
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <50204138.7090208@cs.tcd.ie>
Date: Mon, 6 Aug 2012 17:14:00 -0500
Cc: Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <11237AD8-5651-4325-9BE6-F94A2404AD6E@mnot.net>
References: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net> <20120806204327.GA7647@1wt.eu> <8CFB0582-52E8-4ACF-BD6E-24F773C4F5ED@mnot.net> <20120806211446.GB7647@1wt.eu> <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net> <20120806212359.GC7647@1wt.eu> <50203826.6070604@cs.tcd.ie> <20120806214106.GD7647@1wt.eu> <50204138.7090208@cs.tcd.ie>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
X-Mailer: Apple Mail (2.1485)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SyVZ9-0001EV-3w 742fb74f40ae2450a0d40888b30a4441
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/11237AD8-5651-4325-9BE6-F94A2404AD6E@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14991
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 06/08/2012, at 5:12 PM, Stephen Farrell <stephen.farrell@cs.tcd.ie> =
wrote:

>>    Proxy Connection for HTTPS :
>>        [ ] proxy may inspect contents fetched over HTTPS  (GET =
https://)
>>            except for those sites : _______________
>=20
> Does that whitelisting approach break TLS client auth and channel
> binding? I guess we'd need to see a draft to know but regardless of
> the fact that those are not very widely used, re-defining https
> like this in a way that breaks those features seems like a bad
> plan.
>=20
>>        [ ] proxy may not inspect contents fetched over HTTPS  =
(CONNECT)
>=20
> With what default? I'd bet there are many wrinkles here. What about
> use of SNI in TLS to select between hosts?
>=20
> Really, I think your proposal doesn't work out in the end. I also
> understand why you propose it, but suspect that like many such
> proposals there are many more problems than are apparent at first.

At first glance, it seems like HSTS would need to be extended to cover =
the new possibilities=85

Cheers,

--
Mark Nottingham
http://www.mnot.net/






From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 15:22:53 2012
Return-Path: <ietf-http-wg-request@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 283B011E80A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 15:22:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.726
X-Spam-Level: 
X-Spam-Status: No, score=-7.726 tagged_above=-999 required=5 tests=[AWL=2.873, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BvGj9DcCzTFV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 15:22:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2896711E80EC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 15:22:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyVgv-0002Js-66 for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 22:22:25 +0000
Resent-Date: Mon, 06 Aug 2012 22:22:25 +0000
Resent-Message-Id: <E1SyVgv-0002Js-66@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SyVgi-0002H5-TA for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 22:22:12 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SyVgg-0001gZ-6t for ietf-http-wg@w3.org; Mon, 06 Aug 2012 22:22:12 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.6 (Build 3449)) with SMTP id <0019179041@smtp.qbik.com>; Tue, 07 Aug 2012 10:21:46 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Willy Tarreau" <w@1wt.eu>, "Mark Nottingham" <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Mon, 06 Aug 2012 22:21:46 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <20120806211446.GB7647@1wt.eu>
Message-Id: <emb9d5f186-47ee-48b8-8e57-3b4eac3f6d78@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SyVgg-0001gZ-6t 3f8b972e7f5d9d52043306cdd61c0b27
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/emb9d5f186-47ee-48b8-8e57-3b4eac3f6d78@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14993
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>

------ Original Message ------
From: "Willy Tarreau" <w@1wt.eu>
>Same here :-)
>
>I believe Adrien de Croy has more experience in this area, would be nice=
 to
>have his opinion here.
>
>
I'm flattered, but actually don't have that much deployment experience=20
in MITM outside of the lab.

I'd be keen to hear from vendors of products that have a few years=20
experience with https inspection.

Adrien


>
>Regards,
>Willy
>
>
>
>



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 15:22:53 2012
Return-Path: <ietf-http-wg-request@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 C7B1F11E80BF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 15:22:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.086
X-Spam-Level: 
X-Spam-Status: No, score=-10.086 tagged_above=-999 required=5 tests=[AWL=0.512, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id raUdUSzWez95 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 15:22:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0162311E80DC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 15:22:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyVgn-0002I0-99 for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 22:22:17 +0000
Resent-Date: Mon, 06 Aug 2012 22:22:17 +0000
Resent-Message-Id: <E1SyVgn-0002I0-99@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SyVgW-0002Ew-0I for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 22:22:00 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SyVgV-0001g6-4P for ietf-http-wg@w3.org; Mon, 06 Aug 2012 22:21:59 +0000
Received: by vbbfq11 with SMTP id fq11so1141681vbb.2 for <ietf-http-wg@w3.org>; Mon, 06 Aug 2012 15:21:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=NJaMhjpr7TXPByc4CFp7PegCJlmU/JGhBtpUh8YgRPA=; b=TJWIvte9PkRKfdmkZdLQQHwlPyN5iknpGiZiraf8TSThdDxY17C65rLrrv9gTTwSQL RpFrwf8SrfSWZ/mcCeQFe0I7UtOuxWIGf2rLEY64qYeN6MHRgC23wAtvMKQCsoudXgUV VOrXYJEuLrzD2ani0frbUTALkjD8IivNd9DyEkl960zWsQmAGP3B4oZHgNW9cBm/jTF2 76wHRNO8Rn9xPft7g2uZqU8OrWKt5ojICcVFhjqYB622wRSfn8vmz/JJr9CC4fR6U3FM SAPL+Fn9EN55dTPrUAs/3L2n/ylpbTGHvMwMlu68alM/KdbdjkETW4uC2yXwCwIItf4T j1UQ==
MIME-Version: 1.0
Received: by 10.52.100.165 with SMTP id ez5mr8009825vdb.108.1344291693216; Mon, 06 Aug 2012 15:21:33 -0700 (PDT)
Received: by 10.58.221.97 with HTTP; Mon, 6 Aug 2012 15:21:33 -0700 (PDT)
In-Reply-To: <CAJ3HoZ1hTOvcddN8c1ttBTYJyjSxLgSvnBMXQECVLnCGuuCLpw@mail.gmail.com>
References: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net> <20120806204327.GA7647@1wt.eu> <8CFB0582-52E8-4ACF-BD6E-24F773C4F5ED@mnot.net> <20120806211446.GB7647@1wt.eu> <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net> <CAJ3HoZ1hTOvcddN8c1ttBTYJyjSxLgSvnBMXQECVLnCGuuCLpw@mail.gmail.com>
Date: Mon, 6 Aug 2012 15:21:33 -0700
Message-ID: <CAAPAK-4VEfthVWMYLr=mC9X4YR3Bd6C4RKgdoNFO8vxctbAaVg@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: Robert Collins <robertc@squid-cache.org>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf3063dc03d9449804c6a04c02
Received-SPF: pass client-ip=209.85.212.43; envelope-from=dzonatas@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SyVgV-0001g6-4P c848ac7d0ff2931f0482e199eaba4f3a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/CAAPAK-4VEfthVWMYLr=mC9X4YR3Bd6C4RKgdoNFO8vxctbAaVg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14992
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>

--20cf3063dc03d9449804c6a04c02
Content-Type: text/plain; charset=ISO-8859-1

It did not make sense there when HTTPS is treated as the URN instead of the
URI, but it did make sense if direct use of the URI indicates no proxy,
end-to-end.

On Monday, August 6, 2012, Robert Collins wrote:

> On Tue, Aug 7, 2012 at 9:16 AM, Mark Nottingham <mnot@mnot.net<javascript:;>>
> wrote:
> > It's a really big logical leap from the existence of an attack to
> changing the fundamental semantics of the URI scheme. And, that's what a
> MITM proxy is -- it's not legitimate, it's not a recognised role, it's an
> attack. We shouldn't legitimise it.
>
> It is however massively widespread. Its not 'attack' in the sense of
> 'well, someone /might do this/', its an attack in the sense of 'well I
> get my IP address at work via DHCP'.
>
> -Rob
>
>

--20cf3063dc03d9449804c6a04c02
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>It did not make sense there when HTTPS is treated as the URN instead o=
f the URI, but it did make sense if direct use of the URI indicates no prox=
y, end-to-end.</div><div><br></div><div>On Monday, August 6, 2012, Robert C=
ollins  wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">On Tue, Aug 7, 2012 at 9:16 AM, Mark Notting=
ham &lt;<a href=3D"javascript:;" onclick=3D"_e(event, &#39;cvml&#39;, &#39;=
mnot@mnot.net&#39;)">mnot@mnot.net</a>&gt; wrote:<br>

&gt; It&#39;s a really big logical leap from the existence of an attack to =
changing the fundamental semantics of the URI scheme. And, that&#39;s what =
a MITM proxy is -- it&#39;s not legitimate, it&#39;s not a recognised role,=
 it&#39;s an attack. We shouldn&#39;t legitimise it.<br>

<br>
It is however massively widespread. Its not &#39;attack&#39; in the sense o=
f<br>
&#39;well, someone /might do this/&#39;, its an attack in the sense of &#39=
;well I<br>
get my IP address at work via DHCP&#39;.<br>
<br>
-Rob<br>
<br>
</blockquote></div>

--20cf3063dc03d9449804c6a04c02--


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 15:29:49 2012
Return-Path: <ietf-http-wg-request@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 AABFF11E80A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 15:29:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.337
X-Spam-Level: 
X-Spam-Status: No, score=-8.337 tagged_above=-999 required=5 tests=[AWL=-1.216, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8, SARE_OBFU_AMP2B=2.555]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UkCFYchYk87Z for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 15:29:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CDC1011E809A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 15:29:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyVnQ-00049t-Jz for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 22:29:08 +0000
Resent-Date: Mon, 06 Aug 2012 22:29:08 +0000
Resent-Message-Id: <E1SyVnQ-00049t-Jz@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <willchan@google.com>) id 1SyVmv-00048r-IL for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 22:28:37 +0000
Received: from mail-qa0-f50.google.com ([209.85.216.50]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1SyVmu-0001uN-E2 for ietf-http-wg@w3.org; Mon, 06 Aug 2012 22:28:37 +0000
Received: by qatp27 with SMTP id p27so1542626qat.2 for <ietf-http-wg@w3.org>; Mon, 06 Aug 2012 15:28:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record; bh=SwzCbrH8qhBMKQlSMWjegXjifF1JqRLKe9RU1YJOMyY=; b=MRwakuTDOQ8mMQ3Ovbqz3Zvo2amN319DG7anTposuwrPF55+Wr/e1vHWPj94Joo9S4 DFUWN2a9iAraB5eskRqJsGUp47ObZYR029cr/ZJPyu0+aMiJLo74T29Gg4TQI3Rb190F 7WmJ5bVN+IkPCfCryBMUF0cS/MY9f5xWyDhrvoNCJbkeme0P+quEcvM37fQT6+i0x4Ut 0vF+YQ5adnu5SkHSkDiGlhto+1DjmMx9hscxUJpcFQzXCMhaZK5AzAhr3PlYa9X5pzsO VhzOI+p47WLSxwdPC4+VNHo1vFDU2PKAFhF7p0P9OUz7yhBAOqzTawejzX22HTaikCZb Cw4A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record:x-gm-message-state; bh=SwzCbrH8qhBMKQlSMWjegXjifF1JqRLKe9RU1YJOMyY=; b=Yo8eGLK61p9pKnj1o2Ld8b0XPbb2ZrqfhID4A6+RS/wBfzH89WbwYkUc1NWzC1tKJr RWBsr+jVtkTDgRcQGOPOLY8yjmmR26ap0YiSBCiuz4imPDBB5INJbdSJ/FkHS9c8UYs+ J+nH9wCBgNlB/hf4BxK5iRmTWAddxEU+M6nLdRD0+lC5BW/xBZ4Y/PsSVQWQJefDGtnd VU/ThDfZSHI5rSxJy2K/7zE34Dcxknp7fUkWJ84AYaFcp6Q7naHZZr7beX52SsThmKKK F7AD7ImuVfK8ks1qclDJYUuIjo37Qz+f+5qMGuir9oBhIFs2moWpzGSn0ogwuwxMZ5Ll Gw3Q==
Received: by 10.224.194.1 with SMTP id dw1mr20616150qab.27.1344292090431; Mon, 06 Aug 2012 15:28:10 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.224.194.1 with SMTP id dw1mr20616133qab.27.1344292090294; Mon, 06 Aug 2012 15:28:10 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.191.133 with HTTP; Mon, 6 Aug 2012 15:28:10 -0700 (PDT)
In-Reply-To: <50203826.6070604@cs.tcd.ie>
References: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net> <20120806204327.GA7647@1wt.eu> <8CFB0582-52E8-4ACF-BD6E-24F773C4F5ED@mnot.net> <20120806211446.GB7647@1wt.eu> <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net> <20120806212359.GC7647@1wt.eu> <50203826.6070604@cs.tcd.ie>
Date: Mon, 6 Aug 2012 15:28:10 -0700
X-Google-Sender-Auth: VrfgQl7-FuvdY4q-7VGjWf9OsBc
Message-ID: <CAA4WUYjt9NTcqkasvR7xY9csyUa_Wbqk+jWxO40ykmLZ-SGuWw@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Cc: Willy Tarreau <w@1wt.eu>, Mark Nottingham <mnot@mnot.net>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf3005deda84311904c6a064f9
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQk41HezNO6t2HQbNUWgIjiYQOKGj156zYK8a7N2Dv95FFxI5gEPzFGwuKHJBbHILqMUw9EOSPnFD9Jl6/mYkDd5mL9wwxc+vj2i9pG7/D8KnGYkvLcyFuHygY2wjggov6al14RO3GcxAyS7NP+abrNRyI11fcTzbwMVQXXT2gPGMdPIrlXJFFx4YF70xSnhmcLowRpO
Received-SPF: pass client-ip=209.85.216.50; envelope-from=willchan@google.com; helo=mail-qa0-f50.google.com
X-W3C-Hub-Spam-Status: No, score=2.8
X-W3C-Hub-Spam-Report: BAYES_99=3.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SyVmu-0001uN-E2 b40a3478b9ce7005165e3579e3849638
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/CAA4WUYjt9NTcqkasvR7xY9csyUa_Wbqk+jWxO40ykmLZ-SGuWw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14994
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>

--20cf3005deda84311904c6a064f9
Content-Type: text/plain; charset=ISO-8859-1

+1

On Monday, August 6, 2012, Stephen Farrell wrote:

>
> FWIW, I strongly agree with Mark on this. I'm sure that the
> other SEC AD agrees too, and reckon that the SEC area as a
> whole would also agree, but we can ask if that becomes useful.
> A bit more below.
>
> On 08/06/2012 10:23 PM, Willy Tarreau wrote:
> > On Mon, Aug 06, 2012 at 04:16:48PM -0500, Mark Nottingham wrote:
> >>
> >> On 06/08/2012, at 4:14 PM, Willy Tarreau <w@1wt.eu <javascript:;>>
> wrote:
> >>
> >>>> Right. That's a big change from the semantics of HTTPS today, though;
> right
> >>>> now, when I see that, I know that I have end-to-end TLS.
> >>>
> >>> No, you *believe* you do, you really don't know. That's clearly the
> problem
> >>> with the way it works, man-in-the middle proxies are still able to
> intercept
> >>> it and to forge certs they sign with their own CA and you have no way
> to know
> >>> if your communications are snooped or not.
> >>
> >> It's a really big logical leap from the existence of an attack to
> changing
> >> the fundamental semantics of the URI scheme. And, that's what a MITM
> proxy is
> >> -- it's not legitimate, it's not a recognised role, it's an attack. We
> >> shouldn't legitimise it.
> >
> > That's clearly what I'm suggesting : offer a clean way to have a proxy
> inspect
> > contents with the users' consent in the browser policy (using GET
> https://) or
> > ask for a tunnel to be established, assuming it should be end-to-end.
> There
> > will be no more solution than today to detect there's an MITM, but at
> least
> > there will be far less incentive for product authors to do that if it's
> only
> > for a handful of trustable websites.
> >
> > At the moment the state of affairs has created MITM proxies and we'd
> better
> > get rid of them by offering a solution to the problem they try to solve.
>
> The tls WG was offered that option again last week and rejected it
> again. If the httpbis WG want to standardise some kind of mitm without
> changing TLS then that seems to re-define https to me at least.
>
> Even though mitm hacks exist and people pay for them, the IETF has
> actively and repeatedly refused to standardise that behaviour.
>
> Cheers,
> S.
>
>
>
> >
> > Willy
> >
> >
> >
> >
>
>

--20cf3005deda84311904c6a064f9
Content-Type: text/html; charset=ISO-8859-1

+1<span></span><br><br>On Monday, August 6, 2012, Stephen Farrell  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
FWIW, I strongly agree with Mark on this. I&#39;m sure that the<br>
other SEC AD agrees too, and reckon that the SEC area as a<br>
whole would also agree, but we can ask if that becomes useful.<br>
A bit more below.<br>
<br>
On 08/06/2012 10:23 PM, Willy Tarreau wrote:<br>
&gt; On Mon, Aug 06, 2012 at 04:16:48PM -0500, Mark Nottingham wrote:<br>
&gt;&gt;<br>
&gt;&gt; On 06/08/2012, at 4:14 PM, Willy Tarreau &lt;<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;w@1wt.eu&#39;)">w@1wt.eu</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt;&gt; Right. That&#39;s a big change from the semantics of HTTPS today, though; right<br>
&gt;&gt;&gt;&gt; now, when I see that, I know that I have end-to-end TLS.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; No, you *believe* you do, you really don&#39;t know. That&#39;s clearly the problem<br>
&gt;&gt;&gt; with the way it works, man-in-the middle proxies are still able to intercept<br>
&gt;&gt;&gt; it and to forge certs they sign with their own CA and you have no way to know<br>
&gt;&gt;&gt; if your communications are snooped or not.<br>
&gt;&gt;<br>
&gt;&gt; It&#39;s a really big logical leap from the existence of an attack to changing<br>
&gt;&gt; the fundamental semantics of the URI scheme. And, that&#39;s what a MITM proxy is<br>
&gt;&gt; -- it&#39;s not legitimate, it&#39;s not a recognised role, it&#39;s an attack. We<br>
&gt;&gt; shouldn&#39;t legitimise it.<br>
&gt;<br>
&gt; That&#39;s clearly what I&#39;m suggesting : offer a clean way to have a proxy inspect<br>
&gt; contents with the users&#39; consent in the browser policy (using GET https://) or<br>
&gt; ask for a tunnel to be established, assuming it should be end-to-end. There<br>
&gt; will be no more solution than today to detect there&#39;s an MITM, but at least<br>
&gt; there will be far less incentive for product authors to do that if it&#39;s only<br>
&gt; for a handful of trustable websites.<br>
&gt;<br>
&gt; At the moment the state of affairs has created MITM proxies and we&#39;d better<br>
&gt; get rid of them by offering a solution to the problem they try to solve.<br>
<br>
The tls WG was offered that option again last week and rejected it<br>
again. If the httpbis WG want to standardise some kind of mitm without<br>
changing TLS then that seems to re-define https to me at least.<br>
<br>
Even though mitm hacks exist and people pay for them, the IETF has<br>
actively and repeatedly refused to standardise that behaviour.<br>
<br>
Cheers,<br>
S.<br>
<br>
<br>
<br>
&gt;<br>
&gt; Willy<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
</blockquote>

--20cf3005deda84311904c6a064f9--


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 15:40:48 2012
Return-Path: <ietf-http-wg-request@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 C22B111E80D9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 15:40:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.769
X-Spam-Level: 
X-Spam-Status: No, score=-7.769 tagged_above=-999 required=5 tests=[AWL=2.830, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yfhTMqJJu6pP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 15:40:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1894011E808A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 15:40:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyVxp-0001IG-Dt for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 22:39:53 +0000
Resent-Date: Mon, 06 Aug 2012 22:39:53 +0000
Resent-Message-Id: <E1SyVxp-0001IG-Dt@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SyVxV-0001GZ-Ka for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 22:39:33 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SyVxU-00029i-1h for ietf-http-wg@w3.org; Mon, 06 Aug 2012 22:39:33 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.6 (Build 3449)) with SMTP id <0019179071@smtp.qbik.com>; Tue, 07 Aug 2012 10:39:09 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Mark Nottingham" <mnot@mnot.net>, "Willy Tarreau" <w@1wt.eu>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Mon, 06 Aug 2012 22:39:09 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net>
Message-Id: <em41c9c24e-0dfd-4d37-822b-96bfe2fb7ebb@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SyVxU-00029i-1h 14aa8339a7ac2f36eeee804169e78a72
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/em41c9c24e-0dfd-4d37-822b-96bfe2fb7ebb@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14995
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>

I think we need to be clear what we are doing when we apply logic such=20
as

1. TLS / HTTPS was not designed for inspection
2. therefore any inspection is a hack
3. therefore we should not allow/sanitise it

One could argue that 1. was a design failure (failure to cover all=20
requirements), and that it should just be fixed. =20

One could also argue that hacks have as much right to be accepted as=20
anything else.  They exist for a purpose.

The real world REQUIRES inspection capability, for various reasons.

We can either ignore that requirement, and carry on with our arms race,=20
or come to some mutual agreement on how to deal with the very real and=20
in many (if not most) cases entirely legitimate requirement.

At the moment, it's starting to look uglier and uglier.  Major sites=20
such as FB / Google move to TLS (maybe just to reduce blockage at=20
corporate firewalls?).

I can't count how many customers ask me a week how to block https sites=20
esp FB, gmail, youtube and twitter.  It's pointless arguing whether=20
someone should do this or not, we don't pay for their staff down-time.

So we have MITM code in the lab.  Many others have deployed already.

Next step if a site wants to do something about that is maybe start to=20
use client certificates. =20

Anyone here from the TLS WG able to comment on whether there are plans=20
to combat MITM in this respect?  It's interesting to see the comment=20
about recent TLS WG rejection of support for inspection.

At the end of the day, the requirement is not going away, and it's only=20
my opinion, but I think we'd get something that=20

a) works a lot better (more reliably)
b) better reflects reality and allows users to make informed choices

if we actually accepted the reality of this requirement and designed=20
for it.  IMO b actually results in more security. =20

As for the issue of trust, this results in a requirement to trust the=20
proxy.  We don't have a system that does not require any trust in any=20
party.  We trust the bank with our money, we trust the CA to properly=20
issue certificates and to ensure safe keeping of their private keys. =20
Most people IME are quite happy to have their web surfing scanned for=20
viruses.  I don't see a problem with some real estate on a browser=20
showing that they are required to trust the proxy they are using, or=20
don't go to the site.=20

Otherwise you have to inspect the certificate of every secure and=20
sensitive site you go to in order to check if it's signed by who you=20
expect (e.g. a CA instead of your proxy).  It's completely unrealistic=20
to expect users to do that, and history has shown that educating=20
end-users about the finer points of security is not easily done.


Adrien


------ Original Message ------
From: "Mark Nottingham" <mnot@mnot.net>
To: "Willy Tarreau" <w@1wt.eu>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Sent: 7/08/2012 9:16:48 a.m.
Subject: Re: Semantics of HTTPS
>On 06/08/2012, at 4:14 PM, Willy Tarreau <w@1wt.eu> wrote:
>
>
>>>
>>>Right. That's a big change from the semantics of HTTPS today, though;=
 right
>>>now, when I see that, I know that I have end-to-end TLS.
>>>
>>
>>
>>No, you *believe* you do, you really don't know. That's clearly the probl=
em
>>with the way it works, man-in-the middle proxies are still able to interc=
ept
>>it and to forge certs they sign with their own CA and you have no way =
to know
>>if your communications are snooped or not.
>>
>
>
>It's a really big logical leap from the existence of an attack to changing=
 the fundamental semantics of the URI scheme. And, that's what a MITM proxy=
 is -- it's not legitimate, it's not a recognised role, it's an attack. =
We shouldn't legitimise it.
>
>Cheers,
>
>--
>Mark Nottingham
>http://www.mnot.net/
>
>
>
>
>
>
>



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 16:09:15 2012
Return-Path: <ietf-http-wg-request@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 B830521F8670 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 16:09:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.734
X-Spam-Level: 
X-Spam-Status: No, score=-9.734 tagged_above=-999 required=5 tests=[AWL=0.242, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M6KLGy3Mo3tk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 16:09:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 972E921F865F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 16:09:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyWP3-0004Yf-Vc for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 23:08:01 +0000
Resent-Date: Mon, 06 Aug 2012 23:08:01 +0000
Resent-Message-Id: <E1SyWP3-0004Yf-Vc@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SyWOq-0004Xs-O0 for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 23:07:48 +0000
Received: from mail-lpp01m010-f43.google.com ([209.85.215.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SyWOp-0002lM-7x for ietf-http-wg@w3.org; Mon, 06 Aug 2012 23:07:48 +0000
Received: by lagk11 with SMTP id k11so586901lag.2 for <ietf-http-wg@w3.org>; Mon, 06 Aug 2012 16:07:20 -0700 (PDT)
X-Google-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:x-gm-message-state; bh=u8+P7mRfhRYjtHbFfZpV/5hTo7Tb30De9y1/F1uyZ0U=; b=PaDcqUQJaIN4RJk4Ms1lOgRDOcsUfIdezf9GZIJsU3qFhwMtiAd2ivKLLHGBUGuG8u R801hTrTlNdC4lxQFg0jCVc6Y78Sh5m8G+/QXU9cePPQm4Dn3rQmkxSmHckMEWeU1qRP fICBAGx55YyxSV1xGAERadSDswYRH4gh1KclW2fmwS1AbdrJPul5gHRB3BWSJN5CkuWL 1R6QMluA/7asIyh4V0Iq385Gx5bjYpF/wVI4kDyb3qD6nk2YwXpM2Nd3lrvUB74ZPmYC VnliFEPqNstCw3EG5tJeo+pMjfjQ9BiCf/NeDBNgPM2vcPFukdILJvYMFBJ+4hOK+BbV 8lig==
MIME-Version: 1.0
Received: by 10.152.127.98 with SMTP id nf2mr12517775lab.4.1344294440142; Mon, 06 Aug 2012 16:07:20 -0700 (PDT)
Received: by 10.112.77.33 with HTTP; Mon, 6 Aug 2012 16:07:20 -0700 (PDT)
In-Reply-To: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net>
References: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net>
Date: Mon, 6 Aug 2012 16:07:20 -0700
Message-ID: <CABaLYCvcepmX0=zYp_GBXG9NzKG_PLEq5X_AUgC+gs3rwtevmg@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d042d05aa9405fa04c6a0f09f
X-Gm-Message-State: ALoCoQkuDhpZQqaJOZGGZLdbq2A9Ba9IhTs3eDBmpFe30RnGU9LyxHwUmL6xga72zj4KezOeAJ/a
Received-SPF: none client-ip=209.85.215.43; envelope-from=mike@belshe.com; helo=mail-lpp01m010-f43.google.com
X-W3C-Hub-Spam-Status: No, score=0.1
X-W3C-Hub-Spam-Report: BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SyWOp-0002lM-7x cfe0b940b9011399f851c47bcd62c6c4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/CABaLYCvcepmX0=zYp_GBXG9NzKG_PLEq5X_AUgC+gs3rwtevmg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14996
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>

--f46d042d05aa9405fa04c6a0f09f
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Aug 6, 2012 at 1:32 PM, Mark Nottingham <mnot@mnot.net> wrote:

> <
> https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p1-messaging.html#https.uri>
> is slated to define the semantics of HTTPS urls.
>
> We currently talk about HTTPS' impact on caches and identity there, but we
> don't mention one other major effect on HTTP -- the use of CONNECT to
> proxies.
>
> I think we need to define HTTPS as having a semantic of *end-to-end* use
> of SSL/TLS, and therefore CONNECT to proxies.
>

+1.  I don't think we can take away https' end-to-end properties
retroactively.

Mike


>
> Make sense?
>
> --
> Mark Nottingham
> http://www.mnot.net/
>
>
>
>
>
>

--f46d042d05aa9405fa04c6a0f09f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Mon, Aug 6, 2012 at 1:32 PM, Mark Not=
tingham <span dir=3D"ltr">&lt;<a href=3D"mailto:mnot@mnot.net" target=3D"_b=
lank">mnot@mnot.net</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
>
&lt;<a href=3D"https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis=
/latest/p1-messaging.html#https.uri" target=3D"_blank">https://svn.tools.ie=
tf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p1-messaging.html#https.uri=
</a>&gt; is slated to define the semantics of HTTPS urls.<br>

<br>
We currently talk about HTTPS&#39; impact on caches and identity there, but=
 we don&#39;t mention one other major effect on HTTP -- the use of CONNECT =
to proxies.<br>
<br>
I think we need to define HTTPS as having a semantic of *end-to-end* use of=
 SSL/TLS, and therefore CONNECT to proxies.<br></blockquote><div><br></div>=
<div>+1. =A0I don&#39;t think we can take away https&#39; end-to-end proper=
ties retroactively.</div>
<div><br></div><div>Mike</div><div>=A0</div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Make sense?<br>
<br>
--<br>
Mark Nottingham<br>
<a href=3D"http://www.mnot.net/" target=3D"_blank">http://www.mnot.net/</a>=
<br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div><br>

--f46d042d05aa9405fa04c6a0f09f--


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 16:09:46 2012
Return-Path: <ietf-http-wg-request@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 C5E6021F8669 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 16:09:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.217
X-Spam-Level: 
X-Spam-Status: No, score=-10.217 tagged_above=-999 required=5 tests=[AWL=0.382, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e+XM9xOS75E3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 16:09:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CABA621F8666 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 16:09:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyWQH-0004ne-32 for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 23:09:17 +0000
Resent-Date: Mon, 06 Aug 2012 23:09:17 +0000
Resent-Message-Id: <E1SyWQH-0004ne-32@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SyWQ4-0004jS-16 for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 23:09:04 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SyWQ1-00034B-VY for ietf-http-wg@w3.org; Mon, 06 Aug 2012 23:09:03 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 23911E70EF; Tue,  7 Aug 2012 11:08:36 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Date: Tue, 07 Aug 2012 11:08:35 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <CAP+FsNcDneyd8aRnr8+Ex5ftWdTXGhFV4Zq8ZoA+5LrJGjVnOg@mail.gmail.com>
References: <78618.1343896055@critter.freebsd.dk> <501BA782.9030708@it.aoyama.ac.jp> <CAAPAK-5uO7imx-ynVU1K-RPpv0CvCDU-kd18hFgRYgXJn-WrMA@mail.gmail.com> <CABaLYCtGGQpO=APxQQA2RzZ5w5uB+umYGnz50cZffes9KoSTng@mail.gmail.com> <CABP7RbezEoeT2xiUjXMh5Bat-qKX1xB8ELQRHa7ZqX_5MrujGg@mail.gmail.com> <CAP+FsNf4Qr4J=ZsGhfTathCDQLKZvujU=pFaFQYYDgk8dm++jQ@mail.gmail.com> <501F705F.7020107@it.aoyama.ac.jp> <CAP+FsNcDneyd8aRnr8+Ex5ftWdTXGhFV4Zq8ZoA+5LrJGjVnOg@mail.gmail.com>
Message-ID: <ab966b02aa8c08a3c53bc55457b7f64d@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_FILL_THIS_FORM_SHORT=0.01
X-W3C-Scan-Sig: lisa.w3.org 1SyWQ1-00034B-VY 416eccb48b47cd1361e6033e41a05f98
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/ab966b02aa8c08a3c53bc55457b7f64d@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14997
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 07.08.2012 04:28, Roberto Peon wrote:
> On Aug 6, 2012 12:21 AM, Martin J. Dürst wrote:
>>
>> On 2012/08/04 2:33, Roberto Peon wrote:
>>>
>>> I'm biased against utf-8, because it is trivial at the application 
>>> layer
> to
>>> write a function which encodes and/or decodes it.
>>
>>
>> It's maybe trivial to write such functions once, but it's a total 
>> waste
> of time to write them over and over.
>
> But they don't... it is almost always a single function call where 
> the
> function is provided to them.
>
>>
>>
>>> I see that handling utf-8 adds complexity
>>
>>
>> What complexity?
>
> Reencoding to ASCII for http/1.1, checking that all the characters 
> are
> actually displayable, parsing the dang strings in the cases where it 
> does
> wish to encode a multi byte character.
>
> I don't see why proxies should have to do this. I don't care, 
> however, so
> long as a distinction is made for opaque (user set) headers, at which 
> point
> you could use an xor encoding for all I care.
>>
>>
>>> to the protocol but buys the
>>> protocol nothing.
>>
>>
>> It doesn't buy the protocol itself much. But it buys the users of 
>> the
> protocol a lot.
>
> Which users? I'm having a hard time imagining why metadata has to be 
> utf-8.
>

names: File names, user names, country names, domain names, protocol 
names, User-Agent: names, Server: names, Accept-* names, type names ... 
metadata is chock full of names when you start looking at it closely. 
And "for some strange reason" people around the world insist on being 
able to send/receive them in different languages and non-American 
spellings nowdays.


>>
>>> It adds minimal advantage for the entities using the
>>> protocol, and makes intermediaries lives more difficult since 
>>> they'll
> have
>>> to do more verification.
>>>
>>> Saying that the protocol handles sending a length-delimited string 
>>> or a
>>> string guaranteed not to include '\n' would be fine, however, as at 
>>> that
>>> point whatever encoding is used in any particular header value is 
>>> matter
> of
>>> the client-app and server, as it should be for things that the 
>>> protocol
>>> doesn't need to know about.
>>
>>
>> No, it is not fine. First, for most headers, interoperability should 
>> be
> between all clients and all servers.
>
> The person who wrote the application also controls the server. They 
> will
> interpret the byte stream how they see fit.
> It is the other parties to the exchange that won't-- forward and 
> reverse
> proxies, for instance.
>

+1000.

>> Second, it is absolutely no fun for client apps developers to solve 
>> the
> same character encoding problem again and again. It's just useless 
> work,
> prone to errors.
>
> No disagreement there. Am I wrong about such functions already being
> provided to such client app writers?
>

They are. But the problem I imagine Martin is speaking of is also 
present at that same abstract level. App developers remembering 
over-and-over whether it was serialize before X-encode, then Y-encode, 
or X-encode, de-serialize, Y-encode on the sending handler or receiving 
handler - for which header the data is being appended. Its work to 
remember, its work to lookup, its work to even remember where to lookup.

  In the popular dynamic content frameworks these decisions and 
orderings have to be done by hand in almost every page generator script. 
It is tiring and mistake prone - I just spent most of yesterday 
debugging why one graph out of a whole set would not display - due to 
serlialize data being passed to url-decode first (result being empty 
dataset), encodings only used because the header cant contain a raw 
semi-colon or comma.

Removing the need for developers to do the encoding at all would be a 
great thing. Partially this is a framework problem, partially a protocol 
one. The frameworks allow developers to write custom headers directly 
into the protocol - including customization of the standard headers. I 
don't see that changing. However,...

  For 2.0 they will have to be providing a translation layer in the app 
either changing familiar HTTP/1.1 labels to 2.0 binary ones or providing 
a better header API which enables the framework to take up the encoding 
workload a lot easier. That opens the door to UTF-8 in a safe way.


>> If you got told today that the host header can be in ASCII or 
>> EBCDIC,
> it's just between your client and your server, what would you say?
>
> I'd say to ignore EBCDIC in more colorful words :)

Then your coding partner decides to use *one* header which offers only 
EBCDIC vs UTF-8... insert identical colour full words here.

AYJ

> -=R
>
>>
>> Regards,    Martin.



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 16:19:32 2012
Return-Path: <ietf-http-wg-request@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 3E44011E80E0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 16:19:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.812
X-Spam-Level: 
X-Spam-Status: No, score=-7.812 tagged_above=-999 required=5 tests=[AWL=2.787, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6W80WDG-F4Go for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 16:19:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 736DF11E80A5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 16:19:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyWZd-0002fK-1W for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 23:18:57 +0000
Resent-Date: Mon, 06 Aug 2012 23:18:57 +0000
Resent-Message-Id: <E1SyWZd-0002fK-1W@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SyWZQ-0002e6-HJ for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 23:18:44 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SyWZP-00032J-1Q for ietf-http-wg@w3.org; Mon, 06 Aug 2012 23:18:44 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.6 (Build 3449)) with SMTP id <0019179122@smtp.qbik.com>; Tue, 07 Aug 2012 11:18:21 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Karl Dubost" <karld@opera.com>, "Willy Tarreau" <w@1wt.eu>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Mon, 06 Aug 2012 23:18:20 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <C47944B8-9E7E-48EC-972A-0D8926EF1CF3@opera.com>
Message-Id: <em801c6840-5fa1-4ed4-b1b8-03ca3d471971@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SyWZP-00032J-1Q 7d335c640eab169bb042589ad6eca929
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/em801c6840-5fa1-4ed4-b1b8-03ca3d471971@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14998
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>

------ Original Message ------
From: "Karl Dubost" <karld@opera.com>
>Le 6 ao=C3=BBt 2012 =C3=A0 17:41, Willy Tarreau a =C3=A9crit :
>
>>
>>I'm not advocating MITM, quite the opposite : I'm advocating valid use=
 of proxies via opt-in to put an end to MITM.
>>
>
>
>* I can understand the why for proposing a validation of this usage.
>
>* I can also see why many businesses will start to propose this as the =
default feature for users without a real choice for them.
>
>
>There are plenty of EULA already that users sign-up without reading becaus=
e the =C2=AB power =C2=BB is on the side of the service. I'm not sure it=
 is a good idea to push further in that direction without proposing a real=
 secure end to end mechanism in the platform.
>

I'm not convinced that what is proposed alters the balance of power at=20
all.

At the moment, the proxy/firewall operator continues to have all the=20
power.  They can block whatever they like.

What we are proposing actually allows the firewall operator to permit=20
additional usage of the client, because it can be validated / scanned /=20
whatever.  Otherwise it is blocked.

The user still has the choice whether they will be prepared to do=20
personal banking at work on work hardware and work internet resources=20
or not.

All UA vendors need to do is make sure it's clear to the user what's=20
going on.

Adrien


>
>
>
>--
>Karl Dubost - http://dev.opera.com/
>Developer Relations, Opera Software
>
>
>
>



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 16:19:40 2012
Return-Path: <ietf-http-wg-request@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 0EE3811E80E0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 16:19:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.119
X-Spam-Level: 
X-Spam-Status: No, score=-8.119 tagged_above=-999 required=5 tests=[AWL=2.480, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tpHGD2Wr4lkW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 16:19:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AAEF411E80A5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 16:19:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyWZr-0002fl-6y for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 23:19:11 +0000
Resent-Date: Mon, 06 Aug 2012 23:19:11 +0000
Resent-Message-Id: <E1SyWZr-0002fl-6y@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SyWZU-0002eL-CV for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 23:18:48 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SyWZS-00032O-Kg for ietf-http-wg@w3.org; Mon, 06 Aug 2012 23:18:48 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id 3606915394B; Tue,  7 Aug 2012 00:18:25 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1344295104; bh=JTzMhEYppzUYZ5 nDuUPgK7XyppgoWcVVQsEy45r04rQ=; b=Ylhp2MsUGqoSx/zSTROS/6LNWfB+wu G2koS9SvQaexnQkzXfU/VxJVGQBeQ25EfVKDBgBAhTzXzP+YyrL07/YZLkqT6IId CPTq/afn0wQV3qTrtPxglAxruw9oA2+c2lwbsPeCrIel1zjgYJFyEOVmMySofiKR 1qOpvG6J61cuhJY2Om+2mrVcL4kyThkiwp1VM0q5fIT5FVRUsDD9BhCaj/jbuagO Ge+L8z0Qhi+6nWlLzEENfzvhTocXsyl2Kko9G/yAvNE17uIB91l0ov0HKU5nkytm r4y/uZ1/6sr6k5DKe2gJhhheiO1LMpMK+opBh6Q/27P2FrPFHRv+2T1g==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id M2l92R0YBSga; Tue,  7 Aug 2012 00:18:24 +0100 (IST)
Received: from [10.87.48.8] (unknown [86.41.15.219]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id 2056F1717A6; Tue,  7 Aug 2012 00:18:21 +0100 (IST)
Message-ID: <502050BC.2020701@cs.tcd.ie>
Date: Tue, 07 Aug 2012 00:18:20 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0
MIME-Version: 1.0
To: "Adrien W. de Croy" <adrien@qbik.com>
CC: Mark Nottingham <mnot@mnot.net>, Willy Tarreau <w@1wt.eu>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <em41c9c24e-0dfd-4d37-822b-96bfe2fb7ebb@bombed>
In-Reply-To: <em41c9c24e-0dfd-4d37-822b-96bfe2fb7ebb@bombed>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-1.6
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SyWZS-00032O-Kg 5753e4d0690622b8cb583f8a53187297
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/502050BC.2020701@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/14999
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>

Hiya,

Some points below on what is a tricky issue but one where I think
the status quo is better than the offered alternatives.

On 08/06/2012 11:39 PM, Adrien W. de Croy wrote:
> 
> I think we need to be clear what we are doing when we apply logic such as
> 
> 1. TLS / HTTPS was not designed for inspection
> 2. therefore any inspection is a hack
> 3. therefore we should not allow/sanitise it
> 
> One could argue that 1. was a design failure (failure to cover all
> requirements), and that it should just be fixed. 
> One could also argue that hacks have as much right to be accepted as
> anything else.  They exist for a purpose.

Yep. To break e2e security. But that's not a very defensible
purpose in an organisation (the IETF) where the e2e argument is
taken seriously.

> The real world REQUIRES inspection capability, for various reasons.

The real world also REQUIRES lawful intercept. But we (the IETF)
don't do that, and we're right I think. (That is, I agree with
our consensus position.)

I'd encourage folks who care about this to go look back at the raven
list arguments (if you've plenty of time;-) [1] I personally think
that was the IETF at its best - deciding a technical position on
a technical basis even in the face of non-trivial political and
commercial pressure.

   [1] http://www.ietf.org/mail-archive/web/raven/current/maillist.html

(I hope folks don't try score points by selective quoting from that
archive - pretty much all opinions are represented there as I recall;-)

> We can either ignore that requirement, and carry on with our arms race,
> or come to some mutual agreement on how to deal with the very real and
> in many (if not most) cases entirely legitimate requirement.
> 
> At the moment, it's starting to look uglier and uglier.  Major sites
> such as FB / Google move to TLS (maybe just to reduce blockage at
> corporate firewalls?).
> 
> I can't count how many customers ask me a week how to block https sites
> esp FB, gmail, youtube and twitter.  It's pointless arguing whether
> someone should do this or not, we don't pay for their staff down-time.
> 
> So we have MITM code in the lab.  Many others have deployed already.

Well just block those sites if you must. I don't see why inspection
is somehow better. I do see that some people might think inspection
is better, but if that's a falsehood then no conclusion can be drawn.
(False => anything, logically.) Evidence of the effectiveness of
MITM inspection (vs. endpoint mechanisms) would be good, but seems
to be missing.

> Next step if a site wants to do something about that is maybe start to
> use client certificates. 
> Anyone here from the TLS WG able to comment on whether there are plans
> to combat MITM in this respect?  

I don't get the question. TLS is designed to combat MITM with or
without client certs. That's a fundamental requirement for TLS.

> It's interesting to see the comment
> about recent TLS WG rejection of support for inspection.

Recent and repeated. I think this is maybe the 3rd time.

> At the end of the day, the requirement is not going away, and it's only
> my opinion, but I think we'd get something that
> a) works a lot better (more reliably)
> b) better reflects reality and allows users to make informed choices

Feel free to propose a specification that meets your proposed
requirements. That is hard-to-impossible IMO.

> if we actually accepted the reality of this requirement and designed for
> it.  IMO b actually results in more security. 
> As for the issue of trust, this results in a requirement to trust the
> proxy. 

You left out an important thing: it requires sites (e.g. a bank)
to trust proxies the site has never heard of with the site's
customer data, e.g. payment information.

Do we really want to engineer the web so as to allow a company
proxy to prevent payments to the company's favourite bad cause?
That's what's being enabled here. Its a bad plan.

It might be tractable to figure how to get a user to trust her
employer's proxy for some things, but that's just nowhere near a
full solution IMO.

Cheers,
S

>  We don't have a system that does not require any trust in any
> party.  We trust the bank with our money, we trust the CA to properly
> issue certificates and to ensure safe keeping of their private keys. 
> Most people IME are quite happy to have their web surfing scanned for
> viruses.  I don't see a problem with some real estate on a browser
> showing that they are required to trust the proxy they are using, or
> don't go to the site.
> Otherwise you have to inspect the certificate of every secure and
> sensitive site you go to in order to check if it's signed by who you
> expect (e.g. a CA instead of your proxy).  It's completely unrealistic
> to expect users to do that, and history has shown that educating
> end-users about the finer points of security is not easily done.
> 
> 
> Adrien
> 
> 
> ------ Original Message ------
> From: "Mark Nottingham" <mnot@mnot.net>
> To: "Willy Tarreau" <w@1wt.eu>
> Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
> Sent: 7/08/2012 9:16:48 a.m.
> Subject: Re: Semantics of HTTPS
>> On 06/08/2012, at 4:14 PM, Willy Tarreau <w@1wt.eu> wrote:
>>
>>
>>>>
>>>> Right. That's a big change from the semantics of HTTPS today,
>>>> though; right
>>>> now, when I see that, I know that I have end-to-end TLS.
>>>>
>>>
>>>
>>> No, you *believe* you do, you really don't know. That's clearly the
>>> problem
>>> with the way it works, man-in-the middle proxies are still able to
>>> intercept
>>> it and to forge certs they sign with their own CA and you have no way
>>> to know
>>> if your communications are snooped or not.
>>>
>>
>>
>> It's a really big logical leap from the existence of an attack to
>> changing the fundamental semantics of the URI scheme. And, that's what
>> a MITM proxy is -- it's not legitimate, it's not a recognised role,
>> it's an attack. We shouldn't legitimise it.
>>
>> Cheers,
>>
>> -- 
>> Mark Nottingham
>> http://www.mnot.net/
>>
>>
>>
>>
>>
>>
>>
> 
> 
> 
> 


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 16:32:10 2012
Return-Path: <ietf-http-wg-request@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 4913211E80EC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 16:32:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.203
X-Spam-Level: 
X-Spam-Status: No, score=-5.203 tagged_above=-999 required=5 tests=[AWL=4.000, BAYES_00=-2.599, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18Z5aO4Umgwg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 16:32:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1E01A11E80A5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 16:32:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyWlJ-0000CN-M0 for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 23:31:01 +0000
Resent-Date: Mon, 06 Aug 2012 23:31:01 +0000
Resent-Message-Id: <E1SyWlJ-0000CN-M0@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SyWl6-0000Bc-6b for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 23:30:48 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SyWl4-0003bE-BV for ietf-http-wg@w3.org; Mon, 06 Aug 2012 23:30:48 +0000
Received: from [10.71.103.248] (unknown [166.147.67.57]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 3B73222DD6D; Mon,  6 Aug 2012 19:30:21 -0400 (EDT)
References: <em41c9c24e-0dfd-4d37-822b-96bfe2fb7ebb@bombed> <502050BC.2020701@cs.tcd.ie>
In-Reply-To: <502050BC.2020701@cs.tcd.ie>
Mime-Version: 1.0 (1.0)
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Message-Id: <2F6B3673-E6F5-4EB1-8D7B-22CB05D28689@mnot.net>
Cc: "Adrien W. de Croy" <adrien@qbik.com>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
X-Mailer: iPhone Mail (9B206)
From: Mark Nottingham <mnot@mnot.net>
Date: Mon, 6 Aug 2012 18:30:18 -0500
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, MIME_QP_LONG_LINE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SyWl4-0003bE-BV b2103f1fc33dc069d3b96e8cc407e24e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/2F6B3673-E6F5-4EB1-8D7B-22CB05D28689@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15000
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>

Additionally, such a plan has to be actually implemented in browsers, and I h=
aven't heard any support from that quarter; more the opposite, in fact.=20

Sent from my iPhone

On 06/08/2012, at 6:18 PM, Stephen Farrell <stephen.farrell@cs.tcd.ie> wrote=
:

>=20
> Hiya,
>=20
> Some points below on what is a tricky issue but one where I think
> the status quo is better than the offered alternatives.
>=20
> On 08/06/2012 11:39 PM, Adrien W. de Croy wrote:
>>=20
>> I think we need to be clear what we are doing when we apply logic such as=

>>=20
>> 1. TLS / HTTPS was not designed for inspection
>> 2. therefore any inspection is a hack
>> 3. therefore we should not allow/sanitise it
>>=20
>> One could argue that 1. was a design failure (failure to cover all
>> requirements), and that it should just be fixed.=20
>> One could also argue that hacks have as much right to be accepted as
>> anything else.  They exist for a purpose.
>=20
> Yep. To break e2e security. But that's not a very defensible
> purpose in an organisation (the IETF) where the e2e argument is
> taken seriously.
>=20
>> The real world REQUIRES inspection capability, for various reasons.
>=20
> The real world also REQUIRES lawful intercept. But we (the IETF)
> don't do that, and we're right I think. (That is, I agree with
> our consensus position.)
>=20
> I'd encourage folks who care about this to go look back at the raven
> list arguments (if you've plenty of time;-) [1] I personally think
> that was the IETF at its best - deciding a technical position on
> a technical basis even in the face of non-trivial political and
> commercial pressure.
>=20
>   [1] http://www.ietf.org/mail-archive/web/raven/current/maillist.html
>=20
> (I hope folks don't try score points by selective quoting from that
> archive - pretty much all opinions are represented there as I recall;-)
>=20
>> We can either ignore that requirement, and carry on with our arms race,
>> or come to some mutual agreement on how to deal with the very real and
>> in many (if not most) cases entirely legitimate requirement.
>>=20
>> At the moment, it's starting to look uglier and uglier.  Major sites
>> such as FB / Google move to TLS (maybe just to reduce blockage at
>> corporate firewalls?).
>>=20
>> I can't count how many customers ask me a week how to block https sites
>> esp FB, gmail, youtube and twitter.  It's pointless arguing whether
>> someone should do this or not, we don't pay for their staff down-time.
>>=20
>> So we have MITM code in the lab.  Many others have deployed already.
>=20
> Well just block those sites if you must. I don't see why inspection
> is somehow better. I do see that some people might think inspection
> is better, but if that's a falsehood then no conclusion can be drawn.
> (False =3D> anything, logically.) Evidence of the effectiveness of
> MITM inspection (vs. endpoint mechanisms) would be good, but seems
> to be missing.
>=20
>> Next step if a site wants to do something about that is maybe start to
>> use client certificates.=20
>> Anyone here from the TLS WG able to comment on whether there are plans
>> to combat MITM in this respect? =20
>=20
> I don't get the question. TLS is designed to combat MITM with or
> without client certs. That's a fundamental requirement for TLS.
>=20
>> It's interesting to see the comment
>> about recent TLS WG rejection of support for inspection.
>=20
> Recent and repeated. I think this is maybe the 3rd time.
>=20
>> At the end of the day, the requirement is not going away, and it's only
>> my opinion, but I think we'd get something that
>> a) works a lot better (more reliably)
>> b) better reflects reality and allows users to make informed choices
>=20
> Feel free to propose a specification that meets your proposed
> requirements. That is hard-to-impossible IMO.
>=20
>> if we actually accepted the reality of this requirement and designed for
>> it.  IMO b actually results in more security.=20
>> As for the issue of trust, this results in a requirement to trust the
>> proxy.=20
>=20
> You left out an important thing: it requires sites (e.g. a bank)
> to trust proxies the site has never heard of with the site's
> customer data, e.g. payment information.
>=20
> Do we really want to engineer the web so as to allow a company
> proxy to prevent payments to the company's favourite bad cause?
> That's what's being enabled here. Its a bad plan.
>=20
> It might be tractable to figure how to get a user to trust her
> employer's proxy for some things, but that's just nowhere near a
> full solution IMO.
>=20
> Cheers,
> S
>=20
>> We don't have a system that does not require any trust in any
>> party.  We trust the bank with our money, we trust the CA to properly
>> issue certificates and to ensure safe keeping of their private keys.=20
>> Most people IME are quite happy to have their web surfing scanned for
>> viruses.  I don't see a problem with some real estate on a browser
>> showing that they are required to trust the proxy they are using, or
>> don't go to the site.
>> Otherwise you have to inspect the certificate of every secure and
>> sensitive site you go to in order to check if it's signed by who you
>> expect (e.g. a CA instead of your proxy).  It's completely unrealistic
>> to expect users to do that, and history has shown that educating
>> end-users about the finer points of security is not easily done.
>>=20
>>=20
>> Adrien
>>=20
>>=20
>> ------ Original Message ------
>> From: "Mark Nottingham" <mnot@mnot.net>
>> To: "Willy Tarreau" <w@1wt.eu>
>> Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
>> Sent: 7/08/2012 9:16:48 a.m.
>> Subject: Re: Semantics of HTTPS
>>> On 06/08/2012, at 4:14 PM, Willy Tarreau <w@1wt.eu> wrote:
>>>=20
>>>=20
>>>>>=20
>>>>> Right. That's a big change from the semantics of HTTPS today,
>>>>> though; right
>>>>> now, when I see that, I know that I have end-to-end TLS.
>>>>>=20
>>>>=20
>>>>=20
>>>> No, you *believe* you do, you really don't know. That's clearly the
>>>> problem
>>>> with the way it works, man-in-the middle proxies are still able to
>>>> intercept
>>>> it and to forge certs they sign with their own CA and you have no way
>>>> to know
>>>> if your communications are snooped or not.
>>>>=20
>>>=20
>>>=20
>>> It's a really big logical leap from the existence of an attack to
>>> changing the fundamental semantics of the URI scheme. And, that's what
>>> a MITM proxy is -- it's not legitimate, it's not a recognised role,
>>> it's an attack. We shouldn't legitimise it.
>>>=20
>>> Cheers,
>>>=20
>>> --=20
>>> Mark Nottingham
>>> http://www.mnot.net/
>>>=20
>>>=20
>>>=20
>>>=20
>>>=20
>>>=20
>>>=20
>>=20
>>=20
>>=20
>>=20


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 16:38:33 2012
Return-Path: <ietf-http-wg-request@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 306C911E80D7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 16:38:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.853
X-Spam-Level: 
X-Spam-Status: No, score=-7.853 tagged_above=-999 required=5 tests=[AWL=2.746, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CXD+Bv57E1E7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 16:38:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E036F11E80A5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 16:38:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyWrz-00023p-M5 for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 23:37:55 +0000
Resent-Date: Mon, 06 Aug 2012 23:37:55 +0000
Resent-Message-Id: <E1SyWrz-00023p-M5@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SyWrm-00020T-54 for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 23:37:42 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SyWrk-0003TZ-I5 for ietf-http-wg@w3.org; Mon, 06 Aug 2012 23:37:42 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.6 (Build 3449)) with SMTP id <0019179154@smtp.qbik.com>; Tue, 07 Aug 2012 11:37:17 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Stephen Farrell" <stephen.farrell@cs.tcd.ie>
Cc: "Mark Nottingham" <mnot@mnot.net>, "Willy Tarreau" <w@1wt.eu>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Mon, 06 Aug 2012 23:37:15 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <502050BC.2020701@cs.tcd.ie>
Message-Id: <em8c295a69-d3a9-4f37-9bbf-7bd9df07e0bc@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SyWrk-0003TZ-I5 45c1e9d47ddec5984760bd79148fa60c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/em8c295a69-d3a9-4f37-9bbf-7bd9df07e0bc@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15001
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>

------ Original Message ------
From: "Stephen Farrell" <stephen.farrell@cs.tcd.ie>
>Hiya,
>
>Some points below on what is a tricky issue but one where I think
>the status quo is better than the offered alternatives.
>
>On 08/06/2012 11:39 PM, Adrien W. de Croy wrote:
>
>>
>>
>>I think we need to be clear what we are doing when we apply logic such=
 as
>>
>>1. TLS / HTTPS was not designed for inspection
>>2. therefore any inspection is a hack
>>3. therefore we should not allow/sanitise it
>>
>>One could argue that 1. was a design failure (failure to cover all
>>requirements), and that it should just be fixed.
>>One could also argue that hacks have as much right to be accepted as
>>anything else.  They exist for a purpose.
>>
>
>
>Yep. To break e2e security. But that's not a very defensible
>purpose in an organisation (the IETF) where the e2e argument is
>taken seriously.
>

what e2e security?  There is none currently with TLS/https.
>>
>>The real world REQUIRES inspection capability, for various reasons.
>>
>
>
>The real world also REQUIRES lawful intercept. But we (the IETF)
>don't do that, and we're right I think. (That is, I agree with
>our consensus position.)
>

so do I, and this proposal does not affect lawful intercept which would=20
continue to operate in the way it currently does.

We're only proposing proxying of https, which is done with the=20
knowledge of the client, and is not useful for covert intercepts.

>>
>>We can either ignore that requirement, and carry on with our arms race,
>>or come to some mutual agreement on how to deal with the very real and
>>in many (if not most) cases entirely legitimate requirement.
>>
>>At the moment, it's starting to look uglier and uglier.  Major sites
>>such as FB / Google move to TLS (maybe just to reduce blockage at
>>corporate firewalls?).
>>
>>I can't count how many customers ask me a week how to block https sites
>>esp FB, gmail, youtube and twitter.  It's pointless arguing whether
>>someone should do this or not, we don't pay for their staff down-time.
>>
>>So we have MITM code in the lab.  Many others have deployed already.
>>
>
>
>Well just block those sites if you must. I don't see why inspection
>is somehow better. I do see that some people might think inspection
>is better, but if that's a falsehood then no conclusion can be drawn.
>(False =3D> anything, logically.) Evidence of the effectiveness of
>MITM inspection (vs. endpoint mechanisms) would be good, but seems
>to be missing.
>
I agree, I'd like to see some more evidence, e.g. rates of prevention=20
of malware (which commonly uses https to retrieve payload).

But there are plenty of security software vendors who will tell you=20
that malware spreads more and more with https.

They do a good job of convicing customers they need to scan https.

Plenty of intermediary vendors are more than happy to gain a=20
competitive advantage by providing this service.

The horse has already bolted on this issue.
>>
>>Next step if a site wants to do something about that is maybe start to
>>use client certificates.
>>Anyone here from the TLS WG able to comment on whether there are plans
>>to combat MITM in this respect?
>>
>
>
>I don't get the question. TLS is designed to combat MITM with or
>without client certs. That's a fundamental requirement for TLS.
>

yet MITM proxies exist and continue to be deployed presumably=20
successfully.  My question was whether the WG was taking aim at this=20
problem (which would be an escalation of the arms race).

>>
>>It's interesting to see the comment
>>about recent TLS WG rejection of support for inspection.
>>
>
>
>Recent and repeated. I think this is maybe the 3rd time.
>

I don't know enough about all the intricate issues to know whether=20
there is a potential profile for TLS that enables trusted 3rd party=20
inspection or not.  But that is WAY OT for this list.

>>
>>At the end of the day, the requirement is not going away, and it's only
>>my opinion, but I think we'd get something that
>>a) works a lot better (more reliably)
>>b) better reflects reality and allows users to make informed choices
>>
>
>
>Feel free to propose a specification that meets your proposed
>requirements. That is hard-to-impossible IMO.
>

GET https://etc

>>
>>if we actually accepted the reality of this requirement and designed for
>>it.  IMO b actually results in more security.
>>As for the issue of trust, this results in a requirement to trust the
>>proxy.
>>
>
>
>You left out an important thing: it requires sites (e.g. a bank)
>to trust proxies the site has never heard of with the site's
>customer data, e.g. payment information.
>

Sure, my point was client-centric. =20
However, banks are already in this situation.  I use online systems of=20
3 banks.  None require me to use a client certificate.  Is this just a=20
meteor waiting to hit?

They already are demonstrating either ignorance or trust of MITM=20
proxies operated by client organisations.  I won't do them the=20
disrespect of claimimg it's ignorance.

>
>
>Do we really want to engineer the web so as to allow a company
>proxy to prevent payments to the company's favourite bad cause?
>That's what's being enabled here. Its a bad plan.
>

It can already happen.  If we want to stop it, that's yet another=20
direction to move in.  What we're proposing has no impact on that.

Adrien
>
>
>It might be tractable to figure how to get a user to trust her
>employer's proxy for some things, but that's just nowhere near a
>full solution IMO.
>
>Cheers,
>S
>
>
>>
>> We don't have a system that does not require any trust in any
>>party.  We trust the bank with our money, we trust the CA to properly
>>issue certificates and to ensure safe keeping of their private keys.
>>Most people IME are quite happy to have their web surfing scanned for
>>viruses.  I don't see a problem with some real estate on a browser
>>showing that they are required to trust the proxy they are using, or
>>don't go to the site.
>>Otherwise you have to inspect the certificate of every secure and
>>sensitive site you go to in order to check if it's signed by who you
>>expect (e.g. a CA instead of your proxy).  It's completely unrealistic
>>to expect users to do that, and history has shown that educating
>>end-users about the finer points of security is not easily done.
>>
>>
>>Adrien
>>
>>
>>------ Original Message ------
>>From: "Mark Nottingham" <mnot@mnot.net>
>>To: "Willy Tarreau" <w@1wt.eu>
>>Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
>>Sent: 7/08/2012 9:16:48 a.m.
>>Subject: Re: Semantics of HTTPS
>>
>>>
>>>On 06/08/2012, at 4:14 PM, Willy Tarreau <w@1wt.eu> wrote:
>>>
>>>
>>>
>>>>>
>>>>>
>>>>>Right. That's a big change from the semantics of HTTPS today,
>>>>>though; right
>>>>>now, when I see that, I know that I have end-to-end TLS.
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>No, you *believe* you do, you really don't know. That's clearly the
>>>>problem
>>>>with the way it works, man-in-the middle proxies are still able to
>>>>intercept
>>>>it and to forge certs they sign with their own CA and you have no way
>>>>to know
>>>>if your communications are snooped or not.
>>>>
>>>>
>>>
>>>
>>>
>>>It's a really big logical leap from the existence of an attack to
>>>changing the fundamental semantics of the URI scheme. And, that's what
>>>a MITM proxy is -- it's not legitimate, it's not a recognised role,
>>>it's an attack. We shouldn't legitimise it.
>>>
>>>Cheers,
>>>
>>>--
>>>Mark Nottingham
>>>http://www.mnot.net/
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 16:41:35 2012
Return-Path: <ietf-http-wg-request@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 E281121F8491 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 16:41:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.826
X-Spam-Level: 
X-Spam-Status: No, score=-7.826 tagged_above=-999 required=5 tests=[AWL=-2.035, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_SPOOF_COM2OTH=2.536, SPOOF_COM2COM=2.272]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fhTtPSd0Mjwj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 16:41:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B0E4B21F8487 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 16:41:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyWv0-0003ks-JZ for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 23:41:02 +0000
Resent-Date: Mon, 06 Aug 2012 23:41:02 +0000
Resent-Message-Id: <E1SyWv0-0003ks-JZ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SyWun-0003gQ-Sj for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 23:40:49 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SyWuk-0003pN-Fi for ietf-http-wg@w3.org; Mon, 06 Aug 2012 23:40:49 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 345CEE70EF; Tue,  7 Aug 2012 11:40:23 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Tue, 07 Aug 2012 11:40:22 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <op.wimuq3buiw9drz@uranium.ssg5-serial>
References: <501B54F4.6030709@it.aoyama.ac.jp> <em51bad768-459a-465b-9933-0957f139d7bd@bombed> <CACuKZqHj2tx_MDeg6rjncrCdzc61tRC8TJVbhgJe4KDmu=1vvA@mail.gmail.com> <op.wimuq3buiw9drz@uranium.ssg5-serial>
Message-ID: <6b761cde4a29477880b4ac8e89a1f320@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=2.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, SPOOF_COM2COM=2.048
X-W3C-Scan-Sig: lisa.w3.org 1SyWuk-0003pN-Fi d0052c638f7b19df5954d95b6ea6562b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/6b761cde4a29477880b4ac8e89a1f320@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15002
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 07.08.2012 06:53, Martin Nilsson wrote:
> The HTTP proxy syntax is an ongoing source for security issues, due
> to too  relaxed pattern matching.
>
> GET http://random.com/?facebook.com HTTP/1.1
> GET http://facebook.com@random.com/ HTTP/1.1
> GET http://facebook.com.random.com/ HTTP/1.1
>

What "proxy syntax"? All I see there is a bunch of absolute-URI for 
random.com.

Splitting this into pieces on-wire and then re-assembling them into the 
same canonical URL before pattern matching will not result in admin 
people suddenly knowing safer patterns. The ones having trouble now 
already fail to use the tools provided correctly...

This would require re-writing most RFCs to handle new URL syntax, and 
we would have to maintain backward-compatibility and accept these forms 
anyway - which means no gain. Abolishing the second form would be nice 
to avoid credentials leakage in HTTP when its used as a Basic-auth 
substitute. But then again its used for a lot more than basic auth these 
days. Think salting parameter, three-legged auth algorithm name(s), 
domain realm, session ID, etc.

Amos



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 16:55:04 2012
Return-Path: <ietf-http-wg-request@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 07C6321F855B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 16:55:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.163
X-Spam-Level: 
X-Spam-Status: No, score=-10.163 tagged_above=-999 required=5 tests=[AWL=0.436, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 54bxx97l4hpn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 16:55:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 385CF21F855A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 16:55:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyX7Z-0000tl-O0 for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 23:54:01 +0000
Resent-Date: Mon, 06 Aug 2012 23:54:01 +0000
Resent-Message-Id: <E1SyX7Z-0000tl-O0@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SyX7M-0000t0-8u for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 23:53:48 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SyX7K-0003uO-U8 for ietf-http-wg@w3.org; Mon, 06 Aug 2012 23:53:48 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 78736E70EF; Tue,  7 Aug 2012 11:53:24 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Tue, 07 Aug 2012 11:53:24 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net>
References: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net>
Message-ID: <2a157d42125b0e82895df3a187cfef7e@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SyX7K-0003uO-U8 a1500b6179324da49d75d90412485b35
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/2a157d42125b0e82895df3a187cfef7e@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15003
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 07.08.2012 08:32, Mark Nottingham wrote:
> 
> <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p1-messaging.html#https.uri>
> is slated to define the semantics of HTTPS urls.
>
> We currently talk about HTTPS' impact on caches and identity there,
> but we don't mention one other major effect on HTTP -- the use of
> CONNECT to proxies.
>
> I think we need to define HTTPS as having a semantic of *end-to-end*
> use of SSL/TLS, and therefore CONNECT to proxies.
>
> Make sense?

CONNECT is not end-to-end either and the spec text may have confused 
some people when designing the traffic-light and padlock UI mechanisms. 
It's just a hop compaction over several stages.

  W-X-Y-Z may be CONNECT at W-X, and HTTPS W-Y, with no indication of 
what Y-Z is being used.

Creating a HTTPS trusted connection from location W to trusted proxy Y. 
Trusted by who is the debatable detail.


AYJ



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 16:57:31 2012
Return-Path: <ietf-http-wg-request@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 5ABAA11E80A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 16:57:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.532
X-Spam-Level: 
X-Spam-Status: No, score=-8.532 tagged_above=-999 required=5 tests=[AWL=2.067, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IdzPfZZTTvuo for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 16:57:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A51AB11E808A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 16:57:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyXAT-0002NI-5m for ietf-http-wg-dist@listhub.w3.org; Mon, 06 Aug 2012 23:57:01 +0000
Resent-Date: Mon, 06 Aug 2012 23:57:01 +0000
Resent-Message-Id: <E1SyXAT-0002NI-5m@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SyXAF-0002Hy-Ps for ietf-http-wg@listhub.w3.org; Mon, 06 Aug 2012 23:56:47 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SyXAE-0004HG-6P for ietf-http-wg@w3.org; Mon, 06 Aug 2012 23:56:47 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id 6F3EE15394B; Tue,  7 Aug 2012 00:56:25 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1344297384; bh=756Ij4ryLoKej6 g7PzkzuMGwnSrWOP3xiB+aC5bPPO0=; b=ojuKWMSFLbWOSU5hLQuW9bf62eJVdo H0Diw7iC7KIH1O48foItSKjX9Mhy9JphC0nK1HXo0I0SXKrTe5L3mvPDfOUZU1NP mAYNco0eE6SzrQw6MfJnqGeAShE+RIK6tEduzLWPQM0zueh4TWqaY25m3+gMJdoY K4AmVJO9UndoBz3PulCXh+LE0eQuRVjUrwJU/EFu3drZx0WxbsIq/d8ic36WVya7 mx5R1xgJCiVkMAFrTMvaYsI4tWDEMpIOlom4si5eenm7IiJc29iGKojpAmD7lkLq 8gPDrWZgGigXtLHNEE+iHoAoneEPOs+hIG1d3kz+6yESJlC99zaU9G9A==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id 9d+ywd7293bE; Tue,  7 Aug 2012 00:56:24 +0100 (IST)
Received: from [10.87.48.8] (unknown [86.41.15.219]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id 137321717A6; Tue,  7 Aug 2012 00:56:24 +0100 (IST)
Message-ID: <502059A7.9000600@cs.tcd.ie>
Date: Tue, 07 Aug 2012 00:56:23 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0
MIME-Version: 1.0
To: "Adrien W. de Croy" <adrien@qbik.com>
CC: Mark Nottingham <mnot@mnot.net>, Willy Tarreau <w@1wt.eu>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <em8c295a69-d3a9-4f37-9bbf-7bd9df07e0bc@bombed>
In-Reply-To: <em8c295a69-d3a9-4f37-9bbf-7bd9df07e0bc@bombed>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-1.6
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SyXAE-0004HG-6P 9029ba9f4b8fe59d72962f3ccf016c73
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/502059A7.9000600@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15004
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>

Hiya,

On 08/07/2012 12:37 AM, Adrien W. de Croy wrote:
> 
> ------ Original Message ------
> From: "Stephen Farrell" <stephen.farrell@cs.tcd.ie>
>> Hiya,
>>
>> Some points below on what is a tricky issue but one where I think
>> the status quo is better than the offered alternatives.
>>
>> On 08/06/2012 11:39 PM, Adrien W. de Croy wrote:
>>
>>>
>>>
>>> I think we need to be clear what we are doing when we apply logic
>>> such as
>>>
>>> 1. TLS / HTTPS was not designed for inspection
>>> 2. therefore any inspection is a hack
>>> 3. therefore we should not allow/sanitise it
>>>
>>> One could argue that 1. was a design failure (failure to cover all
>>> requirements), and that it should just be fixed.
>>> One could also argue that hacks have as much right to be accepted as
>>> anything else.  They exist for a purpose.
>>>
>>
>>
>> Yep. To break e2e security. But that's not a very defensible
>> purpose in an organisation (the IETF) where the e2e argument is
>> taken seriously.
>>
> 
> what e2e security?  There is none currently with TLS/https.

Disagree. There are mitm attacks. They are not ubiquitous.

>>>
>>> The real world REQUIRES inspection capability, for various reasons.
>>>
>>
>>
>> The real world also REQUIRES lawful intercept. But we (the IETF)
>> don't do that, and we're right I think. (That is, I agree with
>> our consensus position.)
>>
> 
> so do I, and this proposal does not affect lawful intercept which would
> continue to operate in the way it currently does.

Your argument was: "real world REQUIRES foo, therefore we MUST do foo."
That is demonstrably not the case with LI so this part of your
argument falls.

> 
> We're only proposing proxying of https, which is done with the knowledge
> of the client, and is not useful for covert intercepts.

Even though based on a bad argument, I don't agree with your last
conclusion.

>>> We can either ignore that requirement, and carry on with our arms race,
>>> or come to some mutual agreement on how to deal with the very real and
>>> in many (if not most) cases entirely legitimate requirement.
>>>
>>> At the moment, it's starting to look uglier and uglier.  Major sites
>>> such as FB / Google move to TLS (maybe just to reduce blockage at
>>> corporate firewalls?).
>>>
>>> I can't count how many customers ask me a week how to block https sites
>>> esp FB, gmail, youtube and twitter.  It's pointless arguing whether
>>> someone should do this or not, we don't pay for their staff down-time.
>>>
>>> So we have MITM code in the lab.  Many others have deployed already.
>>>
>>
>>
>> Well just block those sites if you must. I don't see why inspection
>> is somehow better. I do see that some people might think inspection
>> is better, but if that's a falsehood then no conclusion can be drawn.
>> (False => anything, logically.) Evidence of the effectiveness of
>> MITM inspection (vs. endpoint mechanisms) would be good, but seems
>> to be missing.
>>
> I agree, I'd like to see some more evidence, e.g. rates of prevention of
> malware (which commonly uses https to retrieve payload).

The evidence needed would not be "I can do x,y,z at the mitm" but
rather "I can do x,y,x NN% better at the mitm compared to the endpoint."

> But there are plenty of security software vendors who will tell you that
> malware spreads more and more with https.

Sure. Marketing exists. That's not a telling argument here.

> They do a good job of convicing customers they need to scan https.
> 
> Plenty of intermediary vendors are more than happy to gain a competitive
> advantage by providing this service.
> 
> The horse has already bolted on this issue.

People make money from LI products too. We do not need to prevent
all horses bolting in all directions. (And should not argue based
on metaphors alone.)

>>>
>>> Next step if a site wants to do something about that is maybe start to
>>> use client certificates.
>>> Anyone here from the TLS WG able to comment on whether there are plans
>>> to combat MITM in this respect?
>>>
>>
>>
>> I don't get the question. TLS is designed to combat MITM with or
>> without client certs. That's a fundamental requirement for TLS.
>>
> 
> yet MITM proxies exist and continue to be deployed presumably
> successfully.  My question was whether the WG was taking aim at this
> problem (which would be an escalation of the arms race).

"taking aim" is ambiguous so its hard to answer.

What has happened at least a couple of times was: vendor turns up,
says "our customers need and buy mitm so you need to standardised
it", tls wg says: no, we're here to provide transport layer
security not to break that.

I don't see any escalation there nor any arms race. (It is probably
true that instances of mitm attack are growing in number.)

> 
>>>
>>> It's interesting to see the comment
>>> about recent TLS WG rejection of support for inspection.
>>>
>>
>>
>> Recent and repeated. I think this is maybe the 3rd time.
>>
> 
> I don't know enough about all the intricate issues to know whether there
> is a potential profile for TLS that enables trusted 3rd party inspection
> or not.  But that is WAY OT for this list.

Yes. TLS won't be changed that way I believe.


> 
>>>
>>> At the end of the day, the requirement is not going away, and it's only
>>> my opinion, but I think we'd get something that
>>> a) works a lot better (more reliably)
>>> b) better reflects reality and allows users to make informed choices
>>>
>>
>> Feel free to propose a specification that meets your proposed
>> requirements. That is hard-to-impossible IMO.
>>
> 
> GET https://etc

My equally detailed rebuttal is: "That doesn't work." :-)

Next step, you, or someone, writes a real I-D.

>>> if we actually accepted the reality of this requirement and designed for
>>> it.  IMO b actually results in more security.
>>> As for the issue of trust, this results in a requirement to trust the
>>> proxy.
>>>
>>
>>
>> You left out an important thing: it requires sites (e.g. a bank)
>> to trust proxies the site has never heard of with the site's
>> customer data, e.g. payment information.
>>
> 
> Sure, my point was client-centric.  However, banks are already in this
> situation.  I use online systems of 3 banks.  None require me to use a
> client certificate.  Is this just a meteor waiting to hit?

I've no idea if your argument is tongue-in-cheek or not. Probably
better not to respond on that one before that's clear. (Banks issuing
client-certs is not currently a really tractable approach.)

S

> 
> They already are demonstrating either ignorance or trust of MITM proxies
> operated by client organisations.  I won't do them the disrespect of
> claimimg it's ignorance.
> 
>>
>>
>> Do we really want to engineer the web so as to allow a company
>> proxy to prevent payments to the company's favourite bad cause?
>> That's what's being enabled here. Its a bad plan.
>>
> 
> It can already happen.  If we want to stop it, that's yet another
> direction to move in.  What we're proposing has no impact on that.
> 
> Adrien
>>
>>
>> It might be tractable to figure how to get a user to trust her
>> employer's proxy for some things, but that's just nowhere near a
>> full solution IMO.
>>
>> Cheers,
>> S
>>
>>
>>>
>>> We don't have a system that does not require any trust in any
>>> party.  We trust the bank with our money, we trust the CA to properly
>>> issue certificates and to ensure safe keeping of their private keys.
>>> Most people IME are quite happy to have their web surfing scanned for
>>> viruses.  I don't see a problem with some real estate on a browser
>>> showing that they are required to trust the proxy they are using, or
>>> don't go to the site.
>>> Otherwise you have to inspect the certificate of every secure and
>>> sensitive site you go to in order to check if it's signed by who you
>>> expect (e.g. a CA instead of your proxy).  It's completely unrealistic
>>> to expect users to do that, and history has shown that educating
>>> end-users about the finer points of security is not easily done.
>>>
>>>
>>> Adrien
>>>
>>>
>>> ------ Original Message ------
>>> From: "Mark Nottingham" <mnot@mnot.net>
>>> To: "Willy Tarreau" <w@1wt.eu>
>>> Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
>>> Sent: 7/08/2012 9:16:48 a.m.
>>> Subject: Re: Semantics of HTTPS
>>>
>>>>
>>>> On 06/08/2012, at 4:14 PM, Willy Tarreau <w@1wt.eu> wrote:
>>>>
>>>>
>>>>
>>>>>>
>>>>>>
>>>>>> Right. That's a big change from the semantics of HTTPS today,
>>>>>> though; right
>>>>>> now, when I see that, I know that I have end-to-end TLS.
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> No, you *believe* you do, you really don't know. That's clearly the
>>>>> problem
>>>>> with the way it works, man-in-the middle proxies are still able to
>>>>> intercept
>>>>> it and to forge certs they sign with their own CA and you have no way
>>>>> to know
>>>>> if your communications are snooped or not.
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> It's a really big logical leap from the existence of an attack to
>>>> changing the fundamental semantics of the URI scheme. And, that's what
>>>> a MITM proxy is -- it's not legitimate, it's not a recognised role,
>>>> it's an attack. We shouldn't legitimise it.
>>>>
>>>> Cheers,
>>>>
>>>> -- 
>>>> Mark Nottingham
>>>> http://www.mnot.net/
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>
> 
> 
> 
> 


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 17:20:32 2012
Return-Path: <ietf-http-wg-request@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 65BB411E80F8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 17:20:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.177
X-Spam-Level: 
X-Spam-Status: No, score=-10.177 tagged_above=-999 required=5 tests=[AWL=0.422, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H9OxGhbQmaJe for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 17:20:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5AA6C11E80F7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 17:20:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyXW7-0004l7-1G for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 00:19:23 +0000
Resent-Date: Tue, 07 Aug 2012 00:19:23 +0000
Resent-Message-Id: <E1SyXW7-0004l7-1G@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SyXVt-0004jH-Mj for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 00:19:09 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SyXVr-0004pa-Se for ietf-http-wg@w3.org; Tue, 07 Aug 2012 00:19:09 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 45BA4E70EF; Tue,  7 Aug 2012 12:18:43 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Tue, 07 Aug 2012 12:18:42 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <8CFB0582-52E8-4ACF-BD6E-24F773C4F5ED@mnot.net>
References: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net> <20120806204327.GA7647@1wt.eu> <8CFB0582-52E8-4ACF-BD6E-24F773C4F5ED@mnot.net>
Message-ID: <b3729f4d40d9ca46a195b1fb12554878@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=1.5
X-W3C-Hub-Spam-Report: BAYES_60=1.5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SyXVr-0004pa-Se 3aaba90d5c9b93633e9ef0110514c4d9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/b3729f4d40d9ca46a195b1fb12554878@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15005
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 07.08.2012 09:06, Mark Nottingham wrote:
> On 06/08/2012, at 3:43 PM, Willy Tarreau <w@1wt.eu> wrote:
>
>> On Mon, Aug 06, 2012 at 03:32:01PM -0500, Mark Nottingham wrote:
>>> 
>>> <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p1-messaging.html#https.uri> 
>>> is slated to define the semantics of HTTPS urls.
>>>
>>> We currently talk about HTTPS' impact on caches and identity there, 
>>> but we don't mention one other major effect on HTTP -- the use of 
>>> CONNECT to proxies.
>>>
>>> I think we need to define HTTPS as having a semantic of 
>>> *end-to-end* use of SSL/TLS, and therefore CONNECT to proxies.
>>>
>>> Make sense?
>>
>> I'd rather have it be the equivalent of the "GET https://" we've 
>> been talking
>> about, with something different for use with CONNECT. CONNECT is 
>> used to
>> establish a tunnel, and anything passes through (I'm using it on a 
>> daily
>> basis to SSH home).
>>
>> Many people involved in proxies would like CONNECT to disappear or 
>> at least
>> to work based on fine whitelists (eg: banks, paypal, ...) and use 
>> GET https://
>> instead to provide the ability to use safe connections between the 
>> proxy and
>> the internet, with the ability to block malware.
>>
>> Right now this is already performed with CONNECT using awful tricks 
>> that
>> totally break HTTP and even prevent software such as Firefox from 
>> being
>> able to upgrade itself, this is a total failure.
>
>
> Right. That's a big change from the semantics of HTTPS today, though;
> right now, when I see that, I know that I have end-to-end TLS. If we
> change that, it's going to require a LOT of coordination with W3C,
> browsers, privacy people, etc. to make sure expectations are managed,
> communicated, etc.

How so? acknowledging the current usage of HTTP is within WG charter 
already yes?
  CONNECT is *already* failing to provide end-to-end TLS.


>
> I think the question is here is whether end-to-end security is a
> fundamental part of the semantics of HTTPS, or something that is just
> a de facto now, and open to being changed later.

GET https:// absolute URLs will improve end-to-end security.

They can be mandated to be relayed over TLS hops from browser to proxy 
and will remove the need to for CONNECT bumping trickery which actively 
creates hole in the security.

I'm regularly fielding questions about why browser can only send data 
over *un-encrypted* CONNECT requests. Which are easily diverted, 
redirected, and intercepted.


>
> Personally, I think it is; while I can see the use cases you're
> taking about, having HTTPS URIs become inspectable by proxies is a
> surprising outcome from a user perspective.

The #1 use-case is to reduce the desire from administrators to MITM 
things. In particular to reduce the 800-pound gorillas desire to pay for 
security MITM attacks. If the data is sent, they are going to get hold 
of it one way or another. We can only improve things to prevent them 
paving the roads for small-time crooks.

>
> Perhaps we could say something like "HTTP implies end-to-end
> security, unless the user has explicitly opted out of it (i.e., in a
> configuration dialog). When TLS is providing end-to-end security, the
> CONNECT method is used with proxies."

That would lead to more UI mistakes like the padlock/traffic light 
based on the false assumption that implies == mandatory.

Better something along the lines of:
   https:// being used to a trusted proxy (trust being a mandatory TLS 
link client<->proxy), with CONNECT for backward compatibility over 
HTTP/1.0 proxies or untrusted proxies. Noting that CONNECT is just a 
tunnel and does not require end-to-end termination at the destination 
server, it could be used to CONNECT to a trusted proxy elsewhere on the 
Internet.

  That better reflects the reality of how CONNECT interacts with 
https:// on a safe network. I'd probably go so far as to say SHOULD send 
"Upgrade:TLS/1.2,HTTP/1.1" header on CONNECT (or whatever the correct 
ordering is).

Now if only browser vendors would implement that simple https:// 
behaviour, we would be able to prune away a large section of demand for 
MITM.

Amos


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 17:45:25 2012
Return-Path: <ietf-http-wg-request@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 03A9021F8613 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 17:45:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.19
X-Spam-Level: 
X-Spam-Status: No, score=-10.19 tagged_above=-999 required=5 tests=[AWL=0.409, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NKaFtK43I6ym for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 17:45:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DF00B21F855B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 17:45:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyXtq-0007w7-Jh for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 00:43:54 +0000
Resent-Date: Tue, 07 Aug 2012 00:43:54 +0000
Resent-Message-Id: <E1SyXtq-0007w7-Jh@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SyXtT-0007vA-FP for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 00:43:31 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SyXtR-0005KH-SS for ietf-http-wg@w3.org; Tue, 07 Aug 2012 00:43:31 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 9C887E70EF; Tue,  7 Aug 2012 12:43:06 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Tue, 07 Aug 2012 12:43:06 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <50204138.7090208@cs.tcd.ie>
References: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net> <20120806204327.GA7647@1wt.eu> <8CFB0582-52E8-4ACF-BD6E-24F773C4F5ED@mnot.net> <20120806211446.GB7647@1wt.eu> <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net> <20120806212359.GC7647@1wt.eu> <50203826.6070604@cs.tcd.ie> <20120806214106.GD7647@1wt.eu> <50204138.7090208@cs.tcd.ie>
Message-ID: <d7ab7c71cfb062cc99577b86e8caaa82@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=3.5
X-W3C-Hub-Spam-Report: BAYES_99=3.5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SyXtR-0005KH-SS f7913f5fc8a9265797ebc9db503b1592
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/d7ab7c71cfb062cc99577b86e8caaa82@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15006
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 07.08.2012 10:12, Stephen Farrell wrote:
> Hi Willy,
>
> On 08/06/2012 10:41 PM, Willy Tarreau wrote:
>> Hi Stephen,
>>
>> On Mon, Aug 06, 2012 at 10:33:26PM +0100, Stephen Farrell wrote:
>>>> At the moment the state of affairs has created MITM proxies and 
>>>> we'd better
>>>> get rid of them by offering a solution to the problem they try to 
>>>> solve.
>>>
>>> The tls WG was offered that option again last week and rejected it
>>> again. If the httpbis WG want to standardise some kind of mitm 
>>> without
>>> changing TLS then that seems to re-define https to me at least.
>>>
>>> Even though mitm hacks exist and people pay for them, the IETF has
>>> actively and repeatedly refused to standardise that behaviour.
>>
>> I'm not advocating MITM, quite the opposite : I'm advocating valid
>> use of proxies via opt-in to put an end to MITM.
>
> I think that depends on how you define MITM. From the point of
> view of a site, or a user forced into using this, your approach
> still seems like a MITM, just a different one, but still a
> re-definition of https I think.

Its more visible. The user gains the ability to see it happening, and 
to complain.

Today those rights are just words on a piece of paper describing some 
fantasy land that does not exist. Recalls marks assumption that he 
*knew* CONNECT provided end-to-end security. Mark you live in .au still? 
then your CONNECT is being decrypted. .cn, .sa, .in. .us, rq? same.


>
>> The end user chooses in his browser :
>>
>>     Proxy Connection for HTTPS :
>>         [ ] proxy may inspect contents fetched over HTTPS  (GET 
>> https://)
>>             except for those sites : _______________
>
> Does that whitelisting approach break TLS client auth and channel
> binding? I guess we'd need to see a draft to know but regardless of
> the fact that those are not very widely used, re-defining https
> like this in a way that breaks those features seems like a bad
> plan.

Client auth where? to the end-server? or to the trusted proxy? or to 
some MITM?
  MITM today forge the certs relayed.

I see no reason why these properties could not be legitimately relayed 
by a trusted proxy using standardised mandatory secure mechanisms. Yes 
it will require coordination with TLS people to ensure its done right. 
Which is a bit more than any MITM implementation can say today.

>
>>         [ ] proxy may not inspect contents fetched over HTTPS  
>> (CONNECT)
>
> With what default? I'd bet there are many wrinkles here. What about
> use of SNI in TLS to select between hosts?

SNI is a big security hole in TLS which enables MITM to operate more 
silently (traffic sniff the SNI detail and forge the certs to there).

The tabled proposal for https:// to explicit proxy erases the need for 
that mess. the absolute-URL and/or Host header contains the details SNI 
would have contained.
  * Allowing the browser to connect over TLS secured without the SNI 
loophole to a trusted proxy.
  * Allowing cert verification to be concentrated at the proxy
  * Allowing end-user devices to drop away most of the CA trust and 
restrict themselves to just the centralized proxy CA.

Note that the trusted proxy need not be a commercial one. It could be a 
desktop device or CPE gateway at a home with dozens of smartphones, TVs, 
games boxes, PCs, laptops, tablets, fridges, etc behind it. All of which 
would otherwise need to have constant CA certificate database, 
revocation list updates and related security updates.
  On the whole the overall picture is *more* secure using a trusted 
point of centralized security management with simpler end-user in mind.

>
> Really, I think your proposal doesn't work out in the end. I also
> understand why you propose it, but suspect that like many such
> proposals there are many more problems than are apparent at first.

And more benefits than commercial ones.

Amos


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 17:46:44 2012
Return-Path: <ietf-http-wg-request@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 B938721F8678 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 17:46:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.202
X-Spam-Level: 
X-Spam-Status: No, score=-10.202 tagged_above=-999 required=5 tests=[AWL=0.397, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YtxUddrgIL3I for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 17:46:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3012E21F8674 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 17:46:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyXvx-0002HK-NG for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 00:46:05 +0000
Resent-Date: Tue, 07 Aug 2012 00:46:05 +0000
Resent-Message-Id: <E1SyXvx-0002HK-NG@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SyXvl-0002GT-9G for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 00:45:53 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SyXvk-0005bT-8p for ietf-http-wg@w3.org; Tue, 07 Aug 2012 00:45:53 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 2F5FDE70F5; Tue,  7 Aug 2012 12:45:30 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Tue, 07 Aug 2012 12:45:29 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <emb9d5f186-47ee-48b8-8e57-3b4eac3f6d78@bombed>
References: <emb9d5f186-47ee-48b8-8e57-3b4eac3f6d78@bombed>
Message-ID: <00850ab2e1678b268dfcce5bffa31d2e@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SyXvk-0005bT-8p b2385e3ab1095c0fe5e33577d4ef5dd3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/00850ab2e1678b268dfcce5bffa31d2e@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15007
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 07.08.2012 10:21, Adrien W. de Croy wrote:
> ------ Original Message ------
> From: "Willy Tarreau"
>>Same here :-)
>>
>>I believe Adrien de Croy has more experience in this area, would be 
>> nice to
>>have his opinion here.
>>
>>
> I'm flattered, but actually don't have that much deployment
> experience in MITM outside of the lab.
>
> I'd be keen to hear from vendors of products that have a few years
> experience with https inspection.

Hands up. (well, 18 months or so anyways)

AYJ



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 17:59:27 2012
Return-Path: <ietf-http-wg-request@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 EFEBF21F86BD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 17:59:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.587
X-Spam-Level: 
X-Spam-Status: No, score=-10.587 tagged_above=-999 required=5 tests=[AWL=0.012, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Aa6FEc1b7K2P for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 17:59:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5D92F21F86BB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 17:59:27 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyY8A-0005at-Oc for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 00:58:42 +0000
Resent-Date: Tue, 07 Aug 2012 00:58:42 +0000
Resent-Message-Id: <E1SyY8A-0005at-Oc@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SyY7x-0005ZY-JZ for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 00:58:29 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SyY7w-0005oE-L5 for ietf-http-wg@w3.org; Tue, 07 Aug 2012 00:58:29 +0000
Received: from [192.168.16.245] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id 48343101A9 for <ietf-http-wg@w3.org>; Mon,  6 Aug 2012 20:58:07 -0400 (EDT)
Message-ID: <5020681C.7000601@mozilla.com>
Date: Mon, 06 Aug 2012 20:58:04 -0400
From: patrick mcmanus <pmcmanus@mozilla.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net> <20120806204327.GA7647@1wt.eu> <8CFB0582-52E8-4ACF-BD6E-24F773C4F5ED@mnot.net> <20120806211446.GB7647@1wt.eu> <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net> <20120806212359.GC7647@1wt.eu> <50203826.6070604@cs.tcd.ie> <20120806214106.GD7647@1wt.eu> <C47944B8-9E7E-48EC-972A-0D8926EF1CF3@opera.com>
In-Reply-To: <C47944B8-9E7E-48EC-972A-0D8926EF1CF3@opera.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=1.5
X-W3C-Hub-Spam-Report: BAYES_60=1.5
X-W3C-Scan-Sig: maggie.w3.org 1SyY7w-0005oE-L5 ae5a4257cfdd75852d7a45f6336f732c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/5020681C.7000601@mozilla.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15008
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>

+1 to Karl's comments; they address the fundamentals here. The basic 
concept being proposed is understandable (especially in the context of 
virus filtering), but its a door that shouldn't be opened for https 
schemed urls. Beyond the "power" issue is the likelihood that such a 
configuration would be gamed through social engineering.

-Patrick

On 8/6/2012 5:59 PM, Karl Dubost wrote:
> Le 6 août 2012 à 17:41, Willy Tarreau a écrit :
>> I'm not advocating MITM, quite the opposite : I'm advocating valid use of proxies via opt-in to put an end to MITM.
> * I can understand the why for proposing a validation of this usage.
>
> * I can also see why many businesses will start to propose this as the default feature for users without a real choice for them.
>
>
> There are plenty of EULA already that users sign-up without reading because the « power » is on the side of the service. I'm not sure it is a good idea to push further in that direction without proposing a real secure end to end mechanism in the platform.
>
>



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 18:13:51 2012
Return-Path: <ietf-http-wg-request@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 653EF21F86C8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 18:13:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.828
X-Spam-Level: 
X-Spam-Status: No, score=-8.828 tagged_above=-999 required=5 tests=[AWL=1.771, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HMPlb4CcqY91 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 18:13:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BE1D421F86C6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 18:13:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyYLm-0005OM-SE for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 01:12:46 +0000
Resent-Date: Tue, 07 Aug 2012 01:12:46 +0000
Resent-Message-Id: <E1SyYLm-0005OM-SE@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SyYLV-0005LL-J8 for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 01:12:29 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SyYLU-0006Nk-F5 for ietf-http-wg@w3.org; Tue, 07 Aug 2012 01:12:29 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id 18C3A171CEE; Tue,  7 Aug 2012 02:12:07 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1344301926; bh=zSXFDswhRmLxvk MASrwqs3oFUgtDG/TD2TrXiGSxzW0=; b=Kd/c+hvR5yEyoGWn0YuEl3TWWTCyCk U160Yt4lWboaZQ3YuR0TY2IZbBX2jFMn6DfoRhAlJA1XgcLhY0HAIMKlBytVgwr2 +wKAE9n2iW/xKqWOc8+CTT7ZRPm4LPm5G2jZMcZjvFSLeaePPsLP82FSxVfgIpQq QLHbkV8UFm6a+U41yeIywj3S9kvcYH9pLAnCws739eoqjOMCP818Knl7a9GZzVeV n2cWvYLl9VWLrtl7qz00/pwRWu9WhRzCW1+esfYCma2t4QGsJZteXQyBfzLalWht 2Bl/mbTMx3mTJfbIuQ4z+Bzkixr8tL11+hHaRVeSM7bhiufLJnDWpAoQ==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id 8jaI9tXJ3HET; Tue,  7 Aug 2012 02:12:06 +0100 (IST)
Received: from [10.87.48.8] (unknown [86.41.15.219]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id 8BBC71717A6; Tue,  7 Aug 2012 02:12:02 +0100 (IST)
Message-ID: <50206B60.5010509@cs.tcd.ie>
Date: Tue, 07 Aug 2012 02:12:00 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0
MIME-Version: 1.0
To: Amos Jeffries <squid3@treenet.co.nz>
CC: ietf-http-wg@w3.org
References: <emb9d5f186-47ee-48b8-8e57-3b4eac3f6d78@bombed> <00850ab2e1678b268dfcce5bffa31d2e@treenet.co.nz>
In-Reply-To: <00850ab2e1678b268dfcce5bffa31d2e@treenet.co.nz>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-1.6
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SyYLU-0006Nk-F5 2a82a02b212508e00853233cde0177a3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/50206B60.5010509@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15009
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 08/07/2012 01:45 AM, Amos Jeffries wrote:
> 
> Today those rights are just words on a piece of paper describing some
> fantasy land that does not exist. Recalls marks assumption that he
> *knew* CONNECT provided end-to-end security. Mark you live in .au still?
> then your CONNECT is being decrypted. .cn, .sa, .in. .us, rq? same.

I think evidence of that would be useful.

Thanks,
S.



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 18:24:20 2012
Return-Path: <ietf-http-wg-request@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 B90CF11E8087 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 18:24:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.893
X-Spam-Level: 
X-Spam-Status: No, score=-7.893 tagged_above=-999 required=5 tests=[AWL=2.706, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wn1zehVCcKuO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 18:24:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7CDC321F86BE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 18:24:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyYW9-00026N-3u for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 01:23:29 +0000
Resent-Date: Tue, 07 Aug 2012 01:23:29 +0000
Resent-Message-Id: <E1SyYW9-00026N-3u@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SyYVv-00025Y-2E for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 01:23:15 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SyYVs-0006rd-Ra for ietf-http-wg@w3.org; Tue, 07 Aug 2012 01:23:15 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.6 (Build 3449)) with SMTP id <0019179321@smtp.qbik.com>; Tue, 07 Aug 2012 13:22:49 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Stephen Farrell" <stephen.farrell@cs.tcd.ie>
Cc: "Mark Nottingham" <mnot@mnot.net>, "Willy Tarreau" <w@1wt.eu>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Tue, 07 Aug 2012 01:22:49 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <502059A7.9000600@cs.tcd.ie>
Message-Id: <em0b94521f-f36f-4bb4-a820-cd8c6c1108cf@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SyYVs-0006rd-Ra fa00d6d80cfec37911e2cf4a3912adbd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/em0b94521f-f36f-4bb4-a820-cd8c6c1108cf@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15010
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>

------ Original Message ------
From: "Stephen Farrell" <stephen.farrell@cs.tcd.ie>
>Hiya,
>
>On 08/07/2012 12:37 AM, Adrien W. de Croy wrote:
>
>>
>>what e2e security?  There is none currently with TLS/https.
>>
>
>
>Disagree. There are mitm attacks. They are not ubiquitous.
>
how do we even know that?

Does anyone disagree that these are growing?   It seems to me that more=20
and more products are offering this, and certainly more and more of our=20
customers are asking for it.

Even if they aren't ubiquitous now, can we say the same about 5yrs from=20
now, or 10?

>>>>
>>>>
>>>>The real world REQUIRES inspection capability, for various reasons.
>>>>
>>>>
>>>
>>>
>>>
>>>The real world also REQUIRES lawful intercept. But we (the IETF)
>>>don't do that, and we're right I think. (That is, I agree with
>>>our consensus position.)
>>>
>>>
>>
>>
>>so do I, and this proposal does not affect lawful intercept which would
>>continue to operate in the way it currently does.
>>
>
>
>Your argument was: "real world REQUIRES foo, therefore we MUST do foo."
>That is demonstrably not the case with LI so this part of your
>argument falls.
>

At the moment, our customers, who provide the reason for our existence=20
(as a company) pay us, and want this, and will go somewhere else=20
otherwise.

offering a service at a proxy which is support for GET https:// is=20
something entirely different, and the browser can choose whether it=20
will issue that request or not.

If browser authors fail users by not making it clear enough that's=20
another issue.

As for whether there's a choice.  There's always a choice.  You can=20
maybe make a better choice if you have more information.  If you're=20
being spied on, would you rather know or not know?

>>
>>
>>We're only proposing proxying of https, which is done with the knowledge
>>of the client, and is not useful for covert intercepts.
>>
>
>
>Even though based on a bad argument, I don't agree with your last
>conclusion.
>

You're saying it can be visible and yet also covert?
>>>I agree, I'd like to see some more evidence, e.g. rates of prevention=
 of
>>>malware (which commonly uses https to retrieve payload).
>>>
>
>
>The evidence needed would not be "I can do x,y,z at the mitm" but
>rather "I can do x,y,x NN% better at the mitm compared to the endpoint."
>
so you'd rather deploy the "solution" e.g. 1000 times in an=20
organisation (and maintain it) than once at the gateway?

You'd be in the minority there I think.  Most people see that only as a=20
way to greatly amplify cost and pain.
>>
>>
>>I don't get the question. TLS is designed to combat MITM with or
>>without client certs. That's a fundamental requirement for TLS.
>>
>>
>>
>>
>>yet MITM proxies exist and continue to be deployed presumably
>>successfully.  My question was whether the WG was taking aim at this
>>problem (which would be an escalation of the arms race).
>>
>
>
>"taking aim" is ambiguous so its hard to answer.
>
>What has happened at least a couple of times was: vendor turns up,
>says "our customers need and buy mitm so you need to standardised
>it", tls wg says: no, we're here to provide transport layer
>security not to break that.
>
>I don't see any escalation there nor any arms race. (It is probably
>true that instances of mitm attack are growing in number.)
>

so I take it the WG does not have any plans to make it more difficult=20
for people to deploy MITM agents then?

>>>
>>>Feel free to propose a specification that meets your proposed
>>>requirements. That is hard-to-impossible IMO.
>>>
>>>
>>
>>
>>GET https://etc
>>
>
>
>My equally detailed rebuttal is: "That doesn't work." :-)
>
>Next step, you, or someone, writes a real I-D.
>
fair enough.

>>
>>
>>Sure, my point was client-centric.  However, banks are already in this
>>situation.  I use online systems of 3 banks.  None require me to use a
>>client certificate.  Is this just a meteor waiting to hit?
>>
>
>
>I've no idea if your argument is tongue-in-cheek or not. Probably
>better not to respond on that one before that's clear. (Banks issuing
>client-certs is not currently a really tractable approach.)
>
>
my point is that currently (with currently available kit), the only way=20
for a bank to prevent MITM is to require use of client certificates (I=20
agree it's not a practical solution).

They aren't doing this IME.  Yet I know (directly from bank IT people)=20
they are aware of the existence of SSL inspection at proxies.

Therefore they are demonstrating already a trust of the proxy, or more=20
to the point designing around it, and not relying on TLS for their=20
security but something else (e.g. watchwords, RSA key fobs etc).

If client certs start to be required, I can see a day when people will=20
just be required to give their client cert to their proxy operator. =20
That would not result in a better situation than we have now.

Adrien
>
>S
>
>
>>
>>
>>They already are demonstrating either ignorance or trust of MITM proxies
>>operated by client organisations.  I won't do them the disrespect of
>>claimimg it's ignorance.
>>
>>
>>>
>>>
>>>
>>>Do we really want to engineer the web so as to allow a company
>>>proxy to prevent payments to the company's favourite bad cause?
>>>That's what's being enabled here. Its a bad plan.
>>>
>>>
>>
>>
>>It can already happen.  If we want to stop it, that's yet another
>>direction to move in.  What we're proposing has no impact on that.
>>
>>Adrien
>>
>>>
>>>
>>>
>>>It might be tractable to figure how to get a user to trust her
>>>employer's proxy for some things, but that's just nowhere near a
>>>full solution IMO.
>>>
>>>Cheers,
>>>S
>>>
>>>
>>>
>>>>
>>>>
>>>>We don't have a system that does not require any trust in any
>>>>party.  We trust the bank with our money, we trust the CA to properly
>>>>issue certificates and to ensure safe keeping of their private keys.
>>>>Most people IME are quite happy to have their web surfing scanned for
>>>>viruses.  I don't see a problem with some real estate on a browser
>>>>showing that they are required to trust the proxy they are using, or
>>>>don't go to the site.
>>>>Otherwise you have to inspect the certificate of every secure and
>>>>sensitive site you go to in order to check if it's signed by who you
>>>>expect (e.g. a CA instead of your proxy).  It's completely unrealistic
>>>>to expect users to do that, and history has shown that educating
>>>>end-users about the finer points of security is not easily done.
>>>>
>>>>
>>>>Adrien
>>>>
>>>>
>>>>------ Original Message ------
>>>>From: "Mark Nottingham" <mnot@mnot.net>
>>>>To: "Willy Tarreau" <w@1wt.eu>
>>>>Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
>>>>Sent: 7/08/2012 9:16:48 a.m.
>>>>Subject: Re: Semantics of HTTPS
>>>>
>>>>
>>>>>
>>>>>
>>>>>On 06/08/2012, at 4:14 PM, Willy Tarreau <w@1wt.eu> wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>Right. That's a big change from the semantics of HTTPS today,
>>>>>>>though; right
>>>>>>>now, when I see that, I know that I have end-to-end TLS.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>No, you *believe* you do, you really don't know. That's clearly the
>>>>>>problem
>>>>>>with the way it works, man-in-the middle proxies are still able to
>>>>>>intercept
>>>>>>it and to forge certs they sign with their own CA and you have no =
way
>>>>>>to know
>>>>>>if your communications are snooped or not.
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>It's a really big logical leap from the existence of an attack to
>>>>>changing the fundamental semantics of the URI scheme. And, that's what
>>>>>a MITM proxy is -- it's not legitimate, it's not a recognised role,
>>>>>it's an attack. We shouldn't legitimise it.
>>>>>
>>>>>Cheers,
>>>>>
>>>>>--
>>>>>Mark Nottingham
>>>>>http://www.mnot.net/
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 18:26:15 2012
Return-Path: <ietf-http-wg-request@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 DE2B511E808A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 18:26:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.214
X-Spam-Level: 
X-Spam-Status: No, score=-10.214 tagged_above=-999 required=5 tests=[AWL=0.385, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rXDayFcEJBV8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 18:26:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1109711E8087 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 18:26:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyYYP-0003hh-LK for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 01:25:49 +0000
Resent-Date: Tue, 07 Aug 2012 01:25:49 +0000
Resent-Message-Id: <E1SyYYP-0003hh-LK@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SyYYD-0003gQ-2O for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 01:25:37 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SyYYB-0006wS-VM for ietf-http-wg@w3.org; Tue, 07 Aug 2012 01:25:37 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id DBA50E70EF; Tue,  7 Aug 2012 13:25:11 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Tue, 07 Aug 2012 13:25:11 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <50206B60.5010509@cs.tcd.ie>
References: <emb9d5f186-47ee-48b8-8e57-3b4eac3f6d78@bombed> <00850ab2e1678b268dfcce5bffa31d2e@treenet.co.nz> <50206B60.5010509@cs.tcd.ie>
Message-ID: <9fce8856732519383e404517953c80cf@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SyYYB-0006wS-VM e21d630bf265d61ecd9d9555fcbfed7d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/9fce8856732519383e404517953c80cf@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15011
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 07.08.2012 13:12, Stephen Farrell wrote:
> On 08/07/2012 01:45 AM, Amos Jeffries wrote:
>>
>> Today those rights are just words on a piece of paper describing 
>> some
>> fantasy land that does not exist. Recalls marks assumption that he
>> *knew* CONNECT provided end-to-end security. Mark you live in .au 
>> still?
>> then your CONNECT is being decrypted. .cn, .sa, .in. .us, rq? same.
>
> I think evidence of that would be useful.
>
> Thanks,
> S.

That was a quick scan of my inbox from what appear to be national 
teleco types asking how to debug problems in their Squid ssl-bump MITMs 
over the last ~6 months. ssl-bump being a feature which is rather 
non-discriminative about what it decrypts. Along the lines of that raven 
list argument "why is it not wiretapping if only 92% of packets are 
captured?"

AYJ



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 18:34:56 2012
Return-Path: <ietf-http-wg-request@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 C4EAB21F8691 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 18:34:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.106
X-Spam-Level: 
X-Spam-Status: No, score=-10.106 tagged_above=-999 required=5 tests=[AWL=0.492, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mR6ldaJre2KQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 18:34:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4769421F867F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 18:34:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyYgU-0008Iz-Pa for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 01:34:10 +0000
Resent-Date: Tue, 07 Aug 2012 01:34:10 +0000
Resent-Message-Id: <E1SyYgU-0008Iz-Pa@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SyYgH-0008Hm-BT for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 01:33:57 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dzonatas@gmail.com>) id 1SyYgG-0007Aj-9v for ietf-http-wg@w3.org; Tue, 07 Aug 2012 01:33:57 +0000
Received: by vcdd16 with SMTP id d16so3659835vcd.2 for <ietf-http-wg@w3.org>; Mon, 06 Aug 2012 18:33:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/xaQgZSmBLDeEifjo8VfOgM+W1CmFOqhgsivmDOxgsI=; b=u2J0GjSeAtdWbBxl7gRWClxNZJnTjTiXTaimBdMLF1E1+b+0AO+CAaG5rJTgMnwztz xqSNdscqy2Mqzy8iZXdKqPVo4nu/NI5Bc7C0XOOVtdZlNhy/7tAiV1DBLZmCxIBeBszT XsaihUW6XVRfsYHC41ZJAWNdr/4I3V8xFIm3SWxr6HmmQmdXVRjG/ACPN5P5iIkV6Apr 5vrxTvwoUakhyJCWJOFZfgY3xvWz/clLPauqmu22PzTiFzUObcW6m1PTi1dU32cF5f/L yRDNye8AAsljHe2CVgxj25FnLAtTMem2SAMQ0KTUquaPXEKWpwqt32v3uhEvCNPwieCl U6iA==
MIME-Version: 1.0
Received: by 10.220.116.79 with SMTP id l15mr9598700vcq.69.1344303209958; Mon, 06 Aug 2012 18:33:29 -0700 (PDT)
Received: by 10.58.221.97 with HTTP; Mon, 6 Aug 2012 18:33:29 -0700 (PDT)
In-Reply-To: <50206B60.5010509@cs.tcd.ie>
References: <emb9d5f186-47ee-48b8-8e57-3b4eac3f6d78@bombed> <00850ab2e1678b268dfcce5bffa31d2e@treenet.co.nz> <50206B60.5010509@cs.tcd.ie>
Date: Mon, 6 Aug 2012 18:33:29 -0700
Message-ID: <CAAPAK-7z41h_qko2MjjwyY8cPUdkwM6=bOkc0tNPQAWKtJpArw@mail.gmail.com>
From: Jonathan Ballard <dzonatas@gmail.com>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Cc: Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d043c7fe24cced004c6a2fbb4
Received-SPF: pass client-ip=209.85.220.171; envelope-from=dzonatas@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SyYgG-0007Aj-9v 7cd4debe881b7fbfb6fac36d31c62d25
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/CAAPAK-7z41h_qko2MjjwyY8cPUdkwM6=bOkc0tNPQAWKtJpArw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15012
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>

--f46d043c7fe24cced004c6a2fbb4
Content-Type: text/plain; charset=ISO-8859-1

Ah then, .os is available for discussion here. That makes sense with
CONNECT URL.

On Monday, August 6, 2012, Stephen Farrell wrote:

>
>
> On 08/07/2012 01:45 AM, Amos Jeffries wrote:
> >
> > Today those rights are just words on a piece of paper describing some
> > fantasy land that does not exist. Recalls marks assumption that he
> > *knew* CONNECT provided end-to-end security. Mark you live in .au still?
> > then your CONNECT is being decrypted. .cn, .sa, .in. .us, rq? same.
>
> I think evidence of that would be useful.
>
> Thanks,
> S.
>
>
>

--f46d043c7fe24cced004c6a2fbb4
Content-Type: text/html; charset=ISO-8859-1

Ah then, .os is available for discussion here. That makes sense with CONNECT URL.<br><br>On Monday, August 6, 2012, Stephen Farrell  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On 08/07/2012 01:45 AM, Amos Jeffries wrote:<br>
&gt;<br>
&gt; Today those rights are just words on a piece of paper describing some<br>
&gt; fantasy land that does not exist. Recalls marks assumption that he<br>
&gt; *knew* CONNECT provided end-to-end security. Mark you live in .au still?<br>
&gt; then your CONNECT is being decrypted. .cn, .sa, .in. .us, rq? same.<br>
<br>
I think evidence of that would be useful.<br>
<br>
Thanks,<br>
S.<br>
<br>
<br>
</blockquote>

--f46d043c7fe24cced004c6a2fbb4--


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 22:46:56 2012
Return-Path: <ietf-http-wg-request@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 6AC1C21F8522 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 22:46:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.649
X-Spam-Level: 
X-Spam-Status: No, score=-9.649 tagged_above=-999 required=5 tests=[AWL=0.635, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jiiwbmdUbGhM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 22:46:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5765B21F8691 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 22:46:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SycbI-0001B9-SR for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 05:45:04 +0000
Resent-Date: Tue, 07 Aug 2012 05:45:04 +0000
Resent-Message-Id: <E1SycbI-0001B9-SR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Sycay-0008IL-TB for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 05:44:44 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Sycax-0006IV-C5 for ietf-http-wg@w3.org; Tue, 07 Aug 2012 05:44:44 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q775iAWr010585; Tue, 7 Aug 2012 07:44:10 +0200
Date: Tue, 7 Aug 2012 07:44:10 +0200
From: Willy Tarreau <w@1wt.eu>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: Stephen Farrell <stephen.farrell@cs.tcd.ie>, Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20120807054410.GE7647@1wt.eu>
References: <502050BC.2020701@cs.tcd.ie> <em8c295a69-d3a9-4f37-9bbf-7bd9df07e0bc@bombed>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <em8c295a69-d3a9-4f37-9bbf-7bd9df07e0bc@bombed>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=3.5
X-W3C-Hub-Spam-Report: BAYES_99=3.5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sycax-0006IV-C5 e4788d8d7b2fe6bdcfe5cbcadbca6f03
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/20120807054410.GE7647@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15013
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 Mon, Aug 06, 2012 at 11:37:15PM +0000, Adrien W. de Croy wrote:
> >Well just block those sites if you must. I don't see why inspection
> >is somehow better. I do see that some people might think inspection
> >is better, but if that's a falsehood then no conclusion can be drawn.
> >(False => anything, logically.) Evidence of the effectiveness of
> >MITM inspection (vs. endpoint mechanisms) would be good, but seems
> >to be missing.
> >
> I agree, I'd like to see some more evidence, e.g. rates of prevention 
> of malware (which commonly uses https to retrieve payload).
> 
> But there are plenty of security software vendors who will tell you 
> that malware spreads more and more with https.

This is not just a claim, about 8 years ago I could observe the first
malware communicating with the outside only using https. At that time
it couldn't pass the proxy authentication trick so we had to connect
it to the internet to see it escape the machine. Now this has become
the norm it seems, since anti-virus and anti-malware proxies are
supposed to be almost everywhere.

> They do a good job of convicing customers they need to scan https.

Our customers regularly ask us for this because at the moment they have
to find the right balance between opening some "trusted" https sites
their users are asking for, and not opening too much to limit the risk
of infection. And with more sites migrating to https, this becomes
really tricky not to do MITM now. And doing so causes real security
issues because nothing was planned to inform the user about the original
site's certificate.

> >You left out an important thing: it requires sites (e.g. a bank)
> >to trust proxies the site has never heard of with the site's
> >customer data, e.g. payment information.
> >
> 
> Sure, my point was client-centric.  
> However, banks are already in this situation.  I use online systems of 
> 3 banks.  None require me to use a client certificate.  Is this just a 
> meteor waiting to hit?
> 
> They already are demonstrating either ignorance or trust of MITM 
> proxies operated by client organisations.  I won't do them the 
> disrespect of claimimg it's ignorance.

No, one of my regular customer is a bank and they're facing deeper
issues : certificate management. Supporting this for millions of
customers is really really tricky. You don't only have geeks among bank
customers, a large number of them are totally novice and are experiencing
issues you wouldn't even imagine. Some do not hesitate to send invoices
for a PC repairing claiming that a change on the site design has broken
their PC... Others have no trouble connecting to the site with ads all
over the screen... Managing certificates with such ignorant people is a
real burden, it would cost a lot in support. I'm not saying it's not going
to happen, I'm just doubting it will happen soon, considering that their
#1 ennemy is the MITB (man-in-the-browser, the malware that sees everything
in clear) and not the network.

Anyway, that's where I think that CONNECT will still be used once we have
GET https://. GET will be used for normal https, and CONNECT with a short
whitelist of sites which must not be analysed and which must be trusted.

> >Do we really want to engineer the web so as to allow a company
> >proxy to prevent payments to the company's favourite bad cause?
> >That's what's being enabled here. Its a bad plan.
> >
> 
> It can already happen.  If we want to stop it, that's yet another 
> direction to move in.  What we're proposing has no impact on that.

Also, proxy usage is clearly defined in the HTTP spec, so the HTTP
spec already allows MITM rejection of some websites based on the
destination address. Should we state that the IETF was bad in allowing
this ? I don't think so, it's just that whatever we design will make
it possible for someone along the path to roughly classify the traffic
and decide what to do with it. SNI/NPN provide similar information that
can be used for filtering traffic.

So we're not proposing anything new, just suggesting another way to
use a proxy to relay https so that the user decides whether he prefers
privacy or malware protection. Right now he cannot choose.

Willy



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 23:03:40 2012
Return-Path: <ietf-http-wg-request@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 8E8DD21F869A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 23:03:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.815
X-Spam-Level: 
X-Spam-Status: No, score=-9.815 tagged_above=-999 required=5 tests=[AWL=0.784, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kNqFdbxSVNfU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 23:03:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5FB8D21F868A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 23:03:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sycrg-0003Ot-TR for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 06:02:00 +0000
Resent-Date: Tue, 07 Aug 2012 06:02:00 +0000
Resent-Message-Id: <E1Sycrg-0003Ot-TR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SycrU-0003O3-Kl for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 06:01:48 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SycrT-0006kw-Dp for ietf-http-wg@w3.org; Tue, 07 Aug 2012 06:01:48 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q7761Of4010663; Tue, 7 Aug 2012 08:01:24 +0200
Date: Tue, 7 Aug 2012 08:01:24 +0200
From: Willy Tarreau <w@1wt.eu>
To: Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20120807060124.GF7647@1wt.eu>
References: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SycrT-0006kw-Dp c9964b3ed380f50e17e8953e69930ce6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/20120807060124.GF7647@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15014
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 Mon, Aug 06, 2012 at 03:32:01PM -0500, Mark Nottingham wrote:
> I think we need to define HTTPS as having a semantic of *end-to-end* use of SSL/TLS, and therefore CONNECT to proxies. 

Just thinking, why not state that "when end-to-end is desired for https,
CONNECT must be used" instead ?

Willy



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 23:14:40 2012
Return-Path: <ietf-http-wg-request@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 4D95D21F868A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 23:14:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.588
X-Spam-Level: 
X-Spam-Status: No, score=-10.588 tagged_above=-999 required=5 tests=[AWL=0.011, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0oL0vGqdA-kl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 23:14:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AAD8D21F8661 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 23:14:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Syd3A-0006dC-QL for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 06:13:52 +0000
Resent-Date: Tue, 07 Aug 2012 06:13:52 +0000
Resent-Message-Id: <E1Syd3A-0006dC-QL@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Syd2x-0006c0-VM for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 06:13:39 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Syd2w-00072h-9c for ietf-http-wg@w3.org; Tue, 07 Aug 2012 06:13:39 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 76F2D3B772; Tue,  7 Aug 2012 06:13:16 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q776DEha038137; Tue, 7 Aug 2012 06:13:14 GMT (envelope-from phk@phk.freebsd.dk)
To: Mark Nottingham <mnot@mnot.net>
cc: Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 06 Aug 2012 16:16:48 EST." <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 07 Aug 2012 06:13:14 +0000
Message-ID: <38136.1344319994@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Syd2w-00072h-9c 298cd31587302e99935105d7dcb65711
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/38136.1344319994@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15015
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>

In message <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net>, Mark Nottingham wri
tes:

>It's a really big logical leap from the existence of an attack to 
>changing the fundamental semantics of the URI scheme. And, that's what a 
>MITM proxy is -- it's not legitimate, it's not a recognised role, it's 
>an attack. We shouldn't legitimise it. 

As I have said earlier:  Many of these deployments have grounds in
valid legal requirements, and they only happen to become MITM because
the TLS protocol offers no other alternative.

The problem is that TLS does not offer support intermediaries, and people
work around that lack of support when the law says they must.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 23:22:23 2012
Return-Path: <ietf-http-wg-request@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 7F9F521F8688 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 23:22:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.824
X-Spam-Level: 
X-Spam-Status: No, score=-9.824 tagged_above=-999 required=5 tests=[AWL=0.775, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7nzdc8E+ZGQJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 23:22:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8FB3721F867F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 23:22:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SydAe-0002qh-6i for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 06:21:36 +0000
Resent-Date: Tue, 07 Aug 2012 06:21:36 +0000
Resent-Message-Id: <E1SydAe-0002qh-6i@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SydAQ-0002ps-Kz for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 06:21:22 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SydAL-0007HO-73 for ietf-http-wg@w3.org; Tue, 07 Aug 2012 06:21:21 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q776Kstk010729; Tue, 7 Aug 2012 08:20:54 +0200
Date: Tue, 7 Aug 2012 08:20:54 +0200
From: Willy Tarreau <w@1wt.eu>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20120807062054.GH7647@1wt.eu>
References: <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net> <38136.1344319994@critter.freebsd.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <38136.1344319994@critter.freebsd.dk>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SydAL-0007HO-73 518212ae56fa3495525a172987bd6822
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/20120807062054.GH7647@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15016
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 Tue, Aug 07, 2012 at 06:13:14AM +0000, Poul-Henning Kamp wrote:
> In message <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net>, Mark Nottingham wri
> tes:
> 
> >It's a really big logical leap from the existence of an attack to 
> >changing the fundamental semantics of the URI scheme. And, that's what a 
> >MITM proxy is -- it's not legitimate, it's not a recognised role, it's 
> >an attack. We shouldn't legitimise it. 
> 
> As I have said earlier:  Many of these deployments have grounds in
> valid legal requirements, and they only happen to become MITM because
> the TLS protocol offers no other alternative.
> 
> The problem is that TLS does not offer support intermediaries, and people
> work around that lack of support when the law says they must.

TLS is not really the issue here, it's just HTTPS which is the issue.
Having a TLS connection between the client and the proxy with mutual
auth provides better protection than what we have right now. It really
protects against MITM between the client and the proxy and even better
protects user privacy on the LAN than what CONNECT does, since there
is no URL nor SNI anymore transported in clear (neither password BTW).

If I had the choice, I would always use TLS to connect to my proxy and
would allow content inspection for all sites except a bunch of ones I
wouldn't trust the platform/admin enough to risk my credentials being
stolen (bank/paypal mainly).

Willy



From ietf-http-wg-request@listhub.w3.org  Mon Aug  6 23:24:53 2012
Return-Path: <ietf-http-wg-request@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 108DD21F867F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 23:24:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.588
X-Spam-Level: 
X-Spam-Status: No, score=-10.588 tagged_above=-999 required=5 tests=[AWL=0.011, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e11Q7Ehqtju2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  6 Aug 2012 23:24:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7811921F8661 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  6 Aug 2012 23:24:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SydD7-0003Jq-Rb for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 06:24:09 +0000
Resent-Date: Tue, 07 Aug 2012 06:24:09 +0000
Resent-Message-Id: <E1SydD7-0003Jq-Rb@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SydCu-0003FJ-Hr for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 06:23:56 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SydCY-0007LI-BN for ietf-http-wg@w3.org; Tue, 07 Aug 2012 06:23:48 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 95D873B77C; Tue,  7 Aug 2012 06:23:12 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q776NBA6038231; Tue, 7 Aug 2012 06:23:12 GMT (envelope-from phk@phk.freebsd.dk)
To: "Adrien W. de Croy" <adrien@qbik.com>
cc: "Karl Dubost" <karld@opera.com>, "Willy Tarreau" <w@1wt.eu>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 06 Aug 2012 23:18:20 GMT." <em801c6840-5fa1-4ed4-b1b8-03ca3d471971@bombed>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 07 Aug 2012 06:23:11 +0000
Message-ID: <38230.1344320591@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SydCY-0007LI-BN bca061a9cd173a24fe68a490f5e1f649
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/38230.1344320591@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15017
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>

In message <em801c6840-5fa1-4ed4-b1b8-03ca3d471971@bombed>, "Adrien W. de Croy"
 writes:

>I'm not convinced that what is proposed alters the balance of power at
>all.

I think trying to use protocol design to alter the balance of power
by restriction is a fundamentally flawed attitude.

If a given protocol does not support what the law requies, then the
protocol will be circumvented, broken or banned.

Adrien is right that there is a market requirement for inspection,
and all we get if we refuse to meet that requirement, is less users
of the protocol or that the protocol be broken open using MITM and
bogus certificates.

I do realize the trouble with "redefining HTTPS", and would like to
point out that we have a way around that:

Per protocol message encryption will allow us to define the semantics
required in the market, *AND* it will allow us to mix protected and
unprotected traffic in the same TCP connection, which saves a
TCP connection in the very typical HTTP->HTTPS login scenario.

If we add per-message-encryption in HTTP/2.0 it will not be TLS
(obvious), and therefore we will not be redefining HTTPS' semantics.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 00:01:34 2012
Return-Path: <ietf-http-wg-request@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 3C42C11E8072 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 00:01:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.347
X-Spam-Level: 
X-Spam-Status: No, score=-10.347 tagged_above=-999 required=5 tests=[AWL=0.252, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lg56Hjm6xuGP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 00:01:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 56EA921F857D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 00:01:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sydm1-0003m5-SW for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 07:00:13 +0000
Resent-Date: Tue, 07 Aug 2012 07:00:13 +0000
Resent-Message-Id: <E1Sydm1-0003m5-SW@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Sydlo-0001PU-AH for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 07:00:00 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Sydli-000824-7j for ietf-http-wg@w3.org; Tue, 07 Aug 2012 07:00:00 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q776wnxX030219; Tue, 7 Aug 2012 09:58:49 +0300
X-CheckPoint: {5020B9D6-5-1B221DC2-4FFFF}
Received: from il-ex03.ad.checkpoint.com (194.29.34.71) by il-ex01.ad.checkpoint.com (194.29.34.26) with Microsoft SMTP Server (TLS) id 8.3.213.0; Tue, 7 Aug 2012 09:58:48 +0300
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex03.ad.checkpoint.com ([194.29.34.71]) with mapi; Tue, 7 Aug 2012 09:58:44 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Willy Tarreau <w@1wt.eu>
CC: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Tue, 7 Aug 2012 09:58:44 +0300
Thread-Topic: Semantics of HTTPS
Thread-Index: Ac10ahWHUmR6FkIARNCeLckcZlX35w==
Message-ID: <1D94A21A-06C2-42E5-832A-C4DAB197E4F7@checkpoint.com>
References: <9C83A9EC-09F0-42D9-BA64-97A5194B4C38@mnot.net> <20120806204327.GA7647@1wt.eu> <8CFB0582-52E8-4ACF-BD6E-24F773C4F5ED@mnot.net> <20120806211446.GB7647@1wt.eu> <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net> <20120806212359.GC7647@1wt.eu>
In-Reply-To: <20120806212359.GC7647@1wt.eu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
x-cpdlp: 11cd01bed536f82e0b61e32c218dcf7da63254564c
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-KSE-AntiSpam-Interceptor-Info: protection disabled
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sydli-000824-7j dd854f13b8e75fc454ef08340fce0c60
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/1D94A21A-06C2-42E5-832A-C4DAB197E4F7@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15018
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 Aug 7, 2012, at 12:23 AM, Willy Tarreau wrote:

> On Mon, Aug 06, 2012 at 04:16:48PM -0500, Mark Nottingham wrote:
>>=20
>> On 06/08/2012, at 4:14 PM, Willy Tarreau <w@1wt.eu> wrote:
>>=20
>>>> Right. That's a big change from the semantics of HTTPS today, though; =
right
>>>> now, when I see that, I know that I have end-to-end TLS.
>>>=20
>>> No, you *believe* you do, you really don't know. That's clearly the pro=
blem
>>> with the way it works, man-in-the middle proxies are still able to inte=
rcept
>>> it and to forge certs they sign with their own CA and you have no way t=
o know
>>> if your communications are snooped or not.
>>=20
>> It's a really big logical leap from the existence of an attack to changi=
ng
>> the fundamental semantics of the URI scheme. And, that's what a MITM pro=
xy is
>> -- it's not legitimate, it's not a recognised role, it's an attack. We
>> shouldn't legitimise it.=20
>=20
> That's clearly what I'm suggesting : offer a clean way to have a proxy in=
spect
> contents with the users' consent in the browser policy (using GET https:/=
/) or
> ask for a tunnel to be established, assuming it should be end-to-end. The=
re
> will be no more solution than today to detect there's an MITM, but at lea=
st
> there will be far less incentive for product authors to do that if it's o=
nly
> for a handful of trustable websites.
>=20
> At the moment the state of affairs has created MITM proxies and we'd bett=
er
> get rid of them by offering a solution to the problem they try to solve.

I don't think this is actually getting rid of them. It really depends on ho=
w you define "MitM". If a user connects to facebook, they naturally expect =
their traffic to go straight to facebook, and if notice the little padlock =
icon, they expect this connection to be confidential. They don't expect thi=
rd parties to be reading this, so any third party that does is a MitM.

Whether you configure a sniffing CA, or a "trusted proxy" makes no differen=
ce. Making it part of the protocol makes no difference, because the user's =
privacy is not affected by whether the proxy behavior is "standardized" or =
a "hack". The implications are the same.

The proposal that Stephen mentioned was rejected by TLS was not intended to=
 make privacy better or worse than the current situation, not does it chang=
e the implications of having a MitM. This proposal also does not change thi=
ngs.

Yoav



From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 00:12:44 2012
Return-Path: <ietf-http-wg-request@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 1994121F8585 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 00:12:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.352
X-Spam-Level: 
X-Spam-Status: No, score=-10.352 tagged_above=-999 required=5 tests=[AWL=0.247, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nAn3qNcpVV8T for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 00:12:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5201E21F85A8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 00:12:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sydx9-00072m-D5 for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 07:11:43 +0000
Resent-Date: Tue, 07 Aug 2012 07:11:43 +0000
Resent-Message-Id: <E1Sydx9-00072m-D5@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Sydwv-000721-RG for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 07:11:29 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Sydwn-0000Ln-H5 for ietf-http-wg@w3.org; Tue, 07 Aug 2012 07:11:28 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q777ANFB032111; Tue, 7 Aug 2012 10:10:24 +0300
X-CheckPoint: {5020BC8D-2-1B221DC2-4FFFF}
Received: from il-ex03.ad.checkpoint.com (194.29.34.71) by il-ex01.ad.checkpoint.com (194.29.34.26) with Microsoft SMTP Server (TLS) id 8.3.213.0; Tue, 7 Aug 2012 10:10:23 +0300
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex03.ad.checkpoint.com ([194.29.34.71]) with mapi; Tue, 7 Aug 2012 10:10:18 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: "Adrien W. de Croy" <adrien@qbik.com>
CC: Willy Tarreau <w@1wt.eu>, Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Tue, 7 Aug 2012 10:10:18 +0300
Thread-Topic: Semantics of HTTPS
Thread-Index: Ac10a7ODghb10lhsTPq/U8w6JI2xOA==
Message-ID: <2F1D61E5-C47F-45AA-BABC-FD1BFDDC8DEE@checkpoint.com>
References: <emb9d5f186-47ee-48b8-8e57-3b4eac3f6d78@bombed>
In-Reply-To: <emb9d5f186-47ee-48b8-8e57-3b4eac3f6d78@bombed>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
x-cpdlp: 116891601ee980bd7dad863d3c09fdafd423bbaa49
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-KSE-AntiSpam-Interceptor-Info: protection disabled
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sydwn-0000Ln-H5 edc254b65b7b6f9bd15d4554efb3a92d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/2F1D61E5-C47F-45AA-BABC-FD1BFDDC8DEE@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15019
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 Aug 7, 2012, at 1:21 AM, Adrien W. de Croy wrote:

>=20
> ------ Original Message ------
> From: "Willy Tarreau" <w@1wt.eu>
>> Same here :-)
>>=20
>> I believe Adrien de Croy has more experience in this area, would be nice=
 to
>> have his opinion here.
>>=20
>>=20
> I'm flattered, but actually don't have that much deployment experience=20
> in MITM outside of the lab.
>=20
> I'd be keen to hear from vendors of products that have a few years=20
> experience with https inspection.

<vendor hat>

We have several years of experience (as do plenty of others)

Current practice is to have the proxy function as a CA, and sign certificat=
es on behalf of the servers. This MitM attack can only work if the browser =
trusts this CA. When enterprises deploy such proxies (and pretty much anyon=
e who deploys a "next generation firewall" also deploys a TLS proxy), all u=
sers get the warning screens that the server certificate is untrusted. So t=
he HTTPS end-to-end does work. The fact that we've all been trained to clic=
k through such warnings is a testament to deployment issues of HTTPS, not t=
o a deficiency in the spec.

Deployments get around those warning screens by having adding the CA certif=
icate to the trust anchor store of the browser. Enterprises do this automat=
ically for Windows machines connected to the domain and using Internet Expl=
orer or Chrome. Users of smart phones, Macs, Firefox, Opera or Linux genera=
lly have to do it on their own. There is a privacy issue with a company alt=
ering trust settings for the user, but that is not something we can change =
here.=20

The point is that MitM proxies fail as attackers, because (unless they can =
also configure your browser) they are detected. If you go to one of the cou=
ntries that deploy country-wide TLS proxies, you will immediately notice th=
is.

</vendor hat>

Yoav



From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 00:33:15 2012
Return-Path: <ietf-http-wg-request@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 7C25C11E80DC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 00:33:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.357
X-Spam-Level: 
X-Spam-Status: No, score=-10.357 tagged_above=-999 required=5 tests=[AWL=0.242, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J6A9rPICjszF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 00:33:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0E67511E80D7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 00:33:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyeGq-0007xH-5s for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 07:32:04 +0000
Resent-Date: Tue, 07 Aug 2012 07:32:04 +0000
Resent-Message-Id: <E1SyeGq-0007xH-5s@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1SyeGa-0007vm-Rx for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 07:31:48 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1SyeGG-00011S-B5 for ietf-http-wg@w3.org; Tue, 07 Aug 2012 07:31:37 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q777UQ7a003149; Tue, 7 Aug 2012 10:30:26 +0300
X-CheckPoint: {5020C13F-0-1B221DC2-4FFFF}
Received: from il-ex03.ad.checkpoint.com (194.29.34.71) by il-ex01.ad.checkpoint.com (194.29.34.26) with Microsoft SMTP Server (TLS) id 8.3.213.0; Tue, 7 Aug 2012 10:30:26 +0300
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex03.ad.checkpoint.com ([194.29.34.71]) with mapi; Tue, 7 Aug 2012 10:30:09 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: "Adrien W. de Croy" <adrien@qbik.com>
CC: Mark Nottingham <mnot@mnot.net>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Tue, 7 Aug 2012 10:30:04 +0300
Thread-Topic: Semantics of HTTPS
Thread-Index: Ac10bnklZKjP5CuYTXynC7HoDyqVTA==
Message-ID: <62E31B2C-2681-4A44-A3B3-55F59B21D0DC@checkpoint.com>
References: <em41c9c24e-0dfd-4d37-822b-96bfe2fb7ebb@bombed>
In-Reply-To: <em41c9c24e-0dfd-4d37-822b-96bfe2fb7ebb@bombed>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
x-cpdlp: 111c847bdbf1449ab4990c63d799fd5fe279bcb8fb
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-KSE-AntiSpam-Interceptor-Info: protection disabled
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SyeGG-00011S-B5 b7eb654614c237e9edbf631b08b22e19
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/62E31B2C-2681-4A44-A3B3-55F59B21D0DC@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15020
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 Aug 7, 2012, at 1:39 AM, Adrien W. de Croy wrote:

>=20
> I think we need to be clear what we are doing when we apply logic such=20
> as
>=20
> 1. TLS / HTTPS was not designed for inspection
> 2. therefore any inspection is a hack
> 3. therefore we should not allow/sanitise it
>=20
> One could argue that 1. was a design failure (failure to cover all=20
> requirements), and that it should just be fixed. =20
>=20
> One could also argue that hacks have as much right to be accepted as=20
> anything else.  They exist for a purpose.
>=20
> The real world REQUIRES inspection capability, for various reasons.
>=20
> We can either ignore that requirement, and carry on with our arms race,=20
> or come to some mutual agreement on how to deal with the very real and=20
> in many (if not most) cases entirely legitimate requirement.

It's a strange arms race, because both sides have an ultimate weapon. The f=
irewalls can block off anything. TLS inspection only makes it possible for =
them to be more granular. The users today have smart phones with cellular I=
nternet (some have cellular dongles for their laptops), so they can go arou=
nd the firewall.

> At the moment, it's starting to look uglier and uglier.  Major sites=20
> such as FB / Google move to TLS (maybe just to reduce blockage at=20
> corporate firewalls?).

I don't think that's the purpose. If it is, they fail twice:
 - first, because they can be filtered by IP address.
 - second, because TLS proxies are getting very common.

> I can't count how many customers ask me a week how to block https sites=20
> esp FB, gmail, youtube and twitter.  It's pointless arguing whether=20
> someone should do this or not, we don't pay for their staff down-time.

Sites can be blocked by IP address. You use TLS proxies to block more granu=
lar things, like blocking games on FB, or certain kinds of videos on youtub=
e.=20

> So we have MITM code in the lab.  Many others have deployed already.

It's been deployed for over six years.

> Next step if a site wants to do something about that is maybe start to=20
> use client certificates. =20
>=20
> Anyone here from the TLS WG able to comment on whether there are plans=20
> to combat MITM in this respect?  It's interesting to see the comment=20
> about recent TLS WG rejection of support for inspection.

Well, the proposal that was rejected was mine. Client certificates don't wo=
rk through a proxy, because while the client may trust certificates signed =
by the proxy, the server does not. My proposal would make this work, if all=
 three of client, server, and proxy were changed to comply, but as Stephen =
said, the TLS working group does not want to do this.

> At the end of the day, the requirement is not going away, and it's only=20
> my opinion, but I think we'd get something that=20
>=20
> a) works a lot better (more reliably)
> b) better reflects reality and allows users to make informed choices

Best we can do is something along the lines of "Your traffic to "www.mybank=
.com" is being decrypted an inspected by "sslproxy.example.com". Is this OK=
?"

Do you think this allows a user to make an informed decision? Usability stu=
dies suggest that the user will click on whatever button makes him get to w=
ww.mybank.com, without thinking about the implications. This may or may not=
 be the correct decision, but changing browser UI to fit security geeks doe=
s not necessarily make sense.

> if we actually accepted the reality of this requirement and designed=20
> for it.  IMO b actually results in more security.

Not surprisingly (as I have a proposal in this area): +1

> As for the issue of trust, this results in a requirement to trust the=20
> proxy.  We don't have a system that does not require any trust in any=20
> party.  We trust the bank with our money, we trust the CA to properly=20
> issue certificates and to ensure safe keeping of their private keys. =20
> Most people IME are quite happy to have their web surfing scanned for=20
> viruses.  I don't see a problem with some real estate on a browser=20
> showing that they are required to trust the proxy they are using, or=20
> don't go to the site.=20
>=20
> Otherwise you have to inspect the certificate of every secure and=20
> sensitive site you go to in order to check if it's signed by who you=20
> expect (e.g. a CA instead of your proxy).  It's completely unrealistic=20
> to expect users to do that, and history has shown that educating=20
> end-users about the finer points of security is not easily done.

Yoav



From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 00:35:11 2012
Return-Path: <ietf-http-wg-request@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 E2FAF11E80A6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 00:35:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.931
X-Spam-Level: 
X-Spam-Status: No, score=-7.931 tagged_above=-999 required=5 tests=[AWL=2.668, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PBjh4vtOU1Jj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 00:35:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 871D311E80D7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 00:35:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyeJH-0008FC-J2 for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 07:34:35 +0000
Resent-Date: Tue, 07 Aug 2012 07:34:35 +0000
Resent-Message-Id: <E1SyeJH-0008FC-J2@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SyeJ4-0008EN-63 for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 07:34:22 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SyeIq-000168-Ra for ietf-http-wg@w3.org; Tue, 07 Aug 2012 07:34:16 +0000
Received: From [192.168.1.25] (unverified [122.57.156.219]) by SMTP Server [210.55.214.35] (WinGate SMTP Receiver v7.2.6 (Build 3449)) with SMTP id <0019179791@smtp.qbik.com>; Tue, 07 Aug 2012 19:33:44 +1200
From: "Adrien de Croy" <adrien@qbik.com>
To: "Yoav Nir" <ynir@checkpoint.com>, "Willy Tarreau" <w@1wt.eu>
Cc: "Mark Nottingham" <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Tue, 07 Aug 2012 07:33:35 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <1D94A21A-06C2-42E5-832A-C4DAB197E4F7@checkpoint.com>
Message-Id: <eme2c78b8b-488c-4f99-ae07-beacba174e38@reboist>
Mime-Version: 1.0
Reply-To: "Adrien de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SyeIq-000168-Ra b07abb51b9bbc25e3ac539696d40dc69
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/eme2c78b8b-488c-4f99-ae07-beacba174e38@reboist>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15021
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>

=EF=BB=BF
------ Original Message ------
From: "Yoav Nir" <ynir@checkpoint.com>
>
>
>I don't think this is actually getting rid of them. It really depends on=
 how you define "MitM". If a user connects to facebook, they naturally expe=
ct their traffic to go straight to facebook, and if notice the little padlo=
ck icon, they expect this connection to be confidential. They don't expect=
 third parties to be reading this, so any third party that does is a MitM.
>
>
We don't really expect that it will get rid of MitMs, since if someone=20
has a working MitM, they will likely keep it, at least for as long as=20
it is still useful (which will be the case until GET https:// is=20
ubiquitous)

The proposal does change a couple of things though.

1. It makes it easier to implement.  It's much easier to implement=20
support for GET https:// than it is to implement interception of TCP=20
connections to a SSL endpoint that has to spoof certificates.
-> fewer nasty side-effects, probably better user experience, lower=20
customer (operator) support burden.

2. It provides a viable alternative to development of another MitM=20
solution, presuming client support is adopted quickly enough.

With the current MitM situation, as you say the error condition is one=20
of failure to validate a certificate. =20

There's no way for the browser to recognise that the certificate issue=20
is relating to a MitM.  Therefore it can only display a generic error,=20
of the kind that is more likely to be lumped in with others, and trains=20
users to ignore it.

With our proposal however, the client can know what's going on. =20

I think there could be some refinements to provide even better=20
information, such as=20

* the proxy passing back cert of server as Base64 encoded Server-Cert=20
header or something, so that the client has an opportunity to do its=20
own cert validation. This of course presupposes trusting the proxy.

* Some way to fail a CONNECT request in a way that tells the client it=20
must use proxied https for that site.


We could even ameliorate MitM with a few things.  Like a BCP for it,=20
doing things like

* mandate spoofed certificates to include an attribute marking=20
themselves explicitly as spoofed for the purpose of content inspection.

But we can't keep our heads in the sand.  The more sites move to SSL,=20
the more pressure comes on intermediary vendors to provide solutions.


Adrien

>
>Whether you configure a sniffing CA, or a "trusted proxy" makes no differe=
nce. Making it part of the protocol makes no difference, because the user's=
 privacy is not affected by whether the proxy behavior is "standardized"=
 or a "hack". The implications are the same.
>
>The proposal that Stephen mentioned was rejected by TLS was not intended=
 to make privacy better or worse than the current situation, not does it=
 change the implications of having a MitM. This proposal also does not chan=
ge things.
>
>Yoav
>
>
>
>



From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 00:39:22 2012
Return-Path: <ietf-http-wg-request@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 51FAD11E80F5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 00:39:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.833
X-Spam-Level: 
X-Spam-Status: No, score=-9.833 tagged_above=-999 required=5 tests=[AWL=0.766, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z9910QGl4s-L for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 00:39:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8137B11E8087 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 00:39:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyeNJ-0001iq-RE for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 07:38:45 +0000
Resent-Date: Tue, 07 Aug 2012 07:38:45 +0000
Resent-Message-Id: <E1SyeNJ-0001iq-RE@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SyeN6-0001hv-4r for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 07:38:32 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SyeMw-0001Ky-74 for ietf-http-wg@w3.org; Tue, 07 Aug 2012 07:38:32 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q777bkTS011023; Tue, 7 Aug 2012 09:37:46 +0200
Date: Tue, 7 Aug 2012 09:37:46 +0200
From: Willy Tarreau <w@1wt.eu>
To: Yoav Nir <ynir@checkpoint.com>
Cc: "Adrien W. de Croy" <adrien@qbik.com>, Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20120807073746.GJ7647@1wt.eu>
References: <em41c9c24e-0dfd-4d37-822b-96bfe2fb7ebb@bombed> <62E31B2C-2681-4A44-A3B3-55F59B21D0DC@checkpoint.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <62E31B2C-2681-4A44-A3B3-55F59B21D0DC@checkpoint.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SyeMw-0001Ky-74 b0df08d574060fba1582229015407294
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/20120807073746.GJ7647@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15022
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>

Hi Yoav,

On Tue, Aug 07, 2012 at 10:30:04AM +0300, Yoav Nir wrote:
> Best we can do is something along the lines of "Your traffic to
> "www.mybank.com" is being decrypted an inspected by "sslproxy.example.com".
> Is this OK?"
> 
> Do you think this allows a user to make an informed decision? Usability
> studies suggest that the user will click on whatever button makes him get to
> www.mybank.com, without thinking about the implications. This may or may not
> be the correct decision, but changing browser UI to fit security geeks does
> not necessarily make sense.

Precisely having the proxy take care of TLS could improve the situation a lot.
The proxy would simply refuse to connect to improperly configured sites and
the client would not be able to do anything about this, except try to pass
using the CONNECT method if it's whitelisted in the proxy.

The client would only have the proxy's cert and the browser could be
configured to always refuse to connect to an invalid proxy instead of
prompting the user.

So in the end, we would significantly improve end-user security by enforcing
security where it matters and where people can make informed decisions, and
leaving the user with less hesitation caused by warnings he doesn't understand.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 02:15:12 2012
Return-Path: <ietf-http-wg-request@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 B687721F85E1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 02:15:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.394
X-Spam-Level: 
X-Spam-Status: No, score=-9.394 tagged_above=-999 required=5 tests=[AWL=0.583, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gestNY0Es6kY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 02:15:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1C4BE21F84E4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 02:15:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Syfr8-00057M-TD for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 09:13:38 +0000
Resent-Date: Tue, 07 Aug 2012 09:13:38 +0000
Resent-Message-Id: <E1Syfr8-00057M-TD@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1Syfqv-00056X-Qh for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 09:13:25 +0000
Received: from mail-qa0-f50.google.com ([209.85.216.50]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1Syfqn-0005oM-3U for ietf-http-wg@w3.org; Tue, 07 Aug 2012 09:13:24 +0000
Received: by qatp27 with SMTP id p27so1803302qat.2 for <ietf-http-wg@w3.org>; Tue, 07 Aug 2012 02:12:50 -0700 (PDT)
X-Google-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:x-gm-message-state; bh=dhNav8KHkyMzW1TC0nkOEbGcw9OioaMAoJkd3/vHxNU=; b=EXNpGSG0EYpsILXTILXdVL/vwVbyDze/Cjl5WOpXziXCvQQOFv3mqA08KFwvZPcm7o jFCZHn+CdT9o2EtFxZ+8yxGTZppvx8F5YEizqfpj7pez4/Q2vDYUHs56vCPy8idRIulL DKfz7QbcyiYUZ2EAN6NCZZRrzwXhCedQMTb3zIOHjTE+iUkZffZEj5AeUog7B0BbLQbl TY/Ek7I5iwXTLbuCGfccQd+hYklNqNUWCz8y7LIzY+qmoUtaLONHKxru5ela0ScqyLDt N3E2x4xwVrwuvl8x3DQAyK1FTSzU/X1ZNlihT0Sjb19gTFkYJ7qOfvwbcQKwl+sMn4HI sMzg==
MIME-Version: 1.0
Received: by 10.229.136.74 with SMTP id q10mr6817778qct.148.1344330770854; Tue, 07 Aug 2012 02:12:50 -0700 (PDT)
Received: by 10.229.114.145 with HTTP; Tue, 7 Aug 2012 02:12:50 -0700 (PDT)
In-Reply-To: <CABaLYCs0ZyxBrVp=UaN0Kbu--frJKPx8MHoPYp73uDkZhhDp=A@mail.gmail.com>
References: <CAPik8yYuB1BZVN0YW3Hx9ubRRzd608jd09vVz+FASP=i5iRoZA@mail.gmail.com> <CAMm+LwizJ0zesHZnZjCp=tEEiGFpG1Mt56SxvvqNj+C_=KkoZQ@mail.gmail.com> <20120718060936.GC5875@1wt.eu> <CABaLYCvZF0zwQZnAkyvggWMoo0U+xOYU4t5uLCU=fYz6Yzx8aw@mail.gmail.com> <5006C08A.6000608@cisco.com> <CAHBU6iuAZk8eiYoa_Fi+Y_rQAqkPQ_tLQ_mH2zo1-mnNXLfxfA@mail.gmail.com> <50075147.3080609@it.aoyama.ac.jp> <CAHBU6iuBx4AZFiGJD9OoCOhSn4PwH=kfVa50qHz36NSrc62V7A@mail.gmail.com> <CABaLYCt7u3kbM-jxUoVAS-_L1bjpgx2NuMrLcx0SHCvNWiJN=A@mail.gmail.com> <CAH_y2NH_f9CFPOHsFr+8Aa8UT4XAAxeMSxLLO+dqoDMC57=QNg@mail.gmail.com> <CABaLYCs0ZyxBrVp=UaN0Kbu--frJKPx8MHoPYp73uDkZhhDp=A@mail.gmail.com>
Date: Tue, 7 Aug 2012 19:12:50 +1000
Message-ID: <CAH_y2NGHomqX0vr8PrZTEcU4EU-rTDfzeQZ-9a4ykA=PFZdN6Q@mail.gmail.com>
From: Greg Wilkins <gregw@intalio.com>
To: Mike Belshe <mike@belshe.com>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQmbtoZdUBBycCEJuf+Lx7ShIZv1hrt7v446GIEgfoH+N8YI/JHEoxRR/3SBr01nG8G/u4vW
Received-SPF: pass client-ip=209.85.216.50; envelope-from=gregw@intalio.com; helo=mail-qa0-f50.google.com
X-W3C-Hub-Spam-Status: No, score=0.1
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Syfqn-0005oM-3U bec3dcc323a398b5c7f83f8f1b3e5c7a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Privacy and its costs (was: Re: Mandatory encryption)
Archived-At: <http://www.w3.org/mid/CAH_y2NGHomqX0vr8PrZTEcU4EU-rTDfzeQZ-9a4ykA=PFZdN6Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15023
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 7 August 2012 03:32, Mike Belshe <mike@belshe.com> wrote:
> I don't want to restate things over and over, so I'll be brief.

ditto

>> I don't understand the benefit of encrypting traffic to/from a public
>> blog site?    There is no privacy obtained by doing so.

Reading that again, I see I chose my words badly.       I'm not trying
to speak for or against encrypting (and agree that there is likely a
natural evolution towards it just as there was will cell phone).
I'm just saying that encryption does not provide privacy.

cheers

-- 
Greg Wilkins <gregw@intalio.com>
http://www.webtide.com
Developer advice and support from the Jetty & CometD experts.


From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 02:23:33 2012
Return-Path: <ietf-http-wg-request@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 98A8721F85F9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 02:23:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.299
X-Spam-Level: 
X-Spam-Status: No, score=-6.299 tagged_above=-999 required=5 tests=[AWL=3.700, BAYES_00=-2.599, J_CHICKENPOX_43=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LuYZN8LA4NJf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 02:23:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D473B21F8568 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 02:23:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyfzW-0002VG-MF for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 09:22:18 +0000
Resent-Date: Tue, 07 Aug 2012 09:22:18 +0000
Resent-Message-Id: <E1SyfzW-0002VG-MF@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SyfzH-0002To-I4 for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 09:22:03 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1Syfz7-0006A7-IG for ietf-http-wg@w3.org; Tue, 07 Aug 2012 09:21:59 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id 17A0C171508; Tue,  7 Aug 2012 10:21:31 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1344331290; bh=Ep9GsT0RDOqGL6 R2dMBoskFZG97Ivcy+XOrw8j85F48=; b=OfmX/PYyBGbd7iqtHeikzpmhMSBSKI RV/YC41LMK+tmNgmvavzyJJVKGvjpNLsYIyR8lA2z9zNOqj7egyT6PZe570lBrqx 2oreiC24nbxtTof/Mnxk4PNkqcYDRdWkwXeyFUHyASUHqpBZL/MRx35uhj0FuH6h rCQD4tMpjBFZmIvaTHfw5QO+ISY9ME9CtcfeEy/THM82GYGjx/TKzxCHAyZOfDOk f8kBxBXN7phrSYewundgZQQzg/pDfuvRU9qm69t07Dc6cuFjEpzDMNSRq68etyXH URhpJKBq2UMujoIW2D1sOz0OSEsBtrREp2CNFSStcyuOzW6sS8Cd2e0w==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id fhCSaItvQo7B; Tue,  7 Aug 2012 10:21:30 +0100 (IST)
Received: from [IPv6:2001:770:10:203:49b3:3973:5610:abc4] (unknown [IPv6:2001:770:10:203:49b3:3973:5610:abc4]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id CF24A1714F2; Tue,  7 Aug 2012 10:21:24 +0100 (IST)
Message-ID: <5020DE15.3070008@cs.tcd.ie>
Date: Tue, 07 Aug 2012 10:21:25 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0
MIME-Version: 1.0
To: Willy Tarreau <w@1wt.eu>
CC: Yoav Nir <ynir@checkpoint.com>, "Adrien W. de Croy" <adrien@qbik.com>,  Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <em41c9c24e-0dfd-4d37-822b-96bfe2fb7ebb@bombed> <62E31B2C-2681-4A44-A3B3-55F59B21D0DC@checkpoint.com> <20120807073746.GJ7647@1wt.eu>
In-Reply-To: <20120807073746.GJ7647@1wt.eu>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-1.6
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Syfz7-0006A7-IG 12d14debc29b98c50d1e54f08f297ead
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/5020DE15.3070008@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15024
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>

So I think Yoav is basically right, his TLS proposal
for a MITM that was rejected by the tls WG is more or
less the same as the other ideas being sketched here
even if those are done as HTTP mechanisms. And all
of them represent a significant change to the semantics
of https.

On 08/07/2012 08:37 AM, Willy Tarreau wrote:
> Hi Yoav,
> 
> On Tue, Aug 07, 2012 at 10:30:04AM +0300, Yoav Nir wrote:
>> Best we can do is something along the lines of "Your traffic to
>> "www.mybank.com" is being decrypted an inspected by "sslproxy.example.com".
>> Is this OK?"

I agree with Yoav that this is no different from the
current impact on user interfaces caused by MITM'ing TLS.

>> Do you think this allows a user to make an informed decision? Usability
>> studies suggest that the user will click on whatever button makes him get to
>> www.mybank.com, without thinking about the implications. This may or may not
>> be the correct decision, but changing browser UI to fit security geeks does
>> not necessarily make sense.
> 
> Precisely having the proxy take care of TLS could improve the situation a lot.

Personally, I have to say I doubt that.

> The proxy would simply refuse to connect to improperly configured sites and
> the client would not be able to do anything about this, except try to pass
> using the CONNECT method if it's whitelisted in the proxy.
> 
> The client would only have the proxy's cert and the browser could be
> configured to always refuse to connect to an invalid proxy instead of
> prompting the user.
> 
> So in the end, we would significantly improve end-user security by enforcing
> security where it matters and where people can make informed decisions, and
> leaving the user with less hesitation caused by warnings he doesn't understand.

There are so many ways in which I disagree with the above
statements/speculations that a blow-by-blow response is
probably not going to get us anywhere;-)

But I do think we've answered the question posed in the
subject line in the affirmative, so we could end this
thread with:

  Yes, any MITM significantly changes the semantics of
  https.

Cheers,
S.


> 
> Regards,
> Willy
> 
> 
> 


From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 02:25:23 2012
Return-Path: <ietf-http-wg-request@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 6A71321F84E7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 02:25:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.588
X-Spam-Level: 
X-Spam-Status: No, score=-10.588 tagged_above=-999 required=5 tests=[AWL=0.011, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 98vsTipFKi2B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 02:25:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C12EE21F845F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 02:25:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Syg1u-0002kC-Sa for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 09:24:46 +0000
Resent-Date: Tue, 07 Aug 2012 09:24:46 +0000
Resent-Message-Id: <E1Syg1u-0002kC-Sa@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Syg1i-0002iw-Eo for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 09:24:34 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Syg1e-0006Fn-Dc for ietf-http-wg@w3.org; Tue, 07 Aug 2012 09:24:33 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 5E6933B77C; Tue,  7 Aug 2012 09:24:08 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q779O6Xg036483; Tue, 7 Aug 2012 09:24:06 GMT (envelope-from phk@phk.freebsd.dk)
To: Yoav Nir <ynir@checkpoint.com>
cc: "Adrien W. de Croy" <adrien@qbik.com>, Mark Nottingham <mnot@mnot.net>, Willy Tarreau <w@1wt.eu>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 07 Aug 2012 10:30:04 +0300." <62E31B2C-2681-4A44-A3B3-55F59B21D0DC@checkpoint.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 07 Aug 2012 09:24:06 +0000
Message-ID: <36482.1344331446@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=3.3
X-W3C-Hub-Spam-Report: BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01, URI_OBFU_WWW=2.475
X-W3C-Scan-Sig: lisa.w3.org 1Syg1e-0006Fn-Dc d1d53b6e39c24fcbfe759553bf5d3991
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/36482.1344331446@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15025
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>

In message <62E31B2C-2681-4A44-A3B3-55F59B21D0DC@checkpoint.com>, Yoav Nir writ
es:

>Best we can do is something along the lines of "Your traffic to "www.mybank
>.com" is being decrypted an inspected by "sslproxy.example.com". Is this OK ?"

That would be a big step forward.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 08:46:08 2012
Return-Path: <ietf-http-wg-request@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 2957C21F876D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 08:46:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.435
X-Spam-Level: 
X-Spam-Status: No, score=-9.435 tagged_above=-999 required=5 tests=[AWL=1.164, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xbwZjiJ73yVb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 08:46:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 05DB921F8733 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 08:46:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SylxV-0002K6-EY for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 15:44:37 +0000
Resent-Date: Tue, 07 Aug 2012 15:44:37 +0000
Resent-Message-Id: <E1SylxV-0002K6-EY@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SylxD-0002HI-I9 for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 15:44:19 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SylxC-0001uH-CP for ietf-http-wg@w3.org; Tue, 07 Aug 2012 15:44:19 +0000
Received: from [10.6.130.49] (unknown [50.56.228.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 6AFD122E256; Tue,  7 Aug 2012 11:43:56 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CABP7RbcKKedmhNJe-nLz531wrfLW=zV6SLyvy1Ua6Vx8USQjuQ@mail.gmail.com>
Date: Tue, 7 Aug 2012 10:43:58 -0500
Cc: Roberto Peon <grmocg@gmail.com>, <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <E67EC141-85D9-4F64-920F-9F3EAB251DC7@mnot.net>
References: <CABP7RbfFj__CeriiJA-caEda_h0K5b__oj6-zYRuA=BgSofuhA@mail.gmail.com> <CAP+FsNc_u0Ocg+in7e52hHRssm-FASf8cYE88QoyNnmPTYLzDg@mail.gmail.com> <CABP7RbcKKedmhNJe-nLz531wrfLW=zV6SLyvy1Ua6Vx8USQjuQ@mail.gmail.com>
To: James M Snell <jasnell@gmail.com>
X-Mailer: Apple Mail (2.1485)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SylxC-0001uH-CP d6aeb735a72a1808855695adc32b799f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/E67EC141-85D9-4F64-920F-9F3EAB251DC7@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15026
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 19/07/2012, at 1:37 AM, James M Snell <jasnell@gmail.com> wrote:

>=20
> On Jul 18, 2012 2:35 PM, "Roberto Peon" <grmocg@gmail.com> wrote:
> >[snip]
> >> 3. How are Informational 1xx Status Codes handled? The current SPDY =
draft does not appear to support "provisional responses".=20
> >
> >
>=20
> Thank you for the reference to the thread. After reading through it =
one thing became obvious: while it would likely not be difficult to =
provide support for a 100-continue like mechanism within spdy, the =
protocols current design would essentially require a suboptimal hack in =
order to retain existing http/1.1 semantics and preserve spdy-to-http1.1 =
pass through or would require that we design a new similar mechanism, =
optimized for spdy that changes an aspect of http/1.1 semantics.
>=20
> As Mark  has pointed out recently, however, our job here currently is =
to only define a new transport for http and not to change existing http =
semantics. So i am at a bit of a loss as to what the charter will let us =
do in this case.
>=20
> Mark... any guidance?

It's a good question. I know that it has come up often on the SPDY list =
(sometimes raised by me ;).

I'd characterise expect/continue as being on the lighter borders of a =
grey area; it is used, but it does cause interop problems.  HTTPbis =
hasn't decided to deprecate it, so it does form part of the semantics of =
HTTP (unlike, for example, chunk extensions, which we have deprecated).

However, that doesn't preclude us from deciding to not support it in =
HTTP/2, *if* we can get a good consensus around doing so. I'd be =
inclined to have a somewhat higher bar for doing so, however.

I'd be interested to hear comments from others, of course.

Cheers,

--
Mark Nottingham
http://www.mnot.net/






From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 08:59:56 2012
Return-Path: <ietf-http-wg-request@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 08A8C21F875E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 08:59:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.288
X-Spam-Level: 
X-Spam-Status: No, score=-10.288 tagged_above=-999 required=5 tests=[AWL=-0.289, BAYES_00=-2.599, J_CHICKENPOX_74=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yL+1ijHwDp+f for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 08:59:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D4DD421F8724 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 08:59:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SymBb-00034x-Tu for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 15:59:11 +0000
Resent-Date: Tue, 07 Aug 2012 15:59:11 +0000
Resent-Message-Id: <E1SymBb-00034x-Tu@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SymBO-00034C-Lm for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 15:58:58 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SymBN-0003dX-IC for ietf-http-wg@w3.org; Tue, 07 Aug 2012 15:58:58 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id E00C63B77E; Tue,  7 Aug 2012 15:58:35 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q77FwYdC064303; Tue, 7 Aug 2012 15:58:34 GMT (envelope-from phk@phk.freebsd.dk)
To: Mark Nottingham <mnot@mnot.net>
cc: James M Snell <jasnell@gmail.com>, Roberto Peon <grmocg@gmail.com>, ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 07 Aug 2012 10:43:58 EST." <E67EC141-85D9-4F64-920F-9F3EAB251DC7@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 07 Aug 2012 15:58:34 +0000
Message-ID: <64302.1344355114@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SymBN-0003dX-IC b7b48dd4e3ec2d53f31a2d65cb9eba51
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/64302.1344355114@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15027
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>

In message <E67EC141-85D9-4F64-920F-9F3EAB251DC7@mnot.net>, Mark Nottingham wri
tes:

>I'd characterise expect/continue as being on the lighter borders of a 
>grey area; it is used, but it does cause interop problems.  
>[...]
>I'd be interested to hear comments from others, of course.

Expect/continue should not be allowed in HTTP/2.0, it is a transport
flow-control mechanism and it does not work.

My strawman for how to do it in HTTP/2.0:

The client can have no more than one TCP connection with six
outstanding requests, each with no more than 8KB of headers+body
in total, until the server sends an explicit message increasing its
allowance, either in stand-alone message if we have a control
channel, or as part of a response.

All numbers are examples subject to improvement.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 09:01:46 2012
Return-Path: <ietf-http-wg-request@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 463F721F8690 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 09:01:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.212
X-Spam-Level: 
X-Spam-Status: No, score=-9.212 tagged_above=-999 required=5 tests=[AWL=0.787, BAYES_00=-2.599, J_CHICKENPOX_74=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xem-0z0HwMxB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 09:01:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7C59A21F8702 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 09:01:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SymDe-0008Gc-3d for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 16:01:18 +0000
Resent-Date: Tue, 07 Aug 2012 16:01:18 +0000
Resent-Message-Id: <E1SymDe-0008Gc-3d@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SymDN-0008Fi-61 for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 16:01:01 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SymDI-0002ZW-0s for ietf-http-wg@w3.org; Tue, 07 Aug 2012 16:01:01 +0000
Received: from [10.6.130.49] (unknown [50.56.228.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4CD1322E25B; Tue,  7 Aug 2012 12:00:34 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <64302.1344355114@critter.freebsd.dk>
Date: Tue, 7 Aug 2012 11:00:33 -0500
Cc: James M Snell <jasnell@gmail.com>, Roberto Peon <grmocg@gmail.com>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <31B0E5DA-AB4C-4077-AF20-094A9A2D8E91@mnot.net>
References: <64302.1344355114@critter.freebsd.dk>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
X-Mailer: Apple Mail (2.1485)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SymDI-0002ZW-0s 14afe83b9003ea28fd0516fa02cd6b0f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/31B0E5DA-AB4C-4077-AF20-094A9A2D8E91@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15028
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 07/08/2012, at 10:58 AM, Poul-Henning Kamp <phk@phk.freebsd.dk> =
wrote:

> In message <E67EC141-85D9-4F64-920F-9F3EAB251DC7@mnot.net>, Mark =
Nottingham wri
> tes:
>=20
>> I'd characterise expect/continue as being on the lighter borders of a=20=

>> grey area; it is used, but it does cause interop problems. =20
>> [...]
>> I'd be interested to hear comments from others, of course.
>=20
> Expect/continue should not be allowed in HTTP/2.0, it is a transport
> flow-control mechanism and it does not work.

No, it's an application flow control mechanism, not transport. I.e., =
your transport layer (TCP) doesn't do anything with it; neither does the =
transfer layer (HTTP). It's used by the application itself to determine =
if a request should be sent -- the semantics are surfaced, visible and =
used by it.

>=20
> My strawman for how to do it in HTTP/2.0:
>=20
> The client can have no more than one TCP connection with six
> outstanding requests, each with no more than 8KB of headers+body
> in total, until the server sends an explicit message increasing its
> allowance, either in stand-alone message if we have a control
> channel, or as part of a response.
>=20
> All numbers are examples subject to improvement.
>=20
> --=20
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe   =20
> Never attribute to malice what can adequately be explained by =
incompetence.

--
Mark Nottingham
http://www.mnot.net/






From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 09:07:03 2012
Return-Path: <ietf-http-wg-request@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 A0E7D21F86C9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 09:07:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.72
X-Spam-Level: 
X-Spam-Status: No, score=-7.72 tagged_above=-999 required=5 tests=[AWL=-0.253, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CerhfugI2gK4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 09:07:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AFF0421F8652 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 09:07:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SymIc-0001St-UP for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 16:06:27 +0000
Resent-Date: Tue, 07 Aug 2012 16:06:26 +0000
Resent-Message-Id: <E1SymIc-0001St-UP@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1SymIM-0001Qj-Sv for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 16:06:10 +0000
Received: from ch1ehsobe004.messaging.microsoft.com ([216.32.181.184] helo=ch1outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1SymIH-0002pR-MN for ietf-http-wg@w3.org; Tue, 07 Aug 2012 16:06:10 +0000
Received: from mail27-ch1-R.bigfish.com (10.43.68.250) by CH1EHSOBE011.bigfish.com (10.43.70.61) with Microsoft SMTP Server id 14.1.225.23; Tue, 7 Aug 2012 16:05:38 +0000
Received: from mail27-ch1 (localhost [127.0.0.1])	by mail27-ch1-R.bigfish.com (Postfix) with ESMTP id B7E5E3002E6	for <ietf-http-wg@w3.org>; Tue,  7 Aug 2012 16:05:38 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14MLTC102.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -7
X-BigFish: VS-7(zzbb2dI98dI9371I542M1432Izz1202hzz8275ch8275bh8275dhz2fh2a8h683h839h944hd24hf0ah107ah9a9j)
Received-SPF: pass (mail27-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14MLTC102.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.240.21;KIP:(null);UIP:(null);(null);H:BL2PRD0310HT003.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail27-ch1 (localhost.localdomain [127.0.0.1]) by mail27-ch1 (MessageSwitch) id 1344355536691811_6594; Tue,  7 Aug 2012 16:05:36 +0000 (UTC)
Received: from CH1EHSMHS007.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.248])	by mail27-ch1.bigfish.com (Postfix) with ESMTP id 9DDC22E008D for <ietf-http-wg@w3.org>; Tue,  7 Aug 2012 16:05:36 +0000 (UTC)
Received: from TK5EX14MLTC102.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS007.bigfish.com (10.43.70.7) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 7 Aug 2012 16:05:34 +0000
Received: from db3outboundpool.messaging.microsoft.com (157.54.51.81) by mail.microsoft.com (157.54.79.180) with Microsoft SMTP Server (TLS) id 14.2.298.5; Tue, 7 Aug 2012 16:05:17 +0000
Received: from mail19-db3-R.bigfish.com (10.3.81.253) by DB3EHSOBE005.bigfish.com (10.3.84.25) with Microsoft SMTP Server id 14.1.225.23; Tue, 7 Aug 2012 16:05:15 +0000
Received: from mail19-db3 (localhost [127.0.0.1])	by mail19-db3-R.bigfish.com (Postfix) with ESMTP id E9E062C02C3	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Tue,  7 Aug 2012 16:05:14 +0000 (UTC)
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(51704002)(479174001)(13464001)(24454001)(377454001)(5343655001)(5343635001)(33646001)(16406001)(5343645001)(42186003)(31966006)(24736002);DIR:INB;;LANG:en;
Received: from mail19-db3 (localhost.localdomain [127.0.0.1]) by mail19-db3 (MessageSwitch) id 1344355512782463_6475; Tue,  7 Aug 2012 16:05:12 +0000 (UTC)
Received: from DB3EHSMHS018.bigfish.com (unknown [10.3.81.239])	by mail19-db3.bigfish.com (Postfix) with ESMTP id B29CA2A0083;	Tue,  7 Aug 2012 16:05:12 +0000 (UTC)
Received: from BL2PRD0310HT003.namprd03.prod.outlook.com (157.56.240.21) by DB3EHSMHS018.bigfish.com (10.3.87.118) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 7 Aug 2012 16:05:12 +0000
Received: from BLUPR03MB614.namprd03.prod.outlook.com (10.255.124.42) by BL2PRD0310HT003.namprd03.prod.outlook.com (10.255.97.38) with Microsoft SMTP Server (TLS) id 14.16.175.8; Tue, 7 Aug 2012 16:05:10 +0000
Received: from BLUPR03MB613.namprd03.prod.outlook.com (10.255.124.41) by BLUPR03MB614.namprd03.prod.outlook.com (10.255.124.42) with Microsoft SMTP Server (TLS) id 15.0.466.11; Tue, 7 Aug 2012 16:05:08 +0000
Received: from BLUPR03MB613.namprd03.prod.outlook.com ([169.254.10.152]) by BLUPR03MB613.namprd03.prod.outlook.com ([169.254.10.152]) with mapi id 15.00.0466.010; Tue, 7 Aug 2012 16:05:08 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: Mark Nottingham <mnot@mnot.net>, James M Snell <jasnell@gmail.com>
CC: Roberto Peon <grmocg@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: Some general SPDY feedback / questions
Thread-Index: AQHNZSU6CDpleBvbWkOm0RfOQQEBF5cvkC0AgACXZ4CAHnUMAIAAAmbg
Date: Tue, 7 Aug 2012 16:05:08 +0000
Message-ID: <3a5e13b85e7c434aabd280da9d3bf925@BLUPR03MB613.namprd03.prod.outlook.com>
References: <CABP7RbfFj__CeriiJA-caEda_h0K5b__oj6-zYRuA=BgSofuhA@mail.gmail.com> <CAP+FsNc_u0Ocg+in7e52hHRssm-FASf8cYE88QoyNnmPTYLzDg@mail.gmail.com> <CABP7RbcKKedmhNJe-nLz531wrfLW=zV6SLyvy1Ua6Vx8USQjuQ@mail.gmail.com> <E67EC141-85D9-4F64-920F-9F3EAB251DC7@mnot.net>
In-Reply-To: <E67EC141-85D9-4F64-920F-9F3EAB251DC7@mnot.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.255.156.155]
x-forefront-prvs: 05669A7924
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OrganizationHeadersPreserved: BLUPR03MB614.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%GMAIL.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%MNOT.NET$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14MLTC102.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14MLTC102.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.181.184; envelope-from=henrikn@microsoft.com; helo=ch1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=1.3
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: maggie.w3.org 1SymIH-0002pR-MN d97043b2531fa9d6ad1113c3e371fd87
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/3a5e13b85e7c434aabd280da9d3bf925@BLUPR03MB613.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15029
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>

A mechanism like the 100-continue is critical for supporting requests conta=
ining entity data that results in authentication needed, redirect, or other=
 "intermediate "responses in an efficient and robust manner. It allows the =
client to send the headers which the server can then use to determine wheth=
er it can accept the data and as a result give a go-ahead to the client. Yo=
u don't want the client to start sending a lot of body data if it has to re=
do the request.

You can approximate this behavior with careful use of flow-control credits =
but it will inherently be much cruder because there is no way to separate c=
leanly on a header/body boundary. As a result it will likely result in wast=
ed bytes transmitted -- something we want to avoid with HTTP/2.0.

Expect on the other hand is in general a failed experiment in my opinion --=
 you can't retrofit such semantics into an existing protocol.

Henrik

-----Original Message-----
From: Mark Nottingham [mailto:mnot@mnot.net]=20
Sent: Tuesday, August 07, 2012 08:44
To: James M Snell
Cc: Roberto Peon; ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions


On 19/07/2012, at 1:37 AM, James M Snell <jasnell@gmail.com> wrote:

>=20
> On Jul 18, 2012 2:35 PM, "Roberto Peon" <grmocg@gmail.com> wrote:
> >[snip]
> >> 3. How are Informational 1xx Status Codes handled? The current SPDY dr=
aft does not appear to support "provisional responses".=20
> >
> >
>=20
> Thank you for the reference to the thread. After reading through it one t=
hing became obvious: while it would likely not be difficult to provide supp=
ort for a 100-continue like mechanism within spdy, the protocols current de=
sign would essentially require a suboptimal hack in order to retain existin=
g http/1.1 semantics and preserve spdy-to-http1.1 pass through or would req=
uire that we design a new similar mechanism, optimized for spdy that change=
s an aspect of http/1.1 semantics.
>=20
> As Mark  has pointed out recently, however, our job here currently is to =
only define a new transport for http and not to change existing http semant=
ics. So i am at a bit of a loss as to what the charter will let us do in th=
is case.
>=20
> Mark... any guidance?

It's a good question. I know that it has come up often on the SPDY list (so=
metimes raised by me ;).

I'd characterise expect/continue as being on the lighter borders of a grey =
area; it is used, but it does cause interop problems.  HTTPbis hasn't decid=
ed to deprecate it, so it does form part of the semantics of HTTP (unlike, =
for example, chunk extensions, which we have deprecated).

However, that doesn't preclude us from deciding to not support it in HTTP/2=
, *if* we can get a good consensus around doing so. I'd be inclined to have=
 a somewhat higher bar for doing so, however.

I'd be interested to hear comments from others, of course.

Cheers,

--
Mark Nottingham
http://www.mnot.net/












From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 09:16:05 2012
Return-Path: <ietf-http-wg-request@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 8C75121F8792 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 09:16:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.842
X-Spam-Level: 
X-Spam-Status: No, score=-9.842 tagged_above=-999 required=5 tests=[AWL=0.757, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l1r8QoJXAPi1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 09:16:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 79B3721F874C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 09:16:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SymRB-0000sH-IR for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 16:15:17 +0000
Resent-Date: Tue, 07 Aug 2012 16:15:17 +0000
Resent-Message-Id: <E1SymRB-0000sH-IR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SymQx-0006P5-Q0 for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 16:15:03 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SymQw-0004YT-Ex for ietf-http-wg@w3.org; Tue, 07 Aug 2012 16:15:03 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q77GEYEm013409; Tue, 7 Aug 2012 18:14:34 +0200
Date: Tue, 7 Aug 2012 18:14:34 +0200
From: Willy Tarreau <w@1wt.eu>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Mark Nottingham <mnot@mnot.net>, James M Snell <jasnell@gmail.com>, Roberto Peon <grmocg@gmail.com>, ietf-http-wg@w3.org
Message-ID: <20120807161434.GA13059@1wt.eu>
References: <E67EC141-85D9-4F64-920F-9F3EAB251DC7@mnot.net> <64302.1344355114@critter.freebsd.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <64302.1344355114@critter.freebsd.dk>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SymQw-0004YT-Ex 71660c0733ec5f0404ae3c4f4e6c4d54
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/20120807161434.GA13059@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15030
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>

Hi Poul-Henning,

On Tue, Aug 07, 2012 at 03:58:34PM +0000, Poul-Henning Kamp wrote:
> In message <E67EC141-85D9-4F64-920F-9F3EAB251DC7@mnot.net>, Mark Nottingham wri
> tes:
> 
> >I'd characterise expect/continue as being on the lighter borders of a 
> >grey area; it is used, but it does cause interop problems.  
> >[...]
> >I'd be interested to hear comments from others, of course.
> 
> Expect/continue should not be allowed in HTTP/2.0, it is a transport
> flow-control mechanism and it does not work.

No, it's not a transport flow-control mechanism, it goes further by letting
the client send non-idempotent requests over established connections with
the ability to reply them in case of breakage. By sending even a few bytes
of data, you risk sending the whole request at once and being left in doubt
when the connection breaks. It is important to be able not to send the whole
request at once (at least stop before the last chunk).

Right now the way it works is awkwards and could be improved or reworked,
but there is a valid use of this mechanism even if it's sometimes quite
painful.

Willy



From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 09:16:05 2012
Return-Path: <ietf-http-wg-request@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 A7A9B21F874C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 09:16:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.286
X-Spam-Level: 
X-Spam-Status: No, score=-10.286 tagged_above=-999 required=5 tests=[AWL=-0.287, BAYES_00=-2.599, J_CHICKENPOX_74=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vAyh6GIM127h for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 09:16:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8884D21F877F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 09:16:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SymRQ-0001wM-R5 for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 16:15:32 +0000
Resent-Date: Tue, 07 Aug 2012 16:15:32 +0000
Resent-Message-Id: <E1SymRQ-0001wM-R5@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SymR5-0000Sl-CB for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 16:15:11 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1SymR0-0003Ub-GY for ietf-http-wg@w3.org; Tue, 07 Aug 2012 16:15:11 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 6EDD13B748; Tue,  7 Aug 2012 16:14:45 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q77GEibg064412; Tue, 7 Aug 2012 16:14:45 GMT (envelope-from phk@phk.freebsd.dk)
To: Mark Nottingham <mnot@mnot.net>
cc: James M Snell <jasnell@gmail.com>, Roberto Peon <grmocg@gmail.com>, ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 07 Aug 2012 11:00:33 EST." <31B0E5DA-AB4C-4077-AF20-094A9A2D8E91@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 07 Aug 2012 16:14:44 +0000
Message-ID: <64411.1344356084@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SymR0-0003Ub-GY 9d94d45ca3c42e9ef6175a3d8e69a82f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/64411.1344356084@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15031
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>

In message <31B0E5DA-AB4C-4077-AF20-094A9A2D8E91@mnot.net>, Mark Nottingham wri
tes:

>> Expect/continue should not be allowed in HTTP/2.0, it is a transport
>> flow-control mechanism and it does not work.
>
>No, it's an application flow control mechanism, not transport. 

Ok, if you want to be a strict OSI-ortodox-semantician, HTTP is the
presentation layer protocol because it can transfer a MIME type.

Most people outside the church of OSI see HTTP as the default
transport protocol and use it for everything from real-time
traffic over RPCs to scheduled batch-transfers.

Not because, mind you, of any inherent quality of the protocol, but
because it is easier to interface with than TCP, provides a higher
level abstraction than a byte-stream, but mostly because it already 
passes through firewalls...

And with that out of the way...

I don't care if you call it transport, presentation or application
level:  Expect/Continue does not work and should not be allowed
into HTTP/2.0.

>> My strawman for how to do it in HTTP/2.0:
>> 
>> The client can have no more than one TCP connection with six
>> outstanding requests, each with no more than 8KB of headers+body
>> in total, until the server sends an explicit message increasing its
>> allowance, either in stand-alone message if we have a control
>> channel, or as part of a response.
>> 
>> All numbers are examples subject to improvement.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 09:19:56 2012
Return-Path: <ietf-http-wg-request@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 CC55421F8799 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 09:19:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.261
X-Spam-Level: 
X-Spam-Status: No, score=-9.261 tagged_above=-999 required=5 tests=[AWL=0.738, BAYES_00=-2.599, J_CHICKENPOX_74=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KzcyCfFIFK3x for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 09:19:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A20B321F8767 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 09:19:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SymUu-0002kN-6Q for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 16:19:08 +0000
Resent-Date: Tue, 07 Aug 2012 16:19:08 +0000
Resent-Message-Id: <E1SymUu-0002kN-6Q@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SymUd-0002eR-2P for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 16:18:51 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SymUb-0004kR-OC for ietf-http-wg@w3.org; Tue, 07 Aug 2012 16:18:50 +0000
Received: from [10.6.130.49] (unknown [50.56.228.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id C1B8722E253; Tue,  7 Aug 2012 12:18:27 -0400 (EDT)
Content-Type: text/plain; charset=windows-1252
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <64411.1344356084@critter.freebsd.dk>
Date: Tue, 7 Aug 2012 11:18:27 -0500
Cc: James M Snell <jasnell@gmail.com>, Roberto Peon <grmocg@gmail.com>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <ED2B1F10-71F8-4BDF-A152-51148125987F@mnot.net>
References: <64411.1344356084@critter.freebsd.dk>
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
X-Mailer: Apple Mail (2.1485)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SymUb-0004kR-OC 20ddd9b0c7b2993e58b260036d73f01b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/ED2B1F10-71F8-4BDF-A152-51148125987F@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15032
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 07/08/2012, at 11:14 AM, "Poul-Henning Kamp" <phk@phk.freebsd.dk> =
wrote:

> In message <31B0E5DA-AB4C-4077-AF20-094A9A2D8E91@mnot.net>, Mark =
Nottingham wri
> tes:
>=20
>>> Expect/continue should not be allowed in HTTP/2.0, it is a transport
>>> flow-control mechanism and it does not work.
>>=20
>> No, it's an application flow control mechanism, not transport.=20
>=20
> Ok, if you want to be a strict OSI-ortodox-semantician, HTTP is the
> presentation layer protocol because it can transfer a MIME type.
>=20
> Most people outside the church of OSI see HTTP as the default
> transport protocol and use it for everything from real-time
> traffic over RPCs to scheduled batch-transfers.
>=20
> Not because, mind you, of any inherent quality of the protocol, but
> because it is easier to interface with than TCP, provides a higher
> level abstraction than a byte-stream, but mostly because it already=20
> passes through firewalls...
>=20
> And with that out of the way=85

You characterised it as "transport" flow control, which is already part =
of the SPDY proposal. I'm pointing out that they are not the same thing, =
at all.


> I don't care if you call it transport, presentation or application
> level:  Expect/Continue does not work and should not be allowed
> into HTTP/2.0.

I know it causes problems for intermediaries. We can talk about that, =
but just arguing by assertion doesn't help.


>=20
>>> My strawman for how to do it in HTTP/2.0:
>>>=20
>>> The client can have no more than one TCP connection with six
>>> outstanding requests, each with no more than 8KB of headers+body
>>> in total, until the server sends an explicit message increasing its
>>> allowance, either in stand-alone message if we have a control
>>> channel, or as part of a response.
>>>=20
>>> All numbers are examples subject to improvement.
>=20
> --=20
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe   =20
> Never attribute to malice what can adequately be explained by =
incompetence.

--
Mark Nottingham
http://www.mnot.net/






From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 09:31:27 2012
Return-Path: <ietf-http-wg-request@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 CD90821F84FD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 09:31:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.479
X-Spam-Level: 
X-Spam-Status: No, score=-9.479 tagged_above=-999 required=5 tests=[AWL=0.519, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_74=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aQSmjyNEhmRm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 09:31:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7273121F84F2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 09:31:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Symfz-000222-HB for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 16:30:35 +0000
Resent-Date: Tue, 07 Aug 2012 16:30:35 +0000
Resent-Message-Id: <E1Symfz-000222-HB@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Symfm-00021H-2B for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 16:30:22 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Symfh-0005BD-AP for ietf-http-wg@w3.org; Tue, 07 Aug 2012 16:30:22 +0000
Received: by wgbdq12 with SMTP id dq12so3820579wgb.26 for <ietf-http-wg@w3.org>; Tue, 07 Aug 2012 09:29:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=NnW96436W5qvnnNMjzWff7xB+bHF5t9WVgZsciBgGFw=; b=V76oUYy6PeRjowopUxba0nliw5u6liOnn0TnmI6rKhjJ7ZxWUSR3bFx89TWcd4sw4k gKoTQ8eJTVOtfyEo1voWl6wS3o2Uvso9t81oar1tfGQ2upVSbWJZfbcnWxziprGcqJyE HyXbZHAYW6trbciypCOHZrmPaqVKZIjlwzc3xlGjxpQfKjR/DOrycscJrwEOl9ySA5pM UKqODEvfbrkwYvlcnFfaY04gSKLz8uM+eSUMR6sTbjr1iwh7mUWye4x4UKsy5x2nivtM 2zL4xjotr4uKSSjtwh3mr2mz8p9kjSJwuv3fUeU4idbnSF/2bfJH6YeKAWOFboNE2B84 t8Eg==
Received: by 10.180.92.9 with SMTP id ci9mr28778338wib.22.1344356990813; Tue, 07 Aug 2012 09:29:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.171.72 with HTTP; Tue, 7 Aug 2012 09:29:30 -0700 (PDT)
In-Reply-To: <ED2B1F10-71F8-4BDF-A152-51148125987F@mnot.net>
References: <64411.1344356084@critter.freebsd.dk> <ED2B1F10-71F8-4BDF-A152-51148125987F@mnot.net>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 7 Aug 2012 09:29:30 -0700
Message-ID: <CABP7RbeJj_Bpz0bu6yCmvwc1ww9O+G+M5q0STyRC4H=6WLmsdA@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, Roberto Peon <grmocg@gmail.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d043c8188e3881a04c6af80de
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Symfh-0005BD-AP ecba6b5346183b433b923eebbe5a52b1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/CABP7RbeJj_Bpz0bu6yCmvwc1ww9O+G+M5q0STyRC4H=6WLmsdA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15033
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>

--f46d043c8188e3881a04c6af80de
Content-Type: text/plain; charset=UTF-8

On Tue, Aug 7, 2012 at 9:18 AM, Mark Nottingham <mnot@mnot.net> wrote:

>
> On 07/08/2012, at 11:14 AM, "Poul-Henning Kamp" <phk@phk.freebsd.dk>
> wrote:
> [snip]
> > I don't care if you call it transport, presentation or application
> > level:  Expect/Continue does not work and should not be allowed
> > into HTTP/2.0.
>
> I know it causes problems for intermediaries. We can talk about that, but
> just arguing by assertion doesn't help.
>
>
The general concept is sound, the existing design definitely leaves much to
be desired. Given the bidirectional multiplexing available within SPDY,
however, we should be able to design something better, tho. The challenge,
that I see, lies not in SPDY specifically, but in the way that HTTP 1.1
semantics are implemented on top... with the HTTP response status being
bound to the SYN_REPLY. If, for instance, we allow for multiple ":status"
headers to be sent back the possibility to implement this opens up
significantly.

For example, let's suppose that we allow the server to send a follow-on
:status code within HEADERS frames... then we could implement this as ...

  C              S
  |=============>|
  |1) SYN_STREAM |
  | :method:POST |
  | :expect:100  |
  |<=============|
  |2) SYN_REPLY  |
  | :status:100  |
  |=============>|
  |3) DATA       |
  |<=============|
  |4) HEADERS    |
  | :status:201  |
  |              |

Yes, this is a change to existing semantics but, I think it's a reasonable
one that can be mapped down to a 1.1 flow if necessary.

- James


>
> >
> >>> My strawman for how to do it in HTTP/2.0:
> >>>
> >>> The client can have no more than one TCP connection with six
> >>> outstanding requests, each with no more than 8KB of headers+body
> >>> in total, until the server sends an explicit message increasing its
> >>> allowance, either in stand-alone message if we have a control
> >>> channel, or as part of a response.
> >>>
> >>> All numbers are examples subject to improvement.
> >
> > --
> > Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> > phk@FreeBSD.ORG         | TCP/IP since RFC 956
> > FreeBSD committer       | BSD since 4.3-tahoe
> > Never attribute to malice what can adequately be explained by
> incompetence.
>
> --
> Mark Nottingham
> http://www.mnot.net/
>
>
>
>
>

--f46d043c8188e3881a04c6af80de
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Tue, Aug 7, 2012 at 9:18 AM, Mark Nottingham <span dir=3D"ltr">&lt;<=
a href=3D"mailto:mnot@mnot.net" target=3D"_blank">mnot@mnot.net</a>&gt;</sp=
an> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im"><br>
On 07/08/2012, at 11:14 AM, &quot;Poul-Henning Kamp&quot; &lt;<a href=3D"ma=
ilto:phk@phk.freebsd.dk">phk@phk.freebsd.dk</a>&gt; wrote:<br>
[snip]</div><div class=3D"im">
&gt; I don&#39;t care if you call it transport, presentation or application=
<br>
&gt; level: =C2=A0Expect/Continue does not work and should not be allowed<b=
r>
&gt; into HTTP/2.0.<br>
<br>
</div>I know it causes problems for intermediaries. We can talk about that,=
 but just arguing by assertion doesn&#39;t help.<br>
<div class=3D"im HOEnZb"><br></div></blockquote><div><br></div><div><font f=
ace=3D"courier new, monospace">The general concept is sound, the existing d=
esign definitely leaves much to be desired. Given the bidirectional multipl=
exing available within SPDY, however, we should be able to design something=
 better, tho. The challenge, that I see, lies not in SPDY specifically, but=
 in the way that HTTP 1.1 semantics are implemented on top... with the HTTP=
 response status being bound to the SYN_REPLY. If, for instance, we allow f=
or multiple &quot;:status&quot; headers to be sent back the possibility to =
implement this opens up significantly.=C2=A0</font></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">For example, let&#39;s suppose that we allow th=
e server to send a follow-on :status code within HEADERS frames... then we =
could implement this as ...</font></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">=C2=A0 C =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0S</font></div><div><font face=3D"courier new, monospace">=C2=A0 |=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;|</font></div><div><font face=3D=
"courier new, monospace">=C2=A0 |1) SYN_STREAM |</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 | :method:POST |</font></=
div><div><font face=3D"courier new, monospace">=C2=A0 | :expect:100 =C2=A0|=
</font></div><div><font face=3D"courier new, monospace">=C2=A0 |&lt;=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D|</font></div><div>

<font face=3D"courier new, monospace">=C2=A0 |2) SYN_REPLY =C2=A0|</font></=
div><div><font face=3D"courier new, monospace">=C2=A0 | :status:100 =C2=A0|=
</font></div><div><font face=3D"courier new, monospace">=C2=A0 |=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D&gt;|</font></div><div><font face=3D"courier =
new, monospace">=C2=A0 |3) DATA =C2=A0 =C2=A0 =C2=A0 |</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 |&lt;=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D|</font></div><div><font face=3D"courier new, monospac=
e">=C2=A0 |4) HEADERS =C2=A0 =C2=A0|</font></div><div><font face=3D"courier=
 new, monospace">=C2=A0 | :status:201 =C2=A0|</font></div><div>

<font face=3D"courier new, monospace">=C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0|</font></div><div><font face=3D"courier new, monospace=
"><br></font></div><div><font face=3D"courier new, monospace">Yes, this is =
a change to existing semantics but, I think it&#39;s a reasonable one that =
can be mapped down to a 1.1 flow if necessary.</font></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">- James</font></div><div>=C2=A0</div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex">

<div class=3D"im HOEnZb">
<br>
&gt;<br>
&gt;&gt;&gt; My strawman for how to do it in HTTP/2.0:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The client can have no more than one TCP connection with six<b=
r>
&gt;&gt;&gt; outstanding requests, each with no more than 8KB of headers+bo=
dy<br>
&gt;&gt;&gt; in total, until the server sends an explicit message increasin=
g its<br>
&gt;&gt;&gt; allowance, either in stand-alone message if we have a control<=
br>
&gt;&gt;&gt; channel, or as part of a response.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; All numbers are examples subject to improvement.<br>
&gt;<br>
&gt; --<br>
&gt; Poul-Henning Kamp =C2=A0 =C2=A0 =C2=A0 | UNIX since Zilog Zeus 3.20<br=
>
&gt; phk@FreeBSD.ORG =C2=A0 =C2=A0 =C2=A0 =C2=A0 | TCP/IP since RFC 956<br>
&gt; FreeBSD committer =C2=A0 =C2=A0 =C2=A0 | BSD since 4.3-tahoe<br>
&gt; Never attribute to malice what can adequately be explained by incompet=
ence.<br>
<br>
</div><div class=3D"HOEnZb"><div class=3D"h5">--<br>
Mark Nottingham<br>
<a href=3D"http://www.mnot.net/" target=3D"_blank">http://www.mnot.net/</a>=
<br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br>

--f46d043c8188e3881a04c6af80de--


From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 15:10:52 2012
Return-Path: <ietf-http-wg-request@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 4A38121F8501 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 15:10:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.969
X-Spam-Level: 
X-Spam-Status: No, score=-7.969 tagged_above=-999 required=5 tests=[AWL=2.630, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qQvDhcTiBORE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 15:10:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5285121F8464 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 15:10:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyrxB-0008T1-2X for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 22:08:41 +0000
Resent-Date: Tue, 07 Aug 2012 22:08:41 +0000
Resent-Message-Id: <E1SyrxB-0008T1-2X@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1Syrwu-0008Rt-IG for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 22:08:24 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1Syrws-0007IN-Bj for ietf-http-wg@w3.org; Tue, 07 Aug 2012 22:08:24 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.6 (Build 3449)) with SMTP id <0019181023@smtp.qbik.com>; Wed, 08 Aug 2012 10:07:58 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Henrik Frystyk Nielsen" <henrikn@microsoft.com>, "Mark Nottingham" <mnot@mnot.net>, "James M Snell" <jasnell@gmail.com>
Cc: "Roberto Peon" <grmocg@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Tue, 07 Aug 2012 22:07:58 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <3a5e13b85e7c434aabd280da9d3bf925@BLUPR03MB613.namprd03.prod.outlook.com>
Message-Id: <em224c4065-c66b-474f-9e3b-00e3ca5bb173@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Syrws-0007IN-Bj 48d5a1b470fa83ca3853d22442ce875f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/em224c4065-c66b-474f-9e3b-00e3ca5bb173@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15034
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>

=EF=BB=BF
------ Original Message ------
From: "Henrik Frystyk Nielsen" <henrikn@microsoft.com>
>A mechanism like the 100-continue is critical for supporting requests cont=
aining entity data that results in authentication needed, redirect, or othe=
r "intermediate "responses in an efficient and robust manner. It allows =
the client to send the headers which the server can then use to determine=
 whether it can accept the data and as a result give a go-ahead to the clie=
nt. You don't want the client to start sending a lot of body data if it =
has to redo the request.
>
we had a discussion about this a couple years back, and it was resolved=20
that the only way that 100-continue can provide for the ability to=20
retain the client connection is if the client sends chunked request=20
bodies, and aborts the transfer of the entity by sending a 0 chunk.

I'm not aware of any client that actually does this.

so AFAICT, 100 continue is unnecessary, and in the end just results in=20
extra transmissions for pretty much no visible benefit.

If OTOH it allowed the client to decide not to send the body (e.g. to=20
auth instead), it could have been useful.

This came up when I did my original proposal for status updates, in=20
relation to multi-legged authentication when dealing with large request=20
bodies.

Adrien




>
>
>You can approximate this behavior with careful use of flow-control credits=
 but it will inherently be much cruder because there is no way to separate=
 cleanly on a header/body boundary. As a result it will likely result in=
 wasted bytes transmitted -- something we want to avoid with HTTP/2.0.
>
>Expect on the other hand is in general a failed experiment in my opinion=
 -- you can't retrofit such semantics into an existing protocol.
>
>Henrik
>
>-----Original Message-----
>From: Mark Nottingham [mailto:mnot@mnot.net]
>Sent: Tuesday, August 07, 2012 08:44
>To: James M Snell
>Cc: Roberto Peon; ietf-http-wg@w3.org
>Subject: Re: Some general SPDY feedback / questions
>
>
>On 19/07/2012, at 1:37 AM, James M Snell <jasnell@gmail.com> wrote:
>
>
>>
>>
>>On Jul 18, 2012 2:35 PM, "Roberto Peon" <grmocg@gmail.com> wrote:
>>>[snip]
>>>> 3. How are Informational 1xx Status Codes handled? The current SPDY=
 draft does not appear to support "provisional responses".
>>>
>>>
>>
>>Thank you for the reference to the thread. After reading through it one=
 thing became obvious: while it would likely not be difficult to provide=
 support for a 100-continue like mechanism within spdy, the protocols curre=
nt design would essentially require a suboptimal hack in order to retain=
 existing http/1.1 semantics and preserve spdy-to-http1.1 pass through or=
 would require that we design a new similar mechanism, optimized for spdy=
 that changes an aspect of http/1.1 semantics.
>>
>>As Mark  has pointed out recently, however, our job here currently is =
to only define a new transport for http and not to change existing http =
semantics. So i am at a bit of a loss as to what the charter will let us=
 do in this case.
>>
>>Mark... any guidance?
>>
>
>
>It's a good question. I know that it has come up often on the SPDY list=
 (sometimes raised by me ;).
>
>I'd characterise expect/continue as being on the lighter borders of a grey=
 area; it is used, but it does cause interop problems.  HTTPbis hasn't deci=
ded to deprecate it, so it does form part of the semantics of HTTP (unlike,=
 for example, chunk extensions, which we have deprecated).
>
>However, that doesn't preclude us from deciding to not support it in HTTP/=
2, *if* we can get a good consensus around doing so. I'd be inclined to =
have a somewhat higher bar for doing so, however.
>
>I'd be interested to hear comments from others, of course.
>
>Cheers,
>
>--
>Mark Nottingham
>http://www.mnot.net/
>
>
>
>
>
>
>
>
>
>
>
>
>



From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 15:23:24 2012
Return-Path: <ietf-http-wg-request@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 F34B221F8598 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 15:23:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.657
X-Spam-Level: 
X-Spam-Status: No, score=-7.657 tagged_above=-999 required=5 tests=[AWL=-0.231, BAYES_00=-2.599, MIME_BASE64_BLANKS=0.041, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NkZ1+PLpH1jc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 15:23:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7543021F858E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 15:23:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SysAC-0006HG-Qt for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 22:22:08 +0000
Resent-Date: Tue, 07 Aug 2012 22:22:08 +0000
Resent-Message-Id: <E1SysAC-0006HG-Qt@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1Sys9b-0006Fo-Fd for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 22:21:31 +0000
Received: from db3ehsobe006.messaging.microsoft.com ([213.199.154.144] helo=db3outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1Sys9Z-0007hF-TC for ietf-http-wg@w3.org; Tue, 07 Aug 2012 22:21:31 +0000
Received: from mail51-db3-R.bigfish.com (10.3.81.236) by DB3EHSOBE004.bigfish.com (10.3.84.24) with Microsoft SMTP Server id 14.1.225.23; Tue, 7 Aug 2012 22:21:02 +0000
Received: from mail51-db3 (localhost [127.0.0.1])	by mail51-db3-R.bigfish.com (Postfix) with ESMTP id D68B24A0445	for <ietf-http-wg@w3.org>; Tue,  7 Aug 2012 22:21:02 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC107.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -7
X-BigFish: VS-7(zzbb2dI98dI9371I542M1432Izz1202hzz8275ch8275bh8275dhz2fh2a8h683h839h93fhd24hf0ah107ah9a9j)
Received-SPF: pass (mail51-db3: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14HUBC107.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.240.21;KIP:(null);UIP:(null);(null);H:BL2PRD0310HT001.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail51-db3 (localhost.localdomain [127.0.0.1]) by mail51-db3 (MessageSwitch) id 1344378060596994_30970; Tue,  7 Aug 2012 22:21:00 +0000 (UTC)
Received: from DB3EHSMHS008.bigfish.com (unknown [10.3.81.233])	by mail51-db3.bigfish.com (Postfix) with ESMTP id 85B47260045	for <ietf-http-wg@w3.org>; Tue,  7 Aug 2012 22:21:00 +0000 (UTC)
Received: from TK5EX14HUBC107.redmond.corp.microsoft.com (131.107.125.8) by DB3EHSMHS008.bigfish.com (10.3.87.108) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 7 Aug 2012 22:21:00 +0000
Received: from am1outboundpool.messaging.microsoft.com (157.54.51.114) by mail.microsoft.com (157.54.80.67) with Microsoft SMTP Server (TLS) id 14.2.309.3; Tue, 7 Aug 2012 22:20:50 +0000
Received: from mail92-am1-R.bigfish.com (10.3.201.236) by AM1EHSOBE001.bigfish.com (10.3.204.21) with Microsoft SMTP Server id 14.1.225.23; Tue, 7 Aug 2012 22:20:49 +0000
Received: from mail92-am1 (localhost [127.0.0.1])	by mail92-am1-R.bigfish.com (Postfix) with ESMTP id F06C31C01D1	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Tue,  7 Aug 2012 22:20:49 +0000 (UTC)
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(377454001)(24454001)(479174001)(13464001)(51704002)(16406001)(42186003)(5343635001)(5343655001)(5343645001)(33646001)(266001)(31966006)(24736002);DIR:INB;;LANG:en;
Received: from mail92-am1 (localhost.localdomain [127.0.0.1]) by mail92-am1 (MessageSwitch) id 1344378047361318_25293; Tue,  7 Aug 2012 22:20:47 +0000 (UTC)
Received: from AM1EHSMHS019.bigfish.com (unknown [10.3.201.228])	by mail92-am1.bigfish.com (Postfix) with ESMTP id 4BC4F220049;	Tue,  7 Aug 2012 22:20:47 +0000 (UTC)
Received: from BL2PRD0310HT001.namprd03.prod.outlook.com (157.56.240.21) by AM1EHSMHS019.bigfish.com (10.3.207.157) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 7 Aug 2012 22:20:47 +0000
Received: from BLUPR03MB613.namprd03.prod.outlook.com (10.255.124.41) by BL2PRD0310HT001.namprd03.prod.outlook.com (10.255.97.36) with Microsoft SMTP Server (TLS) id 14.16.175.8; Tue, 7 Aug 2012 22:20:46 +0000
Received: from BLUPR03MB613.namprd03.prod.outlook.com (10.255.124.41) by BLUPR03MB613.namprd03.prod.outlook.com (10.255.124.41) with Microsoft SMTP Server (TLS) id 15.0.466.11; Tue, 7 Aug 2012 22:20:44 +0000
Received: from BLUPR03MB613.namprd03.prod.outlook.com ([169.254.10.152]) by BLUPR03MB613.namprd03.prod.outlook.com ([169.254.10.152]) with mapi id 15.00.0466.010; Tue, 7 Aug 2012 22:20:44 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: "Adrien W. de Croy" <adrien@qbik.com>, Mark Nottingham <mnot@mnot.net>, James M Snell <jasnell@gmail.com>
CC: Roberto Peon <grmocg@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: Some general SPDY feedback / questions
Thread-Index: AQHNZSU6CDpleBvbWkOm0RfOQQEBF5cvkC0AgACXZ4CAHnUMAIAAAmbggABo5ACAAAKawA==
Date: Tue, 7 Aug 2012 22:20:43 +0000
Message-ID: <15886d68825b4ad29576aa5197423cca@BLUPR03MB613.namprd03.prod.outlook.com>
References: <3a5e13b85e7c434aabd280da9d3bf925@BLUPR03MB613.namprd03.prod.outlook.com> <em224c4065-c66b-474f-9e3b-00e3ca5bb173@bombed>
In-Reply-To: <em224c4065-c66b-474f-9e3b-00e3ca5bb173@bombed>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.255.156.152]
x-forefront-prvs: 05669A7924
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OrganizationHeadersPreserved: BLUPR03MB613.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%GMAIL.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%QBIK.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%MNOT.NET$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14HUBC107.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC107.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=213.199.154.144; envelope-from=henrikn@microsoft.com; helo=db3outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=1.3
X-W3C-Hub-Spam-Report: BAYES_50=0.8, MIME_BASE64_BLANKS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: maggie.w3.org 1Sys9Z-0007hF-TC cc4cff7570b7cf69bfebde8b2356a62d
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/15886d68825b4ad29576aa5197423cca@BLUPR03MB613.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15035
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>

VGhpcyBpcyBub3QgY29ycmVjdC4gVXNpbmcgdGhlIDEwMCBjb250aW51ZSBtb2RlbCBleHBsaWNp
dGx5IGNhbGxzIG91dCBzZXBhcmF0aW5nIG9uIHRoZSBoZWFkZXIvYm9keSBib3VuZGFyeS4gVGhl
cmUgaXMgYWJzb2x1dGVseSBubyByZWFzb24gZm9yIHRoZSBjbGllbnQgdG8gdXNlIGNodW5raW5n
LiBUaGUgdXNlIG9mIDEwMCB3YXMgaW50cm9kdWNlZCBleHBsaWNpdGx5IHRvIGRlYWwgd2l0aCBQ
VVQgYW5kIFBPU1QgaW4gc2l0dWF0aW9uIHdoZXJlIHRoZXJlIGlzIHBvdGVudGlhbGx5IGEgbGFy
Z2UgUlRUIGFuZCBpdCBpcyBleHBvc2VkIGluIGNvbW1vbiBXZWIgY2xpZW50IEFQSXMgKG9uZSBj
YXNlIGlzIHRoZSAuTkVUIEhUVFAgY2xpZW50IEFQSVMpLg0KDQpIZW5yaWsNCg0KLS0tLS1Pcmln
aW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IEFkcmllbiBXLiBkZSBDcm95IFttYWlsdG86YWRyaWVu
QHFiaWsuY29tXSANClNlbnQ6IFR1ZXNkYXksIEF1Z3VzdCAwNywgMjAxMiAzOjA4IFBNDQpUbzog
SGVucmlrIEZyeXN0eWsgTmllbHNlbjsgTWFyayBOb3R0aW5naGFtOyBKYW1lcyBNIFNuZWxsDQpD
YzogUm9iZXJ0byBQZW9uOyBpZXRmLWh0dHAtd2dAdzMub3JnDQpTdWJqZWN0OiBSZTogU29tZSBn
ZW5lcmFsIFNQRFkgZmVlZGJhY2sgLyBxdWVzdGlvbnMNCg0KDQotLS0tLS0gT3JpZ2luYWwgTWVz
c2FnZSAtLS0tLS0NCkZyb206ICJIZW5yaWsgRnJ5c3R5ayBOaWVsc2VuIiA8aGVucmlrbkBtaWNy
b3NvZnQuY29tPg0KPkEgbWVjaGFuaXNtIGxpa2UgdGhlIDEwMC1jb250aW51ZSBpcyBjcml0aWNh
bCBmb3Igc3VwcG9ydGluZyByZXF1ZXN0cyBjb250YWluaW5nIGVudGl0eSBkYXRhIHRoYXQgcmVz
dWx0cyBpbiBhdXRoZW50aWNhdGlvbiBuZWVkZWQsIHJlZGlyZWN0LCBvciBvdGhlciAiaW50ZXJt
ZWRpYXRlICJyZXNwb25zZXMgaW4gYW4gZWZmaWNpZW50IGFuZCByb2J1c3QgbWFubmVyLiBJdCBh
bGxvd3MgdGhlIGNsaWVudCB0byBzZW5kIHRoZSBoZWFkZXJzIHdoaWNoIHRoZSBzZXJ2ZXIgY2Fu
IHRoZW4gdXNlIHRvIGRldGVybWluZSB3aGV0aGVyIGl0IGNhbiBhY2NlcHQgdGhlIGRhdGEgYW5k
IGFzIGEgcmVzdWx0IGdpdmUgYSBnby1haGVhZCB0byB0aGUgY2xpZW50LiBZb3UgZG9uJ3Qgd2Fu
dCB0aGUgY2xpZW50IHRvIHN0YXJ0IHNlbmRpbmcgYSBsb3Qgb2YgYm9keSBkYXRhIGlmIGl0IGhh
cyB0byByZWRvIHRoZSByZXF1ZXN0Lg0KPg0Kd2UgaGFkIGEgZGlzY3Vzc2lvbiBhYm91dCB0aGlz
IGEgY291cGxlIHllYXJzIGJhY2ssIGFuZCBpdCB3YXMgcmVzb2x2ZWQgDQp0aGF0IHRoZSBvbmx5
IHdheSB0aGF0IDEwMC1jb250aW51ZSBjYW4gcHJvdmlkZSBmb3IgdGhlIGFiaWxpdHkgdG8gDQpy
ZXRhaW4gdGhlIGNsaWVudCBjb25uZWN0aW9uIGlzIGlmIHRoZSBjbGllbnQgc2VuZHMgY2h1bmtl
ZCByZXF1ZXN0IA0KYm9kaWVzLCBhbmQgYWJvcnRzIHRoZSB0cmFuc2ZlciBvZiB0aGUgZW50aXR5
IGJ5IHNlbmRpbmcgYSAwIGNodW5rLg0KDQpJJ20gbm90IGF3YXJlIG9mIGFueSBjbGllbnQgdGhh
dCBhY3R1YWxseSBkb2VzIHRoaXMuDQoNCnNvIEFGQUlDVCwgMTAwIGNvbnRpbnVlIGlzIHVubmVj
ZXNzYXJ5LCBhbmQgaW4gdGhlIGVuZCBqdXN0IHJlc3VsdHMgaW4gDQpleHRyYSB0cmFuc21pc3Np
b25zIGZvciBwcmV0dHkgbXVjaCBubyB2aXNpYmxlIGJlbmVmaXQuDQoNCklmIE9UT0ggaXQgYWxs
b3dlZCB0aGUgY2xpZW50IHRvIGRlY2lkZSBub3QgdG8gc2VuZCB0aGUgYm9keSAoZS5nLiB0byAN
CmF1dGggaW5zdGVhZCksIGl0IGNvdWxkIGhhdmUgYmVlbiB1c2VmdWwuDQoNClRoaXMgY2FtZSB1
cCB3aGVuIEkgZGlkIG15IG9yaWdpbmFsIHByb3Bvc2FsIGZvciBzdGF0dXMgdXBkYXRlcywgaW4g
DQpyZWxhdGlvbiB0byBtdWx0aS1sZWdnZWQgYXV0aGVudGljYXRpb24gd2hlbiBkZWFsaW5nIHdp
dGggbGFyZ2UgcmVxdWVzdCANCmJvZGllcy4NCg0KQWRyaWVuDQoNCg0KDQoNCj4NCj4NCj5Zb3Ug
Y2FuIGFwcHJveGltYXRlIHRoaXMgYmVoYXZpb3Igd2l0aCBjYXJlZnVsIHVzZSBvZiBmbG93LWNv
bnRyb2wgY3JlZGl0cyBidXQgaXQgd2lsbCBpbmhlcmVudGx5IGJlIG11Y2ggY3J1ZGVyIGJlY2F1
c2UgdGhlcmUgaXMgbm8gd2F5IHRvIHNlcGFyYXRlIGNsZWFubHkgb24gYSBoZWFkZXIvYm9keSBi
b3VuZGFyeS4gQXMgYSByZXN1bHQgaXQgd2lsbCBsaWtlbHkgcmVzdWx0IGluIHdhc3RlZCBieXRl
cyB0cmFuc21pdHRlZCAtLSBzb21ldGhpbmcgd2Ugd2FudCB0byBhdm9pZCB3aXRoIEhUVFAvMi4w
Lg0KPg0KPkV4cGVjdCBvbiB0aGUgb3RoZXIgaGFuZCBpcyBpbiBnZW5lcmFsIGEgZmFpbGVkIGV4
cGVyaW1lbnQgaW4gbXkgb3BpbmlvbiAtLSB5b3UgY2FuJ3QgcmV0cm9maXQgc3VjaCBzZW1hbnRp
Y3MgaW50byBhbiBleGlzdGluZyBwcm90b2NvbC4NCj4NCj5IZW5yaWsNCj4NCj4tLS0tLU9yaWdp
bmFsIE1lc3NhZ2UtLS0tLQ0KPkZyb206IE1hcmsgTm90dGluZ2hhbSBbbWFpbHRvOm1ub3RAbW5v
dC5uZXRdDQo+U2VudDogVHVlc2RheSwgQXVndXN0IDA3LCAyMDEyIDA4OjQ0DQo+VG86IEphbWVz
IE0gU25lbGwNCj5DYzogUm9iZXJ0byBQZW9uOyBpZXRmLWh0dHAtd2dAdzMub3JnDQo+U3ViamVj
dDogUmU6IFNvbWUgZ2VuZXJhbCBTUERZIGZlZWRiYWNrIC8gcXVlc3Rpb25zDQo+DQo+DQo+T24g
MTkvMDcvMjAxMiwgYXQgMTozNyBBTSwgSmFtZXMgTSBTbmVsbCA8amFzbmVsbEBnbWFpbC5jb20+
IHdyb3RlOg0KPg0KPg0KPj4NCj4+DQo+Pk9uIEp1bCAxOCwgMjAxMiAyOjM1IFBNLCAiUm9iZXJ0
byBQZW9uIiA8Z3Jtb2NnQGdtYWlsLmNvbT4gd3JvdGU6DQo+Pj5bc25pcF0NCj4+Pj4gMy4gSG93
IGFyZSBJbmZvcm1hdGlvbmFsIDF4eCBTdGF0dXMgQ29kZXMgaGFuZGxlZD8gVGhlIGN1cnJlbnQg
U1BEWSBkcmFmdCBkb2VzIG5vdCBhcHBlYXIgdG8gc3VwcG9ydCAicHJvdmlzaW9uYWwgcmVzcG9u
c2VzIi4NCj4+Pg0KPj4+DQo+Pg0KPj5UaGFuayB5b3UgZm9yIHRoZSByZWZlcmVuY2UgdG8gdGhl
IHRocmVhZC4gQWZ0ZXIgcmVhZGluZyB0aHJvdWdoIGl0IG9uZSB0aGluZyBiZWNhbWUgb2J2aW91
czogd2hpbGUgaXQgd291bGQgbGlrZWx5IG5vdCBiZSBkaWZmaWN1bHQgdG8gcHJvdmlkZSBzdXBw
b3J0IGZvciBhIDEwMC1jb250aW51ZSBsaWtlIG1lY2hhbmlzbSB3aXRoaW4gc3BkeSwgdGhlIHBy
b3RvY29scyBjdXJyZW50IGRlc2lnbiB3b3VsZCBlc3NlbnRpYWxseSByZXF1aXJlIGEgc3Vib3B0
aW1hbCBoYWNrIGluIG9yZGVyIHRvIHJldGFpbiBleGlzdGluZyBodHRwLzEuMSBzZW1hbnRpY3Mg
YW5kIHByZXNlcnZlIHNwZHktdG8taHR0cDEuMSBwYXNzIHRocm91Z2ggb3Igd291bGQgcmVxdWly
ZSB0aGF0IHdlIGRlc2lnbiBhIG5ldyBzaW1pbGFyIG1lY2hhbmlzbSwgb3B0aW1pemVkIGZvciBz
cGR5IHRoYXQgY2hhbmdlcyBhbiBhc3BlY3Qgb2YgaHR0cC8xLjEgc2VtYW50aWNzLg0KPj4NCj4+
QXMgTWFyayAgaGFzIHBvaW50ZWQgb3V0IHJlY2VudGx5LCBob3dldmVyLCBvdXIgam9iIGhlcmUg
Y3VycmVudGx5IGlzIHRvIG9ubHkgZGVmaW5lIGEgbmV3IHRyYW5zcG9ydCBmb3IgaHR0cCBhbmQg
bm90IHRvIGNoYW5nZSBleGlzdGluZyBodHRwIHNlbWFudGljcy4gU28gaSBhbSBhdCBhIGJpdCBv
ZiBhIGxvc3MgYXMgdG8gd2hhdCB0aGUgY2hhcnRlciB3aWxsIGxldCB1cyBkbyBpbiB0aGlzIGNh
c2UuDQo+Pg0KPj5NYXJrLi4uIGFueSBndWlkYW5jZT8NCj4+DQo+DQo+DQo+SXQncyBhIGdvb2Qg
cXVlc3Rpb24uIEkga25vdyB0aGF0IGl0IGhhcyBjb21lIHVwIG9mdGVuIG9uIHRoZSBTUERZIGxp
c3QgKHNvbWV0aW1lcyByYWlzZWQgYnkgbWUgOykuDQo+DQo+SSdkIGNoYXJhY3RlcmlzZSBleHBl
Y3QvY29udGludWUgYXMgYmVpbmcgb24gdGhlIGxpZ2h0ZXIgYm9yZGVycyBvZiBhIGdyZXkgYXJl
YTsgaXQgaXMgdXNlZCwgYnV0IGl0IGRvZXMgY2F1c2UgaW50ZXJvcCBwcm9ibGVtcy4gIEhUVFBi
aXMgaGFzbid0IGRlY2lkZWQgdG8gZGVwcmVjYXRlIGl0LCBzbyBpdCBkb2VzIGZvcm0gcGFydCBv
ZiB0aGUgc2VtYW50aWNzIG9mIEhUVFAgKHVubGlrZSwgZm9yIGV4YW1wbGUsIGNodW5rIGV4dGVu
c2lvbnMsIHdoaWNoIHdlIGhhdmUgZGVwcmVjYXRlZCkuDQo+DQo+SG93ZXZlciwgdGhhdCBkb2Vz
bid0IHByZWNsdWRlIHVzIGZyb20gZGVjaWRpbmcgdG8gbm90IHN1cHBvcnQgaXQgaW4gSFRUUC8y
LCAqaWYqIHdlIGNhbiBnZXQgYSBnb29kIGNvbnNlbnN1cyBhcm91bmQgZG9pbmcgc28uIEknZCBi
ZSBpbmNsaW5lZCB0byBoYXZlIGEgc29tZXdoYXQgaGlnaGVyIGJhciBmb3IgZG9pbmcgc28sIGhv
d2V2ZXIuDQo+DQo+SSdkIGJlIGludGVyZXN0ZWQgdG8gaGVhciBjb21tZW50cyBmcm9tIG90aGVy
cywgb2YgY291cnNlLg0KPg0KPkNoZWVycywNCj4NCj4tLQ0KPk1hcmsgTm90dGluZ2hhbQ0KPmh0
dHA6Ly93d3cubW5vdC5uZXQvDQo+DQo+DQo+DQo+DQo+DQo+DQo+DQo+DQo+DQo+DQo+DQo+DQo+
DQoNCg0KDQoNCg==




From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 15:44:19 2012
Return-Path: <ietf-http-wg-request@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 CB71421F8687 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 15:44:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.005
X-Spam-Level: 
X-Spam-Status: No, score=-8.005 tagged_above=-999 required=5 tests=[AWL=2.594, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ADM4RIOyJj88 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 15:44:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B6FFB21F846B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 15:44:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SysUj-0007h2-Fw for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 22:43:21 +0000
Resent-Date: Tue, 07 Aug 2012 22:43:21 +0000
Resent-Message-Id: <E1SysUj-0007h2-Fw@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SysUP-0007fq-IP for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 22:43:01 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SysUN-0008Sc-Ry for ietf-http-wg@w3.org; Tue, 07 Aug 2012 22:43:01 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.6 (Build 3449)) with SMTP id <0019181062@smtp.qbik.com>; Wed, 08 Aug 2012 10:42:37 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Henrik Frystyk Nielsen" <henrikn@microsoft.com>, "Mark Nottingham" <mnot@mnot.net>, "James M Snell" <jasnell@gmail.com>
Cc: "Roberto Peon" <grmocg@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Tue, 07 Aug 2012 22:42:36 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <15886d68825b4ad29576aa5197423cca@BLUPR03MB613.namprd03.prod.outlook.com>
Message-Id: <emb0b07750-0b20-4e16-9811-23d0596e0146@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SysUN-0008Sc-Ry 80cbbfc8d135541c9a55298abe960e52
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/emb0b07750-0b20-4e16-9811-23d0596e0146@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15036
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>

=EF=BB=BFok, now I'm confused.

you and I discussed this in Feb 2007 on this list=20
(http://lists.w3.org/Archives/Public/ietf-http-wg/2007JanMar/ thread=20
RE: [Fwd: I-D ACTION:draft-decroy-http-progress-00.txt])

My understanding is that once a request indicates an entity body,=20
either it must be sent, or the connection closed.

If the desire is to keep the connection open (e.g. for NTLM), then the=20
only option is either send the entire entity, or send it chunked from=20
the beginning, and send a 0 chunk (which is actually as far as the=20
receiver is concerned the same as sending the entire body) so the=20
client can get on with authenticating.

100 Continue simply advises the client that it's possible (more=20
likely?) the entity will be accepted, e.g. it's not a 401 or 407 or 3xx=20
etc etc.

I can still envisage a server sending 100 continue then a 403 or 401=20
after it scanned the content or something, or if some messaging layer=20
sent the 100 and a higher one decided auth was required for that=20
request.  I don't know if this is prohibited by the spec.

Adrien


------ Original Message ------
From: "Henrik Frystyk Nielsen" <henrikn@microsoft.com>
To: "Adrien W. de Croy" <adrien@qbik.com>;"Mark Nottingham"=20
<mnot@mnot.net>;"James M Snell" <jasnell@gmail.com>
Cc: "Roberto Peon" <grmocg@gmail.com>;"ietf-http-wg@w3.org"=20
<ietf-http-wg@w3.org>
Sent: 8/08/2012 10:20:43 a.m.
Subject: RE: Some general SPDY feedback / questions
>This is not correct. Using the 100 continue model explicitly calls out =
separating on the header/body boundary. There is absolutely no reason for=
 the client to use chunking. The use of 100 was introduced explicitly to=
 deal with PUT and POST in situation where there is potentially a large =
RTT and it is exposed in common Web client APIs (one case is the .NET HTTP=
 client APIS).
>
>Henrik
>
>-----Original Message-----
>From: Adrien W. de Croy [mailto:adrien@qbik.com]
>Sent: Tuesday, August 07, 2012 3:08 PM
>To: Henrik Frystyk Nielsen; Mark Nottingham; James M Snell
>Cc: Roberto Peon; ietf-http-wg@w3.org
>Subject: Re: Some general SPDY feedback / questions
>
>
>------ Original Message ------
>From: "Henrik Frystyk Nielsen" <henrikn@microsoft.com>
>
>>
>>A mechanism like the 100-continue is critical for supporting requests =
containing entity data that results in authentication needed, redirect, =
or other "intermediate "responses in an efficient and robust manner. It =
allows the client to send the headers which the server can then use to dete=
rmine whether it can accept the data and as a result give a go-ahead to =
the client. You don't want the client to start sending a lot of body data=
 if it has to redo the request.
>>
>>
>
>we had a discussion about this a couple years back, and it was resolved
>that the only way that 100-continue can provide for the ability to
>retain the client connection is if the client sends chunked request
>bodies, and aborts the transfer of the entity by sending a 0 chunk.
>
>I'm not aware of any client that actually does this.
>
>so AFAICT, 100 continue is unnecessary, and in the end just results in
>extra transmissions for pretty much no visible benefit.
>
>If OTOH it allowed the client to decide not to send the body (e.g. to
>auth instead), it could have been useful.
>
>This came up when I did my original proposal for status updates, in
>relation to multi-legged authentication when dealing with large request
>bodies.
>
>Adrien
>
>
>
>
>
>>
>>
>>
>>You can approximate this behavior with careful use of flow-control credit=
s but it will inherently be much cruder because there is no way to separate=
 cleanly on a header/body boundary. As a result it will likely result in=
 wasted bytes transmitted -- something we want to avoid with HTTP/2.0.
>>
>>Expect on the other hand is in general a failed experiment in my opinion=
 -- you can't retrofit such semantics into an existing protocol.
>>
>>Henrik
>>
>>-----Original Message-----
>>From: Mark Nottingham [mailto:mnot@mnot.net]
>>Sent: Tuesday, August 07, 2012 08:44
>>To: James M Snell
>>Cc: Roberto Peon; ietf-http-wg@w3.org
>>Subject: Re: Some general SPDY feedback / questions
>>
>>
>>On 19/07/2012, at 1:37 AM, James M Snell <jasnell@gmail.com> wrote:
>>
>>
>>
>>>
>>>
>>>
>>>On Jul 18, 2012 2:35 PM, "Roberto Peon" <grmocg@gmail.com> wrote:
>>>
>>>>
>>>>[snip]
>>>>
>>>>>
>>>>>3. How are Informational 1xx Status Codes handled? The current SPDY=
 draft does not appear to support "provisional responses".
>>>>>
>>>
>>>
>>>Thank you for the reference to the thread. After reading through it one=
 thing became obvious: while it would likely not be difficult to provide=
 support for a 100-continue like mechanism within spdy, the protocols curre=
nt design would essentially require a suboptimal hack in order to retain=
 existing http/1.1 semantics and preserve spdy-to-http1.1 pass through or=
 would require that we design a new similar mechanism, optimized for spdy=
 that changes an aspect of http/1.1 semantics.
>>>
>>>As Mark  has pointed out recently, however, our job here currently is=
 to only define a new transport for http and not to change existing http=
 semantics. So i am at a bit of a loss as to what the charter will let us=
 do in this case.
>>>
>>>Mark... any guidance?
>>>
>>>
>>
>>
>>
>>It's a good question. I know that it has come up often on the SPDY list=
 (sometimes raised by me ;).
>>
>>I'd characterise expect/continue as being on the lighter borders of a =
grey area; it is used, but it does cause interop problems.  HTTPbis hasn't=
 decided to deprecate it, so it does form part of the semantics of HTTP =
(unlike, for example, chunk extensions, which we have deprecated).
>>
>>However, that doesn't preclude us from deciding to not support it in HTTP=
/2, *if* we can get a good consensus around doing so. I'd be inclined to=
 have a somewhat higher bar for doing so, however.
>>
>>I'd be interested to hear comments from others, of course.
>>
>>Cheers,
>>
>>--
>>Mark Nottingham
>>http://www.mnot.net/
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>



From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 16:11:37 2012
Return-Path: <ietf-http-wg-request@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 D8A8E21F8653 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 16:11:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.738
X-Spam-Level: 
X-Spam-Status: No, score=-9.738 tagged_above=-999 required=5 tests=[AWL=0.238, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cMqbLzN6HqrZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 16:11:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 21EE521F855E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 16:11:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sysu4-0002BS-GE for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 23:09:32 +0000
Resent-Date: Tue, 07 Aug 2012 23:09:32 +0000
Resent-Message-Id: <E1Sysu4-0002BS-GE@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Systp-0002Ah-BT for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 23:09:17 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Systn-0002Cs-M7 for ietf-http-wg@w3.org; Tue, 07 Aug 2012 23:09:17 +0000
Received: by lbol12 with SMTP id l12so159299lbo.2 for <ietf-http-wg@w3.org>; Tue, 07 Aug 2012 16:08:48 -0700 (PDT)
X-Google-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:x-gm-message-state; bh=5pO/UgTcku29U9QxtOXGIu3HpAB23b8sPElGdZ/hjb4=; b=BCaVX6lcwb5qPtuXF2Bkau7oQiLXSudkvxPcTouwR9X9UoM8la6/11Sa1kAn4JZQTm Uh8/CR0iijjNRP41Q2FLSJyMB6qaRjW4Jb5KshEwcejg7bMS9873KFyqoVAZc9nV/jz9 irMqepsYROmvdCVzVUPhg10GkFdUI44D0H2B6d6wbrXhx8BC9EXh+UlPRXygypEdm3xp CF0RmRBuoim5JC02kv0AjRxI6X9CR3a5CVgKSeSRFJSNTplD9FXn6PCIw3oqiO4xduEp jWYQFaPrcsQts3vwlpSFv/V/izXuA0+L9/O31AXBFWc4BY/clgsaarNbFw9NoXLumuv7 7aiA==
MIME-Version: 1.0
Received: by 10.112.29.131 with SMTP id k3mr7129968lbh.53.1344380928641; Tue, 07 Aug 2012 16:08:48 -0700 (PDT)
Received: by 10.112.77.33 with HTTP; Tue, 7 Aug 2012 16:08:48 -0700 (PDT)
In-Reply-To: <E67EC141-85D9-4F64-920F-9F3EAB251DC7@mnot.net>
References: <CABP7RbfFj__CeriiJA-caEda_h0K5b__oj6-zYRuA=BgSofuhA@mail.gmail.com> <CAP+FsNc_u0Ocg+in7e52hHRssm-FASf8cYE88QoyNnmPTYLzDg@mail.gmail.com> <CABP7RbcKKedmhNJe-nLz531wrfLW=zV6SLyvy1Ua6Vx8USQjuQ@mail.gmail.com> <E67EC141-85D9-4F64-920F-9F3EAB251DC7@mnot.net>
Date: Tue, 7 Aug 2012 16:08:48 -0700
Message-ID: <CABaLYCu8tn=anqX6AV943s8YFSwGTE3CG5uCCVSEbgZLBnMygw@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: James M Snell <jasnell@gmail.com>, Roberto Peon <grmocg@gmail.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=bcaec554d606b1cab504c6b5131e
X-Gm-Message-State: ALoCoQnTIyhk+oC+VU8FezE6BzSRY9BRXQ9Xe1RpeiHRCk32gIzAAVYxX4p7cnyrVu3wb+qD9KPB
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.1
X-W3C-Hub-Spam-Report: BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1Systn-0002Cs-M7 38b0b1b70d8a616ff2f20b1291a1ac89
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/CABaLYCu8tn=anqX6AV943s8YFSwGTE3CG5uCCVSEbgZLBnMygw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15037
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>

--bcaec554d606b1cab504c6b5131e
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Aug 7, 2012 at 8:43 AM, Mark Nottingham <mnot@mnot.net> wrote:

>
> On 19/07/2012, at 1:37 AM, James M Snell <jasnell@gmail.com> wrote:
>
> >
> > On Jul 18, 2012 2:35 PM, "Roberto Peon" <grmocg@gmail.com> wrote:
> > >[snip]
> > >> 3. How are Informational 1xx Status Codes handled? The current SPDY
> draft does not appear to support "provisional responses".
> > >
> > >
> >
> > Thank you for the reference to the thread. After reading through it one
> thing became obvious: while it would likely not be difficult to provide
> support for a 100-continue like mechanism within spdy, the protocols
> current design would essentially require a suboptimal hack in order to
> retain existing http/1.1 semantics and preserve spdy-to-http1.1 pass
> through or would require that we design a new similar mechanism, optimized
> for spdy that changes an aspect of http/1.1 semantics.
> >
> > As Mark  has pointed out recently, however, our job here currently is to
> only define a new transport for http and not to change existing http
> semantics. So i am at a bit of a loss as to what the charter will let us do
> in this case.
> >
> > Mark... any guidance?
>
> It's a good question. I know that it has come up often on the SPDY list
> (sometimes raised by me ;).
>
> I'd characterise expect/continue as being on the lighter borders of a grey
> area; it is used, but it does cause interop problems.  HTTPbis hasn't
> decided to deprecate it, so it does form part of the semantics of HTTP
> (unlike, for example, chunk extensions, which we have deprecated).
>
> However, that doesn't preclude us from deciding to not support it in
> HTTP/2, *if* we can get a good consensus around doing so. I'd be inclined
> to have a somewhat higher bar for doing so, however.
>
> I'd be interested to hear comments from others, of course.
>

I agree with Henrik about 100 Continues - HTTP/2.0 must support them.  (I
don't like 100's much, but that is a different issue :-)

The reason I think we need to support is because its a battle we don't need
to fight.  It was in HTTP/1.1, and a few people use it, so prohibiting it
creates a barrier to adoption for HTTP/2.0 which has no impact on
performance or the other parts of HTTP/2.

Making SPDY (or HTTP/2.) suport it, however, is relatively simple.  James'
proposal in this thread is getting close.  I'm a little worried about
demarcation of the two sets of headers, but the rest is straightforward.

Mike




>
> Cheers,
>
> --
> Mark Nottingham
> http://www.mnot.net/
>
>
>
>
>
>

--bcaec554d606b1cab504c6b5131e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Aug 7, 2012 at 8:43 AM, Mark Not=
tingham <span dir=3D"ltr">&lt;<a href=3D"mailto:mnot@mnot.net" target=3D"_b=
lank">mnot@mnot.net</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
On 19/07/2012, at 1:37 AM, James M Snell &lt;<a href=3D"mailto:jasnell@gmai=
l.com">jasnell@gmail.com</a>&gt; wrote:<br>
<br>
&gt;<br>
&gt; On Jul 18, 2012 2:35 PM, &quot;Roberto Peon&quot; &lt;<a href=3D"mailt=
o:grmocg@gmail.com">grmocg@gmail.com</a>&gt; wrote:<br>
&gt; &gt;[snip]<br>
&gt; &gt;&gt; 3. How are Informational 1xx Status Codes handled? The curren=
t SPDY draft does not appear to support &quot;provisional responses&quot;.<=
br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; Thank you for the reference to the thread. After reading through it on=
e thing became obvious: while it would likely not be difficult to provide s=
upport for a 100-continue like mechanism within spdy, the protocols current=
 design would essentially require a suboptimal hack in order to retain exis=
ting http/1.1 semantics and preserve spdy-to-http1.1 pass through or would =
require that we design a new similar mechanism, optimized for spdy that cha=
nges an aspect of http/1.1 semantics.<br>

&gt;<br>
&gt; As Mark =A0has pointed out recently, however, our job here currently i=
s to only define a new transport for http and not to change existing http s=
emantics. So i am at a bit of a loss as to what the charter will let us do =
in this case.<br>

&gt;<br>
&gt; Mark... any guidance?<br>
<br>
</div></div>It&#39;s a good question. I know that it has come up often on t=
he SPDY list (sometimes raised by me ;).<br>
<br>
I&#39;d characterise expect/continue as being on the lighter borders of a g=
rey area; it is used, but it does cause interop problems. =A0HTTPbis hasn&#=
39;t decided to deprecate it, so it does form part of the semantics of HTTP=
 (unlike, for example, chunk extensions, which we have deprecated).<br>

<br>
However, that doesn&#39;t preclude us from deciding to not support it in HT=
TP/2, *if* we can get a good consensus around doing so. I&#39;d be inclined=
 to have a somewhat higher bar for doing so, however.<br>
<br>
I&#39;d be interested to hear comments from others, of course.<br></blockqu=
ote><div><br></div><div>I agree with Henrik about 100 Continues - HTTP/2.0 =
must support them. =A0(I don&#39;t like 100&#39;s much, but that is a diffe=
rent issue :-)=A0</div>
<div><br></div><div>The reason I think we need to support is because its a =
battle we don&#39;t need to fight. =A0It was in HTTP/1.1, and a few people =
use it, so prohibiting it creates a barrier to adoption for HTTP/2.0 which =
has no impact on performance or the other parts of HTTP/2.<br>
<br>Making SPDY (or HTTP/2.) suport it, however, is relatively simple. =A0J=
ames&#39; proposal in this thread is getting close. =A0I&#39;m a little wor=
ried about demarcation of the two sets of headers, but the rest is straight=
forward.</div>
<div><br></div><div>Mike</div><div><br></div><div><br></div><div>=A0</div><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
<br>
--<br>
Mark Nottingham<br>
<a href=3D"http://www.mnot.net/" target=3D"_blank">http://www.mnot.net/</a>=
<br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div><br>

--bcaec554d606b1cab504c6b5131e--


From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 16:19:48 2012
Return-Path: <ietf-http-wg-request@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 EA41F11E80A4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 16:19:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.225
X-Spam-Level: 
X-Spam-Status: No, score=-10.225 tagged_above=-999 required=5 tests=[AWL=0.374, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MuSlD1whZRbG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 16:19:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0C65311E80E7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 16:19:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Syt2m-0006qM-2M for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 23:18:32 +0000
Resent-Date: Tue, 07 Aug 2012 23:18:32 +0000
Resent-Message-Id: <E1Syt2m-0006qM-2M@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Syt2Y-0006os-EO for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 23:18:18 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1Syt2W-00015H-Vj for ietf-http-wg@w3.org; Tue, 07 Aug 2012 23:18:18 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 2C0E7E70BF; Wed,  8 Aug 2012 11:17:52 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 08 Aug 2012 11:17:51 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <E67EC141-85D9-4F64-920F-9F3EAB251DC7@mnot.net>
References: <CABP7RbfFj__CeriiJA-caEda_h0K5b__oj6-zYRuA=BgSofuhA@mail.gmail.com> <CAP+FsNc_u0Ocg+in7e52hHRssm-FASf8cYE88QoyNnmPTYLzDg@mail.gmail.com> <CABP7RbcKKedmhNJe-nLz531wrfLW=zV6SLyvy1Ua6Vx8USQjuQ@mail.gmail.com> <E67EC141-85D9-4F64-920F-9F3EAB251DC7@mnot.net>
Message-ID: <51732d77605380d09bf1a39ab19a1c5f@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Syt2W-00015H-Vj 88f5e531cc79064f7979fbac534938ee
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/51732d77605380d09bf1a39ab19a1c5f@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15038
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 08.08.2012 03:43, Mark Nottingham wrote:
> On 19/07/2012, at 1:37 AM, James M Snell wrote:
>
>>
>> On Jul 18, 2012 2:35 PM, "Roberto Peon" wrote:
>> >[snip]
>> >> 3. How are Informational 1xx Status Codes handled? The current 
>> SPDY draft does not appear to support "provisional responses".
>> >
>> >
>>
>> Thank you for the reference to the thread. After reading through it 
>> one thing became obvious: while it would likely not be difficult to 
>> provide support for a 100-continue like mechanism within spdy, the 
>> protocols current design would essentially require a suboptimal hack 
>> in order to retain existing http/1.1 semantics and preserve 
>> spdy-to-http1.1 pass through or would require that we design a new 
>> similar mechanism, optimized for spdy that changes an aspect of 
>> http/1.1 semantics.
>>
>> As Mark  has pointed out recently, however, our job here currently 
>> is to only define a new transport for http and not to change existing 
>> http semantics. So i am at a bit of a loss as to what the charter will 
>> let us do in this case.
>>
>> Mark... any guidance?
>
> It's a good question. I know that it has come up often on the SPDY
> list (sometimes raised by me ;).
>
> I'd characterise expect/continue as being on the lighter borders of a
> grey area; it is used, but it does cause interop problems.  HTTPbis
> hasn't decided to deprecate it, so it does form part of the semantics
> of HTTP (unlike, for example, chunk extensions, which we have
> deprecated).

The interop problems seem to center around the timeout continuance 
required for 1.0 hops. If the semantics were able to be changed to drop 
connection instead of timeout Expect would have a much better behaviour 
profile.

>
> However, that doesn't preclude us from deciding to not support it in
> HTTP/2, *if* we can get a good consensus around doing so. I'd be
> inclined to have a somewhat higher bar for doing so, however.


I think its useful to keep for a narrow set of use-cases. Because 
Expect: provides the user/client with the power to mandate particular 
features. It will not be useful on the bulk of traffic as far as I can 
see, but for the paranoid it is actively useful.


IMO, the framing structures proposed for 2.0 is essentially mandatory 
chunking. So the chunked encoding detection use-case is not relevant 
over 2.0 hops. 1.1<->2.0 gateways can essentially be mandatory chunked 
support, and always respond 100-continue when it knows the rest of the 
path is 1.1 or higher (1.1 proxies can do that already today really).

Multi-legged auth on POST etc at a 2.0->1.1 gateway is still a 
bandwidth sucking point. 2.0 semantics for aborting a particular request 
should help optimize things there, particularly of the client end of the 
chain is all 2.0.


I vote for keeping Expect, and 100-continue semantics for secure 
client-driven negotiations. But deprecating the timeout possibility in 
favour of abort and making it clear that chunking negotiation is not 
relevant over 2.0 hops.


Amos



From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 16:21:51 2012
Return-Path: <ietf-http-wg-request@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 DF17D11E80D5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 16:21:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.251
X-Spam-Level: 
X-Spam-Status: No, score=-10.251 tagged_above=-999 required=5 tests=[AWL=0.347, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KoR4vgWHPAkI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 16:21:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EAA9021F8652 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 16:21:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Syt51-00004y-7H for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 23:20:51 +0000
Resent-Date: Tue, 07 Aug 2012 23:20:51 +0000
Resent-Message-Id: <E1Syt51-00004y-7H@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Syt4l-0008Vp-5S for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 23:20:35 +0000
Received: from mail-lpp01m010-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1Syt4h-0002XR-5v for ietf-http-wg@w3.org; Tue, 07 Aug 2012 23:20:35 +0000
Received: by lagk11 with SMTP id k11so88990lag.2 for <ietf-http-wg@w3.org>; Tue, 07 Aug 2012 16:20:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ATb2+bbzxhUeCUOChs7ybc4alxxqXibaW290ooe+78I=; b=OWj78U80ReUga3gFruK/TLhPEzOqXKWEN0Ki2gbKFI1MmsyzmqpI1hLKt7uWSu/CPB NXX9xZ94TuxqQ1T2R5Y1NyKUUWHMXAEx72NC429Rym8t5xoRigAoA7HXbKFGjrkOaA6y u83kKI6go/4c0CzYzj4KwYaphoMW9aI9v0cJmbPASIOj2WceNoyfM62uPBhXVG2NotM4 3iXMYCvI3K49wKq6nrkc6UbJCJvNxMMYblYw3nOXUjQEalP4hVHK3IgfC9XgXMskVKEa GHbw7bxECRuSTWJDD7/Aq53GSDgNgHOy7qIVIGwYNiJhIhRsyB8fkEc+ykdQ5RI5Dc6w AlBw==
Received: by 10.112.83.228 with SMTP id t4mr7157334lby.74.1344381604208; Tue, 07 Aug 2012 16:20:04 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.112.9.134 with HTTP; Tue, 7 Aug 2012 16:19:43 -0700 (PDT)
In-Reply-To: <CABaLYCu8tn=anqX6AV943s8YFSwGTE3CG5uCCVSEbgZLBnMygw@mail.gmail.com>
References: <CABP7RbfFj__CeriiJA-caEda_h0K5b__oj6-zYRuA=BgSofuhA@mail.gmail.com> <CAP+FsNc_u0Ocg+in7e52hHRssm-FASf8cYE88QoyNnmPTYLzDg@mail.gmail.com> <CABP7RbcKKedmhNJe-nLz531wrfLW=zV6SLyvy1Ua6Vx8USQjuQ@mail.gmail.com> <E67EC141-85D9-4F64-920F-9F3EAB251DC7@mnot.net> <CABaLYCu8tn=anqX6AV943s8YFSwGTE3CG5uCCVSEbgZLBnMygw@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 7 Aug 2012 16:19:43 -0700
Message-ID: <CABP7RbdJCen4n37FcPsmq3-M6kujaAoPLKyfFHCq2jSo+f6_0A@mail.gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: Mark Nottingham <mnot@mnot.net>, Roberto Peon <grmocg@gmail.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d040167f5f621c504c6b53bf4
Received-SPF: pass client-ip=209.85.215.43; envelope-from=jasnell@gmail.com; helo=mail-lpp01m010-f43.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Syt4h-0002XR-5v 494ac075156ad6910a21f169e3ea58ec
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/CABP7RbdJCen4n37FcPsmq3-M6kujaAoPLKyfFHCq2jSo+f6_0A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15039
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>

--f46d040167f5f621c504c6b53bf4
Content-Type: text/plain; charset=UTF-8

What exactly is your worry?

My general concern about it deals more with application handling of the
response than with anything else... it would be good to apply some rules...
for instance...

1. An updated :status header MUST ONLY be sent if the initial SYN_REPLY
:status header is a 1xx response code,
2. No more than one 1xx response code can be sent per response,
3. Once a non 1xx :status has been sent, it is a protocol error to send any
additional :status headers,
4. The non 1xx :status header MUST be sent before any DATA frames are sent
in the response.

With that, an application can be assured that they'll have the final actual
status code before processing any of the response data.

- James


On Tue, Aug 7, 2012 at 4:08 PM, Mike Belshe <mike@belshe.com> wrote:

>
> [snip]
> Making SPDY (or HTTP/2.) suport it, however, is relatively simple.  James'
> proposal in this thread is getting close.  I'm a little worried about
> demarcation of the two sets of headers, but the rest is straightforward.
>
> Mike
>
>
>
>
>>
>> Cheers,
>>
>> --
>> Mark Nottingham
>> http://www.mnot.net/
>>
>>
>>
>>
>>
>>
>

--f46d040167f5f621c504c6b53bf4
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">What exactly is your worry?=C2=A0</fon=
t><div><font face=3D"courier new,monospace"><br></font></div><div><font fac=
e=3D"courier new,monospace">My general concern about it deals more with app=
lication handling of the response than with anything else... it would be go=
od to apply some rules... for instance...</font><div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">1. An updated :status header MUST ONLY be sent if the =
initial SYN_REPLY :status header is a 1xx response code,</font></div><div>
<font face=3D"courier new,monospace">2. No more than one 1xx response code =
can be sent per response,</font></div>
<div><font face=3D"courier new,monospace">3. Once a non 1xx :status has bee=
n sent, it is a protocol error to send any additional :status headers,</fon=
t></div><div><font face=3D"courier new,monospace">4. The non 1xx :status he=
ader MUST be sent before any DATA frames are sent in the response.</font></=
div>

<div><br></div><div><font face=3D"courier new, monospace">With that, an app=
lication can be assured that they&#39;ll have the final actual status code =
before processing any of the response data.</font></div><div><font face=3D"=
courier new, monospace"><br>

</font></div><div><font face=3D"courier new, monospace">- James</font></div=
><div><br><br><div class=3D"gmail_quote">On Tue, Aug 7, 2012 at 4:08 PM, Mi=
ke Belshe <span dir=3D"ltr">&lt;<a href=3D"mailto:mike@belshe.com" target=
=3D"_blank">mike@belshe.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br>[snip]<br><div class=3D"gmail_quote"><di=
v>Making SPDY (or HTTP/2.) suport it, however, is relatively simple. =C2=A0=
James&#39; proposal in this thread is getting close. =C2=A0I&#39;m a little=
 worried about demarcation of the two sets of headers, but the rest is stra=
ightforward.</div>

<span class=3D"HOEnZb"><font color=3D"#888888">
<div><br></div><div>Mike</div></font></span><div class=3D"im"><div><br></di=
v><div><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
<br>
--<br>
Mark Nottingham<br>
<a href=3D"http://www.mnot.net/" target=3D"_blank">http://www.mnot.net/</a>=
<br>
<br>
<br>
<br>
<br>
<br>
</blockquote></div></div><br>
</blockquote></div><br></div></div>

--f46d040167f5f621c504c6b53bf4--


From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 16:28:37 2012
Return-Path: <ietf-http-wg-request@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 3E72021F85E0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 16:28:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.04
X-Spam-Level: 
X-Spam-Status: No, score=-8.04 tagged_above=-999 required=5 tests=[AWL=2.558, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VEBTOe-m5bHX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 16:28:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 58DBE21F85C4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 16:28:36 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SytBV-0001hv-3I for ietf-http-wg-dist@listhub.w3.org; Tue, 07 Aug 2012 23:27:33 +0000
Resent-Date: Tue, 07 Aug 2012 23:27:33 +0000
Resent-Message-Id: <E1SytBV-0001hv-3I@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SytBI-0001hA-1O for ietf-http-wg@listhub.w3.org; Tue, 07 Aug 2012 23:27:20 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SytBD-0002gC-0q for ietf-http-wg@w3.org; Tue, 07 Aug 2012 23:27:19 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.6 (Build 3449)) with SMTP id <0019181160@smtp.qbik.com>; Wed, 08 Aug 2012 11:26:51 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "James M Snell" <jasnell@gmail.com>, "Mike Belshe" <mike@belshe.com>
Cc: "Mark Nottingham" <mnot@mnot.net>, "Roberto Peon" <grmocg@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Tue, 07 Aug 2012 23:26:51 +0000
Content-Type: multipart/alternative; boundary="------=_MBFB536E91-0010-41E9-82E8-4A362CDE127C"
In-Reply-To: <CABP7RbdJCen4n37FcPsmq3-M6kujaAoPLKyfFHCq2jSo+f6_0A@mail.gmail.com>
Message-Id: <em0e78faca-18bb-4fde-8c4a-83b3ddc652a5@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SytBD-0002gC-0q 9102fb7a1633602330c693111df81afd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/em0e78faca-18bb-4fde-8c4a-83b3ddc652a5@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15040
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>

--------=_MBFB536E91-0010-41E9-82E8-4A362CDE127C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8


------ Original Message ------
From: "James M Snell" <jasnell@gmail.com>
>What exactly is your worry?=20
>My general concern about it deals more with application handling of=20
>the response than with anything else... it would be good to apply some=20
>rules... for instance...
>1. An updated :status header MUST ONLY be sent if the initial=20
>SYN_REPLY :status header is a 1xx response code,
>2. No more than one 1xx response code can be sent per response,
this contravenes 2616 which explicitly states that any number may be=20
sent, and must be handled appropriately.

>3. Once a non 1xx :status has been sent, it is a protocol error to=20
>send any additional :status headers,
this is a semantic change.   We actually now use multiple 1xx for=20
status updates in the lab.  I don't know if there are other uses, but=20
there are legitimate use-cases for it.

If 2.0 can support some other OOB notification mechanism, then all well=20
and good.

Adrien
>4. The non 1xx :status header MUST be sent before any DATA frames are=20
>sent in the response.
>
>With that, an application can be assured that they'll have the final=20
>actual status code before processing any of the response data.
>
>- James
>
>
>On Tue, Aug 7, 2012 at 4:08 PM, Mike Belshe <mike@belshe.com> wrote:
>=20
> [snip]
> Making SPDY (or HTTP/2.) suport it, however, is relatively simple. =20
> James' proposal in this thread is getting close.  I'm a little=20
> worried about demarcation of the two sets of headers, but the rest is=20
> straightforward.
>=20
> Mike
>=20
>=20

> =20
>  Cheers,
> =20
>  --
>  Mark Nottingham
>  http://www.mnot.net/
> =20
> =20
> =20
> =20
> =20
 =20
=20

--------=_MBFB536E91-0010-41E9-82E8-4A362CDE127C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8

<HTML><HEAD>
<STYLE id=3DeMClientCss>blockquote.cite { margin-left: 5px; margin-right:=
 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #000000=
 }
.plain pre { font-family: monospace; font-size: 100%; font-weight: normal;=
 font-style: normal; }
body {font-family: Tahoma;font-size: 12pt;}
.plain pre {font-family: Tahoma;font-size: 12pt;}

#1a176ae3d158406ab108cc19e551fd62 BLOCKQUOTE.cite
{BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px}
#1a176ae3d158406ab108cc19e551fd62 .plain PRE
{FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal}
#1a176ae3d158406ab108cc19e551fd62=20
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}
#1a176ae3d158406ab108cc19e551fd62 .plain PRE
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}</STYLE>
</HEAD>
<BODY scroll=3Dauto class><BR>------ Original Message ------<BR>From: "Jame=
s M Snell" &lt;jasnell@gmail.com&gt;<BR>
<BLOCKQUOTE class=3Dcite cite=3DCABP7RbdJCen4n37FcPsmq3-M6kujaAoPLKyfFHCq2j=
So+f6_0A@mail.gmail.com type=3D"cite">
<DIV id=3D1a176ae3d158406ab108cc19e551fd62><FONT face=3D"courier new,monosp=
ace">What exactly is your worry?&nbsp;</FONT>=20
<DIV><FONT face=3D"courier new,monospace"><BR></FONT></DIV>
<DIV><FONT face=3D"courier new,monospace">My general concern about it deals=
 more with application handling of the response than with anything else...=
 it would be good to apply some rules... for instance...</FONT>=20
<DIV><FONT face=3D"courier new,monospace"><BR></FONT></DIV>
<DIV><FONT face=3D"courier new,monospace">1. An updated :status header MUST=
 ONLY be sent if the initial SYN_REPLY :status header is a 1xx response =
code,</FONT></DIV>
<DIV><FONT face=3D"courier new,monospace">2. No more than one 1xx response=
 code can be sent per response,</FONT></DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>this contravenes 2616 which explicitl=
y states that any number may be sent, and must be handled appropriately.</D=
IV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABP7RbdJCen4n37FcPsmq3-M6kujaAoPLKyfFHCq2j=
So+f6_0A@mail.gmail.com type=3D"cite">
<DIV id=3D1a176ae3d158406ab108cc19e551fd62>
<DIV>
<DIV><FONT face=3D"courier new,monospace"></FONT></DIV>
<DIV><FONT face=3D"courier new,monospace">3. Once a non 1xx :status has =
been sent, it is a protocol error to send any additional :status headers,</=
FONT></DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>this is a semantic change.&nbsp;&nbsp=
; We actually now use multiple 1xx for status updates in the lab.&nbsp; =
I don't know if there are other uses, but there are legitimate use-cases=
 for it.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>If 2.0 can support some other OOB =
notification mechanism, then all well and good.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Adrien</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABP7RbdJCen4n37FcPsmq3-M6kujaAoPLKyfFHCq2j=
So+f6_0A@mail.gmail.com type=3D"cite">
<DIV id=3D1a176ae3d158406ab108cc19e551fd62>
<DIV>
<DIV><FONT face=3D"courier new,monospace"></FONT></DIV>
<DIV><FONT face=3D"courier new,monospace">4. The non 1xx :status header =
MUST be sent before any DATA frames are sent in the response.</FONT></DIV>
<DIV><BR></DIV>
<DIV><FONT face=3D"courier new, monospace">With that, an application can=
 be assured that they'll have the final actual status code before processin=
g any of the response data.</FONT></DIV>
<DIV><FONT face=3D"courier new, monospace"><BR></FONT></DIV>
<DIV><FONT face=3D"courier new, monospace">- James</FONT></DIV>
<DIV><BR><BR>
<DIV class=3Dgmail_quote>On Tue, Aug 7, 2012 at 4:08 PM, Mike Belshe <SPAN=
 dir=3Dltr>&lt;<A href=3D"mailto:mike@belshe.com"><A href=3D"mailto:mike@be=
lshe.com">mike@belshe.com</A></A>&gt;</SPAN> wrote:<BR>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote><BR>[snip]<BR>
<DIV class=3Dgmail_quote>
<DIV>Making SPDY (or HTTP/2.) suport it, however, is relatively simple. =
&nbsp;James' proposal in this thread is getting close. &nbsp;I'm a little=
 worried about demarcation of the two sets of headers, but the rest is stra=
ightforward.</DIV><SPAN class=3DHOEnZb><FONT color=3D#888888>
<DIV><BR></DIV>
<DIV>Mike</DIV></FONT></SPAN>
<DIV class=3Dim>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote><BR>Cheers,<BR><BR>--<BR>Mark Nott=
ingham<BR><A href=3D"http://www.mnot.net/"><A href=3D"http://www.mnot.net/"=
>http://www.mnot.net/</A></A><BR><BR><BR><BR><BR><BR></BLOCKQUOTE></DIV></D=
IV><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></BLOCKQUOTE></BODY></HTML>=

--------=_MBFB536E91-0010-41E9-82E8-4A362CDE127C--



From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 17:08:43 2012
Return-Path: <ietf-http-wg-request@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 C117611E80F3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 17:08:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.54
X-Spam-Level: 
X-Spam-Status: No, score=-10.54 tagged_above=-999 required=5 tests=[AWL=0.058, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3hOIprpT2pPE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 17:08:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CF66B11E80F2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 17:08:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sytnx-0003H5-4M for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Aug 2012 00:07:17 +0000
Resent-Date: Wed, 08 Aug 2012 00:07:17 +0000
Resent-Message-Id: <E1Sytnx-0003H5-4M@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sytnj-0003E9-I4 for ietf-http-wg@listhub.w3.org; Wed, 08 Aug 2012 00:07:03 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sytnh-0003a7-T6 for ietf-http-wg@w3.org; Wed, 08 Aug 2012 00:07:03 +0000
Received: by wgbdq12 with SMTP id dq12so147559wgb.26 for <ietf-http-wg@w3.org>; Tue, 07 Aug 2012 17:06:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/DbBkrDhsmrtHkwHfVA2N4rlhunti6y7U7iGlR2EJqA=; b=XDJyyjLbi6jhZJKycCk32gpkZvY4Z2lRdVXMhQZtpLmkkkPGZ+eGxdcA/Ujvu+vcoK /UjiTmVSWXOX8F72vU9ZNh5J0G83/5F/uEqZhFivnLlK+D1mmNf2xbystbyh9Q01NiLp ACcOG1omLE3qkWOGsbq52knfKUiv0+25BZPuHhKqfpNQ5JJwn0tNy/K8jDzEwlyr+7rx AoBmzWqtWPgjEOUdUkNgXOOdYoj7OFpM2KB9ugA2cHdW7zN8kkKGKShjBVoniYAfdaEC OAXgeHeYiGJcfVSud/it2vR+RRdxL3AAz2SgB5qFIzT0T11QyB6Kn+xqU/LU2mmd1q2r JSVQ==
MIME-Version: 1.0
Received: by 10.216.241.202 with SMTP id g52mr8825413wer.212.1344384395233; Tue, 07 Aug 2012 17:06:35 -0700 (PDT)
Received: by 10.194.25.193 with HTTP; Tue, 7 Aug 2012 17:06:35 -0700 (PDT)
In-Reply-To: <ab966b02aa8c08a3c53bc55457b7f64d@treenet.co.nz>
References: <78618.1343896055@critter.freebsd.dk> <501BA782.9030708@it.aoyama.ac.jp> <CAAPAK-5uO7imx-ynVU1K-RPpv0CvCDU-kd18hFgRYgXJn-WrMA@mail.gmail.com> <CABaLYCtGGQpO=APxQQA2RzZ5w5uB+umYGnz50cZffes9KoSTng@mail.gmail.com> <CABP7RbezEoeT2xiUjXMh5Bat-qKX1xB8ELQRHa7ZqX_5MrujGg@mail.gmail.com> <CAP+FsNf4Qr4J=ZsGhfTathCDQLKZvujU=pFaFQYYDgk8dm++jQ@mail.gmail.com> <501F705F.7020107@it.aoyama.ac.jp> <CAP+FsNcDneyd8aRnr8+Ex5ftWdTXGhFV4Zq8ZoA+5LrJGjVnOg@mail.gmail.com> <ab966b02aa8c08a3c53bc55457b7f64d@treenet.co.nz>
Date: Tue, 7 Aug 2012 17:06:35 -0700
Message-ID: <CAP+FsNd=7wE-_ucyULsHDU4iyTyOTFNFtUiV=tajURSJStpWUg@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e0cb4e43d0a951c96204c6b5e2ca
Received-SPF: pass client-ip=74.125.82.45; envelope-from=grmocg@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_FILL_THIS_FORM_SHORT=0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sytnh-0003a7-T6 e8abe9834159d7ffeb70c826a939956b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CAP+FsNd=7wE-_ucyULsHDU4iyTyOTFNFtUiV=tajURSJStpWUg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15041
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>

--e0cb4e43d0a951c96204c6b5e2ca
Content-Type: text/plain; charset=ISO-8859-1

>
>>> It doesn't buy the protocol itself much. But it buys the users of the
>>>
>> protocol a lot.
>>
>> Which users? I'm having a hard time imagining why metadata has to be
>> utf-8.
>>
>>
> names: File names, user names, country names, domain names, protocol
> names, User-Agent: names, Server: names, Accept-* names, type names ...
> metadata is chock full of names when you start looking at it closely. And
> "for some strange reason" people around the world insist on being able to
> send/receive them in different languages and non-American spellings nowdays.


I think that allowing something used for names where the character set was
not constrained and whose visual representation is not always defined and
often ambiguous for names where being able to tell uniqueness is an
important security property was a royally stupid decision. Frankly, I could
care less if names were represented in chinese characters, egyption
pictographs, or what have you so long as they're unambiguous.

In any case, that ship has sailed.
I think you have a convincing argument... it still "smells" wrong to me,
and I'll attempt to ponder why. If I don't come up with anything, I won't
argue against it :)

-=R

--e0cb4e43d0a951c96204c6b5e2ca
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div><br></div><div><div class=3D"gmail_quote"><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x"><div class=3D"im"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br>
It doesn&#39;t buy the protocol itself much. But it buys the users of the<b=
r>
</blockquote>
protocol a lot.<br>
<br>
Which users? I&#39;m having a hard time imagining why metadata has to be ut=
f-8.<br>
<br>
</blockquote>
<br></div>
names: File names, user names, country names, domain names, protocol names,=
 User-Agent: names, Server: names, Accept-* names, type names ... metadata =
is chock full of names when you start looking at it closely. And &quot;for =
some strange reason&quot; people around the world insist on being able to s=
end/receive them in different languages and non-American spellings nowdays.=
</blockquote>
<div><br></div><div>I think that allowing something used for names where th=
e character set was not constrained and whose visual representation is not =
always defined and often ambiguous for names where being able to tell uniqu=
eness is an important security property was a royally stupid decision. Fran=
kly, I could care less if names were represented in chinese characters, egy=
ption pictographs, or what have you so long as they&#39;re unambiguous.</di=
v>
<div><br></div><div>In any case, that ship has sailed.</div><div>I think yo=
u have a convincing argument... it still &quot;smells&quot; wrong to me, an=
d I&#39;ll attempt to ponder why. If I don&#39;t come up with anything, I w=
on&#39;t argue against it :)</div>
<div><br></div><div>-=3DR</div><div><br></div></div></div>

--e0cb4e43d0a951c96204c6b5e2ca--


From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 17:35:54 2012
Return-Path: <ietf-http-wg-request@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 B45D521F8673 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 17:35:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.26
X-Spam-Level: 
X-Spam-Status: No, score=-10.26 tagged_above=-999 required=5 tests=[AWL=0.338, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yEyfX6ZTXgxD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 17:35:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 912D121F865C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 17:35:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyuE0-0006VK-36 for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Aug 2012 00:34:12 +0000
Resent-Date: Wed, 08 Aug 2012 00:34:12 +0000
Resent-Message-Id: <E1SyuE0-0006VK-36@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SyuDm-0006UU-HI for ietf-http-wg@listhub.w3.org; Wed, 08 Aug 2012 00:33:58 +0000
Received: from mail-lpp01m010-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SyuDk-0004FW-QY for ietf-http-wg@w3.org; Wed, 08 Aug 2012 00:33:58 +0000
Received: by lagk11 with SMTP id k11so112382lag.2 for <ietf-http-wg@w3.org>; Tue, 07 Aug 2012 17:33:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ywiYsTl5wdFpLTFzzVViB9oK+wCz5Cxrbup227JfQ+0=; b=Gls21s6YV3Ua03tsqd/8lOV9ljOZrlgC9X5z6TbUFosQVhf/gozrJIsbpJirqmjUK9 7vkxnFxiEHB6j6qB8fuCXSnrmGgYbsfuYqTR9TXpe/0re3kCTEjOpiNywy0FxNY/ayvP Oyz9FtAO4ejV0io9JJ/Q6veDk14LC+hC496qkx3oJ/d932Zh3otDDwxzIcmCu9vrq5mQ /om0O/8tY8cXy8AFRY+Q67/FLjr2VhMmqkcwKwi7WZ/DqbMAdPAvwEnB8oknWWFYquF+ 65zjrm0gfA0/7PZyY/DLJ0kuL+kNtVlEEHo7FacMICKSM/vhLS2BgRA/YRLEppaXmLmX xMrw==
Received: by 10.152.131.42 with SMTP id oj10mr5895150lab.49.1344386009958; Tue, 07 Aug 2012 17:33:29 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.112.9.134 with HTTP; Tue, 7 Aug 2012 17:33:05 -0700 (PDT)
In-Reply-To: <em0e78faca-18bb-4fde-8c4a-83b3ddc652a5@bombed>
References: <CABP7RbdJCen4n37FcPsmq3-M6kujaAoPLKyfFHCq2jSo+f6_0A@mail.gmail.com> <em0e78faca-18bb-4fde-8c4a-83b3ddc652a5@bombed>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 7 Aug 2012 17:33:05 -0700
Message-ID: <CABP7RbfCLNhEMpVFSVwnrJs8cyB+57TXnU9z0cskoGue_vCeAw@mail.gmail.com>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: Mike Belshe <mike@belshe.com>, Mark Nottingham <mnot@mnot.net>, Roberto Peon <grmocg@gmail.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d0430896e90882c04c6b6424b
Received-SPF: pass client-ip=209.85.215.43; envelope-from=jasnell@gmail.com; helo=mail-lpp01m010-f43.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SyuDk-0004FW-QY 35e4e4cf89f000af65100547d367f6df
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/CABP7RbfCLNhEMpVFSVwnrJs8cyB+57TXnU9z0cskoGue_vCeAw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15042
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>

--f46d0430896e90882c04c6b6424b
Content-Type: text/plain; charset=UTF-8

On Tue, Aug 7, 2012 at 4:26 PM, Adrien W. de Croy <adrien@qbik.com> wrote:

>
> ------ Original Message ------
> From: "James M Snell" <jasnell@gmail.com>
>
> What exactly is your worry?
>
> My general concern about it deals more with application handling of the
> response than with anything else... it would be good to apply some rules...
> for instance...
>
> 1. An updated :status header MUST ONLY be sent if the initial SYN_REPLY
> :status header is a 1xx response code,
> 2. No more than one 1xx response code can be sent per response,
>
> this contravenes 2616 which explicitly states that any number may be sent,
> and must be handled appropriately.
>
>
>   3. Once a non 1xx :status has been sent, it is a protocol error to send
> any additional :status headers,
>
> this is a semantic change.   We actually now use multiple 1xx for status
> updates in the lab.  I don't know if there are other uses, but there are
> legitimate use-cases for it.
>
> If 2.0 can support some other OOB notification mechanism, then all well
> and good.
>
>

Aw man.. you had to go and ruin it with Reality... how annoying ;-) I
suppose that, at least in theory, we could support multiple 1xx :status
headers to be sent so long as the final non-1xx :status is still sent
*before* any response DATA frames, but that does get kind of messy and
tedious... we'd end up having to check every HEADERS frame for a possible
:status header that overrides the previously received one... and that just
gets silly.

The one thing I would note, however, is that HEADERS frames can be sent
anytime in the stream making it possible for other kinds of signaling
beyond :status to occur. The only restriction being how such additional
HEADERS frames affect the HTTP semantics.

- James


>  Adrien
>
>   4. The non 1xx :status header MUST be sent before any DATA frames are
> sent in the response.
>
> With that, an application can be assured that they'll have the final
> actual status code before processing any of the response data.
>
> - James
>
>
> On Tue, Aug 7, 2012 at 4:08 PM, Mike Belshe < <mike@belshe.com>
> mike@belshe.com> wrote:
>
>>
>> [snip]
>>  Making SPDY (or HTTP/2.) suport it, however, is relatively simple.
>>  James' proposal in this thread is getting close.  I'm a little worried
>> about demarcation of the two sets of headers, but the rest is
>> straightforward.
>>
>> Mike
>>
>>
>>
>>
>>>
>>> Cheers,
>>>
>>> --
>>> Mark Nottingham
>>> <http://www.mnot.net/>http://www.mnot.net/
>>>
>>>
>>>
>>>
>>>
>>>
>>
>

--f46d0430896e90882c04c6b6424b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 7, 2012 at 4:26 PM, Adrien W. de Croy <span dir=3D"ltr">&lt;<a =
href=3D"mailto:adrien@qbik.com" target=3D"_blank">adrien@qbik.com</a>&gt;</=
span> wrote:<br><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote=
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div><div class=3D"im"><br>------ Original Message ------<br>From: &quot;Ja=
mes M Snell&quot; &lt;<a href=3D"mailto:jasnell@gmail.com" target=3D"_blank=
">jasnell@gmail.com</a>&gt;<br>
<blockquote cite=3D"http://CABP7RbdJCen4n37FcPsmq3-M6kujaAoPLKyfFHCq2jSo+f6=
_0A@mail.gmail.com" type=3D"cite">
<div><font face=3D"courier new,monospace">What exactly is your worry?=C2=A0=
</font>=20
<div><font face=3D"courier new,monospace"><br></font></div>
<div><font face=3D"courier new,monospace">My general concern about it deals=
 more with application handling of the response than with anything else... =
it would be good to apply some rules... for instance...</font>=20
<div><font face=3D"courier new,monospace"><br></font></div>
<div><font face=3D"courier new,monospace">1. An updated :status header MUST=
 ONLY be sent if the initial SYN_REPLY :status header is a 1xx response cod=
e,</font></div>
<div><font face=3D"courier new,monospace">2. No more than one 1xx response =
code can be sent per response,</font></div></div></div></blockquote>
</div><div>this contravenes 2616 which explicitly states that any number ma=
y be sent, and must be handled appropriately.</div><div class=3D"im">
<div>=C2=A0</div>
<blockquote cite=3D"http://CABP7RbdJCen4n37FcPsmq3-M6kujaAoPLKyfFHCq2jSo+f6=
_0A@mail.gmail.com" type=3D"cite">
<div>
<div>
<div><font face=3D"courier new,monospace"></font></div>
<div><font face=3D"courier new,monospace">3. Once a non 1xx :status has bee=
n sent, it is a protocol error to send any additional :status headers,</fon=
t></div></div></div></blockquote>
</div><div>this is a semantic change.=C2=A0=C2=A0 We actually now use multi=
ple 1xx for status updates in the lab.=C2=A0 I don&#39;t know if there are =
other uses, but there are legitimate use-cases for it.</div>
<div>=C2=A0</div>
<div>If 2.0 can support some other OOB notification mechanism, then all wel=
l and good.</div><span class=3D"HOEnZb"><font color=3D"#888888">
<div>=C2=A0</div></font></span></div></blockquote><div><br></div><div><span=
 style=3D"font-family:&#39;courier new&#39;,monospace">Aw man.. you had to =
go and ruin it with Reality... how annoying ;-) I suppose that, at least in=
 theory, we could support multiple 1xx :status headers to be sent so long a=
s the final non-1xx :status is still sent *before* any response DATA frames=
, but that does get kind of messy and tedious... we&#39;d end up having to =
check every HEADERS frame for a possible :status header that overrides the =
previously received one... and that just gets silly.</span></div>

<div><span style=3D"font-family:&#39;courier new&#39;,monospace"><br></span=
></div><div><span style=3D"font-family:&#39;courier new&#39;,monospace">The=
 one thing I would note, however, is that HEADERS frames can be sent anytim=
e in the stream making it possible for other kinds of signaling beyond :sta=
tus to occur. The only restriction being how such additional HEADERS frames=
 affect the HTTP semantics.=C2=A0</span></div>

<div><span style=3D"font-family:&#39;courier new&#39;,monospace"><br></span=
></div><div><span style=3D"font-family:&#39;courier new&#39;,monospace">- J=
ames</span></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><span class=3D"HOEnZb"><font color=3D"#888888">
<div>Adrien</div></font></span><div class=3D"im">
<blockquote cite=3D"http://CABP7RbdJCen4n37FcPsmq3-M6kujaAoPLKyfFHCq2jSo+f6=
_0A@mail.gmail.com" type=3D"cite">
<div>
<div>
<div><font face=3D"courier new,monospace"></font></div>
<div><font face=3D"courier new,monospace">4. The non 1xx :status header MUS=
T be sent before any DATA frames are sent in the response.</font></div>
<div><br></div>
<div><font face=3D"courier new, monospace">With that, an application can be=
 assured that they&#39;ll have the final actual status code before processi=
ng any of the response data.</font></div>
<div><font face=3D"courier new, monospace"><br></font></div>
<div><font face=3D"courier new, monospace">- James</font></div>
<div><br><br>
<div class=3D"gmail_quote">On Tue, Aug 7, 2012 at 4:08 PM, Mike Belshe <spa=
n dir=3D"ltr">&lt;<a href=3D"mailto:mike@belshe.com" target=3D"_blank"></a>=
<a href=3D"mailto:mike@belshe.com" target=3D"_blank">mike@belshe.com</a>&gt=
;</span> wrote:<br>


<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote"><br>[snip]<br>
<div class=3D"gmail_quote">
<div>Making SPDY (or HTTP/2.) suport it, however, is relatively simple. =C2=
=A0James&#39; proposal in this thread is getting close. =C2=A0I&#39;m a lit=
tle worried about demarcation of the two sets of headers, but the rest is s=
traightforward.</div>

<span><font color=3D"#888888">
<div><br></div>
<div>Mike</div></font></span>
<div>
<div><br></div>
<div><br></div>
<div>=C2=A0</div>
<blockquote style=3D"BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PA=
DDING-LEFT:1ex" class=3D"gmail_quote"><br>Cheers,<br><br>--<br>Mark Notting=
ham<br><a href=3D"http://www.mnot.net/" target=3D"_blank"></a><a href=3D"ht=
tp://www.mnot.net/" target=3D"_blank">http://www.mnot.net/</a><br>

<br><br><br><br><br></blockquote></div></div><br></blockquote></div><br></d=
iv></div></div></blockquote></div></div></blockquote></div><br>

--f46d0430896e90882c04c6b6424b--


From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 18:03:12 2012
Return-Path: <ietf-http-wg-request@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 8233021F86F5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 18:03:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.075
X-Spam-Level: 
X-Spam-Status: No, score=-8.075 tagged_above=-999 required=5 tests=[AWL=2.523, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uG-Bnp13YZ1M for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 18:03:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 15C6121F86F2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 18:03:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyueW-0004A8-RM for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Aug 2012 01:01:36 +0000
Resent-Date: Wed, 08 Aug 2012 01:01:36 +0000
Resent-Message-Id: <E1SyueW-0004A8-RM@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1Syue8-00049J-Sz for ietf-http-wg@listhub.w3.org; Wed, 08 Aug 2012 01:01:12 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1Syue6-0004zV-Mx for ietf-http-wg@w3.org; Wed, 08 Aug 2012 01:01:12 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.6 (Build 3449)) with SMTP id <0019181318@smtp.qbik.com>; Wed, 08 Aug 2012 13:00:46 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "James M Snell" <jasnell@gmail.com>
Cc: "Mike Belshe" <mike@belshe.com>, "Mark Nottingham" <mnot@mnot.net>, "Roberto Peon" <grmocg@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 08 Aug 2012 01:00:46 +0000
Content-Type: multipart/alternative; boundary="------=_MB8655EDC3-B3AD-462B-A1BE-1576DEBD8EBB"
In-Reply-To: <CABP7RbfCLNhEMpVFSVwnrJs8cyB+57TXnU9z0cskoGue_vCeAw@mail.gmail.com>
Message-Id: <embb26c0c9-8786-4b52-86cc-7e81e2d5ba31@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Syue6-0004zV-Mx aed82d0b8f9e8cab17708d5bcc42b542
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/embb26c0c9-8786-4b52-86cc-7e81e2d5ba31@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15043
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>

--------=_MB8655EDC3-B3AD-462B-A1BE-1576DEBD8EBB
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8


------ Original Message ------
From: "James M Snell" <jasnell@gmail.com>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: "Mike Belshe" <mike@belshe.com>;"Mark Nottingham"=20
<mnot@mnot.net>;"Roberto Peon" <grmocg@gmail.com>;"ietf-http-wg@w3.org"=20
<ietf-http-wg@w3.org>
Sent: 8/08/2012 12:33:05 p.m.
Subject: Re: Some general SPDY feedback / questions
>On Tue, Aug 7, 2012 at 4:26 PM, Adrien W. de Croy <adrien@qbik.com> wrote:
>=20
> ------ Original Message ------
> From: "James M Snell" <jasnell@gmail.com>
> >What exactly is your worry?=20
> >My general concern about it deals more with application handling of=20
> >the response than with anything else... it would be good to apply=20
> >some rules... for instance...
> >1. An updated :status header MUST ONLY be sent if the initial=20
> >SYN_REPLY :status header is a 1xx response code,
> >2. No more than one 1xx response code can be sent per response,
 >this contravenes 2616 which explicitly states that any number may be=20
 >sent, and must be handled appropriately.

 >>3. Once a non 1xx :status has been sent, it is a protocol error to=20
 >>send any additional :status headers,
>>this is a semantic change.   We actually now use multiple 1xx for=20
>>status updates in the lab.  I don't know if there are other uses, but=20
>>there are legitimate use-cases for it.

>>If 2.0 can support some other OOB notification mechanism, then all=20
>>well and good.

>
>Aw man.. you had to go and ruin it with Reality... how annoying ;-)=20
yeah sorry :)

It's not deployed, but it works great.  We patched Chromium for it,=20
user experience on AV scanning at gateway is a zillion times better=20
than what we had before.

anyway.

>I suppose that, at least in theory, we could support multiple 1xx=20
>:status headers to be sent so long as the final non-1xx :status is=20
>still sent *before* any response DATA frames, but that does get kind=20
>of messy and tedious... we'd end up having to check every HEADERS=20
>frame for a possible :status header that overrides the previously=20
>received one... and that just gets silly.
how would you currently distinguish the 0 vs 1 vs N 1xx response=20
anyway?   I think you'll need to look anyway.
>
>The one thing I would note, however, is that HEADERS frames can be=20
>sent anytime in the stream making it possible for other kinds of=20
>signaling beyond :status to occur. The only restriction being how such=20
>additional HEADERS frames affect the HTTP semantics.=20
yeah, late headers.  They give me a really bad feeling.

It gets really nasty any time anyone wants to enforce any sort of=20
policy based on header content.  Can late duplicates override previous=20
values etc etc.

I know that 1.1 has trailers with chunking (although I thought these=20
were being deprecated).

There has to be some sane limit as to what sort of headers you can send=20
any time.  For example sending Content-Type any place other than before=20
the start of data is a train-wreck waiting to happen.

Intermediaries commonly pass payload via filter chains based on content=20
type in order to avoid spooling.  If you had to wait until the transfer=20
was complete before filtering, there would be quite an impact on=20
perceived performance at the client.

Personally I'd avoid late headers like the plague, or severely restrict=20
their use to only certain headers (I can't think of any I'd allow).


Adrien
>
>- James

> Adrien
> >4. The non 1xx :status header MUST be sent before any DATA frames=20
> >are sent in the response.
> >
> >With that, an application can be assured that they'll have the final=20
> >actual status code before processing any of the response data.
> >
> >- James
> >
> >
> >On Tue, Aug 7, 2012 at 4:08 PM, Mike Belshe <mike@belshe.com> wrote:
> >=20
> > [snip]
> > Making SPDY (or HTTP/2.) suport it, however, is relatively simple. =20
> > James' proposal in this thread is getting close.  I'm a little=20
> > worried about demarcation of the two sets of headers, but the rest=20
> > is straightforward.
> >=20
> > Mike
> >=20
> >=20

> > =20
> >  Cheers,
> > =20
> >  --
> >  Mark Nottingham
> >  http://www.mnot.net/
> > =20
> > =20
> > =20
> > =20
> > =20
 > =20
> =20
=20

--------=_MB8655EDC3-B3AD-462B-A1BE-1576DEBD8EBB
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8

<HTML><HEAD>
<STYLE id=3DeMClientCss>blockquote.cite { margin-left: 5px; margin-right:=
 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #000000=
 }
.plain pre { font-family: monospace; font-size: 100%; font-weight: normal;=
 font-style: normal; }
body {font-family: Tahoma;font-size: 12pt;}
.plain pre {font-family: Tahoma;font-size: 12pt;}

#6d49bd32123c489f90c670085569238d BLOCKQUOTE.cite
{BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px}
#6d49bd32123c489f90c670085569238d .plain PRE
{FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal}
#6d49bd32123c489f90c670085569238d=20
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}
#6d49bd32123c489f90c670085569238d .plain PRE
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}</STYLE>
</HEAD>
<BODY scroll=3Dauto class><BR>------ Original Message ------<BR>From: "Jame=
s M Snell" &lt;jasnell@gmail.com&gt;<BR>To: "Adrien W. de Croy" &lt;adrien@=
qbik.com&gt;<BR>Cc: "Mike Belshe" &lt;mike@belshe.com&gt;;"Mark Nottingham"=
 &lt;mnot@mnot.net&gt;;"Roberto Peon" &lt;grmocg@gmail.com&gt;;"ietf-http-w=
g@w3.org" &lt;ietf-http-wg@w3.org&gt;<BR>Sent: 8/08/2012 12:33:05 p.m.<BR>S=
ubject: Re: Some general SPDY feedback / questions<BR>
<BLOCKQUOTE class=3Dcite cite=3DCABP7RbfCLNhEMpVFSVwnrJs8cyB+57TXnU9z0cskoG=
ue_vCeAw@mail.gmail.com type=3D"cite">
<DIV id=3D6d49bd32123c489f90c670085569238d>On Tue, Aug 7, 2012 at 4:26 PM,=
 Adrien W. de Croy <SPAN dir=3Dltr>&lt;<A href=3D"mailto:adrien@qbik.com"><=
A href=3D"mailto:adrien@qbik.com">adrien@qbik.com</A></A>&gt;</SPAN> wrote:=
<BR>
<DIV class=3Dgmail_quote>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV>
<DIV class=3Dim><BR>------ Original Message ------<BR>From: "James M Snell"=
 &lt;<A href=3D"mailto:jasnell@gmail.com"><A href=3D"mailto:jasnell@gmail.c=
om">jasnell@gmail.com</A></A>&gt;<BR>
<BLOCKQUOTE class=3Dcite cite=3Dhttp://CABP7RbdJCen4n37FcPsmq3-M6kujaAoPLKy=
fFHCq2jSo+f6_0A@mail.gmail.com type=3D"cite">
<DIV><FONT face=3D"courier new,monospace">What exactly is your worry?&nbsp;=
</FONT>=20
<DIV><FONT face=3D"courier new,monospace"><BR></FONT></DIV>
<DIV><FONT face=3D"courier new,monospace">My general concern about it deals=
 more with application handling of the response than with anything else...=
 it would be good to apply some rules... for instance...</FONT>=20
<DIV><FONT face=3D"courier new,monospace"><BR></FONT></DIV>
<DIV><FONT face=3D"courier new,monospace">1. An updated :status header MUST=
 ONLY be sent if the initial SYN_REPLY :status header is a 1xx response =
code,</FONT></DIV>
<DIV><FONT face=3D"courier new,monospace">2. No more than one 1xx response=
 code can be sent per response,</FONT></DIV></DIV></DIV></BLOCKQUOTE></DIV>
<DIV>this contravenes 2616 which explicitly states that any number may be=
 sent, and must be handled appropriately.</DIV>
<DIV class=3Dim>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3Dhttp://CABP7RbdJCen4n37FcPsmq3-M6kujaAoPLKy=
fFHCq2jSo+f6_0A@mail.gmail.com type=3D"cite">
<DIV>
<DIV>
<DIV><FONT face=3D"courier new,monospace"></FONT></DIV>
<DIV><FONT face=3D"courier new,monospace">3. Once a non 1xx :status has =
been sent, it is a protocol error to send any additional :status headers,</=
FONT></DIV></DIV></DIV></BLOCKQUOTE></DIV>
<DIV>this is a semantic change.&nbsp;&nbsp; We actually now use multiple=
 1xx for status updates in the lab.&nbsp; I don't know if there are other=
 uses, but there are legitimate use-cases for it.</DIV>
<DIV>&nbsp;</DIV>
<DIV>If 2.0 can support some other OOB notification mechanism, then all =
well and good.</DIV><SPAN class=3DHOEnZb><FONT color=3D#888888>
<DIV>&nbsp;</DIV></FONT></SPAN></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV><SPAN style=3D"FONT-FAMILY: 'courier new',monospace">Aw man.. you had=
 to go and ruin it with Reality... how annoying ;-) </SPAN></DIV></DIV></DI=
V></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>yeah sorry :)</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>It's not deployed, but it works great=
.&nbsp; We patched Chromium for it, user experience on AV scanning at gatew=
ay is a zillion times better than what we had before.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>anyway.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABP7RbfCLNhEMpVFSVwnrJs8cyB+57TXnU9z0cskoG=
ue_vCeAw@mail.gmail.com type=3D"cite">
<DIV id=3D6d49bd32123c489f90c670085569238d>
<DIV class=3Dgmail_quote>
<DIV><SPAN style=3D"FONT-FAMILY: 'courier new',monospace">I suppose that,=
 at least in theory, we could support multiple 1xx :status headers to be=
 sent so long as the final non-1xx :status is still sent *before* any respo=
nse DATA frames, but that does get kind of messy and tedious... we'd end=
 up having to check every HEADERS frame for a possible :status header that=
 overrides the previously received one... and that just gets silly.</SPAN><=
/DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>how would you currently distinguish=
 the 0 vs 1 vs N 1xx response anyway?&nbsp;&nbsp; I think you'll need to=
 look anyway.<BR></DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABP7RbfCLNhEMpVFSVwnrJs8cyB+57TXnU9z0cskoG=
ue_vCeAw@mail.gmail.com type=3D"cite">
<DIV id=3D6d49bd32123c489f90c670085569238d>
<DIV class=3Dgmail_quote>
<DIV><SPAN style=3D"FONT-FAMILY: 'courier new',monospace"></SPAN></DIV>
<DIV><SPAN style=3D"FONT-FAMILY: 'courier new',monospace"><BR></SPAN></DIV>
<DIV><SPAN style=3D"FONT-FAMILY: 'courier new',monospace">The one thing =
I would note, however, is that HEADERS frames can be sent anytime in the=
 stream making it possible for other kinds of signaling beyond :status to=
 occur. The only restriction being how such additional HEADERS frames affec=
t the HTTP semantics.&nbsp;</SPAN></DIV></DIV></DIV></BLOCKQUOTE>
<DIV 10px; margin-bottom: margin-top:>yeah, late headers.&nbsp; They give=
 me a really bad feeling.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>It&nbsp;gets really nasty any time=
 anyone wants to enforce any sort of policy based on header content.&nbsp;=
 Can late duplicates override previous values etc etc.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>I know that 1.1 has trailers with =
chunking (although I thought these were being deprecated).</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>There has to be some sane limit as=
 to what sort of headers you can send any time.&nbsp; For example sending=
 Content-Type any place other than before the start of data is a train-wrec=
k waiting to happen.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Intermediaries commonly pass payload=
 via filter chains based on content type in order to avoid spooling.&nbsp;=
 If you had to wait until the transfer was complete before filtering, there=
 would be quite an impact on perceived performance at the client.</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Personally I'd avoid late headers =
like the plague, or severely restrict their use to only certain headers =
(I can't think of any I'd allow).</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>&nbsp;</DIV>
<DIV 10px; margin-bottom: margin-top:>Adrien<BR></DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABP7RbfCLNhEMpVFSVwnrJs8cyB+57TXnU9z0cskoG=
ue_vCeAw@mail.gmail.com type=3D"cite">
<DIV id=3D6d49bd32123c489f90c670085569238d>
<DIV class=3Dgmail_quote>
<DIV><SPAN style=3D"FONT-FAMILY: 'courier new',monospace"></SPAN></DIV>
<DIV><SPAN style=3D"FONT-FAMILY: 'courier new',monospace"><BR></SPAN></DIV>
<DIV><SPAN style=3D"FONT-FAMILY: 'courier new',monospace">- James</SPAN></D=
IV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>
<DIV><SPAN class=3DHOEnZb><FONT color=3D#888888>
<DIV>Adrien</DIV></FONT></SPAN>
<DIV class=3Dim>
<BLOCKQUOTE class=3Dcite cite=3Dhttp://CABP7RbdJCen4n37FcPsmq3-M6kujaAoPLKy=
fFHCq2jSo+f6_0A@mail.gmail.com type=3D"cite">
<DIV>
<DIV>
<DIV><FONT face=3D"courier new,monospace"></FONT></DIV>
<DIV><FONT face=3D"courier new,monospace">4. The non 1xx :status header =
MUST be sent before any DATA frames are sent in the response.</FONT></DIV>
<DIV><BR></DIV>
<DIV><FONT face=3D"courier new, monospace">With that, an application can=
 be assured that they'll have the final actual status code before processin=
g any of the response data.</FONT></DIV>
<DIV><FONT face=3D"courier new, monospace"><BR></FONT></DIV>
<DIV><FONT face=3D"courier new, monospace">- James</FONT></DIV>
<DIV><BR><BR>
<DIV class=3Dgmail_quote>On Tue, Aug 7, 2012 at 4:08 PM, Mike Belshe <SPAN=
 dir=3Dltr>&lt;<A href=3D"mailto:mike@belshe.com"></A><A href=3D"mailto:mik=
e@belshe.com"><A href=3D"mailto:mike@belshe.com">mike@belshe.com</A></A>&gt=
;</SPAN> wrote:<BR>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote><BR>[snip]<BR>
<DIV class=3Dgmail_quote>
<DIV>Making SPDY (or HTTP/2.) suport it, however, is relatively simple. =
&nbsp;James' proposal in this thread is getting close. &nbsp;I'm a little=
 worried about demarcation of the two sets of headers, but the rest is stra=
ightforward.</DIV><SPAN><FONT color=3D#888888>
<DIV><BR></DIV>
<DIV>Mike</DIV></FONT></SPAN>
<DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote><BR>Cheers,<BR><BR>--<BR>Mark Nott=
ingham<BR><A href=3D"http://www.mnot.net/"></A><A href=3D"http://www.mnot.n=
et/"><A href=3D"http://www.mnot.net/">http://www.mnot.net/</A></A><BR><BR><=
BR><BR><BR><BR></BLOCKQUOTE></DIV></DIV><BR></BLOCKQUOTE></DIV><BR></DIV></=
DIV></DIV></BLOCKQUOTE></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOT=
E></BODY></HTML>
--------=_MB8655EDC3-B3AD-462B-A1BE-1576DEBD8EBB--



From ietf-http-wg-request@listhub.w3.org  Tue Aug  7 23:15:32 2012
Return-Path: <ietf-http-wg-request@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 555F421F853A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 23:15:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.453
X-Spam-Level: 
X-Spam-Status: No, score=-10.453 tagged_above=-999 required=5 tests=[AWL=0.146, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eBrO3eb7qzRx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  7 Aug 2012 23:15:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A121321F8539 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  7 Aug 2012 23:15:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SyzVr-0000RM-5N for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Aug 2012 06:12:59 +0000
Resent-Date: Wed, 08 Aug 2012 06:12:59 +0000
Resent-Message-Id: <E1SyzVr-0000RM-5N@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SyzVX-0000QP-Lm for ietf-http-wg@listhub.w3.org; Wed, 08 Aug 2012 06:12:39 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SyzVW-0004uN-3F for ietf-http-wg@w3.org; Wed, 08 Aug 2012 06:12:39 +0000
Received: from [192.168.1.103] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 0DFCFE70AF for <ietf-http-wg@w3.org>; Wed,  8 Aug 2012 18:12:12 +1200 (NZST)
Message-ID: <50220332.70705@treenet.co.nz>
Date: Wed, 08 Aug 2012 18:12:02 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <CABP7RbdJCen4n37FcPsmq3-M6kujaAoPLKyfFHCq2jSo+f6_0A@mail.gmail.com> <em0e78faca-18bb-4fde-8c4a-83b3ddc652a5@bombed> <CABP7RbfCLNhEMpVFSVwnrJs8cyB+57TXnU9z0cskoGue_vCeAw@mail.gmail.com>
In-Reply-To: <CABP7RbfCLNhEMpVFSVwnrJs8cyB+57TXnU9z0cskoGue_vCeAw@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SyzVW-0004uN-3F 40476803a6406f31eb3fc2194493857b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/50220332.70705@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15044
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 8/08/2012 12:33 p.m., James M Snell wrote:
> On Tue, Aug 7, 2012 at 4:26 PM, Adrien W. de Croy <adrien@qbik.com 
> <mailto:adrien@qbik.com>> wrote:
>
>
>     ------ Original Message ------
>     From: "James M Snell" <jasnell@gmail.com <mailto:jasnell@gmail.com>>
>>     What exactly is your worry?
>>
>>     My general concern about it deals more with application handling
>>     of the response than with anything else... it would be good to
>>     apply some rules... for instance...
>>
>>     1. An updated :status header MUST ONLY be sent if the initial
>>     SYN_REPLY :status header is a 1xx response code,
>>     2. No more than one 1xx response code can be sent per response,
>     this contravenes 2616 which explicitly states that any number may
>     be sent, and must be handled appropriately.
>>     3. Once a non 1xx :status has been sent, it is a protocol error
>>     to send any additional :status headers,
>     this is a semantic change.   We actually now use multiple 1xx for
>     status updates in the lab.  I don't know if there are other uses,
>     but there are legitimate use-cases for it.
>     If 2.0 can support some other OOB notification mechanism, then all
>     well and good.
>
>
> Aw man.. you had to go and ruin it with Reality... how annoying ;-) I 
> suppose that, at least in theory, we could support multiple 1xx 
> :status headers to be sent so long as the final non-1xx :status is 
> still sent *before* any response DATA frames, but that does get kind 
> of messy and tedious... we'd end up having to check every HEADERS 
> frame for a possible :status header that overrides the previously 
> received one... and that just gets silly.

Take a gander through the network-friendly-00 draft. Notice how the 
response status has a frame type of its own for precisely this use-case. 
The frame type and status value is easily available in the envelope 
octets for this validity check to be done at high speed without having 
to muddle through any of the rest of the frame(s) structure.

>
> The one thing I would note, however, is that HEADERS frames can be 
> sent anytime in the stream making it possible for other kinds of 
> signaling beyond :status to occur. The only restriction being how such 
> additional HEADERS frames affect the HTTP semantics.

+1.

Amos


From ietf-http-wg-request@listhub.w3.org  Wed Aug  8 00:17:19 2012
Return-Path: <ietf-http-wg-request@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 240EF11E80EE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Aug 2012 00:17:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.56
X-Spam-Level: 
X-Spam-Status: No, score=-8.56 tagged_above=-999 required=5 tests=[AWL=2.039, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8vSz6FwP0OkM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Aug 2012 00:17:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0458811E80E1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  8 Aug 2012 00:17:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sz0Tz-0001tY-Eq for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Aug 2012 07:15:07 +0000
Resent-Date: Wed, 08 Aug 2012 07:15:07 +0000
Resent-Message-Id: <E1Sz0Tz-0001tY-Eq@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <salvatore.loreto@ericsson.com>) id 1Sz0Ti-0007le-9T for ietf-http-wg@listhub.w3.org; Wed, 08 Aug 2012 07:14:50 +0000
Received: from mailgw1.ericsson.se ([193.180.251.45]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <salvatore.loreto@ericsson.com>) id 1Sz0Tg-00052i-Qd for ietf-http-wg@w3.org; Wed, 08 Aug 2012 07:14:50 +0000
X-AuditID: c1b4fb2d-b7fd66d0000004ad-b5-502211d2dd66
Received: from esessmw0237.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id 57.2B.01197.2D112205; Wed,  8 Aug 2012 09:14:26 +0200 (CEST)
Received: from mail.lmf.ericsson.se (153.88.115.8) by esessmw0237.eemea.ericsson.se (153.88.115.91) with Microsoft SMTP Server id 8.3.264.0; Wed, 8 Aug 2012 09:14:25 +0200
Received: from nomadiclab.lmf.ericsson.se (nomadiclab.lmf.ericsson.se [131.160.33.3])	by mail.lmf.ericsson.se (Postfix) with ESMTP id A28712B0A	for <ietf-http-wg@w3.org>; Wed,  8 Aug 2012 10:14:25 +0300 (EEST)
Received: from nomadiclab.lmf.ericsson.se (localhost [127.0.0.1])	by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 1808F53404	for <ietf-http-wg@w3.org>; Wed,  8 Aug 2012 10:14:26 +0300 (EEST)
Received: from n106.nomadiclab.com (localhost [127.0.0.1])	by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id CB126530F6	for <ietf-http-wg@w3.org>; Wed,  8 Aug 2012 10:14:25 +0300 (EEST)
Message-ID: <502211D0.5040304@ericsson.com>
Date: Wed, 8 Aug 2012 10:14:24 +0300
From: Salvatore Loreto <salvatore.loreto@ericsson.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <emc0d9c202-4de9-42a4-afcd-3e0714b94f4b@reboist> <19946.1344237095@critter.freebsd.dk> <20120806083754.GB3961@1wt.eu>
In-Reply-To: <20120806083754.GB3961@1wt.eu>
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrPLMWRmVeSWpSXmKPExsUyM+Jvre4lQaUAg4X7pS0Ot8xicmD0ODpv P2sAYxSXTUpqTmZZapG+XQJXRtu+98wF77gqFj6+zNbAeJaji5GTQ0LAROLIlyXsELaYxIV7 69m6GLk4hAROMUq8XtTFDuGsZ5RYcqEJyrnKKLHt+3ImCOcEo8Skmd0sEM5BRok/h98wggzj FdCWOLTlBxuIzSKgIrFl4xMwm03ATOL5wy3MILaoQKLE5/k3mCDqBSVOznzCAmKLCIhLdN3f ATZHWMBaYsLvHVDbGhklOtpmsYIkOIEW/H+3FMxmFrCVuDDnOguELS+x/e0cZoiP1CSuntsE ZgsJaEn0nu1kmsAoMgvJvllI2mchaV/AyLyKUTg3MTMnvdxQL7UoM7m4OD9Przh1EyMw0A9u +a27g/HUOZFDjNIcLErivFxJ+/2FBNITS1KzU1MLUovii0pzUosPMTJxcEo1MIawX5q+Mjmq LHP90qjKM22hE9eKLwxsU/lk/zdwbc2ubLPn2WF2Xae2VXbZ3F935bdtTp93fTsTlxabwtM1 Hzn1txedfJZmFJ/B0sM4Rf7SyuPzLOt4cyYef293eI31G9Glesm7o544c5uuvM3531HJ/Y1i xlaF31pbuwst/h5Zm2n+aeNBQyWW4oxEQy3mouJEANS2FPZCAgAA
Received-SPF: pass client-ip=193.180.251.45; envelope-from=salvatore.loreto@ericsson.com; helo=mailgw1.ericsson.se
X-W3C-Hub-Spam-Status: No, score=-1.5
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sz0Tg-00052i-Qd 019789041c9f29824ac36a22dc6b1429
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/502211D0.5040304@ericsson.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15045
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 8/6/12 11:37 AM, Willy Tarreau wrote:
> On Mon, Aug 06, 2012 at 07:11:35AM +0000, Poul-Henning Kamp wrote:
>>> I think this will be extremely common for a very long time.
>>>
>>> 2.0 client talks to 2.0 local proxy talking to 1.1 internet.
>> That's not a terribly interesting use-case is it ?
>>
>> The RTT to a local proxy is not prohibitive, so running HTTP/2.0
>> on that path will gain you very little performance, and insisting
>> on running both 2.0 and 1.1 would cost very little, since the
>> link is very likely a LAN.
> This use case should prevail in mobile environments. Your smartphone
> should have an explicit proxy configured (instead of passing via an
> interception proxy) that will also save it from round trips caused
> by DNS requests.
I agree,
however to be honest the fact that a smartphone does not have an explicit
proxy configured and instead it use an interception proxy is only
due to the 3GPP spec or to me more correct on how the 3GPP spec is 
implemented
in mobile environments

> I really think that the biggest savings we could
> expect from 2.0 and by far is to have smartphones communicate via
> their operator's explicit proxies.
right,
and for this we need to make sure that also in 2.0 will be possible
to discover and configure an explicit proxy to use

br
Salvatore

-- 
Salvatore Loreto, PhD
www.sloreto.com



From ietf-http-wg-request@listhub.w3.org  Wed Aug  8 00:28:23 2012
Return-Path: <ietf-http-wg-request@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 A551921F85BB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Aug 2012 00:28:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.679
X-Spam-Level: 
X-Spam-Status: No, score=-8.679 tagged_above=-999 required=5 tests=[AWL=1.919, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hJN-qP6Redbi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Aug 2012 00:28:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7BD1421F8526 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  8 Aug 2012 00:28:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sz0fS-0005CF-2m for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Aug 2012 07:26:58 +0000
Resent-Date: Wed, 08 Aug 2012 07:26:58 +0000
Resent-Message-Id: <E1Sz0fS-0005CF-2m@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <salvatore.loreto@ericsson.com>) id 1Sz0fE-0005Ax-5V for ietf-http-wg@listhub.w3.org; Wed, 08 Aug 2012 07:26:44 +0000
Received: from mailgw1.ericsson.se ([193.180.251.45]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <salvatore.loreto@ericsson.com>) id 1Sz0fC-000778-D5 for ietf-http-wg@w3.org; Wed, 08 Aug 2012 07:26:44 +0000
X-AuditID: c1b4fb2d-b7fd66d0000004ad-30-5022149c1788
Received: from esessmw0184.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id 0B.0D.01197.C9412205; Wed,  8 Aug 2012 09:26:20 +0200 (CEST)
Received: from mail.lmf.ericsson.se (153.88.115.8) by esessmw0184.eemea.ericsson.se (153.88.115.82) with Microsoft SMTP Server id 8.3.264.0; Wed, 8 Aug 2012 09:26:19 +0200
Received: from nomadiclab.lmf.ericsson.se (nomadiclab.lmf.ericsson.se [131.160.33.3])	by mail.lmf.ericsson.se (Postfix) with ESMTP id 63F182B0A	for <ietf-http-wg@w3.org>; Wed,  8 Aug 2012 10:26:19 +0300 (EEST)
Received: from nomadiclab.lmf.ericsson.se (localhost [127.0.0.1])	by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id CB46F5339C	for <ietf-http-wg@w3.org>; Wed,  8 Aug 2012 10:26:19 +0300 (EEST)
Received: from n106.nomadiclab.com (localhost [127.0.0.1])	by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 895F2521FC	for <ietf-http-wg@w3.org>; Wed,  8 Aug 2012 10:26:19 +0300 (EEST)
Message-ID: <5022149A.1090505@ericsson.com>
Date: Wed, 8 Aug 2012 10:26:18 +0300
From: Salvatore Loreto <salvatore.loreto@ericsson.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <emc0d9c202-4de9-42a4-afcd-3e0714b94f4b@reboist> <19946.1344237095@critter.freebsd.dk> <CAP+FsNdBB9bZ0Kc-O5r0wpeWKrL+uxjaPvPSHO0fsrPbYSu31g@mail.gmail.com>
In-Reply-To: <CAP+FsNdBB9bZ0Kc-O5r0wpeWKrL+uxjaPvPSHO0fsrPbYSu31g@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------010909080504040003070804"
X-Virus-Scanned: ClamAV using ClamSMTP
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrKLMWRmVeSWpSXmKPExsUyM+Jvre4cEaUAg3/b5C0Ot8xicmD0ODpv P2sAYxSXTUpqTmZZapG+XQJXxqxP65kKehwqNresZGlg3K3bxcjJISFgIvH/wC82CFtM4sK9 9WC2kMApRokdR3y7GLmA7PWMEg83T2OBcK4ySnS2bWKHqDrBKLFndhFE4iCjRMO3LcwgCV4B bYlru7tZQGwWARWJheu3soLYbAJmEs8fQtSICiRKfJ5/gwmiXlDi5MwnYPUiAuISXfd3MILY wgLWEhN+72CCWLCcUWJm41OwQZwCgRIbZj8Ga2YWCJOYf+AWI8QPahJXz21ihrhOS6L3bCfT BEbhWUh2zELSAmHbSlyYcx0qLi+x/e0cZghbV+LC/yko4gsY2VYxCucmZuaklxvqpRZlJhcX 5+fpFaduYgRGxcEtv3V3MJ46J3KIUZqDRUmclytpv7+QQHpiSWp2ampBalF8UWlOavEhRiYO TqkGxtCGTU8Y1kWHLGN6rVpz6TTPH9awP7cda3wXPolbGdDAGqZRcrdteX3X8mKr5dz1rco/ JNW5XC+8nmj/hvmGcFTGQa6e+MJL7gYi+QkWfJPKdSMct0f//S2RMevuz72GTN0KnGYSphpZ ko03Vdvn8V77IXhFn3lCzhmDyBlXuTP31ohsn6+rxFKckWioxVxUnAgAz+UdQ1gCAAA=
Received-SPF: pass client-ip=193.180.251.45; envelope-from=salvatore.loreto@ericsson.com; helo=mailgw1.ericsson.se
X-W3C-Hub-Spam-Status: No, score=-1.5
X-W3C-Hub-Spam-Report: BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sz0fC-000778-D5 6fa21f08b3fdd7efc03e1e9ea0a3a6d3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/5022149A.1090505@ericsson.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15046
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>

--------------010909080504040003070804
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Content-Transfer-Encoding: 7bit

On 8/6/12 7:05 PM, Roberto Peon wrote:
>
> That (http2 client  -> http2 proxy -> http1 server) could be 
> beneficial for mobile devices in terms of both latency and battery 
> life, so it isn't something we should dismiss.
>
indeed it is an area I would like we explicitly call out within the 
*charter* with the two following distinct bullets

* define a 2.0 mechanism for advising clients of the proxy to use

* http2 -> http1 interaction

/Sal

-- 
Salvatore Loreto, PhD
www.sloreto.com


> -=R
>
> On Aug 6, 2012 12:14 AM, "Poul-Henning Kamp" <phk@phk.freebsd.dk 
> <mailto:phk@phk.freebsd.dk>> wrote:
>
>     In message <emc0d9c202-4de9-42a4-afcd-3e0714b94f4b@reboist>,
>     "Adrien de Croy" w
>     rites:
>
>     >>From: "Poul-Henning Kamp" <phk@phk.freebsd.dk
>     <mailto:phk@phk.freebsd.dk>>
>     >>
>     >>Where does 2.0<-->1.1 conversion _realistically_ come into play ?
>
>     >You mean where are we most likely to see 2.0 down-graded to 1.1?
>     >
>     >I think this will be extremely common for a very long time.
>     >
>     >2.0 client talks to 2.0 local proxy talking to 1.1 internet.
>
>     That's not a terribly interesting use-case is it ?
>
>     The RTT to a local proxy is not prohibitive, so running HTTP/2.0
>     on that path will gain you very little performance, and insisting
>     on running both 2.0 and 1.1 would cost very little, since the
>     link is very likely a LAN.
>
>     So yeah, you have a shiny new protocol, but it doesn't do anything
>     for you...
>
>     (The GET https://... thing can be done as extension to 1.1 also,
>     so that is not a deciding factor)
>
>     The RTT performance gain of 2.0 only happens once 2.0 deploys on
>     the far (ie: server) side of things.
>
>     So I think the interesting use-case is the opposite of what
>     you suggest: 1.1 to proxy, 2.0 to server.
>
>     About the only other place I see a credible case for conversion
>     is a 1.1+2.0 load-balancer and a 1.1- or 2.0- only server.
>
>     The 2.0->1.1 case I can conceiveably see, in a somewhat strange set
>     of circumstances, but the 1.1->2.0 case seems entirely speculative
>     for the next many years.
>
>     Given how much simpler it will be for everybody, I still see a
>     "same version, end to end" model as very attractive.
>
>     Of course 1.1 and 2.0 must still interoperate, in particular we
>     need to be able to upgrade (and later downgrade ?) on port 80.
>
>     But I really have a hard time seeing the a business-case for
>     specifying conversion of individual requests and responses between
>     1.1 and 2.0.
>
>     --
>     Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
>     phk@FreeBSD.ORG         | TCP/IP since RFC 956
>     FreeBSD committer       | BSD since 4.3-tahoe
>     Never attribute to malice what can adequately be explained by
>     incompetence.
>



--------------010909080504040003070804
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 8/6/12 7:05 PM, Roberto Peon wrote:<br>
    </div>
    <blockquote
cite="mid:CAP+FsNdBB9bZ0Kc-O5r0wpeWKrL+uxjaPvPSHO0fsrPbYSu31g@mail.gmail.com"
      type="cite">
      <p dir="ltr">That (http2 client&nbsp; -&gt; http2 proxy -&gt; http1
        server) could be beneficial for mobile devices in terms of both
        latency and battery life, so it isn't something we should
        dismiss.<br>
      </p>
    </blockquote>
    indeed it is an area I would like we explicitly call out within the
    *charter* with the two following distinct bullets<br>
    <br>
    * define a 2.0 mechanism for advising clients of the proxy to use<br>
    <br>
    * http2 -&gt; http1 interaction<br>
    <br>
    /Sal<br>
    <pre wrap="">
-- 
Salvatore Loreto, PhD
<a class="moz-txt-link-abbreviated" href="http://www.sloreto.com">www.sloreto.com</a>

</pre>
    <br>
    <blockquote
cite="mid:CAP+FsNdBB9bZ0Kc-O5r0wpeWKrL+uxjaPvPSHO0fsrPbYSu31g@mail.gmail.com"
      type="cite">
      <p dir="ltr">-=R</p>
      <div class="gmail_quote">On Aug 6, 2012 12:14 AM, "Poul-Henning
        Kamp" &lt;<a moz-do-not-send="true"
          href="mailto:phk@phk.freebsd.dk">phk@phk.freebsd.dk</a>&gt;
        wrote:<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          In message
          &lt;emc0d9c202-4de9-42a4-afcd-3e0714b94f4b@reboist&gt;,
          "Adrien de Croy" w<br>
          rites:<br>
          <br>
          &gt;&gt;From: "Poul-Henning Kamp" &lt;<a
            moz-do-not-send="true" href="mailto:phk@phk.freebsd.dk">phk@phk.freebsd.dk</a>&gt;<br>
          &gt;&gt;<br>
          &gt;&gt;Where does 2.0&lt;--&gt;1.1 conversion _realistically_
          come into play ?<br>
          <br>
          &gt;You mean where are we most likely to see 2.0 down-graded
          to 1.1?<br>
          &gt;<br>
          &gt;I think this will be extremely common for a very long
          time.<br>
          &gt;<br>
          &gt;2.0 client talks to 2.0 local proxy talking to 1.1
          internet.<br>
          <br>
          That's not a terribly interesting use-case is it ?<br>
          <br>
          The RTT to a local proxy is not prohibitive, so running
          HTTP/2.0<br>
          on that path will gain you very little performance, and
          insisting<br>
          on running both 2.0 and 1.1 would cost very little, since the<br>
          link is very likely a LAN.<br>
          <br>
          So yeah, you have a shiny new protocol, but it doesn't do
          anything<br>
          for you...<br>
          <br>
          (The GET <a class="moz-txt-link-freetext" href="https://">https://</a>... thing can be done as extension to 1.1
          also,<br>
          so that is not a deciding factor)<br>
          <br>
          The RTT performance gain of 2.0 only happens once 2.0 deploys
          on<br>
          the far (ie: server) side of things.<br>
          <br>
          So I think the interesting use-case is the opposite of what<br>
          you suggest: 1.1 to proxy, 2.0 to server.<br>
          <br>
          About the only other place I see a credible case for
          conversion<br>
          is a 1.1+2.0 load-balancer and a 1.1- or 2.0- only server.<br>
          <br>
          The 2.0-&gt;1.1 case I can conceiveably see, in a somewhat
          strange set<br>
          of circumstances, but the 1.1-&gt;2.0 case seems entirely
          speculative<br>
          for the next many years.<br>
          <br>
          Given how much simpler it will be for everybody, I still see a<br>
          "same version, end to end" model as very attractive.<br>
          <br>
          Of course 1.1 and 2.0 must still interoperate, in particular
          we<br>
          need to be able to upgrade (and later downgrade ?) on port 80.<br>
          <br>
          But I really have a hard time seeing the a business-case for<br>
          specifying conversion of individual requests and responses
          between<br>
          1.1 and 2.0.<br>
          <br>
          --<br>
          Poul-Henning Kamp &nbsp; &nbsp; &nbsp; | UNIX since Zilog Zeus 3.20<br>
          <a class="moz-txt-link-abbreviated" href="mailto:phk@FreeBSD.ORG">phk@FreeBSD.ORG</a> &nbsp; &nbsp; &nbsp; &nbsp; | TCP/IP since RFC 956<br>
          FreeBSD committer &nbsp; &nbsp; &nbsp; | BSD since 4.3-tahoe<br>
          Never attribute to malice what can adequately be explained by
          incompetence.<br>
          <br>
        </blockquote>
      </div>
    </blockquote>
    <br>
    <br>
  </body>
</html>

--------------010909080504040003070804--


From ietf-http-wg-request@listhub.w3.org  Wed Aug  8 03:54:01 2012
Return-Path: <ietf-http-wg-request@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 507CB21F86A4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Aug 2012 03:54:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.786
X-Spam-Level: 
X-Spam-Status: No, score=-8.786 tagged_above=-999 required=5 tests=[AWL=1.812, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pDKszfwSDEJk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Aug 2012 03:54:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 13CCD21F85B8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  8 Aug 2012 03:54:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sz3s1-0001qB-8E for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Aug 2012 10:52:09 +0000
Resent-Date: Wed, 08 Aug 2012 10:52:09 +0000
Resent-Message-Id: <E1Sz3s1-0001qB-8E@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <salvatore.loreto@ericsson.com>) id 1Sz3rk-0001pP-4l for ietf-http-wg@listhub.w3.org; Wed, 08 Aug 2012 10:51:52 +0000
Received: from mailgw1.ericsson.se ([193.180.251.45]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <salvatore.loreto@ericsson.com>) id 1Sz3ri-00041c-K8 for ietf-http-wg@w3.org; Wed, 08 Aug 2012 10:51:52 +0000
X-AuditID: c1b4fb2d-b7fd66d0000004ad-6e-502244b03e0a
Received: from esessmw0184.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id 09.10.01197.0B442205; Wed,  8 Aug 2012 12:51:28 +0200 (CEST)
Received: from mail.lmf.ericsson.se (153.88.115.8) by esessmw0184.eemea.ericsson.se (153.88.115.82) with Microsoft SMTP Server id 8.3.264.0; Wed, 8 Aug 2012 12:51:27 +0200
Received: from nomadiclab.lmf.ericsson.se (nomadiclab.lmf.ericsson.se [131.160.33.3])	by mail.lmf.ericsson.se (Postfix) with ESMTP id BB2FA2AD5	for <ietf-http-wg@w3.org>; Wed,  8 Aug 2012 13:51:27 +0300 (EEST)
Received: from nomadiclab.lmf.ericsson.se (localhost [127.0.0.1])	by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 44A6F53424	for <ietf-http-wg@w3.org>; Wed,  8 Aug 2012 13:51:28 +0300 (EEST)
Received: from n106.nomadiclab.com (localhost [127.0.0.1])	by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 02E4F526C2	for <ietf-http-wg@w3.org>; Wed,  8 Aug 2012 13:51:27 +0300 (EEST)
Message-ID: <502244AF.2000208@ericsson.com>
Date: Wed, 8 Aug 2012 13:51:27 +0300
From: Salvatore Loreto <salvatore.loreto@ericsson.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <28F9FD01-5B48-45F2-A3A2-758EEE162704@mnot.net> <7900274048c2421bbabf476beba71644@CH1PR03MB622.namprd03.prod.outlook.com> <CABaLYCs4gtdMvEeUC7FvQTUZhz8jVJv9pyYzQLK+N-WoC5fhEw@mail.gmail.com>
In-Reply-To: <CABaLYCs4gtdMvEeUC7FvQTUZhz8jVJv9pyYzQLK+N-WoC5fhEw@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------060703010205010201060907"
X-Virus-Scanned: ClamAV using ClamSMTP
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrKLMWRmVeSWpSXmKPExsUyM+Jvre4GF6UAg+2/VCwOt8xicmD0ODpv P2sAYxSXTUpqTmZZapG+XQJXxrQ7y9kKFslXTNiwh62BsVeii5GDQ0LAROLhndwuRk4gU0zi wr31bF2MXBxCAqcYJaYs/s0E4axnlPj7dCdU5iqjxIP5xxkhnBOMEs+2/YdyDjJK9E5bzgQy jFdAW+Lj663MIDaLgIrErvPXWUBsNgEziecPt4DFRQUSJT7PvwFVLyhxcuYTsBoRAXGJrvs7 GEFsYQFriQm/d4DVgB3VdlYPxOYUCJRYdm4CO4jNLBAmMf3xUWaIJ9Qkrp7bxAxRryXRe7aT aQKj8CwkK2YhaYGwbSUuzLkOFZeX2P52DlRcV+LC/yko4gsY2VYxCucmZuaklxvqpRZlJhcX 5+fpFaduYgRGxcEtv3V3MJ46J3KIUZqDRUmclytpv7+QQHpiSWp2ampBalF8UWlOavEhRiYO TqkGRnGJh6q/ll7lLvKRmLQ++OUvGYHdUjEqk6znlig5N3XW12yfxmJ7cfdHr0kN8rd/9F+5 +ffyLG25h1J/RJkfbZ6c+fxbDm/+1yv3jFVPbuMVXX20bnnTvfi2k55s2/1jj15KninPW1J+ vfRv+N9535wuZbRoX5t67t3yZzkuFkuijy2+1Vf61FGJpTgj0VCLuag4EQDYz+8eWAIAAA==
Received-SPF: pass client-ip=193.180.251.45; envelope-from=salvatore.loreto@ericsson.com; helo=mailgw1.ericsson.se
X-W3C-Hub-Spam-Status: No, score=-1.5
X-W3C-Hub-Spam-Report: BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sz3ri-00041c-K8 2d88391fa6adaac9aa83b314674f362b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/502244AF.2000208@ericsson.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15047
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>

--------------060703010205010201060907
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Content-Transfer-Encoding: 7bit

On 8/5/12 3:23 AM, Mike Belshe wrote:
>
>     The resulting specification(s) are expected to be meet these goals
>     for common existing deployments of HTTP; in particular, Web
>     browsing (desktop and mobile), non-browsers ("HTTP APIs"), Web
>     serving (at a variety of scales), and intermediation (by proxies,
>     corporate firewalls, "reverse" proxies and Content Delivery Networks).
>
>     $as well as embedded systems$
>
>
> I think you're looking for 'reasonableness' - such that HTTP/2.0 works 
> with most existing systems.  I am too.
>
> I don't think we need to callout 'embedded systems', as it is already 
> covered in "expected to meet these goals for common existing 
> deployments of HTTP".  Embedded systems are common today and will 
> naturally be a big part of HTTP/2.0.  If we call them out, do we need 
> to start listing all the other common uses of HTTP? :-)

this is something that perhaps the charter should define clearly 
removing all the ambiguities:
what are the "common existing deployments" the wg will take in 
consideration?
The current charter tries to clearly list what will be considered.

I don't have a strong opinion on this,
but I don't think we should consider "all the other common uses of HTTP" 
for 2.0, they are to many that are common to different degrees

Salvatore

-- 
Salvatore Loreto, PhD
www.sloreto.com


--------------060703010205010201060907
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 8/5/12 3:23 AM, Mike Belshe wrote:<br>
    </div>
    <blockquote
cite="mid:CABaLYCs4gtdMvEeUC7FvQTUZhz8jVJv9pyYzQLK+N-WoC5fhEw@mail.gmail.com"
      type="cite">
      <blockquote class="gmail_quote" style="margin:0 0 0
        .8ex;border-left:1px #ccc solid;padding-left:1ex">
        <div class="im">The resulting specification(s) are expected to
          be meet these goals for common existing deployments of HTTP;
          in particular, Web browsing (desktop and mobile), non-browsers
          ("HTTP APIs"), Web serving (at a variety of scales), and
          intermediation (by proxies, corporate firewalls, "reverse"
          proxies and Content Delivery Networks).<br>
          <br>
        </div>
        $as well as embedded systems$<br>
      </blockquote>
      <div><br>
        I think you're looking for 'reasonableness' - such that HTTP/2.0
        works with most existing systems. &nbsp;I am too. &nbsp;</div>
      <div><br>
        I don't think we need to callout 'embedded systems', as it is
        already covered in "expected to meet these goals for common
        existing deployments of HTTP". &nbsp;Embedded systems are common
        today and will naturally be a big part of HTTP/2.0. &nbsp;If we call
        them out, do we need to start listing all the other common uses
        of HTTP? :-)</div>
    </blockquote>
    <br>
    this is something that perhaps the charter should define clearly
    removing all the ambiguities:<br>
    what are the "common existing deployments" the wg will take in
    consideration?<br>
    The current charter tries to clearly list what will be considered.<br>
    <br>
    I don't have a strong opinion on this, <br>
    but I don't think we should consider "all the other common uses of
    HTTP" for 2.0, they are to many that are common to different degrees
    <br>
    <br>
    Salvatore<br>
    <pre class="moz-signature" cols="72">-- 
Salvatore Loreto, PhD
<a class="moz-txt-link-abbreviated" href="http://www.sloreto.com">www.sloreto.com</a></pre>
  </body>
</html>

--------------060703010205010201060907--


From ietf-http-wg-request@listhub.w3.org  Wed Aug  8 13:27:20 2012
Return-Path: <ietf-http-wg-request@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 7D31211E8117 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Aug 2012 13:27:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.588
X-Spam-Level: 
X-Spam-Status: No, score=-10.588 tagged_above=-999 required=5 tests=[AWL=0.011, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1OALNjVJ9RqY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Aug 2012 13:27:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0420811E80FA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  8 Aug 2012 13:27:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SzCoF-0000yw-31 for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Aug 2012 20:24:51 +0000
Resent-Date: Wed, 08 Aug 2012 20:24:51 +0000
Resent-Message-Id: <E1SzCoF-0000yw-31@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SzCo2-0000yB-8Y for ietf-http-wg@listhub.w3.org; Wed, 08 Aug 2012 20:24:38 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SzCo0-0005Lx-UT for ietf-http-wg@w3.org; Wed, 08 Aug 2012 20:24:38 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id B5BC5102A7; Wed,  8 Aug 2012 16:24:14 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id 2C115101A9; Wed,  8 Aug 2012 16:24:10 -0400 (EDT)
Message-ID: <1344457449.3295.30.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Wed, 08 Aug 2012 16:24:09 -0400
In-Reply-To: <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com>
References:  <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com> <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8
X-W3C-Scan-Sig: lisa.w3.org 1SzCo0-0005Lx-UT 458be3d4dcde29229905d0f7ac4253e5
X-Original-To: ietf-http-wg@w3.org
Subject: In Defense of Header Compresson
Archived-At: <http://www.w3.org/mid/1344457449.3295.30.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15048
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 Thu, 2012-08-02 at 20:53 +0000, Henrik Frystyk Nielsen wrote:
> I also have trouble with the use of compression over the headers [..
> mcmanus deletes argument #1 just for clarity of reply..]
> 
> 2) Further, it is unclear whether there is any noticeable performance
> gain from doing so. The only headers that today are open-ended are
> really User-Agent and Set-Cookie/Cookie pairs. In all our data where
> we don't include these headers we see no gain from using header
> compression whatsoever as long as you are conservative in how many
> headers you choose to include.

Hi Henrik, Thanks for the report - but this really really doesn't mesh
with my experience. I kept it in my inbox until I had the time to do
some research to back up the value of header compression when I piped up
(I'm referring to compression generically - not a particular scheme for
doing so..).

In one sense, we must be talking about different contexts. It's obvious
that if you have very small objects that the headers are going to
dominate transfer time. They do this not so much from serialization
delay but because of interaction with CWND - you can get more headers
upstream faster in the same CWND and form a deeper pipeline (whether
that is serial http/1 style or spdy-muxxed style isn't impt). Once you
get enough requests upstream that the server can fill the BDP it doesn't
much matter, but until you reach that point it matters a lot and it
turns into significant time.

This is especially problematic when responses are smaller than requests.
The poster child for this is a 304 response to a request with a big
cookie. 

But its also a problem where clients have less aggressive TCP parameters
than the server they are talking with - which is pretty typical. A
devops environment might be tweaked up with IW=10 and set to not revert
to slowstart after small periods of idle time, but a desktop is almost
certainly going to be running vanilla IW=3 for many years. That
exacerbates the problem of the client not being able to send requests
fast enough for the server to be able to have something to respond to at
their full sending rate.

I put together some tests to illustrate it. I formed a HTTP/1 style
pipeline of 86 requests that all return 304. (click reload on one page).
I tested both without a cookie and with a modest ~1000 byte cookie. You
can look at the packet captures if you want to see the transactions, but
they are terribly vanilla - requests are 477 bytes (plus possible
cookie), and responses are 307. Both client and server are running IW=3,
and my timings exclude the handshake, and I measured over 4 latencies.
Timings are in ms.

Test    50ms    100ms    200ms    300ms
1         52    102       202      302 
2         52    102       202      302
3        358    808      1401     2108
4        256    506      1006     1542

Test 1 is with the cookie and zlib compression
Test 2 is without the cookie but with zlib
Test 3 is with the cookie and no zlib
Test 3 is without cookie and no zlib

It's pretty clear that TCP transfer (as it almost always is for http) is
dominated by round trip penalties growing CWND. No surprise there - and
no surprise that reducing the amount of data to be sent means less
penalties absorbed. The magnitude of it is a little surprising though -
if you sit behind a 300ms link this page takes 2.1 seconds to reload
without compression vs ~0.3 seconds with it.

The packet captures for these are at
https://www.ducksong.com/misc/pcaps-for-zlib/

Strategies that lossily mess with which headers to transfer are going to
create backwards compatibility problems and probably not get support.
You should see the mess we caused just trying to drop Accept-Charset
from our request headers - indeed nobody was doing charset negotiation
with it but some very big names were using it for fingerprinting and
stuff started to break :(. Something like User-Agent is a couple orders
of magnitude more intimidating.

So +1 for some form of lossless encoding of the headers.

-Patrick



From ietf-http-wg-request@listhub.w3.org  Wed Aug  8 15:22:20 2012
Return-Path: <ietf-http-wg-request@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 3F9AA11E8104 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Aug 2012 15:22:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.677
X-Spam-Level: 
X-Spam-Status: No, score=-9.677 tagged_above=-999 required=5 tests=[AWL=0.922, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nw3-r6bFw3ys for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Aug 2012 15:22:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 64D7711E80F9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  8 Aug 2012 15:22:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SzEbz-0001Nu-1W for ietf-http-wg-dist@listhub.w3.org; Wed, 08 Aug 2012 22:20:19 +0000
Resent-Date: Wed, 08 Aug 2012 22:20:19 +0000
Resent-Message-Id: <E1SzEbz-0001Nu-1W@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1SzEbj-00017Z-UY for ietf-http-wg@listhub.w3.org; Wed, 08 Aug 2012 22:20:03 +0000
Received: from c2w3p-2.abacamail.com ([209.133.53.32]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1SzEbj-00070y-0I for ietf-http-wg@w3.org; Wed, 08 Aug 2012 22:20:03 +0000
Received: from xpasc.com (unknown [68.164.244.188]) by c2w3p-2.abacamail.com (Postfix) with ESMTP id E08AD402A9 for <ietf-http-wg@w3.org>; Wed,  8 Aug 2012 22:19:35 +0000 (UTC)
Received: from egate.xpasc.com (egate.xpasc.com [10.1.2.49]) by xpasc.com (8.13.8/8.13.8) with ESMTP id q78MJZk7020465 for <ietf-http-wg@w3.org>; Wed, 8 Aug 2012 15:19:35 -0700
Date: Wed, 8 Aug 2012 15:19:35 -0700 (PDT)
From: David Morris <dwm@xpasc.com>
Reply-To: "'HTTP Working Group'" <ietf-http-wg@w3.org>
To: "'HTTP Working Group'" <ietf-http-wg@w3.org>
In-Reply-To: <5022149A.1090505@ericsson.com>
Message-ID: <alpine.LRH.2.01.1208081513160.19984@egate.xpasc.com>
References: <emc0d9c202-4de9-42a4-afcd-3e0714b94f4b@reboist> <19946.1344237095@critter.freebsd.dk> <CAP+FsNdBB9bZ0Kc-O5r0wpeWKrL+uxjaPvPSHO0fsrPbYSu31g@mail.gmail.com> <5022149A.1090505@ericsson.com>
User-Agent: Alpine 2.01 (LRH 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Milter-Version: master.1+13-gbab1945
X-AV-Type: clean
X-AV-Accuracy: exact
Received-SPF: pass client-ip=209.133.53.32; envelope-from=dwm@xpasc.com; helo=c2w3p-2.abacamail.com
X-W3C-Hub-Spam-Status: No, score=2.0
X-W3C-Hub-Spam-Report: BAYES_80=2, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SzEbj-00070y-0I 98c50ac131014d381f387b5555d5eb8c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/alpine.LRH.2.01.1208081513160.19984@egate.xpasc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15049
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 Wed, 8 Aug 2012, Salvatore Loreto wrote:

> * define a 2.0 mechanism for advising clients of the proxy to use

I see this as a system configuration issue and not really a problem
to be solved by the HTTP working group. It is very much a chicken/egg
problem.

Beyond that, this problem is nearly solved for iPhones with the provision
for defining a proxy in APNs. VPN mobile configs also provide for
definition of a proxy. I don't know other devices, but APNs look
like they might be a general solution which transcend the iPhone.


From ietf-http-wg-request@listhub.w3.org  Wed Aug  8 20:03:19 2012
Return-Path: <ietf-http-wg-request@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 6216F21F85CD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Aug 2012 20:03:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.235
X-Spam-Level: 
X-Spam-Status: No, score=-10.235 tagged_above=-999 required=5 tests=[AWL=0.364, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aRCg8soAzVLk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Aug 2012 20:03:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 61B3921F85CC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  8 Aug 2012 20:03:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SzIzL-0001tH-GR for ietf-http-wg-dist@listhub.w3.org; Thu, 09 Aug 2012 03:00:43 +0000
Resent-Date: Thu, 09 Aug 2012 03:00:43 +0000
Resent-Message-Id: <E1SzIzL-0001tH-GR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SzIz2-0001sS-IJ for ietf-http-wg@listhub.w3.org; Thu, 09 Aug 2012 03:00:24 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SzIz0-0000NV-QA for ietf-http-wg@w3.org; Thu, 09 Aug 2012 03:00:24 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id EAE1BE71F7; Thu,  9 Aug 2012 14:59:54 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Thu, 09 Aug 2012 14:59:54 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <alpine.LRH.2.01.1208081513160.19984@egate.xpasc.com>
References: <emc0d9c202-4de9-42a4-afcd-3e0714b94f4b@reboist> <19946.1344237095@critter.freebsd.dk> <CAP+FsNdBB9bZ0Kc-O5r0wpeWKrL+uxjaPvPSHO0fsrPbYSu31g@mail.gmail.com> <5022149A.1090505@ericsson.com> <alpine.LRH.2.01.1208081513160.19984@egate.xpasc.com>
Message-ID: <058bf0942b9db9d7393e11be62348634@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SzIz0-0000NV-QA 4ac0426ccb5a1b8f30666855de19797b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/058bf0942b9db9d7393e11be62348634@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15050
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 09.08.2012 10:19, David Morris wrote:
> On Wed, 8 Aug 2012, Salvatore Loreto wrote:
>
>> * define a 2.0 mechanism for advising clients of the proxy to use
>

+1.

> I see this as a system configuration issue and not really a problem
> to be solved by the HTTP working group. It is very much a chicken/egg
> problem.
>
> Beyond that, this problem is nearly solved for iPhones with the 
> provision
> for defining a proxy in APNs. VPN mobile configs also provide for
> definition of a proxy. I don't know other devices, but APNs look
> like they might be a general solution which transcend the iPhone.


Right now we have the usual industry-driven mess of a half dozen *not 
quite working* semi-proprietary methods. Admin wanting to setup an 
explicit proxy have to implement most of them. Client developers wanting 
to add proxy support have to implement most of them - just in case. And 
few people can really be bothered with that much work.

The APN method you point at being specific to iPhones makes it yet 
another vendor-specific variant to implement alongside UNIX "http_proxy" 
environment setting, Windows Group Policy proxy settings, WPAD DHCP 
lookup, WPAD DNS lookup, manual editing of config settings for hundreds 
of apps per user machine ... "bugger it just MITM port 80 and be done".

   See the problem there?


The WG needs to do something such as:
* picking up the WPAD draft and making it a proper standard,
* defining a standard SRV record,
* defining multi/broad-cast IP for proxies to listen on a port there,
* defining a standard proxy port (IANA registers a few dozen 
proprietary ports)
* a _standard_ mix of the above?
* something else?

The key thing being that we end up with a simple standard way to do it. 
When that happens we have one more axe to chip away at the MITM 
desirability.


All fine and dandy using APN on cellular networks. So long as it works 
dependably across device vendors, and the delivery of the details to the 
application software also has a standard interface for developers to use 
(libproxy is helping here but still not widely used).

Sure, we can't force everybody to follow the standard. But at least 
there will be an agreed standard to work from and point at when things 
go wrong.

Amos



From ietf-http-wg-request@listhub.w3.org  Wed Aug  8 20:24:37 2012
Return-Path: <ietf-http-wg-request@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 86B7611E80DE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Aug 2012 20:24:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.109
X-Spam-Level: 
X-Spam-Status: No, score=-8.109 tagged_above=-999 required=5 tests=[AWL=2.490, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5nE-UqsoJtwX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Aug 2012 20:24:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BEA0411E80AD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  8 Aug 2012 20:24:36 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SzJKr-0002B0-L6 for ietf-http-wg-dist@listhub.w3.org; Thu, 09 Aug 2012 03:22:57 +0000
Resent-Date: Thu, 09 Aug 2012 03:22:57 +0000
Resent-Message-Id: <E1SzJKr-0002B0-L6@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SzJKa-0002AA-Rr for ietf-http-wg@listhub.w3.org; Thu, 09 Aug 2012 03:22:40 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SzJKY-000130-MA for ietf-http-wg@w3.org; Thu, 09 Aug 2012 03:22:40 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.6 (Build 3449)) with SMTP id <0019183230@smtp.qbik.com>; Thu, 09 Aug 2012 15:22:13 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Amos Jeffries" <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Thu, 09 Aug 2012 03:22:13 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <058bf0942b9db9d7393e11be62348634@treenet.co.nz>
Message-Id: <em348d4ce4-2dae-46c6-b44f-593bb72deb9b@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SzJKY-000130-MA ff247b6cbe830e77152d37a90cb7a5b4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/em348d4ce4-2dae-46c6-b44f-593bb72deb9b@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15051
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>

=EF=BB=BF
------ Original Message ------
From: "Amos Jeffries" <squid3@treenet.co.nz>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Sent: 9/08/2012 2:59:54 p.m.
Subject: Re: Moving forward with HTTP/2.0: proposed charter
>On 09.08.2012 10:19, David Morris wrote:=20
>>On Wed, 8 Aug 2012, Salvatore Loreto wrote:=20
>>
>>>* define a 2.0 mechanism for advising clients of the proxy to use=20
>>
>
>+1.=20

+1
>
>
>>I see this as a system configuration issue and not really a problem=20
>>to be solved by the HTTP working group. It is very much a chicken/egg=20
>>problem.=20
>>
>>Beyond that, this problem is nearly solved for iPhones with the=20
>>provision=20
>>for defining a proxy in APNs. VPN mobile configs also provide for=20
>>definition of a proxy. I don't know other devices, but APNs look=20
>>like they might be a general solution which transcend the iPhone.=20
>
>
>Right now we have the usual industry-driven mess of a half dozen *not=20
>quite working* semi-proprietary methods. Admin wanting to setup an=20
>explicit proxy have to implement most of them. Client developers=20
>wanting to add proxy support have to implement most of them - just in=20
>case. And few people can really be bothered with that much work.=20
>
>The APN method you point at being specific to iPhones makes it yet=20
>another vendor-specific variant to implement alongside UNIX=20
>"http_proxy" environment setting, Windows Group Policy proxy settings,=20
>WPAD DHCP lookup, WPAD DNS lookup, manual editing of config settings=20
>for hundreds of apps per user machine ... "bugger it just MITM port 80=20
>and be done".=20

there's also UPnP :)

It's a mess.  From a proxy vendor POV, it's a bit of a nightmare.

However, most discovery mechanisms don't use HTTP, at least not for=20
everything.

However, if we had a new status code to indicate that intercepted=20
connections were not permitted, then the client could go off and do=20
discovery.

The response could even include a URL for a WPAD config script.

And before people suggest this opens huge holes to redirect people via=20
nasty proxies over the internet...

well, any browser author that wrote code that blindly used a proxy they=20
discovered through this method, without any sort of check to see if=20
it's valid (e.g. should only be on their LAN), should be put up against=20
the wall.

This is why I think the argument against 305, which caused it to be=20
deprecated I think were a bit bogus.  They ignored the fact that the=20
browser still gets to choose, and can do something a bit smarter.  Not=20
that any client implemented 305 support though, but if it had been=20
properly scoped out, I think it could have been more palatable, and=20
therefore usable.

Adrien
>
>
>  See the problem there?=20
>
>
>The WG needs to do something such as:=20
>* picking up the WPAD draft and making it a proper standard,=20
>* defining a standard SRV record,=20
>* defining multi/broad-cast IP for proxies to listen on a port there,=20
>* defining a standard proxy port (IANA registers a few dozen=20
>proprietary ports)=20
>* a _standard_ mix of the above?=20
>* something else?=20
>
>The key thing being that we end up with a simple standard way to do=20
>it. When that happens we have one more axe to chip away at the MITM=20
>desirability.=20
>
>
>All fine and dandy using APN on cellular networks. So long as it works=20
>dependably across device vendors, and the delivery of the details to=20
>the application software also has a standard interface for developers=20
>to use (libproxy is helping here but still not widely used).=20
>
>Sure, we can't force everybody to follow the standard. But at least=20
>there will be an agreed standard to work from and point at when things=20
>go wrong.=20
>
>Amos=20
>
>



From ietf-http-wg-request@listhub.w3.org  Wed Aug  8 20:55:43 2012
Return-Path: <ietf-http-wg-request@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 1099311E8146 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Aug 2012 20:55:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.245
X-Spam-Level: 
X-Spam-Status: No, score=-10.245 tagged_above=-999 required=5 tests=[AWL=0.354, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yneU4A53cqJu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Aug 2012 20:55:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F274C11E8118 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  8 Aug 2012 20:55:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SzJob-0005yi-3W for ietf-http-wg-dist@listhub.w3.org; Thu, 09 Aug 2012 03:53:41 +0000
Resent-Date: Thu, 09 Aug 2012 03:53:41 +0000
Resent-Message-Id: <E1SzJob-0005yi-3W@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SzJo8-0005xk-W2 for ietf-http-wg@listhub.w3.org; Thu, 09 Aug 2012 03:53:13 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1SzJo7-0001rO-7U for ietf-http-wg@w3.org; Thu, 09 Aug 2012 03:53:12 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id E8511E7247; Thu,  9 Aug 2012 15:52:46 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Date: Thu, 09 Aug 2012 15:52:45 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <em348d4ce4-2dae-46c6-b44f-593bb72deb9b@bombed>
References: <em348d4ce4-2dae-46c6-b44f-593bb72deb9b@bombed>
Message-ID: <53ce9bb20b2325f6bdc005fb6eb94b24@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SzJo7-0001rO-7U a7836cff62283f0c3817bd12f3b0737e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/53ce9bb20b2325f6bdc005fb6eb94b24@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15052
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 09.08.2012 15:22, Adrien W. de Croy wrote:
> ﻿
> ------ Original Message ------
> From: "Amos Jeffries" <squid3@treenet.co.nz>
> To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
> Sent: 9/08/2012 2:59:54 p.m.
> Subject: Re: Moving forward with HTTP/2.0: proposed charter
>>On 09.08.2012 10:19, David Morris wrote:
>>>On Wed, 8 Aug 2012, Salvatore Loreto wrote:
>>>
>>>>* define a 2.0 mechanism for advising clients of the proxy to use
>>>
>>
>>+1.
>
> +1
>>
>>
>>>I see this as a system configuration issue and not really a problem 
>>> to be solved by the HTTP working group. It is very much a chicken/egg 
>>> problem.
>>>
>>>Beyond that, this problem is nearly solved for iPhones with the 
>>> provision for defining a proxy in APNs. VPN mobile configs also 
>>> provide for definition of a proxy. I don't know other devices, but 
>>> APNs look like they might be a general solution which transcend the 
>>> iPhone.
>>
>>
>>Right now we have the usual industry-driven mess of a half dozen *not 
>> quite working* semi-proprietary methods. Admin wanting to setup an 
>> explicit proxy have to implement most of them. Client developers 
>> wanting to add proxy support have to implement most of them - just in 
>> case. And few people can really be bothered with that much work.
>>
>>The APN method you point at being specific to iPhones makes it yet 
>> another vendor-specific variant to implement alongside UNIX 
>> "http_proxy" environment setting, Windows Group Policy proxy settings, 
>> WPAD DHCP lookup, WPAD DNS lookup, manual editing of config settings 
>> for hundreds of apps per user machine ... "bugger it just MITM port 80 
>> and be done".
>
> there's also UPnP :)
>

Urrr.

> It's a mess.  From a proxy vendor POV, it's a bit of a nightmare.
>
> However, most discovery mechanisms don't use HTTP, at least not for
> everything.
>
> However, if we had a new status code to indicate that intercepted
> connections were not permitted, then the client could go off and do
> discovery.
>
> The response could even include a URL for a WPAD config script.
>
> And before people suggest this opens huge holes to redirect people
> via nasty proxies over the internet...
>
> well, any browser author that wrote code that blindly used a proxy
> they discovered through this method, without any sort of check to see
> if it's valid (e.g. should only be on their LAN), should be put up
> against the wall.
>
> This is why I think the argument against 305, which caused it to be
> deprecated I think were a bit bogus.  They ignored the fact that the
> browser still gets to choose, and can do something a bit smarter.  
> Not
> that any client implemented 305 support though, but if it had been
> properly scoped out, I think it could have been more palatable, and
> therefore usable.

305 sounds fine until you get to that "single request" statement.

Other requests for even other files on the same server are not to be 
fetched from the proxy by default. I don't really see the usefulness for 
that limitation. Ootherwise as you say its just a server negotiating use 
of a proxy, the browser is free to do whatever it needs in the way of 
security or alternatives.

The big stickler is that to operate, it does require an MITM. Which is 
a bit like mandating MITM in an IETF document.

An ICMP rejection code or some such which can be trivially sent by 
firewalls on the TCP SYN without MITM of the HTTP layer would be a much 
better implementation for this type of bounce. It would also work for 
both HTTP and HTTPS without breaking either ones security model.

Amos


From ietf-http-wg-request@listhub.w3.org  Wed Aug  8 23:54:32 2012
Return-Path: <ietf-http-wg-request@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 5D17111E8199 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Aug 2012 23:54:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.882
X-Spam-Level: 
X-Spam-Status: No, score=-8.882 tagged_above=-999 required=5 tests=[AWL=1.717, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lpm4Mafd0zS2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  8 Aug 2012 23:54:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A79A311E809C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  8 Aug 2012 23:54:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SzMbB-0002ek-Do for ietf-http-wg-dist@listhub.w3.org; Thu, 09 Aug 2012 06:52:01 +0000
Resent-Date: Thu, 09 Aug 2012 06:52:01 +0000
Resent-Message-Id: <E1SzMbB-0002ek-Do@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <salvatore.loreto@ericsson.com>) id 1SzMar-0002dv-QO for ietf-http-wg@listhub.w3.org; Thu, 09 Aug 2012 06:51:41 +0000
Received: from mailgw7.ericsson.se ([193.180.251.48]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <salvatore.loreto@ericsson.com>) id 1SzMan-0006yp-Bn for ietf-http-wg@w3.org; Thu, 09 Aug 2012 06:51:39 +0000
X-AuditID: c1b4fb30-b7fd46d000003161-52-50235de2295f
Received: from esessmw0197.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw7.ericsson.se (Symantec Mail Security) with SMTP id 05.B8.12641.2ED53205; Thu,  9 Aug 2012 08:51:14 +0200 (CEST)
Received: from mail.lmf.ericsson.se (153.88.115.8) by esessmw0197.eemea.ericsson.se (153.88.115.88) with Microsoft SMTP Server id 8.3.264.0; Thu, 9 Aug 2012 08:51:13 +0200
Received: from nomadiclab.lmf.ericsson.se (nomadiclab.lmf.ericsson.se [131.160.33.3])	by mail.lmf.ericsson.se (Postfix) with ESMTP id 3B5C32AD7	for <ietf-http-wg@w3.org>; Thu,  9 Aug 2012 09:51:13 +0300 (EEST)
Received: from nomadiclab.lmf.ericsson.se (localhost [127.0.0.1])	by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id B2AC853407	for <ietf-http-wg@w3.org>; Thu,  9 Aug 2012 09:51:13 +0300 (EEST)
Received: from n106.nomadiclab.com (localhost [127.0.0.1])	by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 6EFD3525FB	for <ietf-http-wg@w3.org>; Thu,  9 Aug 2012 09:51:13 +0300 (EEST)
Message-ID: <50235DE0.4030301@ericsson.com>
Date: Thu, 9 Aug 2012 09:51:12 +0300
From: Salvatore Loreto <salvatore.loreto@ericsson.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <em348d4ce4-2dae-46c6-b44f-593bb72deb9b@bombed>
In-Reply-To: <em348d4ce4-2dae-46c6-b44f-593bb72deb9b@bombed>
Content-Type: text/plain; charset="UTF-8"; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrDLMWRmVeSWpSXmKPExsUyM+Jvre6jWOUAgzmf1S0Ot8xicmD0ODpv P2sAYxSXTUpqTmZZapG+XQJXxtzDnxgLHglUrPy0nqmBcTVvFyMnh4SAicT3rd3MELaYxIV7 69m6GLk4hAROMUocXDwTyOEActYzSvTJQMSvMkrcnLuOGcI5wShx/+VBRgjnIKPE84V72EFG 8QpoS0z8vIcNxGYRUJF4v3gxK4jNJmAm8fzhFrB1ogKJEp/n32CCqBeUODnzCQuILSIgLtF1 fwcjiC0sYC0x4fcOsBohIHvJ5sVgvZwCNhIrjm0Gs5kFLCQWvznIDmHLS2x/OwfqHTWJq+c2 MUP0akn0nu1kmsAoMgvJullI2mchaV/AyLyKUTg3MTMnvdxcL7UoM7m4OD9Przh1EyMwxA9u +W2wg3HTfbFDjNIcLErivHqq+/2FBNITS1KzU1MLUovii0pzUosPMTJxcEo1MMr1Pph6533l s3WzTRr9lY/qmK/+s7SBaVG+rKJhxfYDDs9XSa16r7Q89NfV92vvvZB82cldmdsyXTEqj3XN AZOsfXyRkwOfNWulSfjkfnudsfLQgcv+Vx4EzeJZfLe5KDxKf3mfpXfTe9nLfHzqkgdmbZvX z+2wyjgm3T/xI1Prireqi1dYiymxFGckGmoxFxUnAgCv2hvrPwIAAA==
Received-SPF: pass client-ip=193.180.251.48; envelope-from=salvatore.loreto@ericsson.com; helo=mailgw7.ericsson.se
X-W3C-Hub-Spam-Status: No, score=-1.5
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SzMan-0006yp-Bn 33082ce7ef59a1ad49c9afce2f2e0f03
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Moving forward with HTTP/2.0: proposed charter
Archived-At: <http://www.w3.org/mid/50235DE0.4030301@ericsson.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15053
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 8/9/12 6:22 AM, Adrien W. de Croy wrote:
> ------ Original Message ------
> From: "Amos Jeffries"<squid3@treenet.co.nz>
> To:"ietf-http-wg@w3.org"  <ietf-http-wg@w3.org>
> Sent: 9/08/2012 2:59:54 p.m.
> Subject: Re: Moving forward with HTTP/2.0: proposed charter
>> >On 09.08.2012 10:19, David Morris wrote:
>>> >>On Wed, 8 Aug 2012, Salvatore Loreto wrote:
>>> >>
>>>> >>>* define a 2.0 mechanism for advising clients of the proxy to use
>>> >>
>> >
>> >+1.
> +1
>> >
>> >
>>> >>I see this as a system configuration issue and not really a problem
>>> >>to be solved by the HTTP working group. It is very much a chicken/egg
>>> >>problem.
>>> >>
>>> >>Beyond that, this problem is nearly solved for iPhones with the
>>> >>provision
>>> >>for defining a proxy in APNs. VPN mobile configs also provide for
>>> >>definition of a proxy. I don't know other devices, but APNs look
>>> >>like they might be a general solution which transcend the iPhone.


I concur that Mobile telecom networks have to provide a standard way for 
advising clients
of the proxy to use i.e. in APNs or during DHCP lookup

perhaps the wg should liaise with e.g. 3GPP  on this issue .


Having said that,
I do think the wg should also work (in its 2.0 effort)
on a standard mechanism to easily discover and setup an explicit proxy


/Sal


>> >
>> >
>> >Right now we have the usual industry-driven mess of a half dozen *not
>> >quite working* semi-proprietary methods. Admin wanting to setup an
>> >explicit proxy have to implement most of them. Client developers
>> >wanting to add proxy support have to implement most of them - just in
>> >case. And few people can really be bothered with that much work.
>> >
>> >The APN method you point at being specific to iPhones makes it yet
>> >another vendor-specific variant to implement alongside UNIX
>> >"http_proxy" environment setting, Windows Group Policy proxy settings,
>> >WPAD DHCP lookup, WPAD DNS lookup, manual editing of config settings
>> >for hundreds of apps per user machine ... "bugger it just MITM port 80
>> >and be done".
> there's also UPnP:)




From ietf-http-wg-request@listhub.w3.org  Thu Aug  9 14:26:04 2012
Return-Path: <ietf-http-wg-request@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 585DC21F8611 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Aug 2012 14:26:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.743
X-Spam-Level: 
X-Spam-Status: No, score=-9.743 tagged_above=-999 required=5 tests=[AWL=0.233, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pq6YfK8tYeYs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Aug 2012 14:26:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 720F221F8609 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  9 Aug 2012 14:26:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SzaCf-0000si-SW for ietf-http-wg-dist@listhub.w3.org; Thu, 09 Aug 2012 21:23:37 +0000
Resent-Date: Thu, 09 Aug 2012 21:23:37 +0000
Resent-Message-Id: <E1SzaCf-0000si-SW@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SzaCN-0000oW-0T for ietf-http-wg@listhub.w3.org; Thu, 09 Aug 2012 21:23:19 +0000
Received: from mail-lpp01m010-f43.google.com ([209.85.215.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SzaCL-0001S7-Gy for ietf-http-wg@w3.org; Thu, 09 Aug 2012 21:23:18 +0000
Received: by lagk11 with SMTP id k11so488437lag.2 for <ietf-http-wg@w3.org>; Thu, 09 Aug 2012 14:22:50 -0700 (PDT)
X-Google-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:x-gm-message-state; bh=w7rhoErY2/8hWcLLhj59HFx4vNvY0q4fsNmhPW1CeTo=; b=XSbXh7ejiUJiqkQrlhiXOeltsdvdmb/lTSuYCSlKdOBo4D+0rPHTGa7MnSf43vZZQ3 u+a/MkaNl+kSbS2jV5D0tt0fuJBdhJ2G5+A/FATU8c8rQzRj5a94WTki8PLUq54Wv/P9 iHImh8vbsLXtqhrxdDEC7REpq9LS7DihfEdhS9hcUa8RyybVcqvGDQevLovqp7C4gq2o vsnzsk3wL2pY6GSybHdwFJWXVWYuqZ7DhjYRXrez61tTFTjMZYDdrPR+UD2SptAFXTic 8Vigfou8x3DNwvBxl3hm95TzHY912rfQXLZuFTwjxTL/FiHDUDdEBpnZQTeAARqYuoVw /ULw==
MIME-Version: 1.0
Received: by 10.152.112.234 with SMTP id it10mr632957lab.36.1344547370652; Thu, 09 Aug 2012 14:22:50 -0700 (PDT)
Received: by 10.112.77.33 with HTTP; Thu, 9 Aug 2012 14:22:50 -0700 (PDT)
In-Reply-To: <50220332.70705@treenet.co.nz>
References: <CABP7RbdJCen4n37FcPsmq3-M6kujaAoPLKyfFHCq2jSo+f6_0A@mail.gmail.com> <em0e78faca-18bb-4fde-8c4a-83b3ddc652a5@bombed> <CABP7RbfCLNhEMpVFSVwnrJs8cyB+57TXnU9z0cskoGue_vCeAw@mail.gmail.com> <50220332.70705@treenet.co.nz>
Date: Thu, 9 Aug 2012 14:22:50 -0700
Message-ID: <CABaLYCs4MMH2iGp6fzR_mz=2Df=t+OGAzy0vOGLUTTqe-mOJtQ@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0408391969535504c6dbd40d
X-Gm-Message-State: ALoCoQnIMjxVhMZW+lcWLho1jm3J47daJGMPcYXs8eILz6iKwYy6oqCn0JwTyY2nCUPDjQc1inLx
Received-SPF: none client-ip=209.85.215.43; envelope-from=mike@belshe.com; helo=mail-lpp01m010-f43.google.com
X-W3C-Hub-Spam-Status: No, score=0.1
X-W3C-Hub-Spam-Report: BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SzaCL-0001S7-Gy 4533164357a9714aa195a70b20dce159
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/CABaLYCs4MMH2iGp6fzR_mz=2Df=t+OGAzy0vOGLUTTqe-mOJtQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15054
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>

--f46d0408391969535504c6dbd40d
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Aug 7, 2012 at 11:12 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:

> On 8/08/2012 12:33 p.m., James M Snell wrote:
>
>> On Tue, Aug 7, 2012 at 4:26 PM, Adrien W. de Croy <adrien@qbik.com<mailto:
>> adrien@qbik.com>> wrote:
>>
>>
>>     ------ Original Message ------
>>     From: "James M Snell" <jasnell@gmail.com <mailto:jasnell@gmail.com>>
>>
>>>     What exactly is your worry?
>>>
>>>     My general concern about it deals more with application handling
>>>     of the response than with anything else... it would be good to
>>>     apply some rules... for instance...
>>>
>>>     1. An updated :status header MUST ONLY be sent if the initial
>>>     SYN_REPLY :status header is a 1xx response code,
>>>     2. No more than one 1xx response code can be sent per response,
>>>
>>     this contravenes 2616 which explicitly states that any number may
>>     be sent, and must be handled appropriately.
>>
>>>     3. Once a non 1xx :status has been sent, it is a protocol error
>>>     to send any additional :status headers,
>>>
>>     this is a semantic change.   We actually now use multiple 1xx for
>>     status updates in the lab.  I don't know if there are other uses,
>>     but there are legitimate use-cases for it.
>>     If 2.0 can support some other OOB notification mechanism, then all
>>     well and good.
>>
>>
>> Aw man.. you had to go and ruin it with Reality... how annoying ;-) I
>> suppose that, at least in theory, we could support multiple 1xx :status
>> headers to be sent so long as the final non-1xx :status is still sent
>> *before* any response DATA frames, but that does get kind of messy and
>> tedious... we'd end up having to check every HEADERS frame for a possible
>> :status header that overrides the previously received one... and that just
>> gets silly.
>>
>
> Take a gander through the network-friendly-00 draft. Notice how the
> response status has a frame type of its own for precisely this use-case.
> The frame type and status value is easily available in the envelope octets
> for this validity check to be done at high speed without having to muddle
> through any of the rest of the frame(s) structure.
>
>
>
>> The one thing I would note, however, is that HEADERS frames can be sent
>> anytime in the stream making it possible for other kinds of signaling
>> beyond :status to occur. The only restriction being how such additional
>> HEADERS frames affect the HTTP semantics.
>>
>
> +1.


When you do this, it opens up a new set of things to define:
   - what happens if a header is superseded later? can you send the same
header twice?
   - when can a receiver know when headers are 'done'?  If you sent one set
of cache-related headers, can you send further ones later?

I know these sound like edges, and even the spdy framer sort-of allows
header frames at any time... but at the app layer, it creates a lot of new
questions that http doesn't have today.  this is why in SPDY we just said
"although the framing layer can do it, for HTTP's purposes, you (mostly)
can't".

Mike





>
> Amos
>
>

--f46d0408391969535504c6dbd40d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Aug 7, 2012 at 11:12 PM, Amos Je=
ffries <span dir=3D"ltr">&lt;<a href=3D"mailto:squid3@treenet.co.nz" target=
=3D"_blank">squid3@treenet.co.nz</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
On 8/08/2012 12:33 p.m., James M Snell wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">
On Tue, Aug 7, 2012 at 4:26 PM, Adrien W. de Croy &lt;<a href=3D"mailto:adr=
ien@qbik.com" target=3D"_blank">adrien@qbik.com</a> &lt;mailto:<a href=3D"m=
ailto:adrien@qbik.com" target=3D"_blank">adrien@qbik.com</a>&gt;&gt; wrote:=
<br>

<br>
<br>
=A0 =A0 ------ Original Message ------<br></div><div class=3D"im">
=A0 =A0 From: &quot;James M Snell&quot; &lt;<a href=3D"mailto:jasnell@gmail=
.com" target=3D"_blank">jasnell@gmail.com</a> &lt;mailto:<a href=3D"mailto:=
jasnell@gmail.com" target=3D"_blank">jasnell@gmail.com</a>&gt;&gt;<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
=A0 =A0 What exactly is your worry?<br>
<br>
=A0 =A0 My general concern about it deals more with application handling<br=
>
=A0 =A0 of the response than with anything else... it would be good to<br>
=A0 =A0 apply some rules... for instance...<br>
<br>
=A0 =A0 1. An updated :status header MUST ONLY be sent if the initial<br>
=A0 =A0 SYN_REPLY :status header is a 1xx response code,<br>
=A0 =A0 2. No more than one 1xx response code can be sent per response,<br>
</blockquote>
=A0 =A0 this contravenes 2616 which explicitly states that any number may<b=
r>
=A0 =A0 be sent, and must be handled appropriately.<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
=A0 =A0 3. Once a non 1xx :status has been sent, it is a protocol error<br>
=A0 =A0 to send any additional :status headers,<br>
</blockquote>
=A0 =A0 this is a semantic change. =A0 We actually now use multiple 1xx for=
<br>
=A0 =A0 status updates in the lab. =A0I don&#39;t know if there are other u=
ses,<br>
=A0 =A0 but there are legitimate use-cases for it.<br>
=A0 =A0 If 2.0 can support some other OOB notification mechanism, then all<=
br>
=A0 =A0 well and good.<br>
<br>
<br>
Aw man.. you had to go and ruin it with Reality... how annoying ;-) I suppo=
se that, at least in theory, we could support multiple 1xx :status headers =
to be sent so long as the final non-1xx :status is still sent *before* any =
response DATA frames, but that does get kind of messy and tedious... we&#39=
;d end up having to check every HEADERS frame for a possible :status header=
 that overrides the previously received one... and that just gets silly.<br=
>

</div></blockquote>
<br>
Take a gander through the network-friendly-00 draft. Notice how the respons=
e status has a frame type of its own for precisely this use-case. The frame=
 type and status value is easily available in the envelope octets for this =
validity check to be done at high speed without having to muddle through an=
y of the rest of the frame(s) structure.<div class=3D"im">
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
The one thing I would note, however, is that HEADERS frames can be sent any=
time in the stream making it possible for other kinds of signaling beyond :=
status to occur. The only restriction being how such additional HEADERS fra=
mes affect the HTTP semantics.<br>

</blockquote>
<br></div>
+1.</blockquote><div><br></div><div>When you do this, it opens up a new set=
 of things to define:</div><div>=A0 =A0- what happens if a header is supers=
eded later? can you send the same header twice?</div><div>=A0 =A0- when can=
 a receiver know when headers are &#39;done&#39;? =A0If you sent one set of=
 cache-related headers, can you send further ones later?</div>
<div>=A0=A0</div><div>I know these sound like edges, and even the spdy fram=
er sort-of allows header frames at any time... but at the app layer, it cre=
ates a lot of new questions that http doesn&#39;t have today. =A0this is wh=
y in SPDY we just said &quot;although the framing layer can do it, for HTTP=
&#39;s purposes, you (mostly) can&#39;t&quot;.</div>
<div><br></div><div>Mike</div><div><br></div><div><br></div><div><br></div>=
<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"HOEnZb"><font =
color=3D"#888888"><br>

<br>
Amos<br>
<br>
</font></span></blockquote></div><br>

--f46d0408391969535504c6dbd40d--


From ietf-http-wg-request@listhub.w3.org  Thu Aug  9 14:48:58 2012
Return-Path: <ietf-http-wg-request@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 8CC9121F870F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Aug 2012 14:48:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LUmz5ehMq0Ff for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Aug 2012 14:48:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7A31621F86FE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  9 Aug 2012 14:48:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SzaZb-0002y9-7U for ietf-http-wg-dist@listhub.w3.org; Thu, 09 Aug 2012 21:47:19 +0000
Resent-Date: Thu, 09 Aug 2012 21:47:19 +0000
Resent-Message-Id: <E1SzaZb-0002y9-7U@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <karld@opera.com>) id 1SzaZN-0002xJ-Nf for ietf-http-wg@listhub.w3.org; Thu, 09 Aug 2012 21:47:05 +0000
Received: from smtp.opera.com ([213.236.208.81]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <karld@opera.com>) id 1SzaZM-00025b-59 for ietf-http-wg@w3.org; Thu, 09 Aug 2012 21:47:05 +0000
Received: from [192.168.43.247] (174-144-128-141.pools.spcsdns.net [174.144.128.141]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q79LkRn2015271 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 9 Aug 2012 21:46:31 GMT
References: <CABP7RbfFj__CeriiJA-caEda_h0K5b__oj6-zYRuA=BgSofuhA@mail.gmail.com> <CAP+FsNc_u0Ocg+in7e52hHRssm-FASf8cYE88QoyNnmPTYLzDg@mail.gmail.com> <CABP7RbcKKedmhNJe-nLz531wrfLW=zV6SLyvy1Ua6Vx8USQjuQ@mail.gmail.com> <E67EC141-85D9-4F64-920F-9F3EAB251DC7@mnot.net> <3a5e13b85e7c434aabd280da9d3bf925@BLUPR03MB613.namprd03.prod.outlook.com>
In-Reply-To: <3a5e13b85e7c434aabd280da9d3bf925@BLUPR03MB613.namprd03.prod.outlook.com>
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
Message-Id: <A97E0770-8397-4514-B69A-C412C34EA3C7@opera.com>
Content-Transfer-Encoding: quoted-printable
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
From: Karl Dubost <karld@opera.com>
Date: Thu, 9 Aug 2012 14:46:25 -0700
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
X-Mailer: Apple Mail (2.1278)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=karld@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-1.5
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SzaZM-00025b-59 2fea411b8a824af7aa7678ac99e633b1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/A97E0770-8397-4514-B69A-C412C34EA3C7@opera.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15055
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>

Henrik,

Le 7 ao=FBt 2012 =E0 09:05, Henrik Frystyk Nielsen a =E9crit :
> A mechanism like the 100-continue is critical for supporting requests =
containing entity data that results in authentication needed, redirect, =
or other "intermediate "responses in an efficient and robust manner.

That's the spec
On the browser side, in Opera we had issues with some Web sites such as =
Instapaper and easyjet. Opera was sending=20

Opera sends=20
Expect: 100-continue

The server replies with=20
100 continue

and then drop the connections for no reasons after a 200 OK before =
reaching the end of the Content-Length.

I don't remember if Opera decided to remove the support for it as it was =
creating troubles. I could check.


--=20
Karl Dubost - http://dev.opera.com/
Developer Relations, Opera Software



From ietf-http-wg-request@listhub.w3.org  Thu Aug  9 15:57:04 2012
Return-Path: <ietf-http-wg-request@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 4B50111E8097 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Aug 2012 15:57:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.788
X-Spam-Level: 
X-Spam-Status: No, score=-9.788 tagged_above=-999 required=5 tests=[AWL=0.810, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9TnmaeUBUiIC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Aug 2012 15:57:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8DA0E11E8072 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  9 Aug 2012 15:57:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SzbdX-0006k9-FS for ietf-http-wg-dist@listhub.w3.org; Thu, 09 Aug 2012 22:55:27 +0000
Resent-Date: Thu, 09 Aug 2012 22:55:27 +0000
Resent-Message-Id: <E1SzbdX-0006k9-FS@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SzbdB-0006ii-E7 for ietf-http-wg@listhub.w3.org; Thu, 09 Aug 2012 22:55:05 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SzbdA-0003zm-CC for ietf-http-wg@w3.org; Thu, 09 Aug 2012 22:55:05 +0000
Received: by wgbdq12 with SMTP id dq12so799512wgb.26 for <ietf-http-wg@w3.org>; Thu, 09 Aug 2012 15:54:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=EV9emVdnymogQ1VQi3iTmFB42U/GYHyLDZY6dLFq90w=; b=fmoL4JKAWlvkRzR57vjQa9clZYne1z4OUt8Sj03iYuEN62CPt8XYjpfTwnQzg7HvGj +YY6dycZ2qpOAxyCaJJZ/Nmd/mrhTjORyZBkMry/dE38xwQ0mc1g7+3Fnjbn/l+hj1fw W1C3hMK37/PLRRbguZQz2yWvsZTl1zBqySmuk1Cf3Fi/Ofpd5tUAs3GArRKciCloZhCW DtBIdZC2NLqOIW746XvBMhq7s/8lrY70aiH6XZcPGrcSISSO4vcm1SfMn1KQ3q0zzvC9 Y2sN9iveIwPrR5HACdHEoJ05zWUSwEx/s7f9gJqHNzHrxvb/Xz0gCVwpsj3A39uZXc/e kTrA==
MIME-Version: 1.0
Received: by 10.180.78.99 with SMTP id a3mr407180wix.15.1344552877919; Thu, 09 Aug 2012 15:54:37 -0700 (PDT)
Received: by 10.223.171.72 with HTTP; Thu, 9 Aug 2012 15:54:37 -0700 (PDT)
Received: by 10.223.171.72 with HTTP; Thu, 9 Aug 2012 15:54:37 -0700 (PDT)
In-Reply-To: <CABaLYCs4MMH2iGp6fzR_mz=2Df=t+OGAzy0vOGLUTTqe-mOJtQ@mail.gmail.com>
References: <CABP7RbdJCen4n37FcPsmq3-M6kujaAoPLKyfFHCq2jSo+f6_0A@mail.gmail.com> <em0e78faca-18bb-4fde-8c4a-83b3ddc652a5@bombed> <CABP7RbfCLNhEMpVFSVwnrJs8cyB+57TXnU9z0cskoGue_vCeAw@mail.gmail.com> <50220332.70705@treenet.co.nz> <CABaLYCs4MMH2iGp6fzR_mz=2Df=t+OGAzy0vOGLUTTqe-mOJtQ@mail.gmail.com>
Date: Thu, 9 Aug 2012 15:54:37 -0700
Message-ID: <CABP7RbdeDP=PAbheu1VHTn_-M4eH7j9is5akfXTBU0LJ=Tnzbg@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d04389041ab8ef704c6dd1ca2
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SzbdA-0003zm-CC ea07af36f00bec073d84ac989de910c4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/CABP7RbdeDP=PAbheu1VHTn_-M4eH7j9is5akfXTBU0LJ=Tnzbg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15056
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>

--f46d04389041ab8ef704c6dd1ca2
Content-Type: text/plain; charset=UTF-8

On Aug 9, 2012 2:26 PM, "Mike Belshe" <mike@belshe.com> wrote:
>
>
[Snip]
>
>
> When you do this, it opens up a new set of things to define:
>    - what happens if a header is superseded later? can you send the same
header twice?

There is a definite trade off in complexity, that's for sure... but if we
need to support 1xx responses I don't see another way to do it without
increasing the complexity even further.

Headers would essentially be single value, if a subsequent headers frame
repeats a previously seen header, the value for that header is replaced. If
the application has already processed that header, the application needs to
figure out how to handle the situation.

>    - when can a receiver know when headers are 'done'?  If you sent one
set of cache-related headers, can you send further ones later?

The headers are done once the first data frame is sent or the FIN is
received.

For cache headers, it would be important to note that repeated headers
would replace the existing value, not add to the value, so subsequent cache
control headers would supersede any that came before.

>
> I know these sound like edges, and even the spdy framer sort-of allows
header frames at any time... but at the app layer, it creates a lot of new
questions that http doesn't have today.  this is why in SPDY we just said
"although the framing layer can do it, for HTTP's purposes, you (mostly)
can't".
>

Understood, and the reasoning is sound, but there really doesn't appear to
be another simpler way of supporting provisional responses. There is an
increased burden on the developer to handle repeated headers properly but I
doubt that burden is much more than what developers are already accustomed
to.

- James

> Mike
>
>
>
>
>>
>>
>> Amos
>>
>

--f46d04389041ab8ef704c6dd1ca2
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
On Aug 9, 2012 2:26 PM, &quot;Mike Belshe&quot; &lt;<a href=3D"mailto:mike@=
belshe.com">mike@belshe.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
[Snip]<br>
&gt;<br>
&gt;<br>
&gt; When you do this, it opens up a new set of things to define:<br>
&gt; =C2=A0 =C2=A0- what happens if a header is superseded later? can you s=
end the same header twice?</p>
<p dir=3D"ltr">There is a definite trade off in complexity, that&#39;s for =
sure... but if we need to support 1xx responses I don&#39;t see another way=
 to do it without increasing the complexity even further.</p>
<p dir=3D"ltr">Headers would essentially be single value, if a subsequent h=
eaders frame repeats a previously seen header, the value for that header is=
 replaced. If the application has already processed that header, the applic=
ation needs to figure out how to handle the situation. </p>

<p dir=3D"ltr">&gt; =C2=A0 =C2=A0- when can a receiver know when headers ar=
e &#39;done&#39;? =C2=A0If you sent one set of cache-related headers, can y=
ou send further ones later?</p>
<p dir=3D"ltr">The headers are done once the first data frame is sent or th=
e FIN is received.</p>
<p dir=3D"ltr">For cache headers, it would be important to note that repeat=
ed headers would replace the existing value, not add to the value, so subse=
quent cache control headers would supersede any that came before. </p>
<p dir=3D"ltr">&gt; =C2=A0=C2=A0<br>
&gt; I know these sound like edges, and even the spdy framer sort-of allows=
 header frames at any time... but at the app layer, it creates a lot of new=
 questions that http doesn&#39;t have today. =C2=A0this is why in SPDY we j=
ust said &quot;although the framing layer can do it, for HTTP&#39;s purpose=
s, you (mostly) can&#39;t&quot;.<br>

&gt;</p>
<p dir=3D"ltr">Understood, and the reasoning is sound, but there really doe=
sn&#39;t appear to be another simpler way of supporting provisional respons=
es. There is an increased burden on the developer to handle repeated header=
s properly but I doubt that burden is much more than what developers are al=
ready accustomed to. </p>

<p dir=3D"ltr">- James</p>
<p dir=3D"ltr">&gt; Mike<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Amos<br>
&gt;&gt;<br>
&gt;</p>

--f46d04389041ab8ef704c6dd1ca2--


From ietf-http-wg-request@listhub.w3.org  Thu Aug  9 17:11:33 2012
Return-Path: <ietf-http-wg-request@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 3096A11E8099 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Aug 2012 17:11:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.141
X-Spam-Level: 
X-Spam-Status: No, score=-8.141 tagged_above=-999 required=5 tests=[AWL=2.457, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YoCSgFrLUbrA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Aug 2012 17:11:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6407811E808A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  9 Aug 2012 17:11:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SzcnR-0005Ky-Cu for ietf-http-wg-dist@listhub.w3.org; Fri, 10 Aug 2012 00:09:45 +0000
Resent-Date: Fri, 10 Aug 2012 00:09:45 +0000
Resent-Message-Id: <E1SzcnR-0005Ky-Cu@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1SzcnB-0005K9-BP for ietf-http-wg@listhub.w3.org; Fri, 10 Aug 2012 00:09:29 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1Szcn9-0000Kq-62 for ietf-http-wg@w3.org; Fri, 10 Aug 2012 00:09:29 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.2.6 (Build 3449)) with SMTP id <0019184904@smtp.qbik.com>; Fri, 10 Aug 2012 12:09:04 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "James M Snell" <jasnell@gmail.com>, "Mike Belshe" <mike@belshe.com>
Cc: "Amos Jeffries" <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Fri, 10 Aug 2012 00:09:04 +0000
Content-Type: multipart/alternative; boundary="------=_MBDEC0ACFA-134F-4025-B9A1-2D779B361A4E"
In-Reply-To: <CABP7RbdeDP=PAbheu1VHTn_-M4eH7j9is5akfXTBU0LJ=Tnzbg@mail.gmail.com>
Message-Id: <emda4723c0-9232-47d7-9dd0-f678aa2bbd3e@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Szcn9-0000Kq-62 e7f394f252dc92931fd337035cd03d45
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/emda4723c0-9232-47d7-9dd0-f678aa2bbd3e@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15057
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>

--------=_MBDEC0ACFA-134F-4025-B9A1-2D779B361A4E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8


do we even envisage sending entity headers on 1xx responses?

I don't know if it's a good idea.

in which case, we'd only get entity headers on the final response=20
before the data.

Adrien



------ Original Message ------
From: "James M Snell" <jasnell@gmail.com>
To: "Mike Belshe" <mike@belshe.com>
Cc: "Amos Jeffries" <squid3@treenet.co.nz>;"ietf-http-wg@w3.org"=20
<ietf-http-wg@w3.org>
Sent: 10/08/2012 10:54:37 a.m.
Subject: Re: Some general SPDY feedback / questions
>
>On Aug 9, 2012 2:26 PM, "Mike Belshe" <mike@belshe.com> wrote:
>>
>>
>[Snip]
>>
>>
>> When you do this, it opens up a new set of things to define:
>>    - what happens if a header is superseded later? can you send the=20
>same header twice?
>There is a definite trade off in complexity, that's for sure... but if=20
>we need to support 1xx responses I don't see another way to do it=20
>without increasing the complexity even further.
>Headers would essentially be single value, if a subsequent headers=20
>frame repeats a previously seen header, the value for that header is=20
>replaced. If the application has already processed that header, the=20
>application needs to figure out how to handle the situation.=20
>>    - when can a receiver know when headers are 'done'?  If you sent=20
>one set of cache-related headers, can you send further ones later?
>The headers are done once the first data frame is sent or the FIN is=20
>received.
>For cache headers, it would be important to note that repeated headers=20
>would replace the existing value, not add to the value, so subsequent=20
>cache control headers would supersede any that came before.=20
>>  =20
>> I know these sound like edges, and even the spdy framer sort-of=20
>allows header frames at any time... but at the app layer, it creates a=20
>lot of new questions that http doesn't have today.  this is why in=20
>SPDY we just said "although the framing layer can do it, for HTTP's=20
>purposes, you (mostly) can't".
>>
>Understood, and the reasoning is sound, but there really doesn't=20
>appear to be another simpler way of supporting provisional responses.=20
>There is an increased burden on the developer to handle repeated=20
>headers properly but I doubt that burden is much more than what=20
>developers are already accustomed to.=20
>- James
>> Mike
>>
>>
>>
>>
>>>
>>>
>>> Amos
>>>
>>

--------=_MBDEC0ACFA-134F-4025-B9A1-2D779B361A4E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8

<HTML><HEAD>
<STYLE id=3DeMClientCss>blockquote.cite { margin-left: 5px; margin-right:=
 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #000000=
 }
.plain pre { font-family: monospace; font-size: 100%; font-weight: normal;=
 font-style: normal; }
body {font-family: Tahoma;font-size: 12pt;}
.plain pre {font-family: Tahoma;font-size: 12pt;}

#0176fea52186433cbb23c7aa3cabe18b BLOCKQUOTE.cite
{BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px}
#0176fea52186433cbb23c7aa3cabe18b .plain PRE
{FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal}
#0176fea52186433cbb23c7aa3cabe18b=20
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}
#0176fea52186433cbb23c7aa3cabe18b .plain PRE
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}</STYLE>
</HEAD>
<BODY scroll=3Dauto class>
<DIV>&nbsp;</DIV>
<DIV>do we even envisage sending entity headers on 1xx responses?</DIV>
<DIV>&nbsp;</DIV>
<DIV>I don't know if it's a good idea.</DIV>
<DIV>&nbsp;</DIV>
<DIV>in which case, we'd only get entity headers on the final response befo=
re the data.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Adrien</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>------ Original Message ------<BR>From: "James M Snell" &lt;jasnel=
l@gmail.com&gt;<BR>To: "Mike Belshe" &lt;mike@belshe.com&gt;<BR>Cc: "Amos=
 Jeffries" &lt;squid3@treenet.co.nz&gt;;"ietf-http-wg@w3.org" &lt;ietf-http=
-wg@w3.org&gt;<BR>Sent: 10/08/2012 10:54:37 a.m.<BR>Subject: Re: Some gener=
al SPDY feedback / questions<BR></DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABP7RbdeDP=3DPAbheu1VHTn_-M4eH7j9is5akfXTB=
U0LJ=3DTnzbg@mail.gmail.com type=3D"cite">
<DIV id=3D0176fea52186433cbb23c7aa3cabe18b>
<P dir=3Dltr><BR>On Aug 9, 2012 2:26 PM, "Mike Belshe" &lt;<A href=3D"mailt=
o:mike@belshe.com"><A href=3D"mailto:mike@belshe.com">mike@belshe.com</A></=
A>&gt; wrote:<BR>&gt;<BR>&gt;<BR>[Snip]<BR>&gt;<BR>&gt;<BR>&gt; When you=
 do this, it opens up a new set of things to define:<BR>&gt; &nbsp; &nbsp;-=
 what happens if a header is superseded later? can you send the same header=
 twice?</P>
<P dir=3Dltr>There is a definite trade off in complexity, that's for sure..=
. but if we need to support 1xx responses I don't see another way to do =
it without increasing the complexity even further.</P>
<P dir=3Dltr>Headers would essentially be single value, if a subsequent =
headers frame repeats a previously seen header, the value for that header=
 is replaced. If the application has already processed that header, the =
application needs to figure out how to handle the situation. </P>
<P dir=3Dltr>&gt; &nbsp; &nbsp;- when can a receiver know when headers are=
 'done'? &nbsp;If you sent one set of cache-related headers, can you send=
 further ones later?</P>
<P dir=3Dltr>The headers are done once the first data frame is sent or the=
 FIN is received.</P>
<P dir=3Dltr>For cache headers, it would be important to note that repeated=
 headers would replace the existing value, not add to the value, so subsequ=
ent cache control headers would supersede any that came before. </P>
<P dir=3Dltr>&gt; &nbsp;&nbsp;<BR>&gt; I know these sound like edges, and=
 even the spdy framer sort-of allows header frames at any time... but at=
 the app layer, it creates a lot of new questions that http doesn't have=
 today. &nbsp;this is why in SPDY we just said "although the framing layer=
 can do it, for HTTP's purposes, you (mostly) can't".<BR>&gt;</P>
<P dir=3Dltr>Understood, and the reasoning is sound, but there really doesn=
't appear to be another simpler way of supporting provisional responses.=
 There is an increased burden on the developer to handle repeated headers=
 properly but I doubt that burden is much more than what developers are =
already accustomed to. </P>
<P dir=3Dltr>- James</P>
<P dir=3Dltr>&gt; Mike<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;&gt;<BR>&gt;&=
gt;<BR>&gt;&gt; Amos<BR>&gt;&gt;<BR>&gt;</P></DIV></BLOCKQUOTE></BODY></HTM=
L>
--------=_MBDEC0ACFA-134F-4025-B9A1-2D779B361A4E--



From ietf-http-wg-request@listhub.w3.org  Thu Aug  9 18:48:08 2012
Return-Path: <ietf-http-wg-request@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 C73E021F863B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Aug 2012 18:48:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.269
X-Spam-Level: 
X-Spam-Status: No, score=-10.269 tagged_above=-999 required=5 tests=[AWL=0.329, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a9VgQx8wwlVQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  9 Aug 2012 18:48:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 033D721F861F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  9 Aug 2012 18:48:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SzeIw-0004w3-3k for ietf-http-wg-dist@listhub.w3.org; Fri, 10 Aug 2012 01:46:22 +0000
Resent-Date: Fri, 10 Aug 2012 01:46:22 +0000
Resent-Message-Id: <E1SzeIw-0004w3-3k@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SzeIY-0004sw-Gh for ietf-http-wg@listhub.w3.org; Fri, 10 Aug 2012 01:45:58 +0000
Received: from mail-wi0-f169.google.com ([209.85.212.169]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1SzeIV-0003fs-G1 for ietf-http-wg@w3.org; Fri, 10 Aug 2012 01:45:58 +0000
Received: by wibhm2 with SMTP id hm2so816115wib.2 for <ietf-http-wg@w3.org>; Thu, 09 Aug 2012 18:45:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ATavlh5EYV8mcDzSQ/Ygoxl/iyDZkSBVePJpJoXtWMY=; b=pjZLcM1nclbhe68rFpgfY5f9nUtXPb15GBNlxtdPVJrcVtBMWyfl9SVK6nwGd1jDvx Q0uTN1m0/vnRONdv2LNe/hT1cIcBuFnOiKcp1FSNLy/GI7iInxEkJrW9DPVm/on7k4vV 6FXZW6VU+AsSQMn7Ua5ABwbLz7T3UesaJ8yoAHTXBQ4d5NjIAzJlayD6iApF2fzQHE1t 7m2qO0kDxGCnvhpYlAqEsTPOvcKNlDzLmyDKFZbsX13NPrjOG0YtRAF3iAFArzBrjkbG LAZzoq8sSe402qRamM81g8uWqROS5PIxfrBvfXBu265nROPGn3J3h8FOjizrsYs3NltD aEog==
MIME-Version: 1.0
Received: by 10.216.237.193 with SMTP id y43mr727775weq.75.1344563128728; Thu, 09 Aug 2012 18:45:28 -0700 (PDT)
Received: by 10.223.171.72 with HTTP; Thu, 9 Aug 2012 18:45:28 -0700 (PDT)
Received: by 10.223.171.72 with HTTP; Thu, 9 Aug 2012 18:45:28 -0700 (PDT)
In-Reply-To: <emda4723c0-9232-47d7-9dd0-f678aa2bbd3e@bombed>
References: <CABP7RbdeDP=PAbheu1VHTn_-M4eH7j9is5akfXTBU0LJ=Tnzbg@mail.gmail.com> <emda4723c0-9232-47d7-9dd0-f678aa2bbd3e@bombed>
Date: Thu, 9 Aug 2012 18:45:28 -0700
Message-ID: <CABP7RbdNWSm_qWwnnKks3NtKwWrNk5Sy_Tj85HjunZV3hx6aKg@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org,  Mike Belshe <mike@belshe.com>
Content-Type: multipart/alternative; boundary=0015175774feaa7d5904c6df7f83
Received-SPF: pass client-ip=209.85.212.169; envelope-from=jasnell@gmail.com; helo=mail-wi0-f169.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SzeIV-0003fs-G1 a526ce16b4f264fb28795731fe475bda
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some general SPDY feedback / questions
Archived-At: <http://www.w3.org/mid/CABP7RbdNWSm_qWwnnKks3NtKwWrNk5Sy_Tj85HjunZV3hx6aKg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15058
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>

--0015175774feaa7d5904c6df7f83
Content-Type: text/plain; charset=UTF-8

They're currently not forbidden but would be fairly pointless, so we may be
safe.
On Aug 9, 2012 5:09 PM, "Adrien W. de Croy" <adrien@qbik.com> wrote:

>
> do we even envisage sending entity headers on 1xx responses?
>
> I don't know if it's a good idea.
>
> in which case, we'd only get entity headers on the final response before
> the data.
>
> Adrien
>
>
>
> ------ Original Message ------
> From: "James M Snell" <jasnell@gmail.com>
> To: "Mike Belshe" <mike@belshe.com>
> Cc: "Amos Jeffries" <squid3@treenet.co.nz>;"ietf-http-wg@w3.org" <
> ietf-http-wg@w3.org>
> Sent: 10/08/2012 10:54:37 a.m.
> Subject: Re: Some general SPDY feedback / questions
>
>
> On Aug 9, 2012 2:26 PM, "Mike Belshe" <mike@belshe.com> wrote:
> >
> >
> [Snip]
> >
> >
> > When you do this, it opens up a new set of things to define:
> >    - what happens if a header is superseded later? can you send the same
> header twice?
>
> There is a definite trade off in complexity, that's for sure... but if we
> need to support 1xx responses I don't see another way to do it without
> increasing the complexity even further.
>
> Headers would essentially be single value, if a subsequent headers frame
> repeats a previously seen header, the value for that header is replaced. If
> the application has already processed that header, the application needs to
> figure out how to handle the situation.
>
> >    - when can a receiver know when headers are 'done'?  If you sent one
> set of cache-related headers, can you send further ones later?
>
> The headers are done once the first data frame is sent or the FIN is
> received.
>
> For cache headers, it would be important to note that repeated headers
> would replace the existing value, not add to the value, so subsequent cache
> control headers would supersede any that came before.
>
> >
> > I know these sound like edges, and even the spdy framer sort-of allows
> header frames at any time... but at the app layer, it creates a lot of new
> questions that http doesn't have today.  this is why in SPDY we just said
> "although the framing layer can do it, for HTTP's purposes, you (mostly)
> can't".
> >
>
> Understood, and the reasoning is sound, but there really doesn't appear to
> be another simpler way of supporting provisional responses. There is an
> increased burden on the developer to handle repeated headers properly but I
> doubt that burden is much more than what developers are already accustomed
> to.
>
> - James
>
> > Mike
> >
> >
> >
> >
> >>
> >>
> >> Amos
> >>
> >
>
>

--0015175774feaa7d5904c6df7f83
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">They&#39;re currently not forbidden but would be fairly poin=
tless, so we may be safe.</p>
<div class=3D"gmail_quote">On Aug 9, 2012 5:09 PM, &quot;Adrien W. de Croy&=
quot; &lt;<a href=3D"mailto:adrien@qbik.com">adrien@qbik.com</a>&gt; wrote:=
<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>
<div>=C2=A0</div>
<div>do we even envisage sending entity headers on 1xx responses?</div>
<div>=C2=A0</div>
<div>I don&#39;t know if it&#39;s a good idea.</div>
<div>=C2=A0</div>
<div>in which case, we&#39;d only get entity headers on the final response =
before the data.</div>
<div>=C2=A0</div>
<div>Adrien</div>
<div>=C2=A0</div>
<div>=C2=A0</div>
<div><br>------ Original Message ------<br>From: &quot;James M Snell&quot; =
&lt;<a href=3D"mailto:jasnell@gmail.com" target=3D"_blank">jasnell@gmail.co=
m</a>&gt;<br>To: &quot;Mike Belshe&quot; &lt;<a href=3D"mailto:mike@belshe.=
com" target=3D"_blank">mike@belshe.com</a>&gt;<br>
Cc: &quot;Amos Jeffries&quot; &lt;<a href=3D"mailto:squid3@treenet.co.nz" t=
arget=3D"_blank">squid3@treenet.co.nz</a>&gt;;&quot;<a href=3D"mailto:ietf-=
http-wg@w3.org" target=3D"_blank">ietf-http-wg@w3.org</a>&quot; &lt;<a href=
=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank">ietf-http-wg@w3.org</a>&g=
t;<br>
Sent: 10/08/2012 10:54:37 a.m.<br>Subject: Re: Some general SPDY feedback /=
 questions<br></div>
<blockquote cite=3D"http://CABP7RbdeDP=3DPAbheu1VHTn_-M4eH7j9is5akfXTBU0LJ=
=3DTnzbg@mail.gmail.com" type=3D"cite">
<div>
<p dir=3D"ltr"><br>On Aug 9, 2012 2:26 PM, &quot;Mike Belshe&quot; &lt;<a h=
ref=3D"mailto:mike@belshe.com" target=3D"_blank"><a href=3D"mailto:mike@bel=
she.com" target=3D"_blank">mike@belshe.com</a></a>&gt; wrote:<br>&gt;<br>&g=
t;<br>
[Snip]<br>&gt;<br>&gt;<br>&gt; When you do this, it opens up a new set of t=
hings to define:<br>&gt; =C2=A0 =C2=A0- what happens if a header is superse=
ded later? can you send the same header twice?</p>
<p dir=3D"ltr">There is a definite trade off in complexity, that&#39;s for =
sure... but if we need to support 1xx responses I don&#39;t see another way=
 to do it without increasing the complexity even further.</p>
<p dir=3D"ltr">Headers would essentially be single value, if a subsequent h=
eaders frame repeats a previously seen header, the value for that header is=
 replaced. If the application has already processed that header, the applic=
ation needs to figure out how to handle the situation. </p>

<p dir=3D"ltr">&gt; =C2=A0 =C2=A0- when can a receiver know when headers ar=
e &#39;done&#39;? =C2=A0If you sent one set of cache-related headers, can y=
ou send further ones later?</p>
<p dir=3D"ltr">The headers are done once the first data frame is sent or th=
e FIN is received.</p>
<p dir=3D"ltr">For cache headers, it would be important to note that repeat=
ed headers would replace the existing value, not add to the value, so subse=
quent cache control headers would supersede any that came before. </p>
<p dir=3D"ltr">&gt; =C2=A0=C2=A0<br>&gt; I know these sound like edges, and=
 even the spdy framer sort-of allows header frames at any time... but at th=
e app layer, it creates a lot of new questions that http doesn&#39;t have t=
oday. =C2=A0this is why in SPDY we just said &quot;although the framing lay=
er can do it, for HTTP&#39;s purposes, you (mostly) can&#39;t&quot;.<br>
&gt;</p>
<p dir=3D"ltr">Understood, and the reasoning is sound, but there really doe=
sn&#39;t appear to be another simpler way of supporting provisional respons=
es. There is an increased burden on the developer to handle repeated header=
s properly but I doubt that burden is much more than what developers are al=
ready accustomed to. </p>

<p dir=3D"ltr">- James</p>
<p dir=3D"ltr">&gt; Mike<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;&gt;<br>&gt=
;&gt;<br>&gt;&gt; Amos<br>&gt;&gt;<br>&gt;</p></div></blockquote></div></bl=
ockquote></div>

--0015175774feaa7d5904c6df7f83--


From ietf-http-wg-request@listhub.w3.org  Fri Aug 10 15:13:30 2012
Return-Path: <ietf-http-wg-request@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 ED7BD21F85A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Aug 2012 15:13:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.542
X-Spam-Level: 
X-Spam-Status: No, score=-10.542 tagged_above=-999 required=5 tests=[AWL=0.056, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I3Q4XiOoaYyU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 10 Aug 2012 15:13:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3A17721F85AA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 10 Aug 2012 15:13:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SzxQM-0007za-64 for ietf-http-wg-dist@listhub.w3.org; Fri, 10 Aug 2012 22:11:18 +0000
Resent-Date: Fri, 10 Aug 2012 22:11:18 +0000
Resent-Message-Id: <E1SzxQM-0007za-64@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SzxQ2-0007yO-Ql for ietf-http-wg@listhub.w3.org; Fri, 10 Aug 2012 22:10:58 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SzxQ0-0002Fp-Ia for ietf-http-wg@w3.org; Fri, 10 Aug 2012 22:10:58 +0000
Received: by weyx43 with SMTP id x43so1327486wey.2 for <ietf-http-wg@w3.org>; Fri, 10 Aug 2012 15:10:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RYWbksI+5e0vHoCtY2KAPkHNIfPeK1QNQ+ocp+eOftI=; b=bZV6stEFFK+OfPReL33aprx19tdJ5cfHqlFjWaRtC2ALdUdvrm4pEVsnPG/PMCyRSv 2QSck0dAnCS9buKZfOtwdWyhqCWXDWq2s8ktK1j08HWWXG+U0ATR5OvJ/CvKr1qZ8Xik 2H4y2Jv/T3Y27uHj84yZ295JiY+V9N7oDxbaBhonkL7tplcY+SxvgTfgb5CcINAy5Cag 6RcH2ITK5WG5vtgAO1Z7wA6W3+xc6/4+UK00sGybNQnvdcjuMV8sCEZeA4re1eqUb4j8 6deRLyyigxnsGQ4f4YlqP53e66mnUTaBUSiLletHJUoNfadx8WiuD4GQoO3zsRsKasD2 N2Nw==
MIME-Version: 1.0
Received: by 10.216.241.202 with SMTP id g52mr2338904wer.212.1344636630075; Fri, 10 Aug 2012 15:10:30 -0700 (PDT)
Received: by 10.194.25.193 with HTTP; Fri, 10 Aug 2012 15:10:29 -0700 (PDT)
In-Reply-To: <CAP+FsNd=7wE-_ucyULsHDU4iyTyOTFNFtUiV=tajURSJStpWUg@mail.gmail.com>
References: <78618.1343896055@critter.freebsd.dk> <501BA782.9030708@it.aoyama.ac.jp> <CAAPAK-5uO7imx-ynVU1K-RPpv0CvCDU-kd18hFgRYgXJn-WrMA@mail.gmail.com> <CABaLYCtGGQpO=APxQQA2RzZ5w5uB+umYGnz50cZffes9KoSTng@mail.gmail.com> <CABP7RbezEoeT2xiUjXMh5Bat-qKX1xB8ELQRHa7ZqX_5MrujGg@mail.gmail.com> <CAP+FsNf4Qr4J=ZsGhfTathCDQLKZvujU=pFaFQYYDgk8dm++jQ@mail.gmail.com> <501F705F.7020107@it.aoyama.ac.jp> <CAP+FsNcDneyd8aRnr8+Ex5ftWdTXGhFV4Zq8ZoA+5LrJGjVnOg@mail.gmail.com> <ab966b02aa8c08a3c53bc55457b7f64d@treenet.co.nz> <CAP+FsNd=7wE-_ucyULsHDU4iyTyOTFNFtUiV=tajURSJStpWUg@mail.gmail.com>
Date: Fri, 10 Aug 2012 15:10:29 -0700
Message-ID: <CAP+FsNcQQ3jW0uAGXUAfjPEUcGK7bvXQNL3tWYufzJerW0-HuQ@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e0cb4e43d0a9b0096c04c6f09c8d
Received-SPF: pass client-ip=74.125.82.171; envelope-from=grmocg@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_FILL_THIS_FORM_SHORT=0.01
X-W3C-Scan-Sig: maggie.w3.org 1SzxQ0-0002Fp-Ia ef29957f1b0a78f4dbc28c19db890378
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI... Binary Optimized Header Encoding for SPDY
Archived-At: <http://www.w3.org/mid/CAP+FsNcQQ3jW0uAGXUAfjPEUcGK7bvXQNL3tWYufzJerW0-HuQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15059
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>

--e0cb4e43d0a9b0096c04c6f09c8d
Content-Type: text/plain; charset=ISO-8859-1

Aha. I had a discussion that reminded me of one of the reasons to dislike
utf-8

If we use ascii, we KNOW we can drop the first bit, which means we get a
possible 12.5% compression trivially.
I'd rather have the complexity in encoding and reduce complexity on
compression. Of course, if we're willing to all implement huffman coding,
this isn't a problem, but that is substantially more complexity than
dropping a bit off every character.

Are we willing to implement huffman coding? It'd certainly make me happy.

-=R

On Tue, Aug 7, 2012 at 5:06 PM, Roberto Peon <grmocg@gmail.com> wrote:

>
>
>>>> It doesn't buy the protocol itself much. But it buys the users of the
>>>>
>>> protocol a lot.
>>>
>>> Which users? I'm having a hard time imagining why metadata has to be
>>> utf-8.
>>>
>>>
>> names: File names, user names, country names, domain names, protocol
>> names, User-Agent: names, Server: names, Accept-* names, type names ...
>> metadata is chock full of names when you start looking at it closely. And
>> "for some strange reason" people around the world insist on being able to
>> send/receive them in different languages and non-American spellings nowdays.
>
>
> I think that allowing something used for names where the character set was
> not constrained and whose visual representation is not always defined and
> often ambiguous for names where being able to tell uniqueness is an
> important security property was a royally stupid decision. Frankly, I could
> care less if names were represented in chinese characters, egyption
> pictographs, or what have you so long as they're unambiguous.
>
> In any case, that ship has sailed.
> I think you have a convincing argument... it still "smells" wrong to me,
> and I'll attempt to ponder why. If I don't come up with anything, I won't
> argue against it :)
>
> -=R
>
>

--e0cb4e43d0a9b0096c04c6f09c8d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>Aha. I had a discussion that reminded me of one of the reasons to disl=
ike utf-8</div><div><br></div><div>If we use ascii, we KNOW we can drop the=
 first bit, which means we get a possible 12.5% compression trivially.</div=
>
<div>I&#39;d rather have the complexity in encoding and reduce complexity o=
n compression.=A0Of course, if we&#39;re willing to all implement huffman c=
oding, this isn&#39;t a problem, but that is substantially more complexity =
than dropping a bit off every character.</div>
<div><br></div><div>Are we willing to implement huffman coding? It&#39;d ce=
rtainly make me happy.</div><div><br></div><div>-=3DR<br><br><div class=3D"=
gmail_quote">On Tue, Aug 7, 2012 at 5:06 PM, Roberto Peon <span dir=3D"ltr"=
>&lt;<a href=3D"mailto:grmocg@gmail.com" target=3D"_blank">grmocg@gmail.com=
</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div><br></div><div><div class=3D"gmail_quot=
e"><div class=3D"im"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-le=
ft:1px #ccc solid;padding-left:1ex">
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br>
It doesn&#39;t buy the protocol itself much. But it buys the users of the<b=
r>
</blockquote>
protocol a lot.<br>
<br>
Which users? I&#39;m having a hard time imagining why metadata has to be ut=
f-8.<br>
<br>
</blockquote>
<br></div>
names: File names, user names, country names, domain names, protocol names,=
 User-Agent: names, Server: names, Accept-* names, type names ... metadata =
is chock full of names when you start looking at it closely. And &quot;for =
some strange reason&quot; people around the world insist on being able to s=
end/receive them in different languages and non-American spellings nowdays.=
</blockquote>

<div><br></div></div><div>I think that allowing something used for names wh=
ere the character set was not constrained and whose visual representation i=
s not always defined and often ambiguous for names where being able to tell=
 uniqueness is an important security property was a royally stupid decision=
. Frankly, I could care less if names were represented in chinese character=
s, egyption pictographs, or what have you so long as they&#39;re unambiguou=
s.</div>

<div><br></div><div>In any case, that ship has sailed.</div><div>I think yo=
u have a convincing argument... it still &quot;smells&quot; wrong to me, an=
d I&#39;ll attempt to ponder why. If I don&#39;t come up with anything, I w=
on&#39;t argue against it :)</div>
<span class=3D"HOEnZb"><font color=3D"#888888">
<div><br></div><div>-=3DR</div><div><br></div></font></span></div></div>
</blockquote></div><br></div>

--e0cb4e43d0a9b0096c04c6f09c8d--


From ietf-http-wg-request@listhub.w3.org  Sat Aug 11 00:43:51 2012
Return-Path: <ietf-http-wg-request@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 1E15C21F858A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 11 Aug 2012 00:43:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.16
X-Spam-Level: 
X-Spam-Status: No, score=-7.16 tagged_above=-999 required=5 tests=[AWL=2.817, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JkjkG8J7DO9A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 11 Aug 2012 00:43:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E4C2B21F8594 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 11 Aug 2012 00:43:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T06Jx-0003Pn-VC for ietf-http-wg-dist@listhub.w3.org; Sat, 11 Aug 2012 07:41:18 +0000
Resent-Date: Sat, 11 Aug 2012 07:41:17 +0000
Resent-Message-Id: <E1T06Jx-0003Pn-VC@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1T06Jf-0003Oi-1A for ietf-http-wg@listhub.w3.org; Sat, 11 Aug 2012 07:40:59 +0000
Received: from caiajhbdcbef.dreamhost.com ([208.97.132.145] helo=homiemail-a31.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <nico@cryptonector.com>) id 1T06JY-0006uQ-1U for ietf-http-wg@w3.org; Sat, 11 Aug 2012 07:40:54 +0000
Received: from homiemail-a31.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a31.g.dreamhost.com (Postfix) with ESMTP id B25C5202022 for <ietf-http-wg@w3.org>; Sat, 11 Aug 2012 00:40:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:date:message-id:subject:from:to:content-type; s= cryptonector.com; bh=bgES0NRNN7RA3rCdzhIUx+0YOVs=; b=jIZfop04BQn enMq2I6had3pg89veH1zWrcdCn1wEehHzYpLbTS+jKIU4SKjVDPm8jcDp8UN8ADC dsMOaGDFynO3YrSE8kEUm8qLsYoiE4zNwwgHNYSbsrFf/wlhoUe1bmfw8Q4xkekX YIdMRBBT7eUEjbb5An7Z5XxWdpCFaXLs=
Received: from mail-pb0-f43.google.com (mail-pb0-f43.google.com [209.85.160.43]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a31.g.dreamhost.com (Postfix) with ESMTPSA id 9C374202018 for <ietf-http-wg@w3.org>; Sat, 11 Aug 2012 00:40:30 -0700 (PDT)
Received: by pbbrq2 with SMTP id rq2so3701130pbb.2 for <ietf-http-wg@w3.org>; Sat, 11 Aug 2012 00:40:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.68.132.41 with SMTP id or9mr6708137pbb.115.1344670830074; Sat, 11 Aug 2012 00:40:30 -0700 (PDT)
Received: by 10.143.29.16 with HTTP; Sat, 11 Aug 2012 00:40:30 -0700 (PDT)
Date: Sat, 11 Aug 2012 02:40:30 -0500
Message-ID: <CAK3OfOi0TsS9oJWzEHSfFSs6kV0yPvPkDnC-J6LcrJo=W=vx8Q@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: none client-ip=208.97.132.145; envelope-from=nico@cryptonector.com; helo=homiemail-a31.g.dreamhost.com
X-W3C-Hub-Spam-Status: Yes, score=6.9
X-W3C-Hub-Spam-Report: BAYES_99=3.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FROM_12LTRDOM=3.499, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1T06JY-0006uQ-1U f9f1661aebc539d1c3af601d1a89a49d
X-Original-To: ietf-http-wg@w3.org
Subject: New I-D: RESTauth (forget GSS)
Archived-At: <http://www.w3.org/mid/CAK3OfOi0TsS9oJWzEHSfFSs6kV0yPvPkDnC-J6LcrJo=W=vx8Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15060
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>

Well, I've re-written REST-GSS as RESTful authentication but without
reference to GSS.  Those of you who panned GSS will be glad to see
that the new I-D is much simpler than the old one, no doubt.

It's not close to complete, of course, but I'll be polishing it off in
the next couple of weeks.  In particular I want to make sure to
complete sections on how to adapt existing authentication mechanisms
from SSHv2, IKEv2, SASL, GSS, and others into RESTauth, partly to
ensure that there's a large array of usable mechanism specifications,
and partly to showcase the ease with which mechanisms can be
added/adapted to RESTauth.

You can find the I-D here:

http://tools.ietf.org/html/draft-williams-http-rest-auth-00

Nico
--


From ietf-http-wg-request@listhub.w3.org  Tue Aug 14 07:38:28 2012
Return-Path: <ietf-http-wg-request@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 DA60821F8690 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 14 Aug 2012 07:38:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.325
X-Spam-Level: 
X-Spam-Status: No, score=-9.325 tagged_above=-999 required=5 tests=[AWL=-1.140, BAYES_40=-0.185, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b5SDE8bfiTnt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 14 Aug 2012 07:38:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C597521F8669 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 14 Aug 2012 07:38:27 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T1IDw-0004jY-L2 for ietf-http-wg-dist@listhub.w3.org; Tue, 14 Aug 2012 14:36:00 +0000
Resent-Date: Tue, 14 Aug 2012 14:36:00 +0000
Resent-Message-Id: <E1T1IDw-0004jY-L2@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1T1IDb-0004hk-24 for ietf-http-wg@listhub.w3.org; Tue, 14 Aug 2012 14:35:39 +0000
Received: from ams-iport-3.cisco.com ([144.254.224.146]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1T1IDW-0004Ke-NZ for ietf-http-wg@w3.org; Tue, 14 Aug 2012 14:35:38 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=lear@cisco.com; l=5490; q=dns/txt; s=iport; t=1344954934; x=1346164534; h=message-id:date:from:mime-version:to:subject: content-transfer-encoding; bh=aU+k/4Sotq7GZkif1zyQGnZoherG5z2mIilqQAzCCX8=; b=GlGD6xp75txOPGyXZ8o7UW6SN9+tb7mmwA6NbQXL1CvD3AsuNWqoV2ES mSPS5lfhb7ntc56DrHn65vTGVCQ9ql4owxKM03Whuxt4hQEO09Zfwgnjp NhPBBpoLG/udGfMk1MYjmUvGTeRlGBkGHKYcYBzwKKtIazufXZUYx17Ly 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EAMxhKlCQ/khN/2dsb2JhbABEhgG0D4EHgiABAQEDEwEQDwFFBjACBRYLAgsDAgECAUsNCAEBHodlBpcQgSiNGZNfgSGPA4ESA5VLjiqBZoJhgVQE
X-IronPort-AV: E=Sophos;i="4.77,766,1336348800";  d="scan'208";a="7327823"
Received: from ams-core-4.cisco.com ([144.254.72.77]) by ams-iport-3.cisco.com with ESMTP; 14 Aug 2012 14:35:08 +0000
Received: from dhcp-10-55-90-65.cisco.com (dhcp-10-55-90-65.cisco.com [10.55.90.65]) by ams-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id q7EEZ6Is007048 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <ietf-http-wg@w3.org>; Tue, 14 Aug 2012 14:35:07 GMT
Message-ID: <502A621A.9010302@cisco.com>
Date: Tue, 14 Aug 2012 16:35:06 +0200
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=144.254.224.146; envelope-from=lear@cisco.com; helo=ams-iport-3.cisco.com
X-W3C-Hub-Spam-Status: No, score=-11.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: maggie.w3.org 1T1IDW-0004Ke-NZ b56e5f78a9bd5ead44139f72b8d74f8e
X-Original-To: ietf-http-wg@w3.org
Subject: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/502A621A.9010302@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15061
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>

I have a stack of comments and questions for the SPDY document.  This is
a taste of what needs to get done to get this document through the
standardization process.  Before I get to what's there, let me get to
what's not, first:

Most importantly, there needs to be clarity in the connection model, and
currently there is nothing.  The HTTP scheme implies use of port 80. 
What next?  Seems to me there are many choices:

1.  Try sending a 2.0 message and see what happens
2.  Wait for a response from the server that has the right version #
3.  Use some sort of DNS trickery to divine the appropriate version –
AND port.
4.  Go with a happy eyeballs approach and try BOTH 1.1 and 2.0
initially, perhaps with a slight delay on 1.1 with caching of state.

But we have to pick one.

Rinse and repeat for TLS, albeit the mechanism may be better advertised.

Speaking of advertising, it'd be nice if there was a capabilities
exchange.  SETTINGS sort of goes there but requires more round trips.


In Section 2.2.1:

With "Version" defined in Control frames, what are the semantics for a
mismatch?  Is an error generated?

There is discussion of a both a minimum and maximum frame size, but
there is no negotiation defined.

In Section 2.2.2:

Under "Data frame processing requirements", experience shows that it is
better to shut down a connection when the protocol goes awry, and no
more so is this the case than with multiplexed connections.

Section 2.3:

Nit: "Streams may be cancelled."  I think you meant closed.

2.3.1 (and elsewhere):

I think RST_STREAM should be removed in favor of dropping a connection
with an error when one side or the other just gets it wrong.  This is
not protocol school.  There should be enough diagnostics produced to
indicate what the problem is, and then go off.

2.3.2:

I don't know about anyone else, but first I laughed about the sentence
about streams not wrapping, and then I stopped, when I realized that
thus far we have stretched every possible HTTP parameter to its max, so
why not this too?  What I don't understand is why all the verbiage about
the ordering of streams in the first place.  What's the goal?  Again,
when sending protocol errors, best to shut down the connection afterwards.

This paragraph requires additional discussion:

>    Upon receipt of a SYN_STREAM, the recipient can reject the stream by
>    sending a stream error (Section 2.4.2) with the error code
>    REFUSED_STREAM.  Note, however, that the creating endpoint may have
>    already sent additional frames for that stream which cannot be
>    immediately stopped.

This means the sender MUST retain any data transmitted and accepted at
the TCP layer until the application sends "REFUSED_STREAM".

Finally a nit: do you really mean "monotonic" or do you mean "linearly"
or "in increments of two"?

Section 2.3.3:

Oh where to begin?  First of all, why not match nearly every other
network protocol out there, especially IP, and have at least the higher
value match higher priority?  But beyond this, experience shows that
stream priority behaviors have to be defined.  Also, once we have
streams some fool, quite possibly this one, will ask the question: and
is there a need for a mapping to DSCPs should someone try to tunnel IP
through one of these streams?


Section 2.3.6:

I like that in this particular instance you produce a specific error
STREAM_ALREADY_CLOSED where elsewhere you state a simple
PROTOCOL_ERROR.  However, in this case, since it *is* a protocol error,
as I've argued previously, the connection should be closed.


Section 2.4.1: This needs work.  You want to handle several different
types of errors:

1.  Protocol errors (shut down the connection and go away)
2.  Application errors (these are errors that occur above the framing
layer, but are NOT protocol errors).  An application error may be a
resource constraint, a permissions problem, or some other
application-layer error (e.g, "451 my boss is a jerk").

Each of these sorts of errors can happen at either the stream or session
level.  1 is easy: just shut down the connection.  2 is the one that
needs to be clarified, IMHO.  GOAWAY may not be the entirely correct
approach.  This is something that BEEP got right, IMHO.  There's a
pretty clean separation between the BEEP layer and the layer above.


Section 2.5: Huh?  What is the actual meaning of "intelligently" here?

Section 2.6.1: how do you derive the size for "slot"?  Also, this should
be reviewed by the TLS folks.  How does it relate to the
SETTINGS_CLIENT_CERTIFICATE_VECTOR_SIZE setting?

Section 2.6.3:

Why is there a CANCEL and also FLAG_FIN?

Error code 10: Invalid credentials.  Is this best left to "permission
denied" without getting into the reasons in the protocol (just log them).

Section 2.6.5:

If either side can send this, then a server is open to any number of
resource attacks, especially as regards to persistent settings.

Section 2.6.9 needs to be reworked with the assumption that TLS may not
be there at all.

Section 3.1: Connection management

You might want to amend this to allow clients to open an additional
connection once all stream values are used. 

Skipping along...

In Section 3.3:

What does it mean: "Browsers MUST implement throttles to protect against
unreasonable push attacks"?  How shall browsers throttle?  By delaying
response?



From ietf-http-wg-request@listhub.w3.org  Tue Aug 14 09:27:24 2012
Return-Path: <ietf-http-wg-request@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 13B3321F86E1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 14 Aug 2012 09:27:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.925
X-Spam-Level: 
X-Spam-Status: No, score=-8.925 tagged_above=-999 required=5 tests=[AWL=1.674, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1JVW-DOMVRgq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 14 Aug 2012 09:27:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B67D921F869F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 14 Aug 2012 09:27:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T1Jw4-0003qf-Oc for ietf-http-wg-dist@listhub.w3.org; Tue, 14 Aug 2012 16:25:40 +0000
Resent-Date: Tue, 14 Aug 2012 16:25:40 +0000
Resent-Message-Id: <E1T1Jw4-0003qf-Oc@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T1Jvp-0003m1-W7 for ietf-http-wg@listhub.w3.org; Tue, 14 Aug 2012 16:25:26 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T1Jvn-0006QH-SJ for ietf-http-wg@w3.org; Tue, 14 Aug 2012 16:25:25 +0000
Received: by obqv19 with SMTP id v19so727214obq.2 for <ietf-http-wg@w3.org>; Tue, 14 Aug 2012 09:24:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=O1ANLVbjII0Ase9pCt6gh0GYpF7fL7+JMivoAAKBwLw=; b=Cucd2lDdP7zoB5qL2TKJxtlHMvrCkYf4DoDA/GiK8YDRaOkErbKs994mNbqmXUZpIR kYZqR4kjPeHSMMLHi+4PDwDwWqszLCFjG7aXYqCAAs9+qJbVCeQ5EAq4v+uEJ5keEN/2 ygBh/Trx6aK0SFXYCO2pJh624cIgf7iOxkeOe/OxEfsriaa2NeNuUjObqMctSfNQovli u/CEsBSMcM7kk139WOjxdlfyFgZ2BieYDFLNmxSMUdxX0w+N4I6hlzXHX/2y5TpWQ4zB 70/X4SwuKmCtU6YxlaEf/mw3T80Alo16X7ZDDF+Rw+YYJUhzGEHQL3lgqZgU/YrUvreq 8nnQ==
MIME-Version: 1.0
Received: by 10.182.86.225 with SMTP id s1mr19916315obz.73.1344961497769; Tue, 14 Aug 2012 09:24:57 -0700 (PDT)
Received: by 10.76.80.10 with HTTP; Tue, 14 Aug 2012 09:24:57 -0700 (PDT)
In-Reply-To: <502A621A.9010302@cisco.com>
References: <502A621A.9010302@cisco.com>
Date: Tue, 14 Aug 2012 12:24:57 -0400
Message-ID: <CAMm+LwjhoCWXfBMXXTg0_Tj+FyB7_RoMuXHwRj7=068FF_oe2g@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Eliot Lear <lear@cisco.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T1Jvn-0006QH-SJ aac507045eadff46368a4fc8c1523bb1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/CAMm+LwjhoCWXfBMXXTg0_Tj+FyB7_RoMuXHwRj7=068FF_oe2g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15062
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>

HTTP 2.0 is an optimization. It does not need to work with maximum
efficiency everywhere.

Protocol negotiation should really be a DNS function. The DNS is the
Internet infrastructure for publishing assertions about names. That is
where the primary information describing the HTTP connection should be
stored.

The DNS does have some legacy deployment issues, but 95% of Internet
connections have a perfectly well behaved DNS connection. Proposing a
scheme that will not work for the remaining 5% is an obvious non
starter. Proposing a scheme that will not work quite as well for the
remaining 5% is an incentive to upgrade infrastructure.

If we take architecture seriously, the primary signaling mechanism for
HTTP/2.0 should be some form of statement in a DNS record to tell the
client 'I do HTTP 2.0'. We might also have some sort of upgrade
mechanism for use when the DNS records are blocked but that should be
a fallback.

If we combine DNS protocol signalling with DNSSEC we can also address
the biggest security loophole in HTTP which is that every connection
is subject to a downgrade attack.

The way it might work is that the Web Server for example.com might
have the following records

! Advertise the service
_http2._tcp.example.com  SRV 1 1 443 www1.example.com
_http2._tcp.example.com  SRV 1 1 443 www2.example.com

! Describe the service
_http2._tcp.example.com DESC "tls=3Drequired certpath=3DMDIGA1UEJQYJ"
            "YIZIAWUDBAIBBCAXzJgPaoT7Fe"
            "XaPzKv6mI2D0yilif+7WhzmhMGLe/oBA=3D=3D"

Since most DNS lookups are for a Web site, most DNS servers would be
tuned to return the SRV and DESC records as additional records in
response to an A record lookup as a matter of course.

One consequence of this approach is that an SRV record becomes an
application specific redirect for the HTTP protocol.


SRV already exists, we just need to decide to use it. At the moment we
have a security policy signalling mechanism being developed inband for
HTTP that should really be carried in the DNS so that it can be
wrapped by DNSSEC and so provide security on first connect.

There is also the proposed URI record which is similar to SRV but the
payload is a URI instead of a domain name. I believe that we should be
using URI records as the basis for Web service discovery. Probably in
conjunction with a .ws registry.


Further tricks that can be played with this approach is that the
client can be told it has the option of using a 'compression' or
'tokenization' function through a DNS description record.

Having written a few Web Services and recently having written a
compiler for them, I am less than excited at the prospect of
compressing HTTP headers when what follows is JSON or XML bloat. Using
LZ compression does not give me warm feelings either. What I really
want is a space reduction scheme that provides a better balance
between space and complexity. Something I can implement on a PIC
controller.

A simple way to implement such a scheme is to use a BER-like binary
format with a tag set defined by dictionaries that MAY be exchanged in
band or predefined as is most convenient for the application.

ASN.1 is a pig and BER is overly complex, but there is no rule that
says that a binary format has to have more than one way to do
something, nor is there any need to support canonincalization or to do
so in a way that is as idiotic as the DER rules.

A description option that allows the service to advertise the
compression dictionary version(s) it supports would enable space
saving to be supported simply and efficiently without introducing the
opaqueness that LZ type approaches inevitably do.


On Tue, Aug 14, 2012 at 10:35 AM, Eliot Lear <lear@cisco.com> wrote:
>
> I have a stack of comments and questions for the SPDY document.  This is
> a taste of what needs to get done to get this document through the
> standardization process.  Before I get to what's there, let me get to
> what's not, first:
>
> Most importantly, there needs to be clarity in the connection model, and
> currently there is nothing.  The HTTP scheme implies use of port 80.
> What next?  Seems to me there are many choices:
>
> 1.  Try sending a 2.0 message and see what happens
> 2.  Wait for a response from the server that has the right version #
> 3.  Use some sort of DNS trickery to divine the appropriate version =96
> AND port.
> 4.  Go with a happy eyeballs approach and try BOTH 1.1 and 2.0
> initially, perhaps with a slight delay on 1.1 with caching of state.
>
> But we have to pick one.
>
> Rinse and repeat for TLS, albeit the mechanism may be better advertised.
>
> Speaking of advertising, it'd be nice if there was a capabilities
> exchange.  SETTINGS sort of goes there but requires more round trips.
>
>
> In Section 2.2.1:
>
> With "Version" defined in Control frames, what are the semantics for a
> mismatch?  Is an error generated?
>
> There is discussion of a both a minimum and maximum frame size, but
> there is no negotiation defined.
>
> In Section 2.2.2:
>
> Under "Data frame processing requirements", experience shows that it is
> better to shut down a connection when the protocol goes awry, and no
> more so is this the case than with multiplexed connections.
>
> Section 2.3:
>
> Nit: "Streams may be cancelled."  I think you meant closed.
>
> 2.3.1 (and elsewhere):
>
> I think RST_STREAM should be removed in favor of dropping a connection
> with an error when one side or the other just gets it wrong.  This is
> not protocol school.  There should be enough diagnostics produced to
> indicate what the problem is, and then go off.
>
> 2.3.2:
>
> I don't know about anyone else, but first I laughed about the sentence
> about streams not wrapping, and then I stopped, when I realized that
> thus far we have stretched every possible HTTP parameter to its max, so
> why not this too?  What I don't understand is why all the verbiage about
> the ordering of streams in the first place.  What's the goal?  Again,
> when sending protocol errors, best to shut down the connection afterwards=
.
>
> This paragraph requires additional discussion:
>
>>    Upon receipt of a SYN_STREAM, the recipient can reject the stream by
>>    sending a stream error (Section 2.4.2) with the error code
>>    REFUSED_STREAM.  Note, however, that the creating endpoint may have
>>    already sent additional frames for that stream which cannot be
>>    immediately stopped.
>
> This means the sender MUST retain any data transmitted and accepted at
> the TCP layer until the application sends "REFUSED_STREAM".
>
> Finally a nit: do you really mean "monotonic" or do you mean "linearly"
> or "in increments of two"?
>
> Section 2.3.3:
>
> Oh where to begin?  First of all, why not match nearly every other
> network protocol out there, especially IP, and have at least the higher
> value match higher priority?  But beyond this, experience shows that
> stream priority behaviors have to be defined.  Also, once we have
> streams some fool, quite possibly this one, will ask the question: and
> is there a need for a mapping to DSCPs should someone try to tunnel IP
> through one of these streams?
>
>
> Section 2.3.6:
>
> I like that in this particular instance you produce a specific error
> STREAM_ALREADY_CLOSED where elsewhere you state a simple
> PROTOCOL_ERROR.  However, in this case, since it *is* a protocol error,
> as I've argued previously, the connection should be closed.
>
>
> Section 2.4.1: This needs work.  You want to handle several different
> types of errors:
>
> 1.  Protocol errors (shut down the connection and go away)
> 2.  Application errors (these are errors that occur above the framing
> layer, but are NOT protocol errors).  An application error may be a
> resource constraint, a permissions problem, or some other
> application-layer error (e.g, "451 my boss is a jerk").
>
> Each of these sorts of errors can happen at either the stream or session
> level.  1 is easy: just shut down the connection.  2 is the one that
> needs to be clarified, IMHO.  GOAWAY may not be the entirely correct
> approach.  This is something that BEEP got right, IMHO.  There's a
> pretty clean separation between the BEEP layer and the layer above.
>
>
> Section 2.5: Huh?  What is the actual meaning of "intelligently" here?
>
> Section 2.6.1: how do you derive the size for "slot"?  Also, this should
> be reviewed by the TLS folks.  How does it relate to the
> SETTINGS_CLIENT_CERTIFICATE_VECTOR_SIZE setting?
>
> Section 2.6.3:
>
> Why is there a CANCEL and also FLAG_FIN?
>
> Error code 10: Invalid credentials.  Is this best left to "permission
> denied" without getting into the reasons in the protocol (just log them).
>
> Section 2.6.5:
>
> If either side can send this, then a server is open to any number of
> resource attacks, especially as regards to persistent settings.
>
> Section 2.6.9 needs to be reworked with the assumption that TLS may not
> be there at all.
>
> Section 3.1: Connection management
>
> You might want to amend this to allow clients to open an additional
> connection once all stream values are used.
>
> Skipping along...
>
> In Section 3.3:
>
> What does it mean: "Browsers MUST implement throttles to protect against
> unreasonable push attacks"?  How shall browsers throttle?  By delaying
> response?
>
>



--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Aug 15 04:41:05 2012
Return-Path: <ietf-http-wg-request@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 C691821F86B6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 04:41:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.624
X-Spam-Level: 
X-Spam-Status: No, score=-7.624 tagged_above=-999 required=5 tests=[AWL=-0.198, BAYES_00=-2.599, MIME_BASE64_BLANKS=0.041, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O11LmNIY0xjw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 04:41:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8C93421F85C3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Aug 2012 04:41:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T1bvB-0002Ut-DA for ietf-http-wg-dist@listhub.w3.org; Wed, 15 Aug 2012 11:37:57 +0000
Resent-Date: Wed, 15 Aug 2012 11:37:57 +0000
Resent-Message-Id: <E1T1bvB-0002Ut-DA@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1T1bur-0002Nz-Tq for ietf-http-wg@listhub.w3.org; Wed, 15 Aug 2012 11:37:37 +0000
Received: from ch1ehsobe004.messaging.microsoft.com ([216.32.181.184] helo=ch1outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1T1buq-0004Tb-IX for ietf-http-wg@w3.org; Wed, 15 Aug 2012 11:37:37 +0000
Received: from mail60-ch1-R.bigfish.com (10.43.68.248) by CH1EHSOBE004.bigfish.com (10.43.70.54) with Microsoft SMTP Server id 14.1.225.23; Wed, 15 Aug 2012 11:37:09 +0000
Received: from mail60-ch1 (localhost [127.0.0.1])	by mail60-ch1-R.bigfish.com (Postfix) with ESMTP id D53F1340086	for <ietf-http-wg@w3.org>; Wed, 15 Aug 2012 11:37:09 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14MLTC103.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -8
X-BigFish: VS-8(zz98dI936eI542M1432I4015I1447Izz1202hzz8275bh8275dhz2fh2a8h683h839h93fhd24hf0ah107ah9a9j)
Received-SPF: pass (mail60-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14MLTC103.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.240.21;KIP:(null);UIP:(null);(null);H:BL2PRD0310HT001.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail60-ch1 (localhost.localdomain [127.0.0.1]) by mail60-ch1 (MessageSwitch) id 1345030628882511_19287; Wed, 15 Aug 2012 11:37:08 +0000 (UTC)
Received: from CH1EHSMHS036.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.252])	by mail60-ch1.bigfish.com (Postfix) with ESMTP id D53021801B3 for <ietf-http-wg@w3.org>; Wed, 15 Aug 2012 11:37:08 +0000 (UTC)
Received: from TK5EX14MLTC103.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS036.bigfish.com (10.43.69.245) with Microsoft SMTP Server (TLS) id 14.1.225.23; Wed, 15 Aug 2012 11:37:08 +0000
Received: from va3outboundpool.messaging.microsoft.com (157.54.51.114) by mail.microsoft.com (157.54.79.174) with Microsoft SMTP Server (TLS) id 14.2.298.5; Wed, 15 Aug 2012 11:36:57 +0000
Received: from mail160-va3-R.bigfish.com (10.7.14.243) by VA3EHSOBE012.bigfish.com (10.7.40.62) with Microsoft SMTP Server id 14.1.225.23; Wed, 15 Aug 2012 11:36:56 +0000
Received: from mail160-va3 (localhost [127.0.0.1])	by mail160-va3-R.bigfish.com (Postfix) with ESMTP id B47481C036D	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Wed, 15 Aug 2012 11:36:56 +0000 (UTC)
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(51914002)(51704002)(24454001)(377424002)(164054002)(13464001)(5343635001)(5343655001)(42186003)(16406001)(33646001)(31966006)(24736002);DIR:INB;LANG:en;
Received: from mail160-va3 (localhost.localdomain [127.0.0.1]) by mail160-va3 (MessageSwitch) id 1345030614452604_23076; Wed, 15 Aug 2012 11:36:54 +0000 (UTC)
Received: from VA3EHSMHS044.bigfish.com (unknown [10.7.14.248])	by mail160-va3.bigfish.com (Postfix) with ESMTP id 6B447160082;	Wed, 15 Aug 2012 11:36:54 +0000 (UTC)
Received: from BL2PRD0310HT001.namprd03.prod.outlook.com (157.56.240.21) by VA3EHSMHS044.bigfish.com (10.7.99.54) with Microsoft SMTP Server (TLS) id 14.1.225.23; Wed, 15 Aug 2012 11:36:54 +0000
Received: from BLUPR03MB614.namprd03.prod.outlook.com (10.255.124.42) by BL2PRD0310HT001.namprd03.prod.outlook.com (10.255.97.36) with Microsoft SMTP Server (TLS) id 14.16.190.9; Wed, 15 Aug 2012 11:36:53 +0000
Received: from BLUPR03MB613.namprd03.prod.outlook.com (10.255.124.41) by BLUPR03MB614.namprd03.prod.outlook.com (10.255.124.42) with Microsoft SMTP Server (TLS) id 15.0.496.8; Wed, 15 Aug 2012 11:36:51 +0000
Received: from BLUPR03MB613.namprd03.prod.outlook.com ([169.254.12.60]) by BLUPR03MB613.namprd03.prod.outlook.com ([169.254.12.60]) with mapi id 15.00.0496.004; Wed, 15 Aug 2012 11:36:51 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: Patrick McManus <pmcmanus@mozilla.com>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Thread-Topic: In Defense of Header Compresson
Thread-Index: AQHNdaQHYRrRjOECM0W/8b+aUb28BJdaxIQg
Date: Wed, 15 Aug 2012 11:36:50 +0000
Message-ID: <d0fdfabd35d049c0ad5994ee48ae98a9@BLUPR03MB613.namprd03.prod.outlook.com>
References: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com> <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com> <1344457449.3295.30.camel@ds9>
In-Reply-To: <1344457449.3295.30.camel@ds9>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.255.124.20]
x-forefront-prvs: 0574D4712B
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OrganizationHeadersPreserved: BLUPR03MB614.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%MOZILLA.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14MLTC103.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14MLTC103.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.181.184; envelope-from=henrikn@microsoft.com; helo=ch1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=1.3
X-W3C-Hub-Spam-Report: BAYES_50=0.8, MIME_BASE64_BLANKS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: maggie.w3.org 1T1buq-0004Tb-IX 8ca05569b212cc713081a86a13a54d25
X-Original-To: ietf-http-wg@w3.org
Subject: RE: In Defense of Header Compresson
Archived-At: <http://www.w3.org/mid/d0fdfabd35d049c0ad5994ee48ae98a9@BLUPR03MB613.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15063
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>

UGF0cmljaywgDQoNCkkgYXBvbG9naXplIGZvciBub3Qgc2VlaW5nIHRoaXMgZWFybGllciAtLSB0
aGlzIGlzIGdyZWF0IGRhdGEhDQoNCkkgY29tcGxldGVseSBhZ3JlZSB0aGF0IGlmIHlvdSBoYXZl
IHZlcnkgc21hbGwgZW50aXR5IGJvZGllcyB0aGVuIG1hdHVyYWxseSB0aGUgaGVhZGVyIHNpemUg
d2lsbCBtYXR0ZXIgZ2V0dGluZyBtb3JlIHJlcXVlc3RzIGludG8gdGhlIHBpcGUgZmFzdGVyLiBI
b3dldmVyLCBpbiB0aGUgdGVzdHMgdGhhdCB3ZSBoYXZlIGRvbmUgd2l0aCBhY3R1YWwgZGF0YSB0
aGUgc2l6ZSBvZiB0aGUgZW50aXR5IGJvZGllcyB3YXMgbGFyZ2UgZW5vdWdoIHRoYXQgdGhlIGlt
cGFjdCB3YXMgbWluaW1hbC4gVGhpcyBpcyBlc3BlY2lhbGx5IHRoZSBjYXNlIGlmIHlvdSBhbHNv
IGRvIGJ1bmRsaW5nL21pbmlmaWNhdGlvbiBhcyBpdCBuYXR1cmFsbHkgbGVhZHMgeW91IHRvIGxh
cmdlIGVudGl0aWVzLg0KDQpJbiBvdGhlciB3b3JkcywgaXQgaXMgaGFyZCB0byBiZWF0IHRoZSBw
ZXJmb3JtYW5jZSBjaGFyYWN0ZXJpc3RpYyBvZiB0aGUgcmVxdWVzdCB5b3UgKmRvbid0KiBoYXZl
IHRvIG1ha2UgOikNCg0KSSBjb21wbGV0ZWx5IGFncmVlIHRoYXQgd2hhdGV2ZXIgdHJhbnNmb3Jt
YXRpb24gd2UgZG8gaGFzIHRvIGJlIGxvc3NsZXNzIC0tIGl0J3MgcHJpbWFyaWx5IHRoZSAqbWVj
aGFuaXNtKiBJIGFtIGludGVyZXN0ZWQgaW4uIEluIHBhcnRpY3VsYXIsIEkgYW0gaW50ZXJlc3Rl
ZCBpbiBpdHMgYWJpbGl0eSBmb3IgZWFzeSBpbnNwZWN0aW9uLCB3aGljaCBpcyB3aHkgSSBhbSBz
b21ld2hhdCB3ZWFyeSBvZiBzdHJlYW0tYmFzZWQgY29tcHJlc3NpbmcgYWxnb3JpdGhtcy4gSSB3
b3VsZCBtdWNoIHJhdGhlciBzZWUgc29tZSBmb3JtIG9mIHRva2VuaXphdGlvbi4NCg0KVGhhdCBz
YWlkLCB3ZSBhcmUgZ2F0aGVyaW5nIGEgYnVuY2ggbW9yZSBkYXRhIGFzIHdlIHNwZWFrIG9uIHRo
ZSB2YXJpb3VzIHdheXMgb2Ygc2VuZGluZyBsZXNzIGhlYWRlcnMgLS0gSSBob3BlIHRvIGJlIGFi
bGUgdG8gc2VuZCBvdXQgbW9yZSBkYXRhIHNvb24uDQoNClRoYW5rcywNCg0KSGVucmlrDQoNCi0t
LS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBQYXRyaWNrIE1jTWFudXMgW21haWx0bzpw
bWNtYW51c0Btb3ppbGxhLmNvbV0gDQpTZW50OiBXZWRuZXNkYXksIEF1Z3VzdCAwOCwgMjAxMiAx
MzoyNA0KVG86IEhlbnJpayBGcnlzdHlrIE5pZWxzZW4NCkNjOiBpZXRmLWh0dHAtd2dAdzMub3Jn
IEdyb3VwDQpTdWJqZWN0OiBJbiBEZWZlbnNlIG9mIEhlYWRlciBDb21wcmVzc29uDQoNCk9uIFRo
dSwgMjAxMi0wOC0wMiBhdCAyMDo1MyArMDAwMCwgSGVucmlrIEZyeXN0eWsgTmllbHNlbiB3cm90
ZToNCj4gSSBhbHNvIGhhdmUgdHJvdWJsZSB3aXRoIHRoZSB1c2Ugb2YgY29tcHJlc3Npb24gb3Zl
ciB0aGUgaGVhZGVycyBbLi4NCj4gbWNtYW51cyBkZWxldGVzIGFyZ3VtZW50ICMxIGp1c3QgZm9y
IGNsYXJpdHkgb2YgcmVwbHkuLl0NCj4gDQo+IDIpIEZ1cnRoZXIsIGl0IGlzIHVuY2xlYXIgd2hl
dGhlciB0aGVyZSBpcyBhbnkgbm90aWNlYWJsZSBwZXJmb3JtYW5jZSANCj4gZ2FpbiBmcm9tIGRv
aW5nIHNvLiBUaGUgb25seSBoZWFkZXJzIHRoYXQgdG9kYXkgYXJlIG9wZW4tZW5kZWQgYXJlIA0K
PiByZWFsbHkgVXNlci1BZ2VudCBhbmQgU2V0LUNvb2tpZS9Db29raWUgcGFpcnMuIEluIGFsbCBv
dXIgZGF0YSB3aGVyZSANCj4gd2UgZG9uJ3QgaW5jbHVkZSB0aGVzZSBoZWFkZXJzIHdlIHNlZSBu
byBnYWluIGZyb20gdXNpbmcgaGVhZGVyIA0KPiBjb21wcmVzc2lvbiB3aGF0c29ldmVyIGFzIGxv
bmcgYXMgeW91IGFyZSBjb25zZXJ2YXRpdmUgaW4gaG93IG1hbnkgDQo+IGhlYWRlcnMgeW91IGNo
b29zZSB0byBpbmNsdWRlLg0KDQpIaSBIZW5yaWssIFRoYW5rcyBmb3IgdGhlIHJlcG9ydCAtIGJ1
dCB0aGlzIHJlYWxseSByZWFsbHkgZG9lc24ndCBtZXNoIHdpdGggbXkgZXhwZXJpZW5jZS4gSSBr
ZXB0IGl0IGluIG15IGluYm94IHVudGlsIEkgaGFkIHRoZSB0aW1lIHRvIGRvIHNvbWUgcmVzZWFy
Y2ggdG8gYmFjayB1cCB0aGUgdmFsdWUgb2YgaGVhZGVyIGNvbXByZXNzaW9uIHdoZW4gSSBwaXBl
ZCB1cCAoSSdtIHJlZmVycmluZyB0byBjb21wcmVzc2lvbiBnZW5lcmljYWxseSAtIG5vdCBhIHBh
cnRpY3VsYXIgc2NoZW1lIGZvciBkb2luZyBzby4uKS4NCg0KSW4gb25lIHNlbnNlLCB3ZSBtdXN0
IGJlIHRhbGtpbmcgYWJvdXQgZGlmZmVyZW50IGNvbnRleHRzLiBJdCdzIG9idmlvdXMgdGhhdCBp
ZiB5b3UgaGF2ZSB2ZXJ5IHNtYWxsIG9iamVjdHMgdGhhdCB0aGUgaGVhZGVycyBhcmUgZ29pbmcg
dG8gZG9taW5hdGUgdHJhbnNmZXIgdGltZS4gVGhleSBkbyB0aGlzIG5vdCBzbyBtdWNoIGZyb20g
c2VyaWFsaXphdGlvbiBkZWxheSBidXQgYmVjYXVzZSBvZiBpbnRlcmFjdGlvbiB3aXRoIENXTkQg
LSB5b3UgY2FuIGdldCBtb3JlIGhlYWRlcnMgdXBzdHJlYW0gZmFzdGVyIGluIHRoZSBzYW1lIENX
TkQgYW5kIGZvcm0gYSBkZWVwZXIgcGlwZWxpbmUgKHdoZXRoZXIgdGhhdCBpcyBzZXJpYWwgaHR0
cC8xIHN0eWxlIG9yIHNwZHktbXV4eGVkIHN0eWxlIGlzbid0IGltcHQpLiBPbmNlIHlvdSBnZXQg
ZW5vdWdoIHJlcXVlc3RzIHVwc3RyZWFtIHRoYXQgdGhlIHNlcnZlciBjYW4gZmlsbCB0aGUgQkRQ
IGl0IGRvZXNuJ3QgbXVjaCBtYXR0ZXIsIGJ1dCB1bnRpbCB5b3UgcmVhY2ggdGhhdCBwb2ludCBp
dCBtYXR0ZXJzIGEgbG90IGFuZCBpdCB0dXJucyBpbnRvIHNpZ25pZmljYW50IHRpbWUuDQoNClRo
aXMgaXMgZXNwZWNpYWxseSBwcm9ibGVtYXRpYyB3aGVuIHJlc3BvbnNlcyBhcmUgc21hbGxlciB0
aGFuIHJlcXVlc3RzLg0KVGhlIHBvc3RlciBjaGlsZCBmb3IgdGhpcyBpcyBhIDMwNCByZXNwb25z
ZSB0byBhIHJlcXVlc3Qgd2l0aCBhIGJpZyBjb29raWUuIA0KDQpCdXQgaXRzIGFsc28gYSBwcm9i
bGVtIHdoZXJlIGNsaWVudHMgaGF2ZSBsZXNzIGFnZ3Jlc3NpdmUgVENQIHBhcmFtZXRlcnMgdGhh
biB0aGUgc2VydmVyIHRoZXkgYXJlIHRhbGtpbmcgd2l0aCAtIHdoaWNoIGlzIHByZXR0eSB0eXBp
Y2FsLiBBIGRldm9wcyBlbnZpcm9ubWVudCBtaWdodCBiZSB0d2Vha2VkIHVwIHdpdGggSVc9MTAg
YW5kIHNldCB0byBub3QgcmV2ZXJ0IHRvIHNsb3dzdGFydCBhZnRlciBzbWFsbCBwZXJpb2RzIG9m
IGlkbGUgdGltZSwgYnV0IGEgZGVza3RvcCBpcyBhbG1vc3QgY2VydGFpbmx5IGdvaW5nIHRvIGJl
IHJ1bm5pbmcgdmFuaWxsYSBJVz0zIGZvciBtYW55IHllYXJzLiBUaGF0IGV4YWNlcmJhdGVzIHRo
ZSBwcm9ibGVtIG9mIHRoZSBjbGllbnQgbm90IGJlaW5nIGFibGUgdG8gc2VuZCByZXF1ZXN0cyBm
YXN0IGVub3VnaCBmb3IgdGhlIHNlcnZlciB0byBiZSBhYmxlIHRvIGhhdmUgc29tZXRoaW5nIHRv
IHJlc3BvbmQgdG8gYXQgdGhlaXIgZnVsbCBzZW5kaW5nIHJhdGUuDQoNCkkgcHV0IHRvZ2V0aGVy
IHNvbWUgdGVzdHMgdG8gaWxsdXN0cmF0ZSBpdC4gSSBmb3JtZWQgYSBIVFRQLzEgc3R5bGUgcGlw
ZWxpbmUgb2YgODYgcmVxdWVzdHMgdGhhdCBhbGwgcmV0dXJuIDMwNC4gKGNsaWNrIHJlbG9hZCBv
biBvbmUgcGFnZSkuDQpJIHRlc3RlZCBib3RoIHdpdGhvdXQgYSBjb29raWUgYW5kIHdpdGggYSBt
b2Rlc3QgfjEwMDAgYnl0ZSBjb29raWUuIFlvdSBjYW4gbG9vayBhdCB0aGUgcGFja2V0IGNhcHR1
cmVzIGlmIHlvdSB3YW50IHRvIHNlZSB0aGUgdHJhbnNhY3Rpb25zLCBidXQgdGhleSBhcmUgdGVy
cmlibHkgdmFuaWxsYSAtIHJlcXVlc3RzIGFyZSA0NzcgYnl0ZXMgKHBsdXMgcG9zc2libGUgY29v
a2llKSwgYW5kIHJlc3BvbnNlcyBhcmUgMzA3LiBCb3RoIGNsaWVudCBhbmQgc2VydmVyIGFyZSBy
dW5uaW5nIElXPTMsIGFuZCBteSB0aW1pbmdzIGV4Y2x1ZGUgdGhlIGhhbmRzaGFrZSwgYW5kIEkg
bWVhc3VyZWQgb3ZlciA0IGxhdGVuY2llcy4NClRpbWluZ3MgYXJlIGluIG1zLg0KDQpUZXN0ICAg
IDUwbXMgICAgMTAwbXMgICAgMjAwbXMgICAgMzAwbXMNCjEgICAgICAgICA1MiAgICAxMDIgICAg
ICAgMjAyICAgICAgMzAyIA0KMiAgICAgICAgIDUyICAgIDEwMiAgICAgICAyMDIgICAgICAzMDIN
CjMgICAgICAgIDM1OCAgICA4MDggICAgICAxNDAxICAgICAyMTA4DQo0ICAgICAgICAyNTYgICAg
NTA2ICAgICAgMTAwNiAgICAgMTU0Mg0KDQpUZXN0IDEgaXMgd2l0aCB0aGUgY29va2llIGFuZCB6
bGliIGNvbXByZXNzaW9uIFRlc3QgMiBpcyB3aXRob3V0IHRoZSBjb29raWUgYnV0IHdpdGggemxp
YiBUZXN0IDMgaXMgd2l0aCB0aGUgY29va2llIGFuZCBubyB6bGliIFRlc3QgMyBpcyB3aXRob3V0
IGNvb2tpZSBhbmQgbm8gemxpYg0KDQpJdCdzIHByZXR0eSBjbGVhciB0aGF0IFRDUCB0cmFuc2Zl
ciAoYXMgaXQgYWxtb3N0IGFsd2F5cyBpcyBmb3IgaHR0cCkgaXMgZG9taW5hdGVkIGJ5IHJvdW5k
IHRyaXAgcGVuYWx0aWVzIGdyb3dpbmcgQ1dORC4gTm8gc3VycHJpc2UgdGhlcmUgLSBhbmQgbm8g
c3VycHJpc2UgdGhhdCByZWR1Y2luZyB0aGUgYW1vdW50IG9mIGRhdGEgdG8gYmUgc2VudCBtZWFu
cyBsZXNzIHBlbmFsdGllcyBhYnNvcmJlZC4gVGhlIG1hZ25pdHVkZSBvZiBpdCBpcyBhIGxpdHRs
ZSBzdXJwcmlzaW5nIHRob3VnaCAtIGlmIHlvdSBzaXQgYmVoaW5kIGEgMzAwbXMgbGluayB0aGlz
IHBhZ2UgdGFrZXMgMi4xIHNlY29uZHMgdG8gcmVsb2FkIHdpdGhvdXQgY29tcHJlc3Npb24gdnMg
fjAuMyBzZWNvbmRzIHdpdGggaXQuDQoNClRoZSBwYWNrZXQgY2FwdHVyZXMgZm9yIHRoZXNlIGFy
ZSBhdA0KaHR0cHM6Ly93d3cuZHVja3NvbmcuY29tL21pc2MvcGNhcHMtZm9yLXpsaWIvDQoNClN0
cmF0ZWdpZXMgdGhhdCBsb3NzaWx5IG1lc3Mgd2l0aCB3aGljaCBoZWFkZXJzIHRvIHRyYW5zZmVy
IGFyZSBnb2luZyB0byBjcmVhdGUgYmFja3dhcmRzIGNvbXBhdGliaWxpdHkgcHJvYmxlbXMgYW5k
IHByb2JhYmx5IG5vdCBnZXQgc3VwcG9ydC4NCllvdSBzaG91bGQgc2VlIHRoZSBtZXNzIHdlIGNh
dXNlZCBqdXN0IHRyeWluZyB0byBkcm9wIEFjY2VwdC1DaGFyc2V0IGZyb20gb3VyIHJlcXVlc3Qg
aGVhZGVycyAtIGluZGVlZCBub2JvZHkgd2FzIGRvaW5nIGNoYXJzZXQgbmVnb3RpYXRpb24gd2l0
aCBpdCBidXQgc29tZSB2ZXJ5IGJpZyBuYW1lcyB3ZXJlIHVzaW5nIGl0IGZvciBmaW5nZXJwcmlu
dGluZyBhbmQgc3R1ZmYgc3RhcnRlZCB0byBicmVhayA6KC4gU29tZXRoaW5nIGxpa2UgVXNlci1B
Z2VudCBpcyBhIGNvdXBsZSBvcmRlcnMgb2YgbWFnbml0dWRlIG1vcmUgaW50aW1pZGF0aW5nLg0K
DQpTbyArMSBmb3Igc29tZSBmb3JtIG9mIGxvc3NsZXNzIGVuY29kaW5nIG9mIHRoZSBoZWFkZXJz
Lg0KDQotUGF0cmljaw0KDQoNCg0KDQo=




From ietf-http-wg-request@listhub.w3.org  Wed Aug 15 06:03:21 2012
Return-Path: <ietf-http-wg-request@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 BE92121F8803 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 06:03:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.589
X-Spam-Level: 
X-Spam-Status: No, score=-10.589 tagged_above=-999 required=5 tests=[AWL=0.010, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5Xn0fw3FRJpl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 06:03:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1E4EB21F87E8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Aug 2012 06:03:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T1dDG-0000C8-Gh for ietf-http-wg-dist@listhub.w3.org; Wed, 15 Aug 2012 13:00:42 +0000
Resent-Date: Wed, 15 Aug 2012 13:00:42 +0000
Resent-Message-Id: <E1T1dDG-0000C8-Gh@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1T1dD8-0000Ap-J9 for ietf-http-wg@listhub.w3.org; Wed, 15 Aug 2012 13:00:34 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1T1dD7-0007cl-JB for ietf-http-wg@w3.org; Wed, 15 Aug 2012 13:00:34 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id 4BEDF101BB; Wed, 15 Aug 2012 09:00:10 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id 3B3C6101B7; Wed, 15 Aug 2012 09:00:07 -0400 (EDT)
Message-ID: <1345035602.1116.16.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Wed, 15 Aug 2012 09:00:02 -0400
In-Reply-To: <CAMm+LwjhoCWXfBMXXTg0_Tj+FyB7_RoMuXHwRj7=068FF_oe2g@mail.gmail.com>
References: <502A621A.9010302@cisco.com> <CAMm+LwjhoCWXfBMXXTg0_Tj+FyB7_RoMuXHwRj7=068FF_oe2g@mail.gmail.com>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8
X-W3C-Scan-Sig: maggie.w3.org 1T1dD7-0007cl-JB d423c662557a90543e4ebdba821f728e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/1345035602.1116.16.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15064
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 Tue, 2012-08-14 at 12:24 -0400, Phillip Hallam-Baker wrote:

> If we take architecture seriously, the primary signaling mechanism for
> HTTP/2.0 should be some form of statement in a DNS record to tell the
> client 'I do HTTP 2.0'. We might also have some sort of upgrade
> mechanism for use when the DNS records are blocked but that should be
> a fallback.

This is my current thinking as well though I'm not tied to it.. srv in
the base case (with the possibility of dnssec) and something like
upgrade/alternate-protocol over HTTP/1 as a slower fallback.





From ietf-http-wg-request@listhub.w3.org  Wed Aug 15 06:45:10 2012
Return-Path: <ietf-http-wg-request@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 BD52121F8881 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 06:45:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.938
X-Spam-Level: 
X-Spam-Status: No, score=-8.938 tagged_above=-999 required=5 tests=[AWL=1.661, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 444ey+kqfbXU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 06:45:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2C08121F8879 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Aug 2012 06:45:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T1dsh-000224-6f for ietf-http-wg-dist@listhub.w3.org; Wed, 15 Aug 2012 13:43:31 +0000
Resent-Date: Wed, 15 Aug 2012 13:43:31 +0000
Resent-Message-Id: <E1T1dsh-000224-6f@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T1dsT-00021J-P8 for ietf-http-wg@listhub.w3.org; Wed, 15 Aug 2012 13:43:17 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T1dsQ-0000rt-6y for ietf-http-wg@w3.org; Wed, 15 Aug 2012 13:43:17 +0000
Received: by qcad1 with SMTP id d1so1261858qca.2 for <ietf-http-wg@w3.org>; Wed, 15 Aug 2012 06:42:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=6Wb7cbQc4Ay7KLaxeraEgmUuNq6h1r+BY768N4zMwPA=; b=FSqJiLQ33UcRhhq1CMQbfkXKz/0yCxIVJzrsi01YEe2lCqNOR06sHdyXqQkKIVXLx4 2T48mrgM/7h4nboFBCWTnCtXmzj+3gWBArtRULKHAwWPLNHN6O36cgBYTdGbs2QlGXZc hP85l3VYFYMYeITgEqLDpT/A+AQ2W8hRu1Z8JEwUI419LvlzgdKIx68UsmD/9kdzwdCD LpEUGkhIm1tJTL/kGaGskKOjdIhSe2HwsTfp5fU3BIyOBufsWymXO4P7ixq8M8tuAOkm nhm5Pz8YyLUzJZ1LI0Z43FHR+vN+xqXeaDWyaI9gWuf9BCF/rrfww6kj/ONv/PFXkZUr ly6g==
MIME-Version: 1.0
Received: by 10.60.170.229 with SMTP id ap5mr1726421oec.101.1345038168295; Wed, 15 Aug 2012 06:42:48 -0700 (PDT)
Received: by 10.76.80.10 with HTTP; Wed, 15 Aug 2012 06:42:48 -0700 (PDT)
In-Reply-To: <1345035602.1116.16.camel@ds9>
References: <502A621A.9010302@cisco.com> <CAMm+LwjhoCWXfBMXXTg0_Tj+FyB7_RoMuXHwRj7=068FF_oe2g@mail.gmail.com> <1345035602.1116.16.camel@ds9>
Date: Wed, 15 Aug 2012 09:42:48 -0400
Message-ID: <CAMm+LwhXY+evTgXH=t+Gc8FpvtLsJW-jvor_XPfpZmBEwi5JyA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Patrick McManus <pmcmanus@mozilla.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.216.171; envelope-from=hallam@gmail.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=1.2
X-W3C-Hub-Spam-Report: BAYES_80=2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T1dsQ-0000rt-6y 42f92702bbc6472fd5c89d0984b8937a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/CAMm+LwhXY+evTgXH=t+Gc8FpvtLsJW-jvor_XPfpZmBEwi5JyA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15065
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 Wed, Aug 15, 2012 at 9:00 AM, Patrick McManus <pmcmanus@mozilla.com> wrote:
> On Tue, 2012-08-14 at 12:24 -0400, Phillip Hallam-Baker wrote:
>
>> If we take architecture seriously, the primary signaling mechanism for
>> HTTP/2.0 should be some form of statement in a DNS record to tell the
>> client 'I do HTTP 2.0'. We might also have some sort of upgrade
>> mechanism for use when the DNS records are blocked but that should be
>> a fallback.
>
> This is my current thinking as well though I'm not tied to it.. srv in
> the base case (with the possibility of dnssec) and something like
> upgrade/alternate-protocol over HTTP/1 as a slower fallback.

DNSSEC should be used if available but must not be a requirement.
HTTP2 will be doa if deployment of DNSSEC is a precondition.

Another problem with DNSSEC is deciding what a client should do when
the DNSSEC status is bad. If the answer is 'carry on anyway' then
there is very little value to DNSSEC. If the answer is 'stop' a lot of
stuff is going to break.

If people are going to propose using security, they need to come up
with a finite state machine that shows exactly how the client is
expected to behave on the available information and they have to use
the same FSM to address every use case. During the DKIM discussions we
had endless arguments when people suggested that the client address
corner case A by rejecting a message in a particular circumstance and
address corner case B by accepting it. I found that discussion
unhelpful.

That is why I am more interested in an architecture in which the
client does not attempt to use raw DNS data but may accept them
through some form of service which would curate the data. That does
not actually change the requirement for what needs to be stated in
HTTP or DNS, the service needs the same starting point information as
the client. But it does mean that corner cases can be left to the
service to cope with.

-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Aug 15 10:22:26 2012
Return-Path: <ietf-http-wg-request@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 25B5F11E8091 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 10:22:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.493
X-Spam-Level: 
X-Spam-Status: No, score=-9.493 tagged_above=-999 required=5 tests=[AWL=0.183, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id htNZg5Omx-dq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 10:22:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6BE3011E80BF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Aug 2012 10:22:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T1hG4-00009D-Qr for ietf-http-wg-dist@listhub.w3.org; Wed, 15 Aug 2012 17:19:52 +0000
Resent-Date: Wed, 15 Aug 2012 17:19:52 +0000
Resent-Message-Id: <E1T1hG4-00009D-Qr@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <willchan@google.com>) id 1T1hFp-000054-0i for ietf-http-wg@listhub.w3.org; Wed, 15 Aug 2012 17:19:37 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1T1hFn-0000Z8-S7 for ietf-http-wg@w3.org; Wed, 15 Aug 2012 17:19:36 +0000
Received: by qcad1 with SMTP id d1so1514206qca.2 for <ietf-http-wg@w3.org>; Wed, 15 Aug 2012 10:19:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record; bh=E5R+oQxJ0TgM9jKRzuOey+HQ0gWjCAJxIacBSk8dOS8=; b=amXNOIbQNXRxX67JMS+V/Bd/ZFvADcUMilI7394oB4P/SPsBB8bpdHJM/gmiDTApMP lbbXprl0nv1imnsB7nnne3Ul0fcGS84JZc0bfuDGcbvQJQIAWtwpsBR5q9IVIum91kxP aQgTmxB5gDrHKsF7LTwuqgqMYv26h24LSxDoe7bqVxYc2boJMlT24AN7J8AMhclhdmUm EO8ATNRT38955qqaX89IHq9yaoSK1W91EX3La6CPZwOsPNVG1rmm4zad/fAdX4RjYePH 0P4XHzVkbRGfMFJEBz1W0EjQBAEOhyMrsl0kVuc1E5cqRZO9ByxTj0oQtyb0AXEQeR9V j6Qw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record:x-gm-message-state; bh=E5R+oQxJ0TgM9jKRzuOey+HQ0gWjCAJxIacBSk8dOS8=; b=mdnujTK+LPe51OMc8X3PwtIQnq/aPIO593OrfSS9XcQ9hFJRypd2wUMvtom+SqfUWv SXJJeQ8AyZmNiKUPDMx6DzGWStio4W7/TrWdWl5O/N9R7nWpsvt0WARjm8S0LE/I+Dln a0mf/1cSUrtzxwm4a3n9/5ZkMELXEL078mrLVqrog0GC6AxsTCJziSPtAU5fjMsnAPVI dqU3ggR1sOoo4pAfY+hLh4bWHM4IJeM7SXo+Jy6TUYi6daoSFDqGebdG0gZfZSn3/Zru zSbRiWw7hO97xOXf4wpTnRHxhW4ADzOiLKuU5EeCqd3oNrsbAhWo9/DaZxT0UhGBz2CD tkUg==
Received: by 10.229.135.147 with SMTP id n19mr11778424qct.11.1345051149461; Wed, 15 Aug 2012 10:19:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.135.147 with SMTP id n19mr11778403qct.11.1345051149188; Wed, 15 Aug 2012 10:19:09 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.191.133 with HTTP; Wed, 15 Aug 2012 10:19:09 -0700 (PDT)
In-Reply-To: <1345035602.1116.16.camel@ds9>
References: <502A621A.9010302@cisco.com> <CAMm+LwjhoCWXfBMXXTg0_Tj+FyB7_RoMuXHwRj7=068FF_oe2g@mail.gmail.com> <1345035602.1116.16.camel@ds9>
Date: Wed, 15 Aug 2012 10:19:09 -0700
X-Google-Sender-Auth: PUYqrY4QW3lmK94PXPdPR-p3RdY
Message-ID: <CAA4WUYg3T2WHFHRS-f0who7g8M20J1Jz1Gf4VB6X9X8QJv=sVA@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Patrick McManus <pmcmanus@mozilla.com>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=00248c769122f3c0eb04c7511f4a
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQlzj9sgJB4JpBg8GsbdkqNaSnEblQU0iHauVIMLVspEoVfFIOlGLlbrtNZ6w2TCaNfx2yHgx/zXc/XSxfoEqzU4CbGjHuICNdb3F+mwVESjwAc5EgKQvLUPTIxIwY3e9zJ3zhzx2P2sGu8/JECeqjxTy5e7Zxv5KZ/KJ8+qKNcMgws+bRFxm4HA9q3PzWjHbgUd1usK
Received-SPF: pass client-ip=209.85.216.171; envelope-from=willchan@google.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_60=1.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1T1hFn-0000Z8-S7 82fcb37a82b08aa49b20d78f0fdd15ef
X-Original-To: ietf-http-wg@w3.org
Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/CAA4WUYg3T2WHFHRS-f0who7g8M20J1Jz1Gf4VB6X9X8QJv=sVA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15066
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>

--00248c769122f3c0eb04c7511f4a
Content-Type: text/plain; charset=ISO-8859-1

Can you elaborate how SRV would work here from a client perspective? Do you
propose making the client block on the SRV lookup? Or are you proposing
doing this out of band and switching to HTTP/2.0 if we discover support?

http://code.google.com/p/chromium/issues/detail?id=22423#c9 has some of our
thoughts on SRV in Chromium.


On Wed, Aug 15, 2012 at 6:00 AM, Patrick McManus <pmcmanus@mozilla.com>wrote:

> On Tue, 2012-08-14 at 12:24 -0400, Phillip Hallam-Baker wrote:
>
> > If we take architecture seriously, the primary signaling mechanism for
> > HTTP/2.0 should be some form of statement in a DNS record to tell the
> > client 'I do HTTP 2.0'. We might also have some sort of upgrade
> > mechanism for use when the DNS records are blocked but that should be
> > a fallback.
>
> This is my current thinking as well though I'm not tied to it.. srv in
> the base case (with the possibility of dnssec) and something like
> upgrade/alternate-protocol over HTTP/1 as a slower fallback.
>
>
>
>
>

--00248c769122f3c0eb04c7511f4a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Can you elaborate how SRV would work here from a client perspective? Do you=
 propose making the client block on the SRV lookup? Or are you proposing do=
ing this out of band and switching to HTTP/2.0 if we discover support?<div>
<br></div><div><a href=3D"http://code.google.com/p/chromium/issues/detail?i=
d=3D22423#c9">http://code.google.com/p/chromium/issues/detail?id=3D22423#c9=
</a> has some of our thoughts on SRV in Chromium.<br></div><div class=3D"gm=
ail_extra">
<br><br><div class=3D"gmail_quote">On Wed, Aug 15, 2012 at 6:00 AM, Patrick=
 McManus <span dir=3D"ltr">&lt;<a href=3D"mailto:pmcmanus@mozilla.com" targ=
et=3D"_blank">pmcmanus@mozilla.com</a>&gt;</span> wrote:<br><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa=
dding-left:1ex">
<div class=3D"im">On Tue, 2012-08-14 at 12:24 -0400, Phillip Hallam-Baker w=
rote:<br>
<br>
&gt; If we take architecture seriously, the primary signaling mechanism for=
<br>
&gt; HTTP/2.0 should be some form of statement in a DNS record to tell the<=
br>
&gt; client &#39;I do HTTP 2.0&#39;. We might also have some sort of upgrad=
e<br>
&gt; mechanism for use when the DNS records are blocked but that should be<=
br>
&gt; a fallback.<br>
<br>
</div>This is my current thinking as well though I&#39;m not tied to it.. s=
rv in<br>
the base case (with the possibility of dnssec) and something like<br>
upgrade/alternate-protocol over HTTP/1 as a slower fallback.<br>
<br>
<br>
<br>
<br>
</blockquote></div><br></div>

--00248c769122f3c0eb04c7511f4a--


From ietf-http-wg-request@listhub.w3.org  Wed Aug 15 10:43:16 2012
Return-Path: <ietf-http-wg-request@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 D2C3B21F86AD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 10:43:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.37
X-Spam-Level: 
X-Spam-Status: No, score=-10.37 tagged_above=-999 required=5 tests=[AWL=-0.072, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S7HKOHyz0FT7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 10:43:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CB48921F86AA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Aug 2012 10:43:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T1hb3-00025E-DM for ietf-http-wg-dist@listhub.w3.org; Wed, 15 Aug 2012 17:41:33 +0000
Resent-Date: Wed, 15 Aug 2012 17:41:33 +0000
Resent-Message-Id: <E1T1hb3-00025E-DM@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1T1han-00024P-9p for ietf-http-wg@listhub.w3.org; Wed, 15 Aug 2012 17:41:17 +0000
Received: from ams-iport-1.cisco.com ([144.254.224.140]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1T1hal-0001EE-CA for ietf-http-wg@w3.org; Wed, 15 Aug 2012 17:41:17 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=lear@cisco.com; l=2436; q=dns/txt; s=iport; t=1345052475; x=1346262075; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to; bh=hgpRSdEFdJfXhHLnjfll2PxA4gf/euscWd9t1TVjx34=; b=lbETXd/esTjmxHJlrrC9csjUk9bfZYrx0pFm3Kzwf5XftNBmc45r+Rgm o/Rl+xqRzLC1qR5PBxBwfD6WBjUw03M+yeB/NZCEYvTSKBmWA79856WPA id22nV0VXNrquF2BNieqpT6EGa++n1G66DAzNLEYeEeW6WWQQHMuv5sHr 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgAFAMbeK1CQ/khN/2dsb2JhbAA7CoYBtBaBB4IgAQEBBBIBEFUBEAkCBAETCRYLAgIJAwIBAgFFBg0BBwEBHodrmhKNGZM2ixiFNYESA5VPjiyBZoJh
X-IronPort-AV: E=Sophos;i="4.77,774,1336348800";  d="scan'208,217";a="142459243"
Received: from ams-core-4.cisco.com ([144.254.72.77]) by ams-iport-1.cisco.com with ESMTP; 15 Aug 2012 17:40:48 +0000
Received: from dhcp-10-55-89-242.cisco.com (dhcp-10-55-89-242.cisco.com [10.55.89.242]) by ams-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id q7FHel1U031131 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 15 Aug 2012 17:40:48 GMT
Message-ID: <502BDF1F.4090705@cisco.com>
Date: Wed, 15 Aug 2012 19:40:47 +0200
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: =?UTF-8?B?IldpbGxpYW0gQ2hhbiAo6ZmI5pm65piMKSI=?= <willchan@chromium.org>
CC: Patrick McManus <pmcmanus@mozilla.com>, Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <502A621A.9010302@cisco.com> <CAMm+LwjhoCWXfBMXXTg0_Tj+FyB7_RoMuXHwRj7=068FF_oe2g@mail.gmail.com> <1345035602.1116.16.camel@ds9> <CAA4WUYg3T2WHFHRS-f0who7g8M20J1Jz1Gf4VB6X9X8QJv=sVA@mail.gmail.com>
In-Reply-To: <CAA4WUYg3T2WHFHRS-f0who7g8M20J1Jz1Gf4VB6X9X8QJv=sVA@mail.gmail.com>
X-Enigmail-Version: 1.4.3
Content-Type: multipart/alternative; boundary="------------020109040107080309030002"
Received-SPF: pass client-ip=144.254.224.140; envelope-from=lear@cisco.com; helo=ams-iport-1.cisco.com
X-W3C-Hub-Spam-Status: No, score=-11.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: lisa.w3.org 1T1hal-0001EE-CA 9cee7590bd1797c70636efe0995c2dfd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/502BDF1F.4090705@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15067
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>

This is a multi-part message in MIME format.
--------------020109040107080309030002
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit


On 8/15/12 7:19 PM, William Chan (陈智昌) wrote:
> Can you elaborate how SRV would work here from a client perspective?
> Do you propose making the client block on the SRV lookup? Or are you
> proposing doing this out of band and switching to HTTP/2.0 if we
> discover support?

Block is the wrong word.  You're already doing A-Record queries.  Adding
another record in the question only adds latency if you must serially
query.  Also, I myself am not convinced that SRV records are sufficient
to the task.  For instance, what happens if there is a port # in the
URL?  How do you identify the version #? 

Paul Hoffman did some work on a draft that sort-of looked at this
problem.  I'm going to guess that he stopped short because of potential
downgrade attacks.

Eliot

--------------020109040107080309030002
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 8/15/12 7:19 PM, William Chan (陈智昌)
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAA4WUYg3T2WHFHRS-f0who7g8M20J1Jz1Gf4VB6X9X8QJv=sVA@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      Can you elaborate how SRV would work here from a client
      perspective? Do you propose making the client block on the SRV
      lookup? Or are you proposing doing this out of band and switching
      to HTTP/2.0 if we discover support?</blockquote>
    <br>
    Block is the wrong word.  You're already doing A-Record queries. 
    Adding another record in the question only adds latency if you must
    serially query.  Also, I myself am not convinced that SRV records
    are sufficient to the task.  For instance, what happens if there is
    a port # in the URL?  How do you identify the version #?  <br>
    <br>
    Paul Hoffman did some work on a draft that sort-of looked at this
    problem.  I'm going to guess that he stopped short because of
    potential downgrade attacks.<br>
    <br>
    Eliot<br>
  </body>
</html>

--------------020109040107080309030002--


From ietf-http-wg-request@listhub.w3.org  Wed Aug 15 10:50:00 2012
Return-Path: <ietf-http-wg-request@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 AE61821F86D8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 10:49:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.44
X-Spam-Level: 
X-Spam-Status: No, score=-10.44 tagged_above=-999 required=5 tests=[AWL=-0.141, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ruQ9mDjMGtOg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 10:49:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DB74621F86CE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Aug 2012 10:49:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T1hiF-00061b-JN for ietf-http-wg-dist@listhub.w3.org; Wed, 15 Aug 2012 17:48:59 +0000
Resent-Date: Wed, 15 Aug 2012 17:48:59 +0000
Resent-Message-Id: <E1T1hiF-00061b-JN@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1T1hi7-00060U-Kd for ietf-http-wg@listhub.w3.org; Wed, 15 Aug 2012 17:48:51 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1T1hi6-0001QD-Nj for ietf-http-wg@w3.org; Wed, 15 Aug 2012 17:48:51 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id 78A94101BB; Wed, 15 Aug 2012 13:48:28 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id 48162101B7; Wed, 15 Aug 2012 13:48:24 -0400 (EDT)
Message-ID: <1345052898.1116.36.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: William Chan =?UTF-8?Q?=28=E9=99=88=E6=99=BA=E6=98=8C=29?= <willchan@chromium.org>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Wed, 15 Aug 2012 13:48:18 -0400
In-Reply-To: <CAA4WUYg3T2WHFHRS-f0who7g8M20J1Jz1Gf4VB6X9X8QJv=sVA@mail.gmail.com>
References: <502A621A.9010302@cisco.com> <CAMm+LwjhoCWXfBMXXTg0_Tj+FyB7_RoMuXHwRj7=068FF_oe2g@mail.gmail.com> <1345035602.1116.16.camel@ds9> <CAA4WUYg3T2WHFHRS-f0who7g8M20J1Jz1Gf4VB6X9X8QJv=sVA@mail.gmail.com>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 8bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8
X-W3C-Scan-Sig: lisa.w3.org 1T1hi6-0001QD-Nj c144b6221a930f5eadc5cb2c8d1f5874
X-Original-To: ietf-http-wg@w3.org
Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/1345052898.1116.36.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15068
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>

sorry - too much shorthand. This is for http:// urls of course..
https:// can just use npn on the A address.

race A and SRV queries.. make best practice to bundle SRV answers as
additional information in responses to A queries. Best experience
returns an A bundled with SRV. But if you get an A without a bundled SRV
then go ahead and use it immediately for HTTP/1 and allow a
upgrade/alternate-protocol to do the bootstrapping that less ideal way.

So its just an optimization.

On Wed, 2012-08-15 at 10:19 -0700, William Chan (陈智昌) wrote:
> Can you elaborate how SRV would work here from a client perspective?
> Do you propose making the client block on the SRV lookup? Or are you
> proposing doing this out of band and switching to HTTP/2.0 if we
> discover support?
> 
> 
> http://code.google.com/p/chromium/issues/detail?id=22423#c9 has some
> of our thoughts on SRV in Chromium.
> 
> 
> 
> On Wed, Aug 15, 2012 at 6:00 AM, Patrick McManus
> <pmcmanus@mozilla.com> wrote:
>         On Tue, 2012-08-14 at 12:24 -0400, Phillip Hallam-Baker wrote:
>         
>         > If we take architecture seriously, the primary signaling
>         mechanism for
>         > HTTP/2.0 should be some form of statement in a DNS record to
>         tell the
>         > client 'I do HTTP 2.0'. We might also have some sort of
>         upgrade
>         > mechanism for use when the DNS records are blocked but that
>         should be
>         > a fallback.
>         
>         
>         This is my current thinking as well though I'm not tied to
>         it.. srv in
>         the base case (with the possibility of dnssec) and something
>         like
>         upgrade/alternate-protocol over HTTP/1 as a slower fallback.
>         
>         
>         
>         
> 
> 




From ietf-http-wg-request@listhub.w3.org  Wed Aug 15 10:58:23 2012
Return-Path: <ietf-http-wg-request@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 E085B21F86D8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 10:58:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.562
X-Spam-Level: 
X-Spam-Status: No, score=-9.562 tagged_above=-999 required=5 tests=[AWL=0.114, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4tRcCNuks92O for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 10:58:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 14C2121F86D5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Aug 2012 10:58:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T1hqD-0001Iz-F6 for ietf-http-wg-dist@listhub.w3.org; Wed, 15 Aug 2012 17:57:13 +0000
Resent-Date: Wed, 15 Aug 2012 17:57:13 +0000
Resent-Message-Id: <E1T1hqD-0001Iz-F6@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ifette@google.com>) id 1T1hpz-0001HP-BB for ietf-http-wg@listhub.w3.org; Wed, 15 Aug 2012 17:56:59 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <ifette@google.com>) id 1T1hpy-0001EE-6c for ietf-http-wg@w3.org; Wed, 15 Aug 2012 17:56:59 +0000
Received: by obqv19 with SMTP id v19so2542881obq.2 for <ietf-http-wg@w3.org>; Wed, 15 Aug 2012 10:56:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-system-of-record; bh=abm/x1rdpFmINfuiMR6TRvb889MmBGzXBg1tidzRub4=; b=bRrnpcW9Z+m2TK2ESs9nf85LHSe8FKiHJSe/zFsDrDgCCQC/8HdueAmjxzSwyb8m3W r24dZycdpEVHMAC+/788gjxPvLvLOBaIUjC6wh5Oo1oKlou+sQFLqqc7pCsWj7ArbZMo 0WKjapjTp/QEQMiqe7LES8Ny8t6xJVo7od1WHame7o10IStKUrDbxOozJRSw5QPxViEp 9w6kZyaQpb97fpCifVAXn4uwgr80Yf0FZlH5HoxFd4/pOs8T50Zr7n7xu1Hsw7ie/rm1 sHFHZRXzZ5ZxTBa+MK9ZgtzcL6J9AgilIvrepqzUjCuJ6Bo+NELz7rqAYqrUKAxZ/ras SRdQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-system-of-record:x-gm-message-state; bh=abm/x1rdpFmINfuiMR6TRvb889MmBGzXBg1tidzRub4=; b=kG8NgVIh2CPafMb7XSF0jgFUYzZztMhLZeOilGh2zuWg+uGFtiJ+Llt3hRFoMMVaZ+ g5628J45/r1qXWMqIPC+qWwUCzVSDdJFDdp3iPyAp77UzXlOaRygBVve8ZS+AOjAXReg jQ0Cwh+LKD0B7QP9ty3QsK7WF/9rVq19pKdvcriKfOugYMgMU14Pa0eifM7LRYT+8299 tle6Vh7zXoPVjUvtpsxcH4OSTToh3Mo+ITOJF9lpdV+oIT9pef/ut4z6qn5jUgu8ycDW 65N2IU4YDkzU954SxO9wcWTjwmMsgzDS7S0TUKkMsJkZ2+11PHESFCr7yRkGJSU6veFz Lb9Q==
Received: by 10.60.11.97 with SMTP id p1mr2643500oeb.76.1345053392172; Wed, 15 Aug 2012 10:56:32 -0700 (PDT)
Received: by 10.60.11.97 with SMTP id p1mr2643489oeb.76.1345053391978; Wed, 15 Aug 2012 10:56:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.182.51.162 with HTTP; Wed, 15 Aug 2012 10:56:31 -0700 (PDT)
Reply-To: ifette@google.com
In-Reply-To: <1345052898.1116.36.camel@ds9>
References: <502A621A.9010302@cisco.com> <CAMm+LwjhoCWXfBMXXTg0_Tj+FyB7_RoMuXHwRj7=068FF_oe2g@mail.gmail.com> <1345035602.1116.16.camel@ds9> <CAA4WUYg3T2WHFHRS-f0who7g8M20J1Jz1Gf4VB6X9X8QJv=sVA@mail.gmail.com> <1345052898.1116.36.camel@ds9>
From: =?UTF-8?B?SWFuIEZldHRlICjjgqTjgqLjg7Pjg5Xjgqfjg4Pjg4bjgqMp?= <ifette@google.com>
Date: Wed, 15 Aug 2012 10:56:31 -0700
Message-ID: <CAF4kx8cDta-sS-e-3WL7vsyXeJic=OX_pkEM+bp=9O0Dgugitg@mail.gmail.com>
To: Patrick McManus <pmcmanus@mozilla.com>
Cc: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>,  Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=e89a8fb1f722a201c604c751a555
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQlN8ykM711D5N+ClmezdmMsppMCTamhEp24Nn3SOWzr/WBSlb/gPYvKnnWsz+/f5il2ZZsWOQZ4JDrz+1n28pStXPPZ49+IBHAFXgs7ilWWnJG6o9glnSAmbiMcb2pkmonmdeYV98iPFWGKpY9MgkgxvQRp2ASjIeTmQ3w0yQXJGEnbI2zPWQ/0kDmx6gd1zHqbDWu8
Received-SPF: pass client-ip=209.85.214.171; envelope-from=ifette@google.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, 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
X-W3C-Scan-Sig: maggie.w3.org 1T1hpy-0001EE-6c 71ab900d97b891e53e7ffde27b1b7713
X-Original-To: ietf-http-wg@w3.org
Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/CAF4kx8cDta-sS-e-3WL7vsyXeJic=OX_pkEM+bp=9O0Dgugitg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15069
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>

--e89a8fb1f722a201c604c751a555
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

In this scheme, perhaps you get a SRV record that tells you
example.comsupports HTTP/2.0. Great. Does HTTP/2.0 exist on port 80?
If so, although
you know the end target supports HTTP/2, you have no idea about whether
intermediaries support HTTP/2. If it's on a port other than 80/443 you can
presume that if you can establish a connection it will be to a
device/intermediary that understands HTTP/2, but experience shows we're
going to successfully be able to establish connections only ~80% of the
time. Perhaps we hope that firewalls adapt and open up whatever port gets
used, but that's stacking the deck against us already...

On Wed, Aug 15, 2012 at 10:48 AM, Patrick McManus <pmcmanus@mozilla.com>wro=
te:

> sorry - too much shorthand. This is for http:// urls of course..
> https:// can just use npn on the A address.
>
> race A and SRV queries.. make best practice to bundle SRV answers as
> additional information in responses to A queries. Best experience
> returns an A bundled with SRV. But if you get an A without a bundled SRV
> then go ahead and use it immediately for HTTP/1 and allow a
> upgrade/alternate-protocol to do the bootstrapping that less ideal way.
>
> So its just an optimization.
>
> On Wed, 2012-08-15 at 10:19 -0700, William Chan (=E9=99=88=E6=99=BA=E6=98=
=8C) wrote:
> > Can you elaborate how SRV would work here from a client perspective?
> > Do you propose making the client block on the SRV lookup? Or are you
> > proposing doing this out of band and switching to HTTP/2.0 if we
> > discover support?
> >
> >
> > http://code.google.com/p/chromium/issues/detail?id=3D22423#c9 has some
> > of our thoughts on SRV in Chromium.
> >
> >
> >
> > On Wed, Aug 15, 2012 at 6:00 AM, Patrick McManus
> > <pmcmanus@mozilla.com> wrote:
> >         On Tue, 2012-08-14 at 12:24 -0400, Phillip Hallam-Baker wrote:
> >
> >         > If we take architecture seriously, the primary signaling
> >         mechanism for
> >         > HTTP/2.0 should be some form of statement in a DNS record to
> >         tell the
> >         > client 'I do HTTP 2.0'. We might also have some sort of
> >         upgrade
> >         > mechanism for use when the DNS records are blocked but that
> >         should be
> >         > a fallback.
> >
> >
> >         This is my current thinking as well though I'm not tied to
> >         it.. srv in
> >         the base case (with the possibility of dnssec) and something
> >         like
> >         upgrade/alternate-protocol over HTTP/1 as a slower fallback.
> >
> >
> >
> >
> >
> >
>
>
>
>

--e89a8fb1f722a201c604c751a555
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

In this scheme, perhaps you get a SRV record that tells you <a href=3D"http=
://example.com">example.com</a> supports HTTP/2.0. Great. Does HTTP/2.0 exi=
st on port 80? If so, although you know the end target supports HTTP/2, you=
 have no idea about whether intermediaries support HTTP/2. If it&#39;s on a=
 port other than 80/443 you can presume that if you can establish a connect=
ion it will be to a device/intermediary that understands HTTP/2, but experi=
ence shows we&#39;re going to successfully be able to establish connections=
 only ~80% of the time. Perhaps we hope that firewalls adapt and open up wh=
atever port gets used, but that&#39;s stacking the deck against us already.=
..<br>

<br><div class=3D"gmail_quote">On Wed, Aug 15, 2012 at 10:48 AM, Patrick Mc=
Manus <span dir=3D"ltr">&lt;<a href=3D"mailto:pmcmanus@mozilla.com" target=
=3D"_blank">pmcmanus@mozilla.com</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">

sorry - too much shorthand. This is for http:// urls of course..<br>
https:// can just use npn on the A address.<br>
<br>
race A and SRV queries.. make best practice to bundle SRV answers as<br>
additional information in responses to A queries. Best experience<br>
returns an A bundled with SRV. But if you get an A without a bundled SRV<br=
>
then go ahead and use it immediately for HTTP/1 and allow a<br>
upgrade/alternate-protocol to do the bootstrapping that less ideal way.<br>
<br>
So its just an optimization.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
On Wed, 2012-08-15 at 10:19 -0700, William Chan (=E9=99=88=E6=99=BA=E6=98=
=8C) wrote:<br>
&gt; Can you elaborate how SRV would work here from a client perspective?<b=
r>
&gt; Do you propose making the client block on the SRV lookup? Or are you<b=
r>
&gt; proposing doing this out of band and switching to HTTP/2.0 if we<br>
&gt; discover support?<br>
&gt;<br>
&gt;<br>
&gt; <a href=3D"http://code.google.com/p/chromium/issues/detail?id=3D22423#=
c9" target=3D"_blank">http://code.google.com/p/chromium/issues/detail?id=3D=
22423#c9</a> has some<br>
&gt; of our thoughts on SRV in Chromium.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Aug 15, 2012 at 6:00 AM, Patrick McManus<br>
&gt; &lt;<a href=3D"mailto:pmcmanus@mozilla.com">pmcmanus@mozilla.com</a>&g=
t; wrote:<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 On Tue, 2012-08-14 at 12:24 -0400, Phillip=
 Hallam-Baker wrote:<br>
&gt;<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 &gt; If we take architecture seriously, th=
e primary signaling<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 mechanism for<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 &gt; HTTP/2.0 should be some form of state=
ment in a DNS record to<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 tell the<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 &gt; client &#39;I do HTTP 2.0&#39;. We mi=
ght also have some sort of<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 upgrade<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 &gt; mechanism for use when the DNS record=
s are blocked but that<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 should be<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 &gt; a fallback.<br>
&gt;<br>
&gt;<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 This is my current thinking as well though=
 I&#39;m not tied to<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 it.. srv in<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 the base case (with the possibility of dns=
sec) and something<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 like<br>
&gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 upgrade/alternate-protocol over HTTP/1 as =
a slower fallback.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div></blockquote></div><br>

--e89a8fb1f722a201c604c751a555--


From ietf-http-wg-request@listhub.w3.org  Wed Aug 15 11:15:12 2012
Return-Path: <ietf-http-wg-request@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 CFA4421F8681 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 11:15:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.581
X-Spam-Level: 
X-Spam-Status: No, score=-10.581 tagged_above=-999 required=5 tests=[AWL=0.018, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tG3KbU6amHAg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 11:15:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EB3DE21F8658 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Aug 2012 11:15:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T1i6X-0001RI-R8 for ietf-http-wg-dist@listhub.w3.org; Wed, 15 Aug 2012 18:14:05 +0000
Resent-Date: Wed, 15 Aug 2012 18:14:05 +0000
Resent-Message-Id: <E1T1i6X-0001RI-R8@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1T1i6P-0001QF-IS for ietf-http-wg@listhub.w3.org; Wed, 15 Aug 2012 18:13:57 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1T1i6O-00026S-M2 for ietf-http-wg@w3.org; Wed, 15 Aug 2012 18:13:57 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id B9A3F101BB; Wed, 15 Aug 2012 14:13:34 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id 85685101B7; Wed, 15 Aug 2012 14:13:29 -0400 (EDT)
Message-ID: <1345054404.1116.42.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: ifette@google.com
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Wed, 15 Aug 2012 14:13:24 -0400
In-Reply-To: <CAF4kx8cDta-sS-e-3WL7vsyXeJic=OX_pkEM+bp=9O0Dgugitg@mail.gmail.com>
References: <502A621A.9010302@cisco.com> <CAMm+LwjhoCWXfBMXXTg0_Tj+FyB7_RoMuXHwRj7=068FF_oe2g@mail.gmail.com> <1345035602.1116.16.camel@ds9> <CAA4WUYg3T2WHFHRS-f0who7g8M20J1Jz1Gf4VB6X9X8QJv=sVA@mail.gmail.com> <1345052898.1116.36.camel@ds9> <CAF4kx8cDta-sS-e-3WL7vsyXeJic=OX_pkEM+bp=9O0Dgugitg@mail.gmail.com>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 8bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8
X-W3C-Scan-Sig: lisa.w3.org 1T1i6O-00026S-M2 b726b45aaa5ff1f210629f19098f69b6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/1345054404.1116.42.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15070
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 Wed, 2012-08-15 at 10:56 -0700, Ian Fette (イアンフェッティ) wrote:
> In this scheme, perhaps you get a SRV record that tells you
> example.com supports HTTP/2.0. Great. 

I would think example.com would publish srv records that indicate they
speak service=http2-tls on port 443 which would be used to execute
http:// transactions.

It just cuts out, hopefully most/all the time, the
alternate-protocol-over-http-1-port-80 middleman we have now that
requires extra handshakes, less private communications, etc to get
bootstrapped.







From ietf-http-wg-request@listhub.w3.org  Wed Aug 15 11:25:16 2012
Return-Path: <ietf-http-wg-request@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 93E0121F87C5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 11:25:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.51
X-Spam-Level: 
X-Spam-Status: No, score=-9.51 tagged_above=-999 required=5 tests=[AWL=0.166, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xoj-2sHI853g for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 11:25:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DC3CB21F8513 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Aug 2012 11:25:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T1iGR-0007Db-JM for ietf-http-wg-dist@listhub.w3.org; Wed, 15 Aug 2012 18:24:19 +0000
Resent-Date: Wed, 15 Aug 2012 18:24:19 +0000
Resent-Message-Id: <E1T1iGR-0007Db-JM@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <willchan@google.com>) id 1T1iGD-0007CT-PI for ietf-http-wg@listhub.w3.org; Wed, 15 Aug 2012 18:24:05 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1T1iGC-00023J-TH for ietf-http-wg@w3.org; Wed, 15 Aug 2012 18:24:05 +0000
Received: by qcad1 with SMTP id d1so1579863qca.2 for <ietf-http-wg@w3.org>; Wed, 15 Aug 2012 11:23:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record; bh=JI825Ef1I727jLbjNSDpXdMEveQWnU5zZpbMrymWpkM=; b=j+DzJuLHgwdUit4c8qDF8NJWQNLiEzIvTwA/jEBCLpXXPIpytShF9e3xpKDQkUs1zv H0LxSCklzh7WskvEkrpr0oPlP0LQ/eAq3UVUYmaE94jnd9/TbZKAxTzf0CO49FRobpql E84U91nhdahlEoWP5jwvnJGNSy7o2x+vwFbcs3gvMGLEghAsK1wBGEiiFzmELfATvjb6 GAVwMhFqyo5p85klQT3XchWjC+R8AB2iWEtf74kjO3UfSuRrlX94sh8AStTRRo3Ud89C 9228/26qPnuJE6zl3cLY6L/IJGZltMDsrKOlogc3mzIu7ARKcNgc6BP7c+htYKwQH/Vo 3fcg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record:x-gm-message-state; bh=JI825Ef1I727jLbjNSDpXdMEveQWnU5zZpbMrymWpkM=; b=L8vOZfBMQ1qzsRpZshZrugaSIWVKVNyVd/gonkaW0bBnRyIZ0N29mRQfMdslQe6k9w jQe/6mudze5FQCw5WCeXbpnTGopAMFt7o0yehROlqcCr6OgRCZp43mMIWXDRBelOxrqa gsDIcy9Tkq2p8DPLW6NKvI7Zi0FL0fKiCHbrHzvrTEhTv0TnY8D3YgJawLoy5slI/Nho x+vc8yl8fi904WEqH08Ut1HzTV0HCHjutph2CGaEWVfpjlU/c9g2akQRq7m/qm2xHq0M fitb7apATFEEHwBVAAwicyP8ESyQoVMiysALyv8AWKU1l1zF1asGNsMRlKc3Nhr/4vvg iyVQ==
Received: by 10.229.105.166 with SMTP id t38mr11600243qco.136.1345055018577; Wed, 15 Aug 2012 11:23:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.105.166 with SMTP id t38mr11600229qco.136.1345055018450; Wed, 15 Aug 2012 11:23:38 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.191.133 with HTTP; Wed, 15 Aug 2012 11:23:38 -0700 (PDT)
In-Reply-To: <502BDF1F.4090705@cisco.com>
References: <502A621A.9010302@cisco.com> <CAMm+LwjhoCWXfBMXXTg0_Tj+FyB7_RoMuXHwRj7=068FF_oe2g@mail.gmail.com> <1345035602.1116.16.camel@ds9> <CAA4WUYg3T2WHFHRS-f0who7g8M20J1Jz1Gf4VB6X9X8QJv=sVA@mail.gmail.com> <502BDF1F.4090705@cisco.com>
Date: Wed, 15 Aug 2012 11:23:38 -0700
X-Google-Sender-Auth: g4oBCE6qmYs_PjY71B8gwZUaIHU
Message-ID: <CAA4WUYh96o_o1ppiwT4gB4ovx27zJEYjOabYohjKxAbauZt7Mw@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Eliot Lear <lear@cisco.com>
Cc: Patrick McManus <pmcmanus@mozilla.com>, Phillip Hallam-Baker <hallam@gmail.com>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=00235429d19093ffb204c7520689
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQmb37d7v3NP2SPerNvZ4tuJtONNQ+6P1+NsIRzyJdyYgWLwkBvB2bunYtBDkcsxd/EEA/dJ/lDl7IL083Pb341+F54oysf40Miqi3/rhpTcOi2/mywHco3rmMffdZJx3p21+K++hqCN4Pj39ImghsWMSn+eRLSBCTjdGA+yxZ7+jny06O8ifRqDy5rc5kW4YbTUfIFL
Received-SPF: pass client-ip=209.85.216.171; envelope-from=willchan@google.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=2.3
X-W3C-Hub-Spam-Report: BAYES_95=3, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1T1iGC-00023J-TH 2612ea2658db150c2f1ae21d8116ed3e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/CAA4WUYh96o_o1ppiwT4gB4ovx27zJEYjOabYohjKxAbauZt7Mw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15071
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>

--00235429d19093ffb204c7520689
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I'm confused by this comment. My understanding is that multiple questions
per query does not work in practice. Also, how does the response work? If
the A record is cached, but the SRV record is uncached, does the server not
respond to the client until the SRV record comes back? Or does it stream
the records back somehow and have the client block on responses?

Patrick's explanation makes more sense to me.


On Wed, Aug 15, 2012 at 10:40 AM, Eliot Lear <lear@cisco.com> wrote:

>
> On 8/15/12 7:19 PM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) wrote:
>
> Can you elaborate how SRV would work here from a client perspective? Do
> you propose making the client block on the SRV lookup? Or are you proposi=
ng
> doing this out of band and switching to HTTP/2.0 if we discover support?
>
>
> Block is the wrong word.  You're already doing A-Record queries.  Adding
> another record in the question only adds latency if you must serially
> query.  Also, I myself am not convinced that SRV records are sufficient t=
o
> the task.  For instance, what happens if there is a port # in the URL?  H=
ow
> do you identify the version #?
>
> Paul Hoffman did some work on a draft that sort-of looked at this
> problem.  I'm going to guess that he stopped short because of potential
> downgrade attacks.
>
> Eliot
>

--00235429d19093ffb204c7520689
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I&#39;m confused by this comment. My understanding is that multiple questio=
ns per query does not work in practice. Also, how does the response work? I=
f the A record is cached, but the SRV record is uncached, does the server n=
ot respond to the client until the SRV record comes back? Or does it stream=
 the records back somehow and have the client block on responses?<div>
<br></div><div>Patrick&#39;s explanation makes more sense to me.</div><div =
class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Wed, Aug 15, 20=
12 at 10:40 AM, Eliot Lear <span dir=3D"ltr">&lt;<a href=3D"mailto:lear@cis=
co.com" target=3D"_blank">lear@cisco.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000"><div class=3D"im">
    <br>
    <div>On 8/15/12 7:19 PM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C)
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
     =20
      Can you elaborate how SRV would work here from a client
      perspective? Do you propose making the client block on the SRV
      lookup? Or are you proposing doing this out of band and switching
      to HTTP/2.0 if we discover support?</blockquote>
    <br></div>
    Block is the wrong word.=C2=A0 You&#39;re already doing A-Record querie=
s.=C2=A0
    Adding another record in the question only adds latency if you must
    serially query.=C2=A0 Also, I myself am not convinced that SRV records
    are sufficient to the task.=C2=A0 For instance, what happens if there i=
s
    a port # in the URL?=C2=A0 How do you identify the version #?=C2=A0 <br=
>
    <br>
    Paul Hoffman did some work on a draft that sort-of looked at this
    problem.=C2=A0 I&#39;m going to guess that he stopped short because of
    potential downgrade attacks.<span class=3D"HOEnZb"><font color=3D"#8888=
88"><br>
    <br>
    Eliot<br>
  </font></span></div>

</blockquote></div><br></div>

--00235429d19093ffb204c7520689--


From ietf-http-wg-request@listhub.w3.org  Wed Aug 15 11:43:23 2012
Return-Path: <ietf-http-wg-request@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 3054221F87C5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 11:43:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.369
X-Spam-Level: 
X-Spam-Status: No, score=-10.369 tagged_above=-999 required=5 tests=[AWL=-0.071, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nGUHcTLsXTNz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 11:43:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4A59B21F87B7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Aug 2012 11:43:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T1iXq-0007kv-Tk for ietf-http-wg-dist@listhub.w3.org; Wed, 15 Aug 2012 18:42:18 +0000
Resent-Date: Wed, 15 Aug 2012 18:42:18 +0000
Resent-Message-Id: <E1T1iXq-0007kv-Tk@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1T1iXd-0007k4-2r for ietf-http-wg@listhub.w3.org; Wed, 15 Aug 2012 18:42:05 +0000
Received: from ams-iport-3.cisco.com ([144.254.224.146]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1T1iXb-0002Zz-SI for ietf-http-wg@w3.org; Wed, 15 Aug 2012 18:42:05 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=lear@cisco.com; l=5222; q=dns/txt; s=iport; t=1345056123; x=1346265723; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to; bh=kcUfeJkmNg1a40IVPtvJiNY4iv5jPNOui/wV8BxeX6o=; b=ivQQ76COdJirlOaRHV4FOgiFhEiwnyentQpBvbqjUILiAb2/kb/GKkXa IPByGEXAJJuj3bEACuTyB24Yll8zJt95foUjLaqO3LHeX0/qr8vA0aJfG GijtxGf5UdN74lG048nLmv/aG/oyA9qv6MDg8GhcuPobQBmLpZEZYCON0 Y=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgAFAHnsK1CQ/khL/2dsb2JhbAA7CoYBtBiBB4IgAQEBBBIBEFUBEAkCGAkWCAMCAgkDAgECATQRBg0BBQIBAR6Ha5oIjRmTL4sIEIU1gRIDlU+OLIFmgmE
X-IronPort-AV: E=Sophos;i="4.77,774,1336348800";  d="scan'208,217";a="7357679"
Received: from ams-core-2.cisco.com ([144.254.72.75]) by ams-iport-3.cisco.com with ESMTP; 15 Aug 2012 18:41:37 +0000
Received: from dhcp-10-55-89-242.cisco.com (dhcp-10-55-89-242.cisco.com [10.55.89.242]) by ams-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id q7FIfah7026788 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 15 Aug 2012 18:41:37 GMT
Message-ID: <502BED60.9020807@cisco.com>
Date: Wed, 15 Aug 2012 20:41:36 +0200
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: =?UTF-8?B?IldpbGxpYW0gQ2hhbiAo6ZmI5pm65piMKSI=?= <willchan@chromium.org>
CC: Patrick McManus <pmcmanus@mozilla.com>, Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <502A621A.9010302@cisco.com> <CAMm+LwjhoCWXfBMXXTg0_Tj+FyB7_RoMuXHwRj7=068FF_oe2g@mail.gmail.com> <1345035602.1116.16.camel@ds9> <CAA4WUYg3T2WHFHRS-f0who7g8M20J1Jz1Gf4VB6X9X8QJv=sVA@mail.gmail.com> <502BDF1F.4090705@cisco.com> <CAA4WUYh96o_o1ppiwT4gB4ovx27zJEYjOabYohjKxAbauZt7Mw@mail.gmail.com>
In-Reply-To: <CAA4WUYh96o_o1ppiwT4gB4ovx27zJEYjOabYohjKxAbauZt7Mw@mail.gmail.com>
X-Enigmail-Version: 1.4.3
Content-Type: multipart/alternative; boundary="------------030307000901060806080907"
Received-SPF: pass client-ip=144.254.224.146; envelope-from=lear@cisco.com; helo=ams-iport-3.cisco.com
X-W3C-Hub-Spam-Status: No, score=-11.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: maggie.w3.org 1T1iXb-0002Zz-SI 5772e1ee68bab551b8e6f45b79e3b2f4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/502BED60.9020807@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15072
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>

This is a multi-part message in MIME format.
--------------030307000901060806080907
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Patrick's idea is the happy eyeballs approach (see related work on IPv6
by Dan Wing et al).  You're right, tho, that you probably can't do it in
a single packet, but multiple rapid fired.  That solves the issue you
raise below.

Eliot

On 8/15/12 8:23 PM, William Chan (陈智昌) wrote:
> I'm confused by this comment. My understanding is that multiple
> questions per query does not work in practice. Also, how does the
> response work? If the A record is cached, but the SRV record is
> uncached, does the server not respond to the client until the SRV
> record comes back? Or does it stream the records back somehow and have
> the client block on responses?
>
> Patrick's explanation makes more sense to me.
>
>
> On Wed, Aug 15, 2012 at 10:40 AM, Eliot Lear <lear@cisco.com
> <mailto:lear@cisco.com>> wrote:
>
>
>     On 8/15/12 7:19 PM, William Chan (陈智昌) wrote:
>>     Can you elaborate how SRV would work here from a client
>>     perspective? Do you propose making the client block on the SRV
>>     lookup? Or are you proposing doing this out of band and switching
>>     to HTTP/2.0 if we discover support?
>
>     Block is the wrong word.  You're already doing A-Record queries. 
>     Adding another record in the question only adds latency if you
>     must serially query.  Also, I myself am not convinced that SRV
>     records are sufficient to the task.  For instance, what happens if
>     there is a port # in the URL?  How do you identify the version #? 
>
>     Paul Hoffman did some work on a draft that sort-of looked at this
>     problem.  I'm going to guess that he stopped short because of
>     potential downgrade attacks.
>
>     Eliot
>
>


--------------030307000901060806080907
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Patrick's idea is the happy eyeballs approach (see related work on
    IPv6 by Dan Wing et al).  You're right, tho, that you probably can't
    do it in a single packet, but multiple rapid fired.  That solves the
    issue you raise below.<br>
    <br>
    Eliot<br>
    <br>
    <div class="moz-cite-prefix">On 8/15/12 8:23 PM, William Chan (陈智昌)
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAA4WUYh96o_o1ppiwT4gB4ovx27zJEYjOabYohjKxAbauZt7Mw@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      I'm confused by this comment. My understanding is that multiple
      questions per query does not work in practice. Also, how does the
      response work? If the A record is cached, but the SRV record is
      uncached, does the server not respond to the client until the SRV
      record comes back? Or does it stream the records back somehow and
      have the client block on responses?
      <div>
        <br>
      </div>
      <div>Patrick's explanation makes more sense to me.</div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Wed, Aug 15, 2012 at 10:40 AM, Eliot
          Lear <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:lear@cisco.com" target="_blank">lear@cisco.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <div class="im"> <br>
                <div>On 8/15/12 7:19 PM, William Chan (陈智昌) wrote:<br>
                </div>
                <blockquote type="cite"> Can you elaborate how SRV would
                  work here from a client perspective? Do you propose
                  making the client block on the SRV lookup? Or are you
                  proposing doing this out of band and switching to
                  HTTP/2.0 if we discover support?</blockquote>
                <br>
              </div>
              Block is the wrong word.  You're already doing A-Record
              queries.  Adding another record in the question only adds
              latency if you must serially query.  Also, I myself am not
              convinced that SRV records are sufficient to the task. 
              For instance, what happens if there is a port # in the
              URL?  How do you identify the version #?  <br>
              <br>
              Paul Hoffman did some work on a draft that sort-of looked
              at this problem.  I'm going to guess that he stopped short
              because of potential downgrade attacks.<span
                class="HOEnZb"><font color="#888888"><br>
                  <br>
                  Eliot<br>
                </font></span></div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------030307000901060806080907--


From ietf-http-wg-request@listhub.w3.org  Wed Aug 15 12:14:49 2012
Return-Path: <ietf-http-wg-request@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 239BC21F8685 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 12:14:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.951
X-Spam-Level: 
X-Spam-Status: No, score=-8.951 tagged_above=-999 required=5 tests=[AWL=1.648, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yuUSP7ZR5nDS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 12:14:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6A35B21F8530 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Aug 2012 12:14:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T1j1s-0004rW-12 for ietf-http-wg-dist@listhub.w3.org; Wed, 15 Aug 2012 19:13:20 +0000
Resent-Date: Wed, 15 Aug 2012 19:13:20 +0000
Resent-Message-Id: <E1T1j1s-0004rW-12@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T1j1e-0004px-UV for ietf-http-wg@listhub.w3.org; Wed, 15 Aug 2012 19:13:06 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T1j1d-0003iG-Pm for ietf-http-wg@w3.org; Wed, 15 Aug 2012 19:13:06 +0000
Received: by vcdd16 with SMTP id d16so1894848vcd.2 for <ietf-http-wg@w3.org>; Wed, 15 Aug 2012 12:12:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=Zj1mbzBohtJc8EP7hBZIlt5H0gu60QcXVdr5IGHLt+I=; b=IkH9TX6pVAek+plTJFwiSi723iXqzSPvRYAeOxuAvZN/GtZgYTLtTTHmCy1hDw+Jlw cEBydzC1S97E0xnqD83svPHiApvdwNqSriL88gWZWqPAQiyEHx4Fkd7mup3hwFHs1oHn sx/ES5PRpw82iEVEADYVDFXRirJGK2ESXAAanDQEbBLAYfdChTTYFKJCqJlUAAozWfLT o5WWy8Lqc4cAvXz75wJswHhP6+sPlVVCnRXImBcBJfil6A7fAu5NVQrxTR6l1xBNtaow /t4w90cqlQzCIgur7LuJEQX/i7mTz/pipBfmPwsR+/SV7tEQPBYKNvVRqtJPIXTGnmcU 5c6g==
MIME-Version: 1.0
Received: by 10.52.67.240 with SMTP id q16mr2212975vdt.45.1345057959582; Wed, 15 Aug 2012 12:12:39 -0700 (PDT)
Received: by 10.58.198.41 with HTTP; Wed, 15 Aug 2012 12:12:38 -0700 (PDT)
In-Reply-To: <502BDF1F.4090705@cisco.com>
References: <502A621A.9010302@cisco.com> <CAMm+LwjhoCWXfBMXXTg0_Tj+FyB7_RoMuXHwRj7=068FF_oe2g@mail.gmail.com> <1345035602.1116.16.camel@ds9> <CAA4WUYg3T2WHFHRS-f0who7g8M20J1Jz1Gf4VB6X9X8QJv=sVA@mail.gmail.com> <502BDF1F.4090705@cisco.com>
Date: Wed, 15 Aug 2012 15:12:38 -0400
Message-ID: <CAMm+LwiknyHkEH7cuYdL5VaPC_soW7yhqeFateEJc20r9toGYw@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Eliot Lear <lear@cisco.com>
Cc: =?UTF-8?B?IldpbGxpYW0gQ2hhbiAo6ZmI5pm65piMKSI=?= <willchan@chromium.org>,  Patrick McManus <pmcmanus@mozilla.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.220.171; envelope-from=hallam@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=2.7
X-W3C-Hub-Spam-Report: BAYES_99=3.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T1j1d-0003iG-Pm 2f8004a819d139e891a4ec7e9681f69f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/CAMm+LwiknyHkEH7cuYdL5VaPC_soW7yhqeFateEJc20r9toGYw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15073
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>

It is not necessarily even a separate query.

DNS has these things called 'additional records'. When you do an
A-record lookup you typically get back a lot more than the A-record.

You can also fire off the A-record and SRV record queries in parallel
and then wait for both to arrive. This is what is almost always done
for IPv6.


Another approach is soft caching. DNS records have a set TTL of course
and that has to be respected as far as the semantics of DNS go. But a
client is entirely in their rights to use stale DNS data to inform
optimizations. Roughly 80% of my Web browsing involves a small set of
sites I visit every day. An even larger fraction are sites I visit
every week. It is really not a problem to do a combi A/SRV lookup the
first time and then remember how the site was configured for future
reference. Then when you make the next request you choose the strategy
most likely to be optimal based on past behavior.


On Wed, Aug 15, 2012 at 1:40 PM, Eliot Lear <lear@cisco.com> wrote:
>
> On 8/15/12 7:19 PM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) wrote:
>
> Can you elaborate how SRV would work here from a client perspective? Do y=
ou
> propose making the client block on the SRV lookup? Or are you proposing
> doing this out of band and switching to HTTP/2.0 if we discover support?
>
>
> Block is the wrong word.  You're already doing A-Record queries.  Adding
> another record in the question only adds latency if you must serially que=
ry.
> Also, I myself am not convinced that SRV records are sufficient to the ta=
sk.
> For instance, what happens if there is a port # in the URL?  How do you
> identify the version #?
>
> Paul Hoffman did some work on a draft that sort-of looked at this problem=
.
> I'm going to guess that he stopped short because of potential downgrade
> attacks.
>
> Eliot



--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Aug 15 16:43:33 2012
Return-Path: <ietf-http-wg-request@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 F2AAF11E80BA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 16:43:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.024
X-Spam-Level: 
X-Spam-Status: No, score=-8.024 tagged_above=-999 required=5 tests=[AWL=2.275, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cLVdMolRQbZl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 16:43:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 42A4711E809B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Aug 2012 16:43:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T1nDX-0004CZ-VE for ietf-http-wg-dist@listhub.w3.org; Wed, 15 Aug 2012 23:41:39 +0000
Resent-Date: Wed, 15 Aug 2012 23:41:39 +0000
Resent-Message-Id: <E1T1nDX-0004CZ-VE@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1T1nDD-0004Bf-Gh for ietf-http-wg@listhub.w3.org; Wed, 15 Aug 2012 23:41:19 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1T1nDB-0004Gi-Gj for ietf-http-wg@w3.org; Wed, 15 Aug 2012 23:41:19 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.3.0 (Build 3450)) with SMTP id <0019194642@smtp.qbik.com>; Thu, 16 Aug 2012 11:40:52 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Patrick McManus" <pmcmanus@mozilla.com>, =?utf-8?q?William=20Chan=20=28=e9=99=88=e6=99=ba=e6=98=8c=29?= <willchan@chromium.org>
Cc: "Phillip Hallam-Baker" <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Wed, 15 Aug 2012 23:40:52 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <1345052898.1116.36.camel@ds9>
Message-Id: <em9cf630fe-388b-4364-816c-76aa33e63cda@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1T1nDB-0004Gi-Gj 5bdd2c98f5283287bd0b9ad24d3b5442
X-Original-To: ietf-http-wg@w3.org
Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/em9cf630fe-388b-4364-816c-76aa33e63cda@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15074
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>

=EF=BB=BF
------ Original Message ------
From: "Patrick McManus" <pmcmanus@mozilla.com>
>sorry - too much shorthand. This is for http:// urls of course..
>https:// can just use npn on the A address.
>
>race A and SRV queries.. make best practice to bundle SRV answers as
>additional information in responses to A queries. Best experience
>returns an A bundled with SRV.
>
problem with this, is that now you need to wait for your DNS server=20
vendor to give you a new DNS server you can use to do this.

I think making an additional requirement to deploy a new DNS server=20
will be a bit of a show-stopper.

I think it would be easier to just request both, and wait for both=20
responses.  That's if we decide SRV is the way to go.

But like Elliot, I'm not convinced SRV is right for this problem.  It=20
provides a port number and a weight.  There may be some use for the=20
weight, but the port number is problematic, since we're talking about=20
using 80/443.  Which port number is used?  What if the URL contains a=20
port number etc?

Maybe it would be simpler to just do an optimistic A record lookup. =20
E.g. prepend some well-known token, such as=20

_http2.www.example.org.

if you get a record back, you know it supports http 2.  If you don't=20
you just look up www.example.org.  these 2 requests can be fired off in=20
parallel.

That makes it a lot easier to deploy on the server and client side as=20
well, since the domain operator only needs to publish additional A=20
records, and client doesn't need to do SRV lookups.

I'm pretty sure most people will hate that idea though.

Adrien

>But if you get an A without a bundled SRV
>then go ahead and use it immediately for HTTP/1 and allow a
>upgrade/alternate-protocol to do the bootstrapping that less ideal way.
>
>So its just an optimization.
>
>On Wed, 2012-08-15 at 10:19 -0700, William Chan (=E9=99=88=E6=99=BA=E6=98=
=8C) wrote:
>
>>
>>Can you elaborate how SRV would work here from a client perspective?
>>Do you propose making the client block on the SRV lookup? Or are you
>>proposing doing this out of band and switching to HTTP/2.0 if we
>>discover support?
>>
>>
>>http://code.google.com/p/chromium/issues/detail?id=3D22423#c9 has some
>>of our thoughts on SRV in Chromium.
>>
>>
>>
>>On Wed, Aug 15, 2012 at 6:00 AM, Patrick McManus
>><pmcmanus@mozilla.com> wrote:
>>        On Tue, 2012-08-14 at 12:24 -0400, Phillip Hallam-Baker wrote:
>>
>>        > If we take architecture seriously, the primary signaling
>>        mechanism for
>>        > HTTP/2.0 should be some form of statement in a DNS record to
>>        tell the
>>        > client 'I do HTTP 2.0'. We might also have some sort of
>>        upgrade
>>        > mechanism for use when the DNS records are blocked but that
>>        should be
>>        > a fallback.
>>
>>
>>        This is my current thinking as well though I'm not tied to
>>        it.. srv in
>>        the base case (with the possibility of dnssec) and something
>>        like
>>        upgrade/alternate-protocol over HTTP/1 as a slower fallback.
>>
>>
>>
>>
>>
>>
>>
>



From ietf-http-wg-request@listhub.w3.org  Wed Aug 15 16:44:17 2012
Return-Path: <ietf-http-wg-request@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 941AE11E80A6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 16:44:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.202
X-Spam-Level: 
X-Spam-Status: No, score=-8.202 tagged_above=-999 required=5 tests=[AWL=2.396, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0v2PG30J3MkY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 16:44:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A1A6511E8098 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Aug 2012 16:44:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T1nFF-0004NV-Ri for ietf-http-wg-dist@listhub.w3.org; Wed, 15 Aug 2012 23:43:25 +0000
Resent-Date: Wed, 15 Aug 2012 23:43:25 +0000
Resent-Message-Id: <E1T1nFF-0004NV-Ri@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1T1nF2-0004LM-8B for ietf-http-wg@listhub.w3.org; Wed, 15 Aug 2012 23:43:12 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1T1nF0-0004KO-IR for ietf-http-wg@w3.org; Wed, 15 Aug 2012 23:43:12 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.3.0 (Build 3450)) with SMTP id <0019194644@smtp.qbik.com>; Thu, 16 Aug 2012 11:42:48 +1200
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "ifette@google.com" <ifette@google.com>, "Patrick McManus" <pmcmanus@mozilla.com>
Cc: =?utf-8?q?William=20Chan=20=28=e9=99=88=e6=99=ba=e6=98=8c=29?= <willchan@chromium.org>, "Phillip Hallam-Baker" <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Wed, 15 Aug 2012 23:42:48 +0000
Content-Type: multipart/alternative; boundary="------=_MB12E1229C-EF94-4B86-A1F5-31F7C7BDDC01"
In-Reply-To: <CAF4kx8cDta-sS-e-3WL7vsyXeJic=OX_pkEM+bp=9O0Dgugitg@mail.gmail.com>
Message-Id: <emb7b44801-77c9-4557-870c-e88a145a111e@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1T1nF0-0004KO-IR 12d6e97aa70ff86fd22250a000e7c970
X-Original-To: ietf-http-wg@w3.org
Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/emb7b44801-77c9-4557-870c-e88a145a111e@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15075
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>

--------=_MB12E1229C-EF94-4B86-A1F5-31F7C7BDDC01
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8


whether or not intermediaries support 2.0, if it's server-side=20
intermediaries (accelerators and reverse proxies), then you can rely on=20
the site operator to sort it out.

If it's client-side, the proxy either supports 2.0 or it doesn't, and=20
some deterministic (OOB) way for the proxy to determine whether a=20
server supports 2.0 could be really useful.

If it's some other sort of intermediary, then.... if it's to be truly=20
transparent, it will need to be updated to handle 2.0.

Adrien

------ Original Message ------
From: "Ian Fette (=E3=82=A4=E3=82=A2=E3=83=B3=E3=83=95=E3=82=A7=E3=83=83=
=E3=83=86=E3=82=A3)" <ifette@google.com>
To: "Patrick McManus" <pmcmanus@mozilla.com>
Cc: "William Chan (=E9=99=88=E6=99=BA=E6=98=8C)" <willchan@chromium.org>;"P=
hillip Hallam-Baker"=20
<hallam@gmail.com>;"ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Sent: 16/08/2012 5:56:31 a.m.
Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
>In this scheme, perhaps you get a SRV record that tells you example.com=
 supports HTTP/2.0. Great. Does HTTP/2.0 exist on port 80?=20
>If so, although you know the end target supports HTTP/2, you have no=20
>idea about whether intermediaries support HTTP/2. If it's on a port=20
>other than 80/443 you can presume that if you can establish a=20
>connection it will be to a device/intermediary that understands=20
>HTTP/2, but experience shows we're going to successfully be able to=20
>establish connections only ~80% of the time. Perhaps we hope that=20
>firewalls adapt and open up whatever port gets used, but that's=20
>stacking the deck against us already...
>
>On Wed, Aug 15, 2012 at 10:48 AM, Patrick McManus <pmcmanus@mozilla.com>=
 wrote:
> sorry - too much shorthand. This is for http:// urls of course..
> https:// can just use npn on the A address.
>=20
> race A and SRV queries.. make best practice to bundle SRV answers as
> additional information in responses to A queries. Best experience
> returns an A bundled with SRV. But if you get an A without a bundled=20
> SRV
> then go ahead and use it immediately for HTTP/1 and allow a
> upgrade/alternate-protocol to do the bootstrapping that less ideal=20
> way.
>=20
> So its just an optimization.
>=20
> On Wed, 2012-08-15 at 10:19 -0700, William Chan (=E9=99=88=E6=99=BA=E6=
=98=8C) wrote:
> > Can you elaborate how SRV would work here from a client perspective?
> > Do you propose making the client block on the SRV lookup? Or are you
> > proposing doing this out of band and switching to HTTP/2.0 if we
> > discover support?
> >
> >
> > http://code.google.com/p/chromium/issues/detail?id=3D22423#c9 has some
> > of our thoughts on SRV in Chromium.
> >
> >
> >
> > On Wed, Aug 15, 2012 at 6:00 AM, Patrick McManus
> > <pmcmanus@mozilla.com> wrote:
> >         On Tue, 2012-08-14 at 12:24 -0400, Phillip Hallam-Baker=20
> wrote:
> >
> >         > If we take architecture seriously, the primary signaling
> >         mechanism for
> >         > HTTP/2.0 should be some form of statement in a DNS record=20
> to
> >         tell the
> >         > client 'I do HTTP 2.0'. We might also have some sort of
> >         upgrade
> >         > mechanism for use when the DNS records are blocked but=20
> that
> >         should be
> >         > a fallback.
> >
> >
> >         This is my current thinking as well though I'm not tied to
> >         it.. srv in
> >         the base case (with the possibility of dnssec) and something
> >         like
> >         upgrade/alternate-protocol over HTTP/1 as a slower fallback.
> >
> >
> >
> >
> >
> >
>=20
>=20
>=20
=20

--------=_MB12E1229C-EF94-4B86-A1F5-31F7C7BDDC01
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8

<HTML><HEAD>
<STYLE id=3DeMClientCss>blockquote.cite { margin-left: 5px; margin-right:=
 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #000000=
 }
.plain pre { font-family: monospace; font-size: 100%; font-weight: normal;=
 font-style: normal; }
body {font-family: Tahoma;font-size: 12pt;}
.plain pre {font-family: Tahoma;font-size: 12pt;}

#d993a7a18c5b4ffb9224b29ca30ff570 BLOCKQUOTE.cite
{BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px}
#d993a7a18c5b4ffb9224b29ca30ff570 .plain PRE
{FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal}
#d993a7a18c5b4ffb9224b29ca30ff570=20
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}
#d993a7a18c5b4ffb9224b29ca30ff570 .plain PRE
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}</STYLE>
</HEAD>
<BODY scroll=3Dauto class>
<DIV>&nbsp;</DIV>
<DIV>whether or not intermediaries support 2.0, if it's server-side interme=
diaries (accelerators and reverse proxies), then you can rely on the site=
 operator to sort it out.</DIV>
<DIV>&nbsp;</DIV>
<DIV>If it's client-side, the proxy either supports 2.0 or it doesn't, and=
 some deterministic (OOB) way for the proxy to determine whether a server=
 supports 2.0&nbsp;could be really useful.</DIV>
<DIV>&nbsp;</DIV>
<DIV>If it's some other sort of intermediary, then.... if it's to be truly=
 transparent, it will need to be updated to handle 2.0.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Adrien</DIV>
<DIV><BR>------ Original Message ------<BR>From: "Ian Fette (=E3=82=A4=E3=
=82=A2=E3=83=B3=E3=83=95=E3=82=A7=E3=83=83=E3=83=86=E3=82=A3)" &lt;ifette@g=
oogle.com&gt;<BR>To: "Patrick McManus" &lt;pmcmanus@mozilla.com&gt;<BR>Cc:=
 "William Chan (=E9=99=88=E6=99=BA=E6=98=8C)" &lt;willchan@chromium.org&gt;=
;"Phillip Hallam-Baker" &lt;hallam@gmail.com&gt;;"ietf-http-wg@w3.org Group=
" &lt;ietf-http-wg@w3.org&gt;<BR>Sent: 16/08/2012 5:56:31 a.m.<BR>Subject:=
 Re: comments on draft-mbelshe-httpbis-spdy-00<BR></DIV>
<BLOCKQUOTE class=3Dcite cite=3DCAF4kx8cDta-sS-e-3WL7vsyXeJic=3DOX_pkEM+bp=
=3D9O0Dgugitg@mail.gmail.com type=3D"cite">
<DIV id=3Dd993a7a18c5b4ffb9224b29ca30ff570>In this scheme, perhaps you get=
 a SRV record that tells you <A href=3D"http://example.com">example.com</A>=
 supports HTTP/2.0. Great. Does HTTP/2.0 exist on port 80? If so, although=
 you know the end target supports HTTP/2, you have no idea about whether=
 intermediaries support HTTP/2. If it's on a port other than 80/443 you =
can presume that if you can establish a connection it will be to a device/i=
ntermediary that understands HTTP/2, but experience shows we're going to=
 successfully be able to establish connections only ~80% of the time. Perha=
ps we hope that firewalls adapt and open up whatever port gets used, but=
 that's stacking the deck against us already...<BR><BR>
<DIV class=3Dgmail_quote>On Wed, Aug 15, 2012 at 10:48 AM, Patrick McManus=
 <SPAN dir=3Dltr>&lt;<A href=3D"mailto:pmcmanus@mozilla.com"><A href=3D"mai=
lto:pmcmanus@mozilla.com">pmcmanus@mozilla.com</A></A>&gt;</SPAN> wrote:<BR=
>
<BLOCKQUOTE style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3Dgmail_quote>sorry - too much shorthand. This=
 is for http:// urls of course..<BR>https:// can just use npn on the A addr=
ess.<BR><BR>race A and SRV queries.. make best practice to bundle SRV answe=
rs as<BR>additional information in responses to A queries. Best experience<=
BR>returns an A bundled with SRV. But if you get an A without a bundled =
SRV<BR>then go ahead and use it immediately for HTTP/1 and allow a<BR>upgra=
de/alternate-protocol to do the bootstrapping that less ideal way.<BR><BR>S=
o its just an optimization.<BR>
<DIV class=3DHOEnZb>
<DIV class=3Dh5><BR>On Wed, 2012-08-15 at 10:19 -0700, William Chan (=E9=
=99=88=E6=99=BA=E6=98=8C) wrote:<BR>&gt; Can you elaborate how SRV would=
 work here from a client perspective?<BR>&gt; Do you propose making the =
client block on the SRV lookup? Or are you<BR>&gt; proposing doing this =
out of band and switching to HTTP/2.0 if we<BR>&gt; discover support?<BR>&g=
t;<BR>&gt;<BR>&gt; <A href=3D"http://code.google.com/p/chromium/issues/deta=
il?id=3D22423#c9"><A href=3D"http://code.google.com/p/chromium/issues/detai=
l?id=3D22423#c9">http://code.google.com/p/chromium/issues/detail?id=3D22423=
#c9</A></A> has some<BR>&gt; of our thoughts on SRV in Chromium.<BR>&gt;<BR=
>&gt;<BR>&gt;<BR>&gt; On Wed, Aug 15, 2012 at 6:00 AM, Patrick McManus<BR>&=
gt; &lt;<A href=3D"mailto:pmcmanus@mozilla.com"><A href=3D"mailto:pmcmanus@=
mozilla.com">pmcmanus@mozilla.com</A></A>&gt; wrote:<BR>&gt; &nbsp; &nbsp;=
 &nbsp; &nbsp; On Tue, 2012-08-14 at 12:24 -0400, Phillip Hallam-Baker wrot=
e:<BR>&gt;<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; If we take architecture=
 seriously, the primary signaling<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; mecha=
nism for<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; HTTP/2.0 should be some=
 form of statement in a DNS record to<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp;=
 tell the<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; client 'I do HTTP 2.0'.=
 We might also have some sort of<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; upgrad=
e<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; mechanism for use when the DNS=
 records are blocked but that<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; should=
 be<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &gt; a fallback.<BR>&gt;<BR>&gt;<BR=
>&gt; &nbsp; &nbsp; &nbsp; &nbsp; This is my current thinking as well thoug=
h I'm not tied to<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; it.. srv in<BR>&gt;=
 &nbsp; &nbsp; &nbsp; &nbsp; the base case (with the possibility of dnssec)=
 and something<BR>&gt; &nbsp; &nbsp; &nbsp; &nbsp; like<BR>&gt; &nbsp; &nbs=
p; &nbsp; &nbsp; upgrade/alternate-protocol over HTTP/1 as a slower fallbac=
k.<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR><BR><BR><BR></DIV></D=
IV></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></BODY></HTML>
--------=_MB12E1229C-EF94-4B86-A1F5-31F7C7BDDC01--



From ietf-http-wg-request@listhub.w3.org  Wed Aug 15 16:51:34 2012
Return-Path: <ietf-http-wg-request@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 6E6A911E80D9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 16:51:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.964
X-Spam-Level: 
X-Spam-Status: No, score=-8.964 tagged_above=-999 required=5 tests=[AWL=1.635, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o03TtqZ8zcgu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 16:51:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 212EA11E8098 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Aug 2012 16:51:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T1nMN-0001Kb-3p for ietf-http-wg-dist@listhub.w3.org; Wed, 15 Aug 2012 23:50:47 +0000
Resent-Date: Wed, 15 Aug 2012 23:50:47 +0000
Resent-Message-Id: <E1T1nMN-0001Kb-3p@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T1nM6-0001I4-Qk for ietf-http-wg@listhub.w3.org; Wed, 15 Aug 2012 23:50:30 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T1nM2-0003Qx-Tc for ietf-http-wg@w3.org; Wed, 15 Aug 2012 23:50:30 +0000
Received: by obqv19 with SMTP id v19so2888856obq.2 for <ietf-http-wg@w3.org>; Wed, 15 Aug 2012 16:50:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=V2Cxo+TWd5VG81aPnssTpPcIk/TUMqPpo2vjG4y/FVc=; b=GGltybnqVtibB9BJStvL+qAOsG/wgNZ70g2/hh5gsiWYr86NTnxNW05zF+PuQkmN3U BWHkpKOdZD9+8CWo49sbDy12NI10bXO/fPY6FAkdqvlnGelieGedfLClsC2vKFIANskH 8YdBB9mIFi63WWxgYO43p40TvfT8HjUCv1VXWMm6ORfiEkiKSmxyLvyTKpD2ov47A2hH Q7N6+Z08pobj+L+ic9iO4BtOq3dUov/c7vQ8iApgprecqYM+myC1onoUq2lnl8Ym5+CF hNO0TCdu7ps15ZNyxbRltFLp6XHSQqwO0E2OaKNZ2Y8H38qeNzRitM8D+AxP7Uavs+Sk OtNA==
MIME-Version: 1.0
Received: by 10.182.207.6 with SMTP id ls6mr25380270obc.36.1345074600817; Wed, 15 Aug 2012 16:50:00 -0700 (PDT)
Received: by 10.76.80.10 with HTTP; Wed, 15 Aug 2012 16:50:00 -0700 (PDT)
In-Reply-To: <em9cf630fe-388b-4364-816c-76aa33e63cda@bombed>
References: <1345052898.1116.36.camel@ds9> <em9cf630fe-388b-4364-816c-76aa33e63cda@bombed>
Date: Wed, 15 Aug 2012 19:50:00 -0400
Message-ID: <CAMm+LwjshSF-u+R7_APy2EWaomAv4f0VnrL4P-Kxz6h6bTWfSA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: Patrick McManus <pmcmanus@mozilla.com>,  =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T1nM2-0003Qx-Tc 1004f2ad6b50b2da0cddb406eab505c1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/CAMm+LwjshSF-u+R7_APy2EWaomAv4f0VnrL4P-Kxz6h6bTWfSA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15076
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>

As a general principle I suggest:

* HTTP/2.0 discovery MUST be at least as good at establishing a
connection as the current protocol in every network situation
including cases where access is restricted by intermediaries and the
server only supports HTTP/1.1 or 1.0.

* HTTP/2.0 SHOULD be at least as fast in the overwhelming majority of
cases but MAY be less performant in corner case situations, provided
the performance penalty is not too great.


We are NOT going for Pareto optimal here. It is quite OK for some
connections to be slower, provided that this is not a constant issue.

On Wed, Aug 15, 2012 at 7:40 PM, Adrien W. de Croy <adrien@qbik.com> wrote:
>
> ------ Original Message ------
> From: "Patrick McManus" <pmcmanus@mozilla.com>
>>
>> sorry - too much shorthand. This is for http:// urls of course..
>> https:// can just use npn on the A address.
>>
>> race A and SRV queries.. make best practice to bundle SRV answers as
>> additional information in responses to A queries. Best experience
>> returns an A bundled with SRV.
>>
> problem with this, is that now you need to wait for your DNS server vendo=
r
> to give you a new DNS server you can use to do this.
>
> I think making an additional requirement to deploy a new DNS server will =
be
> a bit of a show-stopper.
>
> I think it would be easier to just request both, and wait for both
> responses.  That's if we decide SRV is the way to go.
>
> But like Elliot, I'm not convinced SRV is right for this problem.  It
> provides a port number and a weight.  There may be some use for the weigh=
t,
> but the port number is problematic, since we're talking about using 80/44=
3.
> Which port number is used?  What if the URL contains a port number etc?
>
> Maybe it would be simpler to just do an optimistic A record lookup.  E.g.
> prepend some well-known token, such as
> _http2.www.example.org.
>
> if you get a record back, you know it supports http 2.  If you don't you
> just look up www.example.org.  these 2 requests can be fired off in
> parallel.
>
> That makes it a lot easier to deploy on the server and client side as wel=
l,
> since the domain operator only needs to publish additional A records, and
> client doesn't need to do SRV lookups.
>
> I'm pretty sure most people will hate that idea though.
>
> Adrien
>
>
>> But if you get an A without a bundled SRV
>> then go ahead and use it immediately for HTTP/1 and allow a
>> upgrade/alternate-protocol to do the bootstrapping that less ideal way.
>>
>> So its just an optimization.
>>
>> On Wed, 2012-08-15 at 10:19 -0700, William Chan (=E9=99=88=E6=99=BA=E6=
=98=8C) wrote:
>>
>>>
>>> Can you elaborate how SRV would work here from a client perspective?
>>> Do you propose making the client block on the SRV lookup? Or are you
>>> proposing doing this out of band and switching to HTTP/2.0 if we
>>> discover support?
>>>
>>>
>>> http://code.google.com/p/chromium/issues/detail?id=3D22423#c9 has some
>>> of our thoughts on SRV in Chromium.
>>>
>>>
>>>
>>> On Wed, Aug 15, 2012 at 6:00 AM, Patrick McManus
>>> <pmcmanus@mozilla.com> wrote:
>>>        On Tue, 2012-08-14 at 12:24 -0400, Phillip Hallam-Baker wrote:
>>>
>>>        > If we take architecture seriously, the primary signaling
>>>        mechanism for
>>>        > HTTP/2.0 should be some form of statement in a DNS record to
>>>        tell the
>>>        > client 'I do HTTP 2.0'. We might also have some sort of
>>>        upgrade
>>>        > mechanism for use when the DNS records are blocked but that
>>>        should be
>>>        > a fallback.
>>>
>>>
>>>        This is my current thinking as well though I'm not tied to
>>>        it.. srv in
>>>        the base case (with the possibility of dnssec) and something
>>>        like
>>>        upgrade/alternate-protocol over HTTP/1 as a slower fallback.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>



--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Aug 15 20:10:32 2012
Return-Path: <ietf-http-wg-request@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 6EDE121F84A2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 20:10:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.588
X-Spam-Level: 
X-Spam-Status: No, score=-10.588 tagged_above=-999 required=5 tests=[AWL=0.010, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e+GP0uDUhSio for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 20:10:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2BC8A21F84CD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Aug 2012 20:10:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T1qRp-00050s-3e for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Aug 2012 03:08:37 +0000
Resent-Date: Thu, 16 Aug 2012 03:08:37 +0000
Resent-Message-Id: <E1T1qRp-00050s-3e@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <paulle@microsoft.com>) id 1T1qRZ-0004oW-Nj for ietf-http-wg@listhub.w3.org; Thu, 16 Aug 2012 03:08:21 +0000
Received: from am1ehsobe006.messaging.microsoft.com ([213.199.154.209] helo=am1outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <paulle@microsoft.com>) id 1T1qRX-0000z4-LR for ietf-http-wg@w3.org; Thu, 16 Aug 2012 03:08:21 +0000
Received: from mail95-am1-R.bigfish.com (10.3.201.247) by AM1EHSOBE009.bigfish.com (10.3.204.29) with Microsoft SMTP Server id 14.1.225.23; Thu, 16 Aug 2012 03:07:52 +0000
Received: from mail95-am1 (localhost [127.0.0.1])	by mail95-am1-R.bigfish.com (Postfix) with ESMTP id 674B81C0130;	Thu, 16 Aug 2012 03:07:52 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC102.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -9
X-BigFish: VS-9(zz98dI9371Ic89bh936eI542M1432Ic857hzz1202hzz8275bh8275dhz2fh2a8h668h839hd25hf0ah107ah1155h)
Received-SPF: pass (mail95-am1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=paulle@microsoft.com; helo=TK5EX14HUBC102.redmond.corp.microsoft.com ;icrosoft.com ;
Received: from mail95-am1 (localhost.localdomain [127.0.0.1]) by mail95-am1 (MessageSwitch) id 1345086454555797_3423; Thu, 16 Aug 2012 03:07:34 +0000 (UTC)
Received: from AM1EHSMHS017.bigfish.com (unknown [10.3.201.234])	by mail95-am1.bigfish.com (Postfix) with ESMTP id 7B849460045;	Thu, 16 Aug 2012 03:07:34 +0000 (UTC)
Received: from TK5EX14HUBC102.redmond.corp.microsoft.com (131.107.125.8) by AM1EHSMHS017.bigfish.com (10.3.207.155) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 16 Aug 2012 03:07:34 +0000
Received: from TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com (157.54.24.14) by TK5EX14HUBC102.redmond.corp.microsoft.com (157.54.7.154) with Microsoft SMTP Server (TLS) id 14.2.309.3; Thu, 16 Aug 2012 03:07:31 +0000
Received: from TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com ([169.254.4.170]) by TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com ([157.54.24.14]) with mapi id 14.02.0309.003; Wed, 15 Aug 2012 20:07:30 -0700
From: Paul Leach <paulle@microsoft.com>
To: James M Snell <jasnell@gmail.com>
CC: Julian Reschke <julian.reschke@gmx.de>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Adrien de Croy <adrien@qbik.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>, Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: HTTP2 Expression of Interest : Squid
Thread-Index: AQHNZEBdMLzsAnuq40m2HdV29XEPYJcuGyIwgACG4oCALUuPYA==
Date: Thu, 16 Aug 2012 03:07:29 +0000
Message-ID: <526415708D2AD940845C43B7A6BE7CE80EA4D0CC@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
References: <74601.1342521381@critter.freebsd.dk> <emc7be1028-2d4d-4336-b386-fbf9464e9559@reboist> <CA566BAEAD6B3F4E8B5C5C4F61710C11480AAEFF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <50059E45.9090604@gmx.de> <526415708D2AD940845C43B7A6BE7CE80EA00EBF@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <CABP7RbcqXN6uv2EVRyZKadSvifpU-8hKnDwn+sVUjMSWSeNQEA@mail.gmail.com>
In-Reply-To: <CABP7RbcqXN6uv2EVRyZKadSvifpU-8hKnDwn+sVUjMSWSeNQEA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.90]
Content-Type: multipart/alternative; boundary="_000_526415708D2AD940845C43B7A6BE7CE80EA4D0CCTK5EX14MBXW604w_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=213.199.154.209; envelope-from=paulle@microsoft.com; helo=am1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=0.1
X-W3C-Hub-Spam-Report: BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1T1qRX-0000z4-LR acb97633a2ac739981e2d83ab9b2f863
X-Original-To: ietf-http-wg@w3.org
Subject: RE: HTTP2 Expression of Interest : Squid
Archived-At: <http://www.w3.org/mid/526415708D2AD940845C43B7A6BE7CE80EA4D0CC@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15077
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>

--_000_526415708D2AD940845C43B7A6BE7CE80EA4D0CCTK5EX14MBXW604w_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

SSBfc2FpZF8gaXQgd2FzIHF1aWNrIGFuZCBkaXJ0eeKApi4gVGhlcmUgYXJlIGxvdHMgb2Ygd2F5
cyB0aGUgYWVzdGhldGljcyBjb3VsZCBiZSBjbGVhbmVkIHVwLg0KDQpUaGUgcHJvYmxlbSB3aXRo
IHRoZSBzaW5nbGUgUFVTSCBtZXRob2QgYXBwcm9hY2gsIElNTywgaXMgdGhhdCBpdCBpcyB1bmxp
a2VseSB0aGF0IHRoZXJlIHNoYWx0IGJlIG9uZSBhbmQgb25seSBvbmUgSFRUUCBtZXRob2Qgd2l0
aCBzaWRlLWVmZmVjdHMgZm9yIGV2ZXIgYW5kIGV2ZXIuIEhlbmNlLCB3aGF0ZXZlciBnb29kbmVz
cyBQVVNIIHdvdWxkIGhhdmUgd3J0IHRvIGF1dGhlbnRpY2F0aW9uIGFuIGxvbmcvaW5kZWZpbml0
ZSBlbnRpdHkgYm9kaWVzIHdvdWxkIGhhdmUgdG8gYmUgZHVwbGljYXRlZCBmb3IgYW55IG5ldyBt
ZXRob2Qgd2l0aCBzaW1pbGFyIHByb2JsZW1zLg0KDQoNCkZyb206IEphbWVzIE0gU25lbGwgW21h
aWx0bzpqYXNuZWxsQGdtYWlsLmNvbV0NClNlbnQ6IFR1ZXNkYXksIEp1bHkgMTcsIDIwMTIgNTox
NyBQTQ0KVG86IFBhdWwgTGVhY2gNCkNjOiBKdWxpYW4gUmVzY2hrZTsgR2FicmllbCBNb250ZW5l
Z3JvOyBBZHJpZW4gZGUgQ3JveTsgUG91bC1IZW5uaW5nIEthbXA7IEFtb3MgSmVmZnJpZXM7IGll
dGYtaHR0cC13Z0B3My5vcmcNClN1YmplY3Q6IFJlOiBIVFRQMiBFeHByZXNzaW9uIG9mIEludGVy
ZXN0IDogU3F1aWQNCg0KQVVUSC1QVVQ/IEV3dy4uLiBmb3IgZmFyIHRvbyBtYW55IHJlYXNvbnMg
dG8gbGlzdC4gVXNpbmcgYSBuZXcgbWV0aG9kIGZvciBhIHJldmlzZWQgY29udGVudC1wdXNoL2V4
cGVjdC9jb250aW51ZSB0eXBlIG9mIG1lY2hhbmlzbSBkb2VzIG1ha2Ugc2Vuc2UsIGhvd2V2ZXIs
IGFzIGl0IGF2b2lkcyB0aGUgdHlwZSBvZiBtaXNjb21tdW5pY2F0aW9uIHRoYXQgY291bGQgaGFw
cGVuIHdoZW4gYXR0ZW1wdGluZyB0byBpbnRlcmFjdCB3aXRoIGRvd25sZXZlbCBzZXJ2ZXJzLiBB
IHNpbmdsZSAiUFVTSCIgbWV0aG9kLCBhcyBJIGRlc2NyaWJlZCBwcmV2aW91c2x5LCB3aXRoIHNl
bWFudGljcyBkZWZpbmVkIHN0cmljdGx5IGZvciBIVFRQLzIuMCBzaG91bGQgYmUgZW5vdWdoIHRv
IGFkZHJlc3MgdGhlIGlzc3VlLg0KDQotIEphbWVzDQpPbiBUdWUsIEp1bCAxNywgMjAxMiBhdCA1
OjA2IFBNLCBQYXVsIExlYWNoIDxwYXVsbGVAbWljcm9zb2Z0LmNvbTxtYWlsdG86cGF1bGxlQG1p
Y3Jvc29mdC5jb20+PiB3cm90ZToNCk90aGVyIHBlb3BsZSBoYXZlIGNvdmVyZWQgbW9zdCBvZiB0
aGUgaXNzdWVzIGluIG90aGVyIHBvc3RzLg0KQWxzbywgYXMgUkZDIDI2MTYgc2F5czoNCiAgICAg
ICAgTWFueSBvbGRlciBIVFRQLzEuMCBhbmQgSFRUUC8xLjEgYXBwbGljYXRpb25zIGRvIG5vdCB1
bmRlcnN0YW5kIHRoZSBFeHBlY3QgaGVhZGVyLg0KSGVuY2UsIGV2ZW4gaWYgSFRUUC8yLjAgY3Jl
YXRlcyBhbiBpcm9uY2xhZCBzcGVjLCBpZiB0aGUgZmlyc3QgdGhpbmcgdGhlIGNsaWVudCBkb2Vz
IGlzIGEgUFVULCB0aGUgY2xpZW50IHdvbuKAmXQga25vdyB0aGF0IGl0IGlzbid0IHRhbGtpbmcg
dG8gYW4gSFRUUC8yLjAgc2VydmVyIHVudGlsIGl0IGlzIHRvbyBsYXRlLg0KDQpBbiBxdWljay1h
bmQtZGlydHkgIGV4YW1wbGUgb2YgYW4gYXBwcm9hY2ggSSBoYWQgaW4gbWluZCB0aGF0IG1pZ2h0
IHdvcmsgaXMgYSBuZXcgQVVUSC0qIGZhbWlseSBvZiBtZXRob2RzIHdpdGggYSByZXF1ZXN0IGxp
bmUgdGhhdCBsb29rcyBsaWtlDQogICAgICAgICAgICAgICAgQVVUSC1tZXRob2QgUmVxdWVzdC1V
UkkgSFRUUC8xLjENCmUuZy4NCiAgICAgICAgQVVUSC1QVVQgL3NvbWVyZXNvdXJjZSBIVFRQLzEu
MQ0Kd2hpY2ggd2lsbCByZXR1cm4gNDAxIGlmIGF1dGhlbnRpY2F0aW9uIHdvdWxkIGJlIHJlcXVp
cmVkIGlmICJtZXRob2QiIHdhcyBpbnZva2VkIG9uIHRoZSBSZXF1ZXN0LVVSSSwgMjAwIGlmIG5v
dCwgYW5kIDUwMSBpZiB0aGUgc2VydmVyIGRvZXNu4oCZdCB1bmRlcnN0YW5kIHRoZSBBVVRILSog
bWV0aG9kcy4NCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IEp1bGlhbiBSZXNj
aGtlIFttYWlsdG86anVsaWFuLnJlc2Noa2VAZ214LmRlPG1haWx0bzpqdWxpYW4ucmVzY2hrZUBn
bXguZGU+XQ0KU2VudDogVHVlc2RheSwgSnVseSAxNywgMjAxMiAxMDoxOCBBTQ0KVG86IEdhYnJp
ZWwgTW9udGVuZWdybw0KQ2M6IEFkcmllbiBkZSBDcm95OyBQb3VsLUhlbm5pbmcgS2FtcDsgQW1v
cyBKZWZmcmllczsgaWV0Zi1odHRwLXdnQHczLm9yZzxtYWlsdG86aWV0Zi1odHRwLXdnQHczLm9y
Zz4NClN1YmplY3Q6IFJlOiBIVFRQMiBFeHByZXNzaW9uIG9mIEludGVyZXN0IDogU3F1aWQNCk9u
IDIwMTItMDctMTcgMTk6MDIsIEdhYnJpZWwgTW9udGVuZWdybyB3cm90ZToNCj4+IEZyb206IEFk
cmllbiBkZSBDcm95IFttYWlsdG86YWRyaWVuQHFiaWsuY29tPG1haWx0bzphZHJpZW5AcWJpay5j
b20+XQ0KPiAuLi4NCj4+IEkgYWdyZWUsIGFuZCBhY3R1YWxseSBJJ2QgYmUga2VlbiB0byBhcHBs
eSB0aGlzIHBoaWxvc3BoeSBpbiBib3RoDQo+PiBkaXJlY3Rpb25zLCB3aGVyZSBubyBzaWduaWZp
Y2FudCByZXNvdXJjZSBpcyB0cmFuc21pdHRlZCBpbiBlaXRoZXINCj4+IGRpcmVjdGlvbiB3aXRo
b3V0IHRoZSByZWNpcGllbnQgaW5kaWNhdGluZyBwcmlvciB3aWxsaW5nbmVzcyAoZWl0aGVyDQo+
PiBieSByZXF1ZXN0aW5nIGl0LCBvciBpbmRpY2F0aW5nIHdpbGxpbmduZXNzKS4gIFdoYXQgSSdt
IGdldHRpbmcgYXQNCj4+IGhlcmUgaXMgbGFyZ2UgUE9TVCAvIFBVVCByZXF1ZXN0cy4gIEN1cnJl
bnRseSBpdCdzIGEgbWVzcyBlc3Agd2l0aCBhdXRoIGluIHRoZSBtaXguDQo+DQo+IEFsb25nIHRo
ZXNlIGxpbmVzLCB0byBoZWxwIHdpdGggYSAgUE9TVC9QVVQgd2l0aCBhdXRoIGluIHRoZSBtaXgg
d2UgbWVudGlvbmVkIGFuIGlkZWEgaW4gb3VyIGF1dGhlbnRpY2F0aW9uIEVvSSBvZiBhIGxpZ2h0
d2VpZ2h0IHByb2JlOg0KPg0KPiBodHRwOi8vbGlzdHMudzMub3JnL0FyY2hpdmVzL1B1YmxpYy9p
ZXRmLWh0dHAtd2cvMjAxMkp1bFNlcC8wMjM5Lmh0bWw6DQo+DQo+IDEuICAgICAgIExpZ2h0d2Vp
Z2h0ICJwcm9iZSIgZm9yIFBPU1RzIGFuZCBQVVRzLiAgSW5pdGlhbCBQVVRzIGFuZCBQT1NUcyB3
aXRoIGxvbmcgZW50aXR5IGJvZGllcyB3aWxsIGNhdXNlIHByb2JsZW1zIGJlY2F1c2Ugb2YgdGhl
IGV4dHJhIHJvdW5kIHRyaXAgcmVxdWlyZWQgYnkgYXV0aGVudGljYXRpb24uICgiSW5pdGlhbCIg
bWVhbnMgd2hlbiBmaXJzdCByZXF1ZXN0IG9uIGEgY29ubmVjdGlvbiBpcyBQVVQgb3IgUE9TVCku
IElmIHRoZSBib2R5IGlzIGluZGVmaW5pdGUgbGVuZ3RoLCBpdCBtYXkgbm90IGJlIGFibGUgdG8g
YmUgcmVjcmVhdGVkLiBUaGlzIGlzIGEgcHJvYmxlbSB3aXRoIGFueSBtdWx0aS1sZWdnZWQgYXV0
aGVudGljYXRpb24gc2NoZW1lIGluIEhUVFAuIEl0IGNvdWxkIGJlIGF2b2lkZWQgaWYgdGhlcmUg
d2VyZSBhIGd1YXJhbnRlZWQgYmVuaWduIHJlcXVlc3QgdHlwZSB0aGF0IGNvdWxkIGJlIHVzZWQg
dG8gZm9yY2UgYXV0aGVudGljYXRpb24gaWYgbmVlZGVkIGJlZm9yZSBkb2luZyB0aGUgUFVUIG9y
IFBPU1QuDQoNCldlIGhhdmUNCg0KICAgRXhwZWN0OiAxMDAtY29udGludWUNCg0KZm9yIHRoYXQs
IG5vPw0KDQpCZXN0IHJlZ2FyZHMsIEp1bGlhbg0KDQoNCg0KDQoNCg0K

--_000_526415708D2AD940845C43B7A6BE7CE80EA4D0CCTK5EX14MBXW604w_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
cm9zb2Z0LmNvbS9vZmZpY2UvMjAwNC8xMi9vbW1sIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
VFIvUkVDLWh0bWw0MCI+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIg
Y29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij4NCjxtZXRhIG5hbWU9IkdlbmVyYXRv
ciIgY29udGVudD0iTWljcm9zb2Z0IFdvcmQgMTQgKGZpbHRlcmVkIG1lZGl1bSkiPg0KPHN0eWxl
PjwhLS0NCi8qIEZvbnQgRGVmaW5pdGlvbnMgKi8NCkBmb250LWZhY2UNCgl7Zm9udC1mYW1pbHk6
IkNhbWJyaWEgTWF0aCI7DQoJcGFub3NlLTE6MiA0IDUgMyA1IDQgNiAzIDIgNDt9DQpAZm9udC1m
YWNlDQoJe2ZvbnQtZmFtaWx5OkNhbGlicmk7DQoJcGFub3NlLTE6MiAxNSA1IDIgMiAyIDQgMyAy
IDQ7fQ0KQGZvbnQtZmFjZQ0KCXtmb250LWZhbWlseTpUYWhvbWE7DQoJcGFub3NlLTE6MiAxMSA2
IDQgMyA1IDQgNCAyIDQ7fQ0KLyogU3R5bGUgRGVmaW5pdGlvbnMgKi8NCnAuTXNvTm9ybWFsLCBs
aS5Nc29Ob3JtYWwsIGRpdi5Nc29Ob3JtYWwNCgl7bWFyZ2luOjBpbjsNCgltYXJnaW4tYm90dG9t
Oi4wMDAxcHQ7DQoJZm9udC1zaXplOjEyLjBwdDsNCglmb250LWZhbWlseToiVGltZXMgTmV3IFJv
bWFuIiwic2VyaWYiO30NCmE6bGluaywgc3Bhbi5Nc29IeXBlcmxpbmsNCgl7bXNvLXN0eWxlLXBy
aW9yaXR5Ojk5Ow0KCWNvbG9yOmJsdWU7DQoJdGV4dC1kZWNvcmF0aW9uOnVuZGVybGluZTt9DQph
OnZpc2l0ZWQsIHNwYW4uTXNvSHlwZXJsaW5rRm9sbG93ZWQNCgl7bXNvLXN0eWxlLXByaW9yaXR5
Ojk5Ow0KCWNvbG9yOnB1cnBsZTsNCgl0ZXh0LWRlY29yYXRpb246dW5kZXJsaW5lO30NCnAuTXNv
QWNldGF0ZSwgbGkuTXNvQWNldGF0ZSwgZGl2Lk1zb0FjZXRhdGUNCgl7bXNvLXN0eWxlLXByaW9y
aXR5Ojk5Ow0KCW1zby1zdHlsZS1saW5rOiJCYWxsb29uIFRleHQgQ2hhciI7DQoJbWFyZ2luOjBp
bjsNCgltYXJnaW4tYm90dG9tOi4wMDAxcHQ7DQoJZm9udC1zaXplOjguMHB0Ow0KCWZvbnQtZmFt
aWx5OiJUYWhvbWEiLCJzYW5zLXNlcmlmIjt9DQpzcGFuLkJhbGxvb25UZXh0Q2hhcg0KCXttc28t
c3R5bGUtbmFtZToiQmFsbG9vbiBUZXh0IENoYXIiOw0KCW1zby1zdHlsZS1wcmlvcml0eTo5OTsN
Cgltc28tc3R5bGUtbGluazoiQmFsbG9vbiBUZXh0IjsNCglmb250LWZhbWlseToiVGFob21hIiwi
c2Fucy1zZXJpZiI7fQ0Kc3Bhbi5FbWFpbFN0eWxlMTkNCgl7bXNvLXN0eWxlLXR5cGU6cGVyc29u
YWwtcmVwbHk7DQoJZm9udC1mYW1pbHk6IkNhbGlicmkiLCJzYW5zLXNlcmlmIjsNCgljb2xvcjoj
MUY0OTdEO30NCi5Nc29DaHBEZWZhdWx0DQoJe21zby1zdHlsZS10eXBlOmV4cG9ydC1vbmx5Ow0K
CWZvbnQtZmFtaWx5OiJDYWxpYnJpIiwic2Fucy1zZXJpZiI7fQ0KQHBhZ2UgV29yZFNlY3Rpb24x
DQoJe3NpemU6OC41aW4gMTEuMGluOw0KCW1hcmdpbjoxLjBpbiAxLjBpbiAxLjBpbiAxLjBpbjt9
DQpkaXYuV29yZFNlY3Rpb24xDQoJe3BhZ2U6V29yZFNlY3Rpb24xO30NCi0tPjwvc3R5bGU+PCEt
LVtpZiBndGUgbXNvIDldPjx4bWw+DQo8bzpzaGFwZWRlZmF1bHRzIHY6ZXh0PSJlZGl0IiBzcGlk
bWF4PSIxMDI2IiAvPg0KPC94bWw+PCFbZW5kaWZdLS0+PCEtLVtpZiBndGUgbXNvIDldPjx4bWw+
DQo8bzpzaGFwZWxheW91dCB2OmV4dD0iZWRpdCI+DQo8bzppZG1hcCB2OmV4dD0iZWRpdCIgZGF0
YT0iMSIgLz4NCjwvbzpzaGFwZWxheW91dD48L3htbD48IVtlbmRpZl0tLT4NCjwvaGVhZD4NCjxi
b2R5IGxhbmc9IkVOLVVTIiBsaW5rPSJibHVlIiB2bGluaz0icHVycGxlIj4NCjxkaXYgY2xhc3M9
IldvcmRTZWN0aW9uMSI+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3BhbiBzdHlsZT0iZm9udC1z
aXplOjExLjBwdDtmb250LWZhbWlseTomcXVvdDtDYWxpYnJpJnF1b3Q7LCZxdW90O3NhbnMtc2Vy
aWYmcXVvdDs7Y29sb3I6IzFGNDk3RCI+SSBfPGk+c2FpZDwvaT5fIGl0IHdhcyBxdWljayBhbmQg
ZGlydHnigKYuIFRoZXJlIGFyZSBsb3RzIG9mIHdheXMgdGhlIGFlc3RoZXRpY3MgY291bGQgYmUg
Y2xlYW5lZCB1cC4NCjxvOnA+PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwi
PjxzcGFuIHN0eWxlPSJmb250LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkm
cXVvdDssJnF1b3Q7c2Fucy1zZXJpZiZxdW90Oztjb2xvcjojMUY0OTdEIj48bzpwPiZuYnNwOzwv
bzpwPjwvc3Bhbj48L3A+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3BhbiBzdHlsZT0iZm9udC1z
aXplOjExLjBwdDtmb250LWZhbWlseTomcXVvdDtDYWxpYnJpJnF1b3Q7LCZxdW90O3NhbnMtc2Vy
aWYmcXVvdDs7Y29sb3I6IzFGNDk3RCI+VGhlIHByb2JsZW0gd2l0aCB0aGUgc2luZ2xlIFBVU0gg
bWV0aG9kIGFwcHJvYWNoLCBJTU8sIGlzIHRoYXQgaXQgaXMgdW5saWtlbHkgdGhhdCB0aGVyZSBz
aGFsdCBiZSBvbmUgYW5kIG9ubHkgb25lIEhUVFAgbWV0aG9kIHdpdGggc2lkZS1lZmZlY3RzIGZv
ciBldmVyIGFuZA0KIGV2ZXIuIEhlbmNlLCB3aGF0ZXZlciBnb29kbmVzcyBQVVNIIHdvdWxkIGhh
dmUgd3J0IHRvIGF1dGhlbnRpY2F0aW9uIGFuIGxvbmcvaW5kZWZpbml0ZSBlbnRpdHkgYm9kaWVz
IHdvdWxkIGhhdmUgdG8gYmUgZHVwbGljYXRlZCBmb3IgYW55IG5ldyBtZXRob2Qgd2l0aCBzaW1p
bGFyIHByb2JsZW1zLg0KPG86cD48L286cD48L3NwYW4+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1h
bCI+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1pbHk6JnF1b3Q7Q2FsaWJy
aSZxdW90OywmcXVvdDtzYW5zLXNlcmlmJnF1b3Q7O2NvbG9yOiMxRjQ5N0QiPjxvOnA+Jm5ic3A7
PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxzcGFuIHN0eWxlPSJmb250
LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkmcXVvdDssJnF1b3Q7c2Fucy1z
ZXJpZiZxdW90Oztjb2xvcjojMUY0OTdEIj48bzpwPiZuYnNwOzwvbzpwPjwvc3Bhbj48L3A+DQo8
cCBjbGFzcz0iTXNvTm9ybWFsIiBzdHlsZT0ibWFyZ2luLWxlZnQ6LjVpbiI+PGI+PHNwYW4gc3R5
bGU9ImZvbnQtc2l6ZToxMC4wcHQ7Zm9udC1mYW1pbHk6JnF1b3Q7VGFob21hJnF1b3Q7LCZxdW90
O3NhbnMtc2VyaWYmcXVvdDsiPkZyb206PC9zcGFuPjwvYj48c3BhbiBzdHlsZT0iZm9udC1zaXpl
OjEwLjBwdDtmb250LWZhbWlseTomcXVvdDtUYWhvbWEmcXVvdDssJnF1b3Q7c2Fucy1zZXJpZiZx
dW90OyI+IEphbWVzIE0gU25lbGwgW21haWx0bzpqYXNuZWxsQGdtYWlsLmNvbV0NCjxicj4NCjxi
PlNlbnQ6PC9iPiBUdWVzZGF5LCBKdWx5IDE3LCAyMDEyIDU6MTcgUE08YnI+DQo8Yj5Ubzo8L2I+
IFBhdWwgTGVhY2g8YnI+DQo8Yj5DYzo8L2I+IEp1bGlhbiBSZXNjaGtlOyBHYWJyaWVsIE1vbnRl
bmVncm87IEFkcmllbiBkZSBDcm95OyBQb3VsLUhlbm5pbmcgS2FtcDsgQW1vcyBKZWZmcmllczsg
aWV0Zi1odHRwLXdnQHczLm9yZzxicj4NCjxiPlN1YmplY3Q6PC9iPiBSZTogSFRUUDIgRXhwcmVz
c2lvbiBvZiBJbnRlcmVzdCA6IFNxdWlkPG86cD48L286cD48L3NwYW4+PC9wPg0KPHAgY2xhc3M9
Ik1zb05vcm1hbCIgc3R5bGU9Im1hcmdpbi1sZWZ0Oi41aW4iPjxvOnA+Jm5ic3A7PC9vOnA+PC9w
Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCIgc3R5bGU9Im1hcmdpbi1sZWZ0Oi41aW4iPjxzcGFuIHN0
eWxlPSJmb250LWZhbWlseTomcXVvdDtDb3VyaWVyIE5ldyZxdW90OyI+QVVUSC1QVVQ/IEV3dy4u
LiBmb3IgZmFyIHRvbyBtYW55IHJlYXNvbnMgdG8gbGlzdC4gVXNpbmcgYSBuZXcgbWV0aG9kIGZv
ciBhIHJldmlzZWQgY29udGVudC1wdXNoL2V4cGVjdC9jb250aW51ZSB0eXBlIG9mIG1lY2hhbmlz
bSBkb2VzIG1ha2Ugc2Vuc2UsIGhvd2V2ZXIsIGFzIGl0IGF2b2lkcyB0aGUNCiB0eXBlIG9mIG1p
c2NvbW11bmljYXRpb24gdGhhdCBjb3VsZCBoYXBwZW4gd2hlbiBhdHRlbXB0aW5nIHRvIGludGVy
YWN0IHdpdGggZG93bmxldmVsIHNlcnZlcnMuIEEgc2luZ2xlICZxdW90O1BVU0gmcXVvdDsgbWV0
aG9kLCBhcyBJIGRlc2NyaWJlZCBwcmV2aW91c2x5LCB3aXRoIHNlbWFudGljcyBkZWZpbmVkIHN0
cmljdGx5IGZvciBIVFRQLzIuMCBzaG91bGQgYmUgZW5vdWdoIHRvIGFkZHJlc3MgdGhlIGlzc3Vl
Ljwvc3Bhbj48bzpwPjwvbzpwPjwvcD4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIiBzdHls
ZT0ibWFyZ2luLWxlZnQ6LjVpbiI+PG86cD4mbmJzcDs8L286cD48L3A+DQo8L2Rpdj4NCjxkaXY+
DQo8cCBjbGFzcz0iTXNvTm9ybWFsIiBzdHlsZT0ibXNvLW1hcmdpbi10b3AtYWx0OjBpbjttYXJn
aW4tcmlnaHQ6MGluO21hcmdpbi1ib3R0b206MTIuMHB0O21hcmdpbi1sZWZ0Oi41aW4iPg0KPHNw
YW4gc3R5bGU9ImZvbnQtZmFtaWx5OiZxdW90O0NvdXJpZXIgTmV3JnF1b3Q7Ij4tIEphbWVzPC9z
cGFuPjxvOnA+PC9vOnA+PC9wPg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiIHN0eWxlPSJt
YXJnaW4tbGVmdDouNWluIj5PbiBUdWUsIEp1bCAxNywgMjAxMiBhdCA1OjA2IFBNLCBQYXVsIExl
YWNoICZsdDs8YSBocmVmPSJtYWlsdG86cGF1bGxlQG1pY3Jvc29mdC5jb20iIHRhcmdldD0iX2Js
YW5rIj5wYXVsbGVAbWljcm9zb2Z0LmNvbTwvYT4mZ3Q7IHdyb3RlOjxvOnA+PC9vOnA+PC9wPg0K
PHAgY2xhc3M9Ik1zb05vcm1hbCIgc3R5bGU9Im1hcmdpbi1sZWZ0Oi41aW4iPk90aGVyIHBlb3Bs
ZSBoYXZlIGNvdmVyZWQgbW9zdCBvZiB0aGUgaXNzdWVzIGluIG90aGVyIHBvc3RzLjxicj4NCkFs
c28sIGFzIFJGQyAyNjE2IHNheXM6PGJyPg0KJm5ic3A7ICZuYnNwOyAmbmJzcDsgJm5ic3A7IE1h
bnkgb2xkZXIgSFRUUC8xLjAgYW5kIEhUVFAvMS4xIGFwcGxpY2F0aW9ucyBkbyBub3QgdW5kZXJz
dGFuZCB0aGUgRXhwZWN0IGhlYWRlci48YnI+DQpIZW5jZSwgZXZlbiBpZiBIVFRQLzIuMCBjcmVh
dGVzIGFuIGlyb25jbGFkIHNwZWMsIGlmIHRoZSBmaXJzdCB0aGluZyB0aGUgY2xpZW50IGRvZXMg
aXMgYSBQVVQsIHRoZSBjbGllbnQgd29u4oCZdCBrbm93IHRoYXQgaXQgaXNuJ3QgdGFsa2luZyB0
byBhbiBIVFRQLzIuMCBzZXJ2ZXIgdW50aWwgaXQgaXMgdG9vIGxhdGUuPGJyPg0KPGJyPg0KQW4g
cXVpY2stYW5kLWRpcnR5ICZuYnNwO2V4YW1wbGUgb2YgYW4gYXBwcm9hY2ggSSBoYWQgaW4gbWlu
ZCB0aGF0IG1pZ2h0IHdvcmsgaXMgYSBuZXcgQVVUSC0qIGZhbWlseSBvZiBtZXRob2RzIHdpdGgg
YSByZXF1ZXN0IGxpbmUgdGhhdCBsb29rcyBsaWtlPGJyPg0KJm5ic3A7ICZuYnNwOyAmbmJzcDsg
Jm5ic3A7ICZuYnNwOyAmbmJzcDsgJm5ic3A7ICZuYnNwOyBBVVRILW1ldGhvZCBSZXF1ZXN0LVVS
SSBIVFRQLzEuMTxicj4NCmUuZy48YnI+DQombmJzcDsgJm5ic3A7ICZuYnNwOyAmbmJzcDsgQVVU
SC1QVVQgL3NvbWVyZXNvdXJjZSBIVFRQLzEuMTxicj4NCndoaWNoIHdpbGwgcmV0dXJuIDQwMSBp
ZiBhdXRoZW50aWNhdGlvbiB3b3VsZCBiZSByZXF1aXJlZCBpZiAmcXVvdDttZXRob2QmcXVvdDsg
d2FzIGludm9rZWQgb24gdGhlIFJlcXVlc3QtVVJJLCAyMDAgaWYgbm90LCBhbmQgNTAxIGlmIHRo
ZSBzZXJ2ZXIgZG9lc27igJl0IHVuZGVyc3RhbmQgdGhlIEFVVEgtKiBtZXRob2RzLjxvOnA+PC9v
OnA+PC9wPg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiIHN0eWxlPSJtc28tbWFyZ2luLXRv
cC1hbHQ6MGluO21hcmdpbi1yaWdodDowaW47bWFyZ2luLWJvdHRvbToxMi4wcHQ7bWFyZ2luLWxl
ZnQ6LjVpbiI+DQo8YnI+DQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLTxicj4NCkZyb206IEp1
bGlhbiBSZXNjaGtlIFttYWlsdG86PGEgaHJlZj0ibWFpbHRvOmp1bGlhbi5yZXNjaGtlQGdteC5k
ZSI+anVsaWFuLnJlc2Noa2VAZ214LmRlPC9hPl08YnI+DQpTZW50OiBUdWVzZGF5LCBKdWx5IDE3
LCAyMDEyIDEwOjE4IEFNPGJyPg0KVG86IEdhYnJpZWwgTW9udGVuZWdybzxicj4NCkNjOiBBZHJp
ZW4gZGUgQ3JveTsgUG91bC1IZW5uaW5nIEthbXA7IEFtb3MgSmVmZnJpZXM7IDxhIGhyZWY9Im1h
aWx0bzppZXRmLWh0dHAtd2dAdzMub3JnIj4NCmlldGYtaHR0cC13Z0B3My5vcmc8L2E+PGJyPg0K
U3ViamVjdDogUmU6IEhUVFAyIEV4cHJlc3Npb24gb2YgSW50ZXJlc3QgOiBTcXVpZDxvOnA+PC9v
OnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiIHN0eWxl
PSJtc28tbWFyZ2luLXRvcC1hbHQ6MGluO21hcmdpbi1yaWdodDowaW47bWFyZ2luLWJvdHRvbTox
Mi4wcHQ7bWFyZ2luLWxlZnQ6LjVpbiI+DQpPbiAyMDEyLTA3LTE3IDE5OjAyLCBHYWJyaWVsIE1v
bnRlbmVncm8gd3JvdGU6PGJyPg0KJmd0OyZndDsgRnJvbTogQWRyaWVuIGRlIENyb3kgW21haWx0
bzo8YSBocmVmPSJtYWlsdG86YWRyaWVuQHFiaWsuY29tIj5hZHJpZW5AcWJpay5jb208L2E+XTxi
cj4NCiZndDsgLi4uPGJyPg0KJmd0OyZndDsgSSBhZ3JlZSwgYW5kIGFjdHVhbGx5IEknZCBiZSBr
ZWVuIHRvIGFwcGx5IHRoaXMgcGhpbG9zcGh5IGluIGJvdGg8YnI+DQomZ3Q7Jmd0OyBkaXJlY3Rp
b25zLCB3aGVyZSBubyBzaWduaWZpY2FudCByZXNvdXJjZSBpcyB0cmFuc21pdHRlZCBpbiBlaXRo
ZXI8YnI+DQomZ3Q7Jmd0OyBkaXJlY3Rpb24gd2l0aG91dCB0aGUgcmVjaXBpZW50IGluZGljYXRp
bmcgcHJpb3Igd2lsbGluZ25lc3MgKGVpdGhlcjxicj4NCiZndDsmZ3Q7IGJ5IHJlcXVlc3Rpbmcg
aXQsIG9yIGluZGljYXRpbmcgd2lsbGluZ25lc3MpLiAmbmJzcDtXaGF0IEknbSBnZXR0aW5nIGF0
PGJyPg0KJmd0OyZndDsgaGVyZSBpcyBsYXJnZSBQT1NUIC8gUFVUIHJlcXVlc3RzLiAmbmJzcDtD
dXJyZW50bHkgaXQncyBhIG1lc3MgZXNwIHdpdGggYXV0aCBpbiB0aGUgbWl4Ljxicj4NCiZndDs8
YnI+DQomZ3Q7IEFsb25nIHRoZXNlIGxpbmVzLCB0byBoZWxwIHdpdGggYSAmbmJzcDtQT1NUL1BV
VCB3aXRoIGF1dGggaW4gdGhlIG1peCB3ZSBtZW50aW9uZWQgYW4gaWRlYSBpbiBvdXIgYXV0aGVu
dGljYXRpb24gRW9JIG9mIGEgbGlnaHR3ZWlnaHQgcHJvYmU6PGJyPg0KJmd0Ozxicj4NCiZndDsg
PGEgaHJlZj0iaHR0cDovL2xpc3RzLnczLm9yZy9BcmNoaXZlcy9QdWJsaWMvaWV0Zi1odHRwLXdn
LzIwMTJKdWxTZXAvMDIzOS5odG1sIiB0YXJnZXQ9Il9ibGFuayI+DQpodHRwOi8vbGlzdHMudzMu
b3JnL0FyY2hpdmVzL1B1YmxpYy9pZXRmLWh0dHAtd2cvMjAxMkp1bFNlcC8wMjM5Lmh0bWw8L2E+
Ojxicj4NCiZndDs8YnI+DQomZ3Q7IDEuICZuYnNwOyAmbmJzcDsgJm5ic3A7IExpZ2h0d2VpZ2h0
ICZxdW90O3Byb2JlJnF1b3Q7IGZvciBQT1NUcyBhbmQgUFVUcy4gJm5ic3A7SW5pdGlhbCBQVVRz
IGFuZCBQT1NUcyB3aXRoIGxvbmcgZW50aXR5IGJvZGllcyB3aWxsIGNhdXNlIHByb2JsZW1zIGJl
Y2F1c2Ugb2YgdGhlIGV4dHJhIHJvdW5kIHRyaXAgcmVxdWlyZWQgYnkgYXV0aGVudGljYXRpb24u
ICgmcXVvdDtJbml0aWFsJnF1b3Q7IG1lYW5zIHdoZW4gZmlyc3QgcmVxdWVzdCBvbiBhIGNvbm5l
Y3Rpb24gaXMgUFVUIG9yIFBPU1QpLiBJZiB0aGUgYm9keQ0KIGlzIGluZGVmaW5pdGUgbGVuZ3Ro
LCBpdCBtYXkgbm90IGJlIGFibGUgdG8gYmUgcmVjcmVhdGVkLiBUaGlzIGlzIGEgcHJvYmxlbSB3
aXRoIGFueSBtdWx0aS1sZWdnZWQgYXV0aGVudGljYXRpb24gc2NoZW1lIGluIEhUVFAuIEl0IGNv
dWxkIGJlIGF2b2lkZWQgaWYgdGhlcmUgd2VyZSBhIGd1YXJhbnRlZWQgYmVuaWduIHJlcXVlc3Qg
dHlwZSB0aGF0IGNvdWxkIGJlIHVzZWQgdG8gZm9yY2UgYXV0aGVudGljYXRpb24gaWYgbmVlZGVk
IGJlZm9yZQ0KIGRvaW5nIHRoZSBQVVQgb3IgUE9TVC48YnI+DQo8YnI+DQpXZSBoYXZlPGJyPg0K
PGJyPg0KJm5ic3A7ICZuYnNwO0V4cGVjdDogMTAwLWNvbnRpbnVlPGJyPg0KPGJyPg0KZm9yIHRo
YXQsIG5vPzxicj4NCjxicj4NCkJlc3QgcmVnYXJkcywgSnVsaWFuPGJyPg0KPGJyPg0KPGJyPg0K
PGJyPg0KPGJyPg0KPGJyPg0KPG86cD48L286cD48L3A+DQo8L2Rpdj4NCjwvZGl2Pg0KPC9kaXY+
DQo8cCBjbGFzcz0iTXNvTm9ybWFsIiBzdHlsZT0ibWFyZ2luLWxlZnQ6LjVpbiI+PG86cD4mbmJz
cDs8L286cD48L3A+DQo8L2Rpdj4NCjwvZGl2Pg0KPC9ib2R5Pg0KPC9odG1sPg0K

--_000_526415708D2AD940845C43B7A6BE7CE80EA4D0CCTK5EX14MBXW604w_--


From ietf-http-wg-request@listhub.w3.org  Wed Aug 15 21:53:04 2012
Return-Path: <ietf-http-wg-request@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 05BD021F8567 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 21:53:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.524
X-Spam-Level: 
X-Spam-Status: No, score=-9.524 tagged_above=-999 required=5 tests=[AWL=0.152, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VH-85VS8+07p for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 21:53:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D3EF521F846B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Aug 2012 21:53:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T1s2x-00056C-Q2 for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Aug 2012 04:51:03 +0000
Resent-Date: Thu, 16 Aug 2012 04:51:03 +0000
Resent-Message-Id: <E1T1s2x-00056C-Q2@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <willchan@google.com>) id 1T1s2b-000552-Ci for ietf-http-wg@listhub.w3.org; Thu, 16 Aug 2012 04:50:41 +0000
Received: from mail-qa0-f43.google.com ([209.85.216.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1T1s2X-0004GL-2n for ietf-http-wg@w3.org; Thu, 16 Aug 2012 04:50:41 +0000
Received: by qatk31 with SMTP id k31so283405qat.2 for <ietf-http-wg@w3.org>; Wed, 15 Aug 2012 21:50:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record; bh=BZZjtRUZSrQfJBGsb17lOEGzIMWiVmgRwCm5Q2Tnlp8=; b=Y78/lJBpbsc10WPn9G0H0zPDZErBmOE2v2FaOnX38Bd82VP4VxbLeJluArC8QHQ18P gTyfl2l8mgtk9oAaypsgIoyPZYJew3vnV8bb4Pgs1NcWC78d5nc+EO0a782BjZMjpHtc 66bfi1LC+O1IMhuLh3ZHUfovUrEsG/vHAjO8Nmw+s5cLMC99YJ8TCy1ZKgk/+cRDokNm CDq9vncUpEJ2HcmLw/H8Qu70T8NMxFT4OqUYjsV9lrq9AdVn5EQriVvIpDd/8707uIEP /gDAO46NPEVhbR9YzA+lIrRKMbgCdz9p3r767XHjBfkpd0f4CBliKWDiWZC7x8oLbpbU bzuQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record:x-gm-message-state; bh=BZZjtRUZSrQfJBGsb17lOEGzIMWiVmgRwCm5Q2Tnlp8=; b=e9NquWSZnifAry/V4fiwWX3MFE/oVAm/lhZK1ygfdzlwE/g9G8aLDd2cW2EN4c6VUd ojGAxur1mDqHi1GT/bNmiuJGQzaBL1xk7SJ2waUz/fBBQPjBMYLPeV1g5+RuZmiKwuBY oIiFiYgyojaNECTBC6XW9OkApDOESpP7k7c0DSLFX/Oy8z8lmNRPTNLdPcqiDwuUZ7R/ gc1SlUkzGvDmAp9UgFVKxqZ4IouloMc+f4iKIrOzQao+WOrT/nOh/OV2JgN0kKHhH+Ky WcrCIiCZUkjdfasVvC515OojDaWJao3L/NbRGl5U00beFWpXlrVOcQHkhoZIyow2vsOX Rhlw==
Received: by 10.224.194.1 with SMTP id dw1mr543222qab.27.1345092610941; Wed, 15 Aug 2012 21:50:10 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.224.194.1 with SMTP id dw1mr543209qab.27.1345092610794; Wed, 15 Aug 2012 21:50:10 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.191.133 with HTTP; Wed, 15 Aug 2012 21:50:10 -0700 (PDT)
In-Reply-To: <1345035602.1116.16.camel@ds9>
References: <502A621A.9010302@cisco.com> <CAMm+LwjhoCWXfBMXXTg0_Tj+FyB7_RoMuXHwRj7=068FF_oe2g@mail.gmail.com> <1345035602.1116.16.camel@ds9>
Date: Wed, 15 Aug 2012 21:50:10 -0700
X-Google-Sender-Auth: a-X2xLHsobuAvw7uN6fRYZ1mzDg
Message-ID: <CAA4WUYiMXCMHs-KFJ8npQjYb=PGcVgS47mT+X2Fn=CEUWTCmbw@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Patrick McManus <pmcmanus@mozilla.com>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf3005deda41a3d304c75ac710
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQne5CZudt5eej8FlHP6jPF549HqRXGxJoJTz+aSFMWu9KxRadYdABMbL9QK7sObjgXUTFpTlMrz8pDxJVy7bZuf+xRyXdW+eI93ZX7jh+5RXZIqkqAkBXxFMiq8S0QwQaRmqjohcQodqId9wQ1DjjL56zSdnxHfMcg5kMgF6IQg/4b0pNhp15kbtzHJRTRZDMKoYO0i
Received-SPF: pass client-ip=209.85.216.43; envelope-from=willchan@google.com; helo=mail-qa0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_60=1.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1T1s2X-0004GL-2n eeda3b1c65c4c4957f79cc3a3a917fdd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/CAA4WUYiMXCMHs-KFJ8npQjYb=PGcVgS47mT+X2Fn=CEUWTCmbw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15078
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>

--20cf3005deda41a3d304c75ac710
Content-Type: text/plain; charset=ISO-8859-1

Can you clarify the reason to prefer srv over something like an
Alternate-Protocol response header? I can see that Alternate-Protocol is
suboptimal in that it requires waiting for a response first, but I have
concerns about adding yet another DNS lookup. Chromium has already lowered
our concurrent getaddrinfo() calls to 6 due to problems with home routers
not being able to handle too many concurrent DNS queries. Adding more DNS
lookups per hostname will further exacerbate the problem.

In any case, FWIW, I hope websites simply transition to https:// URIs
instead :)


On Wed, Aug 15, 2012 at 6:00 AM, Patrick McManus <pmcmanus@mozilla.com>wrote:

> On Tue, 2012-08-14 at 12:24 -0400, Phillip Hallam-Baker wrote:
>
> > If we take architecture seriously, the primary signaling mechanism for
> > HTTP/2.0 should be some form of statement in a DNS record to tell the
> > client 'I do HTTP 2.0'. We might also have some sort of upgrade
> > mechanism for use when the DNS records are blocked but that should be
> > a fallback.
>
> This is my current thinking as well though I'm not tied to it.. srv in
> the base case (with the possibility of dnssec) and something like
> upgrade/alternate-protocol over HTTP/1 as a slower fallback.
>
>
>
>
>

--20cf3005deda41a3d304c75ac710
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Can you clarify the reason to prefer srv over something like an Alternate-P=
rotocol response header? I can see that Alternate-Protocol is suboptimal in=
 that it requires waiting for a response first, but I have concerns about a=
dding yet another DNS lookup. Chromium has already lowered our concurrent g=
etaddrinfo() calls to 6 due to problems with home routers not being able to=
 handle too many concurrent DNS queries. Adding more DNS lookups per hostna=
me will further exacerbate the problem.<div>
<br></div><div>In any case, FWIW, I hope websites simply transition to http=
s:// URIs instead :)</div><div class=3D"gmail_extra"><br><br><div class=3D"=
gmail_quote">On Wed, Aug 15, 2012 at 6:00 AM, Patrick McManus <span dir=3D"=
ltr">&lt;<a href=3D"mailto:pmcmanus@mozilla.com" target=3D"_blank">pmcmanus=
@mozilla.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">On Tue, 2012-08-14 at 12:2=
4 -0400, Phillip Hallam-Baker wrote:<br>
<br>
&gt; If we take architecture seriously, the primary signaling mechanism for=
<br>
&gt; HTTP/2.0 should be some form of statement in a DNS record to tell the<=
br>
&gt; client &#39;I do HTTP 2.0&#39;. We might also have some sort of upgrad=
e<br>
&gt; mechanism for use when the DNS records are blocked but that should be<=
br>
&gt; a fallback.<br>
<br>
</div>This is my current thinking as well though I&#39;m not tied to it.. s=
rv in<br>
the base case (with the possibility of dnssec) and something like<br>
upgrade/alternate-protocol over HTTP/1 as a slower fallback.<br>
<br>
<br>
<br>
<br>
</blockquote></div><br></div>

--20cf3005deda41a3d304c75ac710--


From ietf-http-wg-request@listhub.w3.org  Wed Aug 15 22:42:35 2012
Return-Path: <ietf-http-wg-request@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 2D20521F8615 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 22:42:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level: 
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K-9SzcHFz1uv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Aug 2012 22:42:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2726521F8611 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Aug 2012 22:42:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T1spj-0000Kj-Gt for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Aug 2012 05:41:27 +0000
Resent-Date: Thu, 16 Aug 2012 05:41:27 +0000
Resent-Message-Id: <E1T1spj-0000Kj-Gt@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ilya@igvita.com>) id 1T1spU-0000Jf-F7 for ietf-http-wg@listhub.w3.org; Thu, 16 Aug 2012 05:41:12 +0000
Received: from mail-gg0-f171.google.com ([209.85.161.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <ilya@igvita.com>) id 1T1spQ-0005vV-Ml for ietf-http-wg@w3.org; Thu, 16 Aug 2012 05:41:12 +0000
Received: by ggnp1 with SMTP id p1so2566190ggn.2 for <ietf-http-wg@w3.org>; Wed, 15 Aug 2012 22:40:42 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=DELIJqYEmWnSLappLWdCQh25fYz6RKD2IEU7W4z+rZA=; b=REimoxmCdfLWk46WWFChQCKqfCi0x0/ZpzHaZ4DDVnCq7+xoWd1snfIKAbPHNpFcRx d/9/tGoPX88yPmxLjyiQ2CIVq7PvrcadQEReOpEJNLfWv0yOxH9caIxxFdjYByCH4qmZ kFINKU1CQopqnmzqi1ZUvgYoNwkq/FbnX98u2crjY5/Vx5qCuE80PDP8XNg/S3NL8weD 8Fp5M7rVgQJ80sUnOZvtwW42oMgBbQBjA2DQWHMOn2SZth+FA1hlF47QOvMXtnM99mg4 jaVE+KkiqYWM82bUYlGlfJf45VnJVHJLpWV/oA2MO6YK70+2Q4BGRYO5yqjRmMDPtK40 92hQ==
Received: by 10.236.131.146 with SMTP id m18mr22033638yhi.65.1345095642671; Wed, 15 Aug 2012 22:40:42 -0700 (PDT)
Received: from mail-ob0-f171.google.com (mail-ob0-f171.google.com [209.85.214.171]) by mx.google.com with ESMTPS id k2sm3430775anl.11.2012.08.15.22.40.41 (version=SSLv3 cipher=OTHER); Wed, 15 Aug 2012 22:40:41 -0700 (PDT)
Received: by obqv19 with SMTP id v19so3302070obq.2 for <ietf-http-wg@w3.org>; Wed, 15 Aug 2012 22:40:40 -0700 (PDT)
Received: by 10.50.192.199 with SMTP id hi7mr875029igc.68.1345095640773; Wed, 15 Aug 2012 22:40:40 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.43.135 with HTTP; Wed, 15 Aug 2012 22:40:00 -0700 (PDT)
In-Reply-To: <CAKRe7JEcta+K0zAoHit98VhB+TMGk7mcwG2GQ0qpp6V3uBDsRg@mail.gmail.com>
References: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com> <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com> <1344457449.3295.30.camel@ds9> <d0fdfabd35d049c0ad5994ee48ae98a9@BLUPR03MB613.namprd03.prod.outlook.com> <CAKRe7JEcta+K0zAoHit98VhB+TMGk7mcwG2GQ0qpp6V3uBDsRg@mail.gmail.com>
From: Ilya Grigorik <ilya@igvita.com>
Date: Wed, 15 Aug 2012 22:40:00 -0700
Message-ID: <CAKRe7JGQtMn+R0T=PYsOb7HTZ777deSijdzDEYCrznWgp9JZgg@mail.gmail.com>
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
Cc: Patrick McManus <pmcmanus@mozilla.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=14dae9340ffbdb736704c75b7bbe
X-Gm-Message-State: ALoCoQlN2CRpSwl5Fi2sNiwwoFMCZBJiDVfsGR8cd91H7UfGHOxy9c+uUOo++40e1q5UIkwiaReJ
Received-SPF: pass client-ip=209.85.161.171; envelope-from=ilya@igvita.com; helo=mail-gg0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=2.8
X-W3C-Hub-Spam-Report: BAYES_99=3.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T1spQ-0005vV-Ml e58250e4283c915610b6828819623e92
X-Original-To: ietf-http-wg@w3.org
Subject: Re: In Defense of Header Compresson
Archived-At: <http://www.w3.org/mid/CAKRe7JGQtMn+R0T=PYsOb7HTZ777deSijdzDEYCrznWgp9JZgg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15079
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>

--14dae9340ffbdb736704c75b7bbe
Content-Type: text/plain; charset=ISO-8859-1

>
> On Wed, Aug 15, 2012 at 4:36 AM, Henrik Frystyk Nielsen <
> henrikn@microsoft.com> wrote:
>
>> I completely agree that if you have very small entity bodies then
>> maturally the header size will matter getting more requests into the pipe
>> faster. However, in the tests that we have done with actual data the size
>> of the entity bodies was large enough that the impact was minimal. This is
>> especially the case if you also do bundling/minification as it naturally
>> leads you to large entities.
>
>
>
It's worth keeping in mind that we're seeing more and more web
"applications", as opposed to pages. Frameworks like backbone, angular,
etc, all frequently make very small (usually JSON encoded) requests to
indicates record updates, or to pull specific objects on demand, from an
HTTP endpoint.. All of that to say: many of these requests are just a few
hundred bytes. Your typical CRUD operations are all great examples: a lotta
headers for a tiny payload and a 204 response. The overhead there is huge,
which is why we're seeing people starting to invent their own protocols.
e.g. SwaggerRocket:
http://blog.wordnik.com/introducing-swaggersocket-a-rest-over-websocket-protocol

>
They shouldn't have to do this...

>
Ilya

--14dae9340ffbdb736704c75b7bbe
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"im"=
><div class=3D"gmail_quote">On Wed, Aug 15, 2012 at 4:36 AM, Henrik Frystyk=
 Nielsen <span dir=3D"ltr">&lt;<a href=3D"mailto:henrikn@microsoft.com" tar=
get=3D"_blank">henrikn@microsoft.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
I completely agree that if you have very small entity bodies then maturally=
 the header size will matter getting more requests into the pipe faster. Ho=
wever, in the tests that we have done with actual data the size of the enti=
ty bodies was large enough that the impact was minimal. This is especially =
the case if you also do bundling/minification as it naturally leads you to =
large entities.</blockquote>


</div><br></div></blockquote><div>=A0</div>It&#39;s worth keeping in mind t=
hat we&#39;re seeing more and more web &quot;applications&quot;, as opposed=
 to pages. Frameworks like backbone, angular, etc, all frequently make very=
 small (usually JSON encoded) requests to indicates record updates, or to p=
ull specific objects on demand, from an HTTP endpoint.. All of that to say:=
 many of these requests are just a few hundred bytes. Your typical CRUD ope=
rations are all great examples: a lotta headers for a tiny payload and a 20=
4 response. The overhead there is huge, which is why we&#39;re seeing peopl=
e starting to invent their own protocols. e.g. SwaggerRocket: <a href=3D"ht=
tp://blog.wordnik.com/introducing-swaggersocket-a-rest-over-websocket-proto=
col">http://blog.wordnik.com/introducing-swaggersocket-a-rest-over-websocke=
t-protocol</a><br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"></blockquote><br><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex">

</blockquote>They shouldn&#39;t have to do this...<br><blockquote class=3D"=
gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-=
left:1ex"></blockquote><br>Ilya</div>

--14dae9340ffbdb736704c75b7bbe--


From ietf-http-wg-request@listhub.w3.org  Thu Aug 16 06:12:42 2012
Return-Path: <ietf-http-wg-request@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 4496621F849D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 06:12:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.368
X-Spam-Level: 
X-Spam-Status: No, score=-10.368 tagged_above=-999 required=5 tests=[AWL=-0.070, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bq-aZvT468Qk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 06:12:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7EDE021F849A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Aug 2012 06:12:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T1zqc-0004k8-HY for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Aug 2012 13:10:50 +0000
Resent-Date: Thu, 16 Aug 2012 13:10:50 +0000
Resent-Message-Id: <E1T1zqc-0004k8-HY@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1T1zqJ-0004i0-F4 for ietf-http-wg@listhub.w3.org; Thu, 16 Aug 2012 13:10:31 +0000
Received: from ams-iport-3.cisco.com ([144.254.224.146]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1T1zqI-0003U7-4H for ietf-http-wg@w3.org; Thu, 16 Aug 2012 13:10:31 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=lear@cisco.com; l=2176; q=dns/txt; s=iport; t=1345122630; x=1346332230; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to; bh=r5LW044u4NiM1I3k4TZIywImbXeC076ALZrqdRfOFA0=; b=OHWaSDBqZUAMpTE3asSM6+JwMyAtrN2sbAd7EkF9IzUnatHbNN95kMf6 BzQGmVai4YDRFELsNuhrocuCfRtSrYHEj5S6jj8kiM2TqP0Rx241UqOrI WrO3Po6LwHMnrnIjN8M4600UAVqZ80tzLhkeKUKxhlGnwXVpmX5b8epAy 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgIFANjwLFCQ/khN/2dsb2JhbABFhgGFXq5EgQeCIAEBAQQSARBVARAJAgQBEwkWCwICCQMCAQIBRQYNAQcBAR6Ha5pejRmTC5BOgRIDlU+OLIFmgmE
X-IronPort-AV: E=Sophos;i="4.77,778,1336348800";  d="scan'208,217";a="7377720"
Received: from ams-core-4.cisco.com ([144.254.72.77]) by ams-iport-3.cisco.com with ESMTP; 16 Aug 2012 13:10:03 +0000
Received: from elear-mac.local (dhcp-10-55-94-49.cisco.com [10.55.94.49]) by ams-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id q7GDA1bM001545 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Aug 2012 13:10:02 GMT
Message-ID: <502CF128.2030107@cisco.com>
Date: Thu, 16 Aug 2012 15:10:00 +0200
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: =?UTF-8?B?IldpbGxpYW0gQ2hhbiAo6ZmI5pm65piMKSI=?= <willchan@chromium.org>
CC: Patrick McManus <pmcmanus@mozilla.com>, Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <502A621A.9010302@cisco.com> <CAMm+LwjhoCWXfBMXXTg0_Tj+FyB7_RoMuXHwRj7=068FF_oe2g@mail.gmail.com> <1345035602.1116.16.camel@ds9> <CAA4WUYiMXCMHs-KFJ8npQjYb=PGcVgS47mT+X2Fn=CEUWTCmbw@mail.gmail.com>
In-Reply-To: <CAA4WUYiMXCMHs-KFJ8npQjYb=PGcVgS47mT+X2Fn=CEUWTCmbw@mail.gmail.com>
X-Enigmail-Version: 1.4.3
Content-Type: multipart/alternative; boundary="------------000000020904000302030902"
Received-SPF: pass client-ip=144.254.224.146; envelope-from=lear@cisco.com; helo=ams-iport-3.cisco.com
X-W3C-Hub-Spam-Status: No, score=-11.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: lisa.w3.org 1T1zqI-0003U7-4H 1de2a2d0c1db4ffe655ab8b531f2423d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/502CF128.2030107@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15080
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>

This is a multi-part message in MIME format.
--------------000000020904000302030902
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit


On 8/16/12 6:50 AM, William Chan (陈智昌) wrote:
> Can you clarify the reason to prefer srv over something like an
> Alternate-Protocol response header? I can see that Alternate-Protocol
> is suboptimal in that it requires waiting for a response first, but I
> have concerns about adding yet another DNS lookup. Chromium has
> already lowered our concurrent getaddrinfo() calls to 6 due to
> problems with home routers not being able to handle too many
> concurrent DNS queries. Adding more DNS lookups per hostname will
> further exacerbate the problem.

And whatever mechanism is used has to work with the http: schema, which
includes a port.

Eliot

--------------000000020904000302030902
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 8/16/12 6:50 AM, William Chan (陈智昌)
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAA4WUYiMXCMHs-KFJ8npQjYb=PGcVgS47mT+X2Fn=CEUWTCmbw@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      Can you clarify the reason to prefer srv over something like an
      Alternate-Protocol response header? I can see that
      Alternate-Protocol is suboptimal in that it requires waiting for a
      response first, but I have concerns about adding yet another DNS
      lookup. Chromium has already lowered our concurrent getaddrinfo()
      calls to 6 due to problems with home routers not being able to
      handle too many concurrent DNS queries. Adding more DNS lookups
      per hostname will further exacerbate the problem.<br>
    </blockquote>
    <br>
    And whatever mechanism is used has to work with the http: schema,
    which includes a port.<br>
    <br>
    Eliot<br>
  </body>
</html>

--------------000000020904000302030902--


From ietf-http-wg-request@listhub.w3.org  Thu Aug 16 06:19:11 2012
Return-Path: <ietf-http-wg-request@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 BCF3D21F85E3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 06:19:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.432
X-Spam-Level: 
X-Spam-Status: No, score=-10.432 tagged_above=-999 required=5 tests=[AWL=-0.133, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VWRrrD1qcMgD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 06:19:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3CB9121F8600 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Aug 2012 06:19:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T1zy1-0001GG-7q for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Aug 2012 13:18:29 +0000
Resent-Date: Thu, 16 Aug 2012 13:18:29 +0000
Resent-Message-Id: <E1T1zy1-0001GG-7q@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1T1zxt-0001EY-1k for ietf-http-wg@listhub.w3.org; Thu, 16 Aug 2012 13:18:21 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1T1zxr-0004sO-VG for ietf-http-wg@w3.org; Thu, 16 Aug 2012 13:18:20 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id 9E13C101BB; Thu, 16 Aug 2012 09:17:57 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id B796A101B7; Thu, 16 Aug 2012 09:17:53 -0400 (EDT)
Message-ID: <1345123067.1116.72.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: William Chan =?UTF-8?Q?=28=E9=99=88=E6=99=BA=E6=98=8C=29?= <willchan@chromium.org>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Thu, 16 Aug 2012 09:17:47 -0400
In-Reply-To: <CAA4WUYiMXCMHs-KFJ8npQjYb=PGcVgS47mT+X2Fn=CEUWTCmbw@mail.gmail.com>
References: <502A621A.9010302@cisco.com> <CAMm+LwjhoCWXfBMXXTg0_Tj+FyB7_RoMuXHwRj7=068FF_oe2g@mail.gmail.com> <1345035602.1116.16.camel@ds9> <CAA4WUYiMXCMHs-KFJ8npQjYb=PGcVgS47mT+X2Fn=CEUWTCmbw@mail.gmail.com>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 8bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8
X-W3C-Scan-Sig: maggie.w3.org 1T1zxr-0004sO-VG 534b6f023b9bd5b05a28aeeea8b73266
X-Original-To: ietf-http-wg@w3.org
Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/1345123067.1116.72.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15081
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 Wed, 2012-08-15 at 21:50 -0700, William Chan (陈智昌) wrote:
> Can you clarify the reason to prefer srv over something like an
> Alternate-Protocol response header?

bootstrapping with a-p on http/1 means that while you're making the
http/2 connection you're using http/1 (or waiting idly). Obviously, we
want to be using http/2 (or we wouldn't be having the FUN FUN FUN of
this whole project) so this is suboptimal. That seems kind of self
evident. Doing the direction with DNS addresses that.

This is no doubt unavoidable in a bunch of scenarios - and people won't
setup non-{a,aaaa} records in droves out of the gate. But if we give
better performance with a srv record than without one, then that will
become a driver for seeing them deployed.

>  another DNS lookup. Chromium has already lowered our concurrent
> getaddrinfo() calls to 6 due to problems with home routers not being
> able to handle too many concurrent DNS queries. Adding more DNS
> lookups per hostname will further exacerbate the problem.
> 

I know you guys see more problems with that than we do - and I certainly
acknowledge that the difference might just be that you have better
visibility into it. Hard to know if its insurmountable at this point.
But given the racy nature of what we're talking about - what to do
might be more of an implementation choice than anything else.




From ietf-http-wg-request@listhub.w3.org  Thu Aug 16 06:48:04 2012
Return-Path: <ietf-http-wg-request@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 7883321F860D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 06:48:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.275
X-Spam-Level: 
X-Spam-Status: No, score=-10.275 tagged_above=-999 required=5 tests=[AWL=-0.276, BAYES_00=-2.599, J_CHICKENPOX_64=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ffDHQcNCX+mX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 06:48:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 77CF521F8609 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Aug 2012 06:48:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T20PJ-0001rZ-Ty for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Aug 2012 13:46:41 +0000
Resent-Date: Thu, 16 Aug 2012 13:46:41 +0000
Resent-Message-Id: <E1T20PJ-0001rZ-Ty@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1T20PB-0001qo-UO for ietf-http-wg@listhub.w3.org; Thu, 16 Aug 2012 13:46:33 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1T20P2-0005oL-Ci for ietf-http-wg@w3.org; Thu, 16 Aug 2012 13:46:33 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id 91AFB101BB; Thu, 16 Aug 2012 09:46:02 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id A95BE101B7; Thu, 16 Aug 2012 09:45:53 -0400 (EDT)
Message-ID: <1345124747.1116.91.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: Ilya Grigorik <ilya@igvita.com>
Cc: Henrik Frystyk Nielsen <henrikn@microsoft.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Thu, 16 Aug 2012 09:45:47 -0400
In-Reply-To: <CAKRe7JGQtMn+R0T=PYsOb7HTZ777deSijdzDEYCrznWgp9JZgg@mail.gmail.com>
References:  <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com> <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com> <1344457449.3295.30.camel@ds9> <d0fdfabd35d049c0ad5994ee48ae98a9@BLUPR03MB613.namprd03.prod.outlook.com> <CAKRe7JEcta+K0zAoHit98VhB+TMGk7mcwG2GQ0qpp6V3uBDsRg@mail.gmail.com> <CAKRe7JGQtMn+R0T=PYsOb7HTZ777deSijdzDEYCrznWgp9JZgg@mail.gmail.com>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8
X-W3C-Scan-Sig: maggie.w3.org 1T20P2-0005oL-Ci 45d83671a4b8967f1349bdd9a8f428e3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: In Defense of Header Compresson
Archived-At: <http://www.w3.org/mid/1345124747.1116.91.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15082
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>

This thread has primarily talked about downstream compression and the
fact that its utility is driven by the header:body ratio.

Upstream compression for http/2 is pretty interesting too.

http/2 is presumably muxxed with priority semantics. The server can only
do priority scheduling across the transactions it is aware of - so we've
moved past the simpler http/1+pipeline need of being able to send enough
requests to keep the downstream bandwidth utilized. Having extra
transactions to choose from lets the priority of a late ordered
transaction take precedence if appropriate.

upstream compression lets the client send more requests in its typically
small cwnd.




On Wed, 2012-08-15 at 22:40 -0700, Ilya Grigorik wrote:
>         On Wed, Aug 15, 2012 at 4:36 AM, Henrik Frystyk Nielsen
>         <henrikn@microsoft.com> wrote:
>                 I completely agree that if you have very small entity
>                 bodies then maturally the header size will matter
>                 getting more requests into the pipe faster. However,
>                 in the tests that we have done with actual data the
>                 size of the entity bodies was large enough that the
>                 impact was minimal. This is especially the case if you
>                 also do bundling/minification as it naturally leads
>                 you to large entities.
>         
>         
>  
> It's worth keeping in mind that we're seeing more and more web
> "applications", as opposed to pages. Frameworks like backbone,
> angular, etc, all frequently make very small (usually JSON encoded)
> requests to indicates record updates, or to pull specific objects on
> demand, from an HTTP endpoint.. All of that to say: many of these
> requests are just a few hundred bytes. Your typical CRUD operations
> are all great examples: a lotta headers for a tiny payload and a 204
> response. The overhead there is huge, which is why we're seeing people
> starting to invent their own protocols. e.g. SwaggerRocket:
> http://blog.wordnik.com/introducing-swaggersocket-a-rest-over-websocket-protocol
> 
> They shouldn't have to do this...
> 
> Ilya




From ietf-http-wg-request@listhub.w3.org  Thu Aug 16 06:48:52 2012
Return-Path: <ietf-http-wg-request@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 D127821F8609 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 06:48:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.976
X-Spam-Level: 
X-Spam-Status: No, score=-8.976 tagged_above=-999 required=5 tests=[AWL=1.623, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fo-Agag6SguV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 06:48:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2F3E821F8608 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Aug 2012 06:48:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T20Qo-00022V-Bb for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Aug 2012 13:48:14 +0000
Resent-Date: Thu, 16 Aug 2012 13:48:14 +0000
Resent-Message-Id: <E1T20Qo-00022V-Bb@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T20QW-0001xB-TJ for ietf-http-wg@listhub.w3.org; Thu, 16 Aug 2012 13:47:56 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T20QU-0004we-CK for ietf-http-wg@w3.org; Thu, 16 Aug 2012 13:47:56 +0000
Received: by obqv19 with SMTP id v19so3858941obq.2 for <ietf-http-wg@w3.org>; Thu, 16 Aug 2012 06:47:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=k5+eozC69KFH1c5gsjkoTl3/pryzRw6M7mctMXKxWeQ=; b=q3lHwaUNbHum966DW/6NtdeycSwWzo2IbkVk6B5L07cjl2nBqYxKYcRxq9u1kgA2A7 cn4gTOjg8UiBsBxnGES0aIkZ22XBUZ8Y0Y9G4tbW7PwAKKBxxKJg7oCsHCDpu+s40mFa dDTVWIzO0htOw3/U9M7QCCcf0Vtu02v5ScAuEQq+p1jXfTTAOQAboNLxx7w8DljvXUTG uMxsfR81JqZ6+/puWd4qPHSC+Sjj21qdtJfxA07kiRGXZJ2H18fQmn9d0SEZcOwjkoyl gdG0uO7VW73LbitoPovpsTjGMQrbfurEL8xHOr0U/5f9Lj4e7iY3dalZFjuOzS23hLSz 5gMQ==
MIME-Version: 1.0
Received: by 10.60.18.168 with SMTP id x8mr1041406oed.18.1345124848399; Thu, 16 Aug 2012 06:47:28 -0700 (PDT)
Received: by 10.76.80.10 with HTTP; Thu, 16 Aug 2012 06:47:28 -0700 (PDT)
In-Reply-To: <502CF128.2030107@cisco.com>
References: <502A621A.9010302@cisco.com> <CAMm+LwjhoCWXfBMXXTg0_Tj+FyB7_RoMuXHwRj7=068FF_oe2g@mail.gmail.com> <1345035602.1116.16.camel@ds9> <CAA4WUYiMXCMHs-KFJ8npQjYb=PGcVgS47mT+X2Fn=CEUWTCmbw@mail.gmail.com> <502CF128.2030107@cisco.com>
Date: Thu, 16 Aug 2012 09:47:28 -0400
Message-ID: <CAMm+LwibimC54MaXTEOxdS4AfFg+g-eWnTFHccg6+BPPWTwmdA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Eliot Lear <lear@cisco.com>
Cc: =?UTF-8?B?IldpbGxpYW0gQ2hhbiAo6ZmI5pm65piMKSI=?= <willchan@chromium.org>,  Patrick McManus <pmcmanus@mozilla.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T20QU-0004we-CK 5ba49268714cb21a46129950b2fb5af6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/CAMm+LwibimC54MaXTEOxdS4AfFg+g-eWnTFHccg6+BPPWTwmdA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15083
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>

The advantage of SRV is that is supports multiple hosted services
properly and eliminates the need for hacks like round robin DNS. It
also allows the port number to be specified separately for each
service. This allows two instances of a service on the same host which
is nice for testing.

If we are doing HTTP2 for performance we should support load balancing
and fault tolerance which is what SRV is for.


I suggest:

* If the URL specifies only the host name, use SRV lookup for _http2
first. If it is found, use http2.0

* if the URL specifies a port then use http/1.1

For testing purposes, it may be convenient to have a http2: scheme so
that the SRV thing can be separated from the protocol upgrade. In fact
that might be useful for signaling anyway..





On Thu, Aug 16, 2012 at 9:10 AM, Eliot Lear <lear@cisco.com> wrote:
>
> On 8/16/12 6:50 AM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) wrote:
>
> Can you clarify the reason to prefer srv over something like an
> Alternate-Protocol response header? I can see that Alternate-Protocol is
> suboptimal in that it requires waiting for a response first, but I have
> concerns about adding yet another DNS lookup. Chromium has already lowere=
d
> our concurrent getaddrinfo() calls to 6 due to problems with home routers
> not being able to handle too many concurrent DNS queries. Adding more DNS
> lookups per hostname will further exacerbate the problem.
>
>
> And whatever mechanism is used has to work with the http: schema, which
> includes a port.
>
> Eliot



--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Thu Aug 16 06:51:05 2012
Return-Path: <ietf-http-wg-request@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 1D51121F843A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 06:51:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.561
X-Spam-Level: 
X-Spam-Status: No, score=-10.561 tagged_above=-999 required=5 tests=[AWL=0.038, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qWkDl+yNjQcp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 06:51:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 91EEE21F85BB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Aug 2012 06:51:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T20Sx-0003hT-AV for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Aug 2012 13:50:27 +0000
Resent-Date: Thu, 16 Aug 2012 13:50:27 +0000
Resent-Message-Id: <E1T20Sx-0003hT-AV@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1T20Sp-0003g4-Az for ietf-http-wg@listhub.w3.org; Thu, 16 Aug 2012 13:50:19 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1T20Sl-000564-Go for ietf-http-wg@w3.org; Thu, 16 Aug 2012 13:50:19 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id 671EB102A7; Thu, 16 Aug 2012 09:49:54 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id 20827101B8; Thu, 16 Aug 2012 09:49:50 -0400 (EDT)
Message-ID: <1345124984.1116.95.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Thu, 16 Aug 2012 09:49:44 -0400
In-Reply-To: <d0fdfabd35d049c0ad5994ee48ae98a9@BLUPR03MB613.namprd03.prod.outlook.com>
References:  <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com> <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com> <1344457449.3295.30.camel@ds9> <d0fdfabd35d049c0ad5994ee48ae98a9@BLUPR03MB613.namprd03.prod.outlook.com>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8
X-W3C-Scan-Sig: lisa.w3.org 1T20Sl-000564-Go 4a68bcd73e0bd254f651486ed39f8e08
X-Original-To: ietf-http-wg@w3.org
Subject: RE: In Defense of Header Compresson
Archived-At: <http://www.w3.org/mid/1345124984.1116.95.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15084
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 Wed, 2012-08-15 at 11:36 +0000, Henrik Frystyk Nielsen wrote:

>  it's primarily the *mechanism* I am interested in. In particular, I am interested in its ability for easy inspection

I'm also totally open to token/table mechanisms that give good results!




From ietf-http-wg-request@listhub.w3.org  Thu Aug 16 06:57:11 2012
Return-Path: <ietf-http-wg-request@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 40A0E21F8611 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 06:57:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.448
X-Spam-Level: 
X-Spam-Status: No, score=-6.448 tagged_above=-999 required=5 tests=[AWL=4.151, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NVOsjUJ-Flsn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 06:56:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C21ED21F85C4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Aug 2012 06:56:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T20Yu-0006EA-8N for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Aug 2012 13:56:36 +0000
Resent-Date: Thu, 16 Aug 2012 13:56:36 +0000
Resent-Message-Id: <E1T20Yu-0006EA-8N@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1T20Yc-00069Z-SA for ietf-http-wg@listhub.w3.org; Thu, 16 Aug 2012 13:56:18 +0000
Received: from mail.ietf.org ([64.170.98.30]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1T20YX-000695-2O for ietf-http-wg@w3.org; Thu, 16 Aug 2012 13:56:18 +0000
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C6E7B21F85DD for <ietf-http-wg@w3.org>; Thu, 16 Aug 2012 06:55:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OCxPBMd1Kcqa; Thu, 16 Aug 2012 06:55:36 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4E77121F8495; Thu, 16 Aug 2012 06:55:17 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.33
Message-ID: <20120816135517.12398.41572.idtracker@ietfa.amsl.com>
Date: Thu, 16 Aug 2012 06:55:17 -0700
Received-SPF: permerror client-ip=64.170.98.30; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RP_MATCHES_RCVD=0.001
X-W3C-Scan-Sig: maggie.w3.org 1T20YX-000695-2O 5f13a1e0c89aa6871e0fddcafc04e01a
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-authscheme-registrations-04.txt
Archived-At: <http://www.w3.org/mid/20120816135517.12398.41572.idtracker@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15085
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>

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Hypertext Transfer Protocol Bis Working G=
roup of the IETF.

	Title           : Initial Hypertext Transfer Protocol (HTTP) Authenticatio=
n Scheme Registrations
	Author(s)       : Julian F. Reschke
	Filename        : draft-ietf-httpbis-authscheme-registrations-04.txt
	Pages           : 4
	Date            : 2012-08-16

Abstract:
   This document registers Hypertext Transfer Protocol (HTTP)
   authentication schemes which have been defined in standards-track
   RFCs before the IANA HTTP Authentication Scheme Registry was
   established.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-httpbis-authscheme-registrations

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-httpbis-authscheme-registrations-04

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-authscheme-registrati=
ons-04


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From ietf-http-wg-request@listhub.w3.org  Thu Aug 16 07:38:50 2012
Return-Path: <ietf-http-wg-request@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 85C5C21F85D5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 07:38:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zF0xFL01sQQF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 07:38:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C973321F85D2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Aug 2012 07:38:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T21CY-000342-AX for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Aug 2012 14:37:34 +0000
Resent-Date: Thu, 16 Aug 2012 14:37:34 +0000
Resent-Message-Id: <E1T21CY-000342-AX@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fumanchu@aminus.org>) id 1T21CK-00032q-SM for ietf-http-wg@listhub.w3.org; Thu, 16 Aug 2012 14:37:20 +0000
Received: from bh1.myhostedexchange.com ([69.50.2.84]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <fumanchu@aminus.org>) id 1T21CJ-0006XQ-Dw for ietf-http-wg@w3.org; Thu, 16 Aug 2012 14:37:20 +0000
Received: from ex10.myhostedexchange.com ([69.50.2.84]) by bh1.myhostedexchange.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 16 Aug 2012 07:36:57 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: base64
Date: Thu, 16 Aug 2012 07:36:53 -0700
Message-ID: <F1962646D3B64642B7C9A06068EE1E64164A0AB3@ex10.hostedexchange.local>
In-Reply-To: <CAKRe7JGQtMn+R0T=PYsOb7HTZ777deSijdzDEYCrznWgp9JZgg@mail.gmail.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: In Defense of Header Compresson
Thread-Index: Ac17cfA/r0c61RQnQjCQB6kETPKd7gASOy0Q
References: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com> <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com> <1344457449.3295.30.camel@ds9> <d0fdfabd35d049c0ad5994ee48ae98a9@BLUPR03MB613.namprd03.prod.outlook.com> <CAKRe7JEcta+K0zAoHit98VhB+TMGk7mcwG2GQ0qpp6V3uBDsRg@mail.gmail.com> <CAKRe7JGQtMn+R0T=PYsOb7HTZ777deSijdzDEYCrznWgp9JZgg@mail.gmail.com>
From: "Robert Brewer" <fumanchu@aminus.org>
To: "Ilya Grigorik" <ilya@igvita.com>, "Henrik Frystyk Nielsen" <henrikn@microsoft.com>
Cc: "Patrick McManus" <pmcmanus@mozilla.com>, <ietf-http-wg@w3.org>
X-OriginalArrivalTime: 16 Aug 2012 14:36:57.0616 (UTC) FILETIME=[96B58900:01CD7BBC]
Received-SPF: none client-ip=69.50.2.84; envelope-from=fumanchu@aminus.org; helo=bh1.myhostedexchange.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8
X-W3C-Scan-Sig: lisa.w3.org 1T21CJ-0006XQ-Dw 24a3c3568c92b94a580a60c4cb5e5488
X-Original-To: ietf-http-wg@w3.org
Subject: RE: In Defense of Header Compresson
Archived-At: <http://www.w3.org/mid/F1962646D3B64642B7C9A06068EE1E64164A0AB3@ex10.hostedexchange.local>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15086
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>

SWx5YSBHcmlnb3JpayB3cm90ZToNCj4gPiBPbiBXZWQsIEF1ZyAxNSwgMjAxMiBhdCA0OjM2IEFN
LCBIZW5yaWsgRnJ5c3R5ayBOaWVsc2VuIDxoZW5yaWtuQG1pY3Jvc29mdC5jb20+IHdyb3RlOg0K
PiA+IEkgY29tcGxldGVseSBhZ3JlZSB0aGF0IGlmIHlvdSBoYXZlIHZlcnkgc21hbGwgZW50aXR5
IGJvZGllcw0KPiA+IHRoZW4gbWF0dXJhbGx5IHRoZSBoZWFkZXIgc2l6ZSB3aWxsIG1hdHRlciBn
ZXR0aW5nIG1vcmUNCj4gPiByZXF1ZXN0cyBpbnRvIHRoZSBwaXBlIGZhc3Rlci4gSG93ZXZlciwg
aW4gdGhlIHRlc3RzIHRoYXQgd2UNCj4gPiBoYXZlIGRvbmUgd2l0aCBhY3R1YWwgZGF0YSB0aGUg
c2l6ZSBvZiB0aGUgZW50aXR5IGJvZGllcyB3YXMNCj4gPiBsYXJnZSBlbm91Z2ggdGhhdCB0aGUg
aW1wYWN0IHdhcyBtaW5pbWFsLiBUaGlzIGlzIGVzcGVjaWFsbHkNCj4gPiB0aGUgY2FzZSBpZiB5
b3UgYWxzbyBkbyBidW5kbGluZy9taW5pZmljYXRpb24gYXMgaXQgbmF0dXJhbGx5DQo+ID4gbGVh
ZHMgeW91IHRvIGxhcmdlIGVudGl0aWVzLg0KPiANCj4gSXQncyB3b3J0aCBrZWVwaW5nIGluIG1p
bmQgdGhhdCB3ZSdyZSBzZWVpbmcgbW9yZSBhbmQgbW9yZSB3ZWINCj4gImFwcGxpY2F0aW9ucyIs
IGFzIG9wcG9zZWQgdG8gcGFnZXMuIEZyYW1ld29ya3MgbGlrZSBiYWNrYm9uZSwNCj4gYW5ndWxh
ciwgZXRjLCBhbGwgZnJlcXVlbnRseSBtYWtlIHZlcnkgc21hbGwgKHVzdWFsbHkgSlNPTg0KPiBl
bmNvZGVkKSByZXF1ZXN0cyB0byBpbmRpY2F0ZXMgcmVjb3JkIHVwZGF0ZXMsIG9yIHRvIHB1bGwN
Cj4gc3BlY2lmaWMgb2JqZWN0cyBvbiBkZW1hbmQsIGZyb20gYW4gSFRUUCBlbmRwb2ludC4uIEFs
bCBvZiB0aGF0DQo+IHRvIHNheTogbWFueSBvZiB0aGVzZSByZXF1ZXN0cyBhcmUganVzdCBhIGZl
dyBodW5kcmVkIGJ5dGVzLg0KPiBZb3VyIHR5cGljYWwgQ1JVRCBvcGVyYXRpb25zIGFyZSBhbGwg
Z3JlYXQgZXhhbXBsZXM6IGEgbG90dGENCj4gaGVhZGVycyBmb3IgYSB0aW55IHBheWxvYWQgYW5k
IGEgMjA0IHJlc3BvbnNlLiBUaGUgb3ZlcmhlYWQNCj4gdGhlcmUgaXMgaHVnZSwgd2hpY2ggaXMg
d2h5IHdlJ3JlIHNlZWluZyBwZW9wbGUgc3RhcnRpbmcgdG8NCj4gaW52ZW50IHRoZWlyIG93biBw
cm90b2NvbHMuIGUuZy4gU3dhZ2dlclJvY2tldDoNCj4gaHR0cDovL2Jsb2cud29yZG5pay5jb20v
aW50cm9kdWNpbmctc3dhZ2dlcnNvY2tldC1hLXJlc3Qtb3Zlci13ZWJzb2NrZXQtcHJvdG9jb2wN
Cj4gDQo+IFRoZXkgc2hvdWxkbid0IGhhdmUgdG8gZG8gdGhpcy4uLg0KDQpUaGV5IHNob3VsZG4n
dCBoYXZlIHRvIGludmVudCB0aGVpciBvd24gcHJvdG9jb2xzIGJlY2F1c2UgdGhlcmUgYXJlIGFs
cmVhZHkgcGxlbnR5IG9mIHByb3RvY29scyBvcHRpbWl6ZWQgZm9yIHNtYWxsLWdyYWluZWQgbWVz
c2FnZXMuIFRoYXQgZG9lc24ndCBtZWFuIEhUVFAsIHdoaWNoIGlzIG9uZSBvZiB0aGUgZmV3IHBy
b3RvY29scyB3aGljaCBpcyBvcHRpbWl6ZWQgZm9yIGxhcmdlLWdyYWluZWQgbWVzc2FnZXMgKGlu
IG9yZGVyIHRvIHRyYWRlIGVmZmljaWVuY3kgZm9yIHNjYWxhYmlsaXR5KSwgaGFzIHRvIGNoYW5n
ZSB0byBiZWNvbWUgb25lIG9mIHRoZW0uDQoNCg0KUm9iZXJ0IEJyZXdlcg0KZnVtYW5jaHVAYW1p
bnVzLm9yZw0K


From ietf-http-wg-request@listhub.w3.org  Thu Aug 16 08:20:34 2012
Return-Path: <ietf-http-wg-request@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 46C8921F8557 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 08:20:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.769
X-Spam-Level: 
X-Spam-Status: No, score=-9.769 tagged_above=-999 required=5 tests=[AWL=0.830, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T06UuhsaQnmj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 08:20:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7FC7421F854E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Aug 2012 08:20:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T21qu-0000qM-La for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Aug 2012 15:19:16 +0000
Resent-Date: Thu, 16 Aug 2012 15:19:16 +0000
Resent-Message-Id: <E1T21qu-0000qM-La@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1T21qh-0000pb-7Q for ietf-http-wg@listhub.w3.org; Thu, 16 Aug 2012 15:19:03 +0000
Received: from c2w3p-2.abacamail.com ([209.133.53.32]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1T21qg-0000cS-51 for ietf-http-wg@w3.org; Thu, 16 Aug 2012 15:19:03 +0000
Received: from xpasc.com (unknown [68.164.244.188]) by c2w3p-2.abacamail.com (Postfix) with ESMTP id E5485408C5 for <ietf-http-wg@w3.org>; Thu, 16 Aug 2012 15:18:34 +0000 (UTC)
Received: from egate.xpasc.com (egate.xpasc.com [10.1.2.49]) by xpasc.com (8.13.8/8.13.8) with ESMTP id q7GFIYAx012048 for <ietf-http-wg@w3.org>; Thu, 16 Aug 2012 08:18:34 -0700
Date: Thu, 16 Aug 2012 08:18:34 -0700 (PDT)
From: David Morris <dwm@xpasc.com>
Reply-To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
In-Reply-To: <1345124984.1116.95.camel@ds9>
Message-ID: <alpine.LRH.2.01.1208160814450.6149@egate.xpasc.com>
References: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com>  <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com>  <1344457449.3295.30.camel@ds9>  <d0fdfabd35d049c0ad5994ee48ae98a9@BLUPR03MB613.namprd03.prod.outlook.com> <1345124984.1116.95.camel@ds9>
User-Agent: Alpine 2.01 (LRH 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Milter-Version: master.1+13-gbab1945
X-AV-Type: clean
X-AV-Accuracy: exact
Received-SPF: pass client-ip=209.133.53.32; envelope-from=dwm@xpasc.com; helo=c2w3p-2.abacamail.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T21qg-0000cS-51 0a8bee52529dd2aa5b52988fb672ec6d
X-Original-To: ietf-http-wg@w3.org
Subject: RE: In Defense of Header Compresson
Archived-At: <http://www.w3.org/mid/alpine.LRH.2.01.1208160814450.6149@egate.xpasc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15087
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 Thu, 16 Aug 2012, Patrick McManus wrote:

> On Wed, 2012-08-15 at 11:36 +0000, Henrik Frystyk Nielsen wrote:
> 
> >  it's primarily the *mechanism* I am interested in. In particular, I
> > am interested in its ability for easy inspection
> 
> I'm also totally open to token/table mechanisms that give good results!

I have probably spent years of my professional life analyzing data on the
wire so I sympathise with the desire to inspect data easily, but I don't
accept this as a constraint on the solution, only a tiebreaker. There
are enough ways for tools to solve the problem and infact I see a lot of
value in having motivation for the creation of more tools to support
data inspection.


From ietf-http-wg-request@listhub.w3.org  Thu Aug 16 08:26:19 2012
Return-Path: <ietf-http-wg-request@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 9AE0821F854E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 08:26:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.988
X-Spam-Level: 
X-Spam-Status: No, score=-8.988 tagged_above=-999 required=5 tests=[AWL=1.611, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MSJnaMerWnDd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 08:26:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 62F4821F8517 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Aug 2012 08:26:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T21x0-0003i2-Po for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Aug 2012 15:25:34 +0000
Resent-Date: Thu, 16 Aug 2012 15:25:34 +0000
Resent-Message-Id: <E1T21x0-0003i2-Po@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T21wn-0003h9-0B for ietf-http-wg@listhub.w3.org; Thu, 16 Aug 2012 15:25:21 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T21wl-0007ur-P2 for ietf-http-wg@w3.org; Thu, 16 Aug 2012 15:25:20 +0000
Received: by qcad1 with SMTP id d1so2416269qca.2 for <ietf-http-wg@w3.org>; Thu, 16 Aug 2012 08:24:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=s6tWcpzP5pzj8jx979xmcYdud0lNm/K2gmBVzInt+Z8=; b=lsy2rjMpa/LFHLTVjOzxodY4PKvBd03RjXiAcyxA7koVkzUN4VQ0Of3aVTJpfGKY22 Hnzv+hm6tI1Do7hVQcqy8P+SnfK6UTHIj2Wx10bs0xB0/i/4JK9F/G/F+BpNJsg1mTIe CyjqqSKiZzE9wsJ0zlxF0yjtuPkRCM8wEaN+WFo8UVyek5ASYtQpAfIu1CFuem6kK6bH N1TTzp+yemlXNjpXwI91GbIFnDOxHW9WVuEWYnBfCbDpz3VbFZ4NGdhXryy5cTAKVz1l gJPsTVfExNyxPbdVxVuckmM49y+DSZUOyGqQ+7oDuB25y5vdiWSP0YEhH6yNIiDuSZwQ 7HWA==
MIME-Version: 1.0
Received: by 10.60.172.236 with SMTP id bf12mr1378503oec.23.1345130693700; Thu, 16 Aug 2012 08:24:53 -0700 (PDT)
Received: by 10.76.80.10 with HTTP; Thu, 16 Aug 2012 08:24:53 -0700 (PDT)
In-Reply-To: <F1962646D3B64642B7C9A06068EE1E64164A0AB3@ex10.hostedexchange.local>
References: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com> <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com> <1344457449.3295.30.camel@ds9> <d0fdfabd35d049c0ad5994ee48ae98a9@BLUPR03MB613.namprd03.prod.outlook.com> <CAKRe7JEcta+K0zAoHit98VhB+TMGk7mcwG2GQ0qpp6V3uBDsRg@mail.gmail.com> <CAKRe7JGQtMn+R0T=PYsOb7HTZ777deSijdzDEYCrznWgp9JZgg@mail.gmail.com> <F1962646D3B64642B7C9A06068EE1E64164A0AB3@ex10.hostedexchange.local>
Date: Thu, 16 Aug 2012 11:24:53 -0400
Message-ID: <CAMm+Lwii22nj=L8LHJQhbOzrn7Mr_ta2RMyURvwxGLunVK_HMQ@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Robert Brewer <fumanchu@aminus.org>
Cc: Ilya Grigorik <ilya@igvita.com>, Henrik Frystyk Nielsen <henrikn@microsoft.com>,  Patrick McManus <pmcmanus@mozilla.com>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.216.171; envelope-from=hallam@gmail.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T21wl-0007ur-P2 4c3ca21623a5b94cf2a06882e8f0ebe0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: In Defense of Header Compresson
Archived-At: <http://www.w3.org/mid/CAMm+Lwii22nj=L8LHJQhbOzrn7Mr_ta2RMyURvwxGLunVK_HMQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15088
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>

What really matters for performance is the number of packets rather
than packet size. If you are worried about the packet size then you
should not expect a general purpose transport to meet your needs. UDP
is going to be better.

Similarly, if you are using JSON then the JSON bloat is going to be a
lot more overhead than HTTP bloat.


I like tokenization as a strategy as the same approach can be used for
both the JSON and the HTTP space saving. It also means that embedded
devices can even use the tokenized form as a replacement for header
and JSON syntax and only use one parser.

I don't see much advantage to compression for small message sizes
unless you can avoid transporting the compression dictionary which is
exactly what tokenization does, only with a slight reduction in
maximum efficiency and a huge reduction in complexity.

On Thu, Aug 16, 2012 at 10:36 AM, Robert Brewer <fumanchu@aminus.org> wrote=
:
> Ilya Grigorik wrote:
>> > On Wed, Aug 15, 2012 at 4:36 AM, Henrik Frystyk Nielsen <henrikn@micro=
soft.com> wrote:
>> > I completely agree that if you have very small entity bodies
>> > then maturally the header size will matter getting more
>> > requests into the pipe faster. However, in the tests that we
>> > have done with actual data the size of the entity bodies was
>> > large enough that the impact was minimal. This is especially
>> > the case if you also do bundling/minification as it naturally
>> > leads you to large entities.
>>
>> It's worth keeping in mind that we're seeing more and more web
>> "applications", as opposed to pages. Frameworks like backbone,
>> angular, etc, all frequently make very small (usually JSON
>> encoded) requests to indicates record updates, or to pull
>> specific objects on demand, from an HTTP endpoint.. All of that
>> to say: many of these requests are just a few hundred bytes.
>> Your typical CRUD operations are all great examples: a lotta
>> headers for a tiny payload and a 204 response. The overhead
>> there is huge, which is why we're seeing people starting to
>> invent their own protocols. e.g. SwaggerRocket:
>> http://blog.wordnik.com/introducing-swaggersocket-a-rest-over-websocket-=
protocol
>>
>> They shouldn't have to do this...
>
> They shouldn't have to invent their own protocols because there are alrea=
dy plenty of protocols optimized for small-grained messages. That doesn't m=
ean HTTP, which is one of the few protocols which is optimized for large-gr=
ained messages (in order to trade efficiency for scalability), has to chang=
e to become one of them.
>
>
> Robert Brewer
> fumanchu@aminus.org



--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Thu Aug 16 12:28:42 2012
Return-Path: <ietf-http-wg-request@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 EA6BC21F8620 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 12:28:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.844
X-Spam-Level: 
X-Spam-Status: No, score=-9.844 tagged_above=-999 required=5 tests=[AWL=0.755, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UD7YHRwy82bz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 12:28:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E864121F859F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Aug 2012 12:28:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T25iO-0008W7-9b for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Aug 2012 19:26:44 +0000
Resent-Date: Thu, 16 Aug 2012 19:26:44 +0000
Resent-Message-Id: <E1T25iO-0008W7-9b@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1T25hx-0008Th-QH for ietf-http-wg@listhub.w3.org; Thu, 16 Aug 2012 19:26:17 +0000
Received: from c2w3p-2.abacamail.com ([209.133.53.32]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1T25hw-0000QE-P4 for ietf-http-wg@w3.org; Thu, 16 Aug 2012 19:26:17 +0000
Received: from xpasc.com (unknown [68.164.244.188]) by c2w3p-2.abacamail.com (Postfix) with ESMTP id 9ADC13F813 for <ietf-http-wg@w3.org>; Thu, 16 Aug 2012 19:25:49 +0000 (UTC)
Received: from egate.xpasc.com (egate.xpasc.com [10.1.2.49]) by xpasc.com (8.13.8/8.13.8) with ESMTP id q7GJPmf0013991 for <ietf-http-wg@w3.org>; Thu, 16 Aug 2012 12:25:49 -0700
Date: Thu, 16 Aug 2012 12:25:48 -0700 (PDT)
From: David Morris <dwm@xpasc.com>
Reply-To: "'HTTP Working Group'" <ietf-http-wg@w3.org>
To: "'HTTP Working Group'" <ietf-http-wg@w3.org>
In-Reply-To: <CAMm+Lwii22nj=L8LHJQhbOzrn7Mr_ta2RMyURvwxGLunVK_HMQ@mail.gmail.com>
Message-ID: <alpine.LRH.2.01.1208161211140.13858@egate.xpasc.com>
References: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com> <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com> <1344457449.3295.30.camel@ds9> <d0fdfabd35d049c0ad5994ee48ae98a9@BLUPR03MB613.namprd03.prod.outlook.com> <CAKRe7JEcta+K0zAoHit98VhB+TMGk7mcwG2GQ0qpp6V3uBDsRg@mail.gmail.com> <CAKRe7JGQtMn+R0T=PYsOb7HTZ777deSijdzDEYCrznWgp9JZgg@mail.gmail.com> <F1962646D3B64642B7C9A06068EE1E64164A0AB3@ex10.hostedexchange.local> <CAMm+Lwii22nj=L8LHJQhbOzrn7Mr_ta2RMyURvwxGLunVK_HMQ@mail.gmail.com>
User-Agent: Alpine 2.01 (LRH 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Milter-Version: master.1+13-gbab1945
X-AV-Type: clean
X-AV-Accuracy: exact
Received-SPF: pass client-ip=209.133.53.32; envelope-from=dwm@xpasc.com; helo=c2w3p-2.abacamail.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T25hw-0000QE-P4 cadd1dfc521342ae8d55b894020e7d72
X-Original-To: ietf-http-wg@w3.org
Subject: Re: In Defense of Header Compresson
Archived-At: <http://www.w3.org/mid/alpine.LRH.2.01.1208161211140.13858@egate.xpasc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15089
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 Thu, 16 Aug 2012, Phillip Hallam-Baker wrote:

 
> I like tokenization as a strategy as the same approach can be used for
> both the JSON and the HTTP space saving. It also means that embedded
> devices can even use the tokenized form as a replacement for header
> and JSON syntax and only use one parser.

Tokenization, as I under stand the usage here, represents compression
using a predefined dictionary of codes and values. No different than
using a compression technique such as LZW with a predefined standard
dictionary. The key for either approach is the ability to verify
compatible dictionary versions, obtain the correct version if needed,
and for the dictionary to learn on the fly.



From ietf-http-wg-request@listhub.w3.org  Thu Aug 16 13:15:54 2012
Return-Path: <ietf-http-wg-request@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 99E9121F861A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 13:15:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.408
X-Spam-Level: 
X-Spam-Status: No, score=-10.408 tagged_above=-999 required=5 tests=[AWL=0.190, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZkZeerAlRH3y for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 13:15:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4308A21F8609 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Aug 2012 13:15:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T26SV-0004nb-9K for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Aug 2012 20:14:23 +0000
Resent-Date: Thu, 16 Aug 2012 20:14:23 +0000
Resent-Message-Id: <E1T26SV-0004nb-9K@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1T26S4-0004l0-8J for ietf-http-wg@listhub.w3.org; Thu, 16 Aug 2012 20:13:56 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1T26S2-00028w-Pq for ietf-http-wg@w3.org; Thu, 16 Aug 2012 20:13:56 +0000
Received: by wibhq4 with SMTP id hq4so869087wib.8 for <ietf-http-wg@w3.org>; Thu, 16 Aug 2012 13:13:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=TGXPO+t2eaCrqC3QbjguKylHc6wmIGtke8yic1udf6k=; b=J/dglaVwgcpCCIXqR/HQ7p+ZamAL8nC20maNgIywK8zSyin/WrS6h8+C3342NRlnT/ 6enx0PxjvXG2GbVtrBlZhsauH0IMi9m3xfgY1MrbC2yqw6xYxSiI0OrPsqG5tVmvp3jc Rnii3+d6y4sez9OQIhgDIGqSp2h1evW+Akow0VfUbvLutiunRli0qT9AoI0a+Ng/9lu6 HqgCgttl2I6+FE14sz1+kFe0RW0IJjNpy7KezEIo/GCruZtPkKbw+3TApkuQF1ietbuQ V1u3UOXrwIeNR7pB48w5GAxisdNz5ZnfraeOKeRK476yMiUtka/t0Cl9mTA7Gxp9SEEl Pm1Q==
MIME-Version: 1.0
Received: by 10.180.107.2 with SMTP id gy2mr8807581wib.2.1345148008289; Thu, 16 Aug 2012 13:13:28 -0700 (PDT)
Received: by 10.194.26.138 with HTTP; Thu, 16 Aug 2012 13:13:28 -0700 (PDT)
In-Reply-To: <CAMm+Lwii22nj=L8LHJQhbOzrn7Mr_ta2RMyURvwxGLunVK_HMQ@mail.gmail.com>
References: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com> <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com> <1344457449.3295.30.camel@ds9> <d0fdfabd35d049c0ad5994ee48ae98a9@BLUPR03MB613.namprd03.prod.outlook.com> <CAKRe7JEcta+K0zAoHit98VhB+TMGk7mcwG2GQ0qpp6V3uBDsRg@mail.gmail.com> <CAKRe7JGQtMn+R0T=PYsOb7HTZ777deSijdzDEYCrznWgp9JZgg@mail.gmail.com> <F1962646D3B64642B7C9A06068EE1E64164A0AB3@ex10.hostedexchange.local> <CAMm+Lwii22nj=L8LHJQhbOzrn7Mr_ta2RMyURvwxGLunVK_HMQ@mail.gmail.com>
Date: Thu, 16 Aug 2012 13:13:28 -0700
Message-ID: <CAP+FsNcSLToObChCSRm3nMTcwfJSgFnVi4bBCeF_gRBpejH0hQ@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: Robert Brewer <fumanchu@aminus.org>, Ilya Grigorik <ilya@igvita.com>,  Henrik Frystyk Nielsen <henrikn@microsoft.com>, Patrick McManus <pmcmanus@mozilla.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e89a8f3b9f6534555904c767ade6
Received-SPF: pass client-ip=209.85.212.179; envelope-from=grmocg@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T26S2-00028w-Pq b0c5dfe4920055d3e35ce6cb88e7be7d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: In Defense of Header Compresson
Archived-At: <http://www.w3.org/mid/CAP+FsNcSLToObChCSRm3nMTcwfJSgFnVi4bBCeF_gRBpejH0hQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15090
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>

--e89a8f3b9f6534555904c767ade6
Content-Type: text/plain; charset=ISO-8859-1

JSON is far more rich than we need.
name-value is really sufficient for anything the protocol should
contemplate.
I'm all for tokenization, btw, so long as the mapping for tokenization is
static for long periods of time (months/years)
-=R

On Thu, Aug 16, 2012 at 8:24 AM, Phillip Hallam-Baker <hallam@gmail.com>wrote:

> What really matters for performance is the number of packets rather
> than packet size. If you are worried about the packet size then you
> should not expect a general purpose transport to meet your needs. UDP
> is going to be better.
>
> Similarly, if you are using JSON then the JSON bloat is going to be a
> lot more overhead than HTTP bloat.
>
>
> I like tokenization as a strategy as the same approach can be used for
> both the JSON and the HTTP space saving. It also means that embedded
> devices can even use the tokenized form as a replacement for header
> and JSON syntax and only use one parser.
>
> I don't see much advantage to compression for small message sizes
> unless you can avoid transporting the compression dictionary which is
> exactly what tokenization does, only with a slight reduction in
> maximum efficiency and a huge reduction in complexity.
>
> On Thu, Aug 16, 2012 at 10:36 AM, Robert Brewer <fumanchu@aminus.org>
> wrote:
> > Ilya Grigorik wrote:
> >> > On Wed, Aug 15, 2012 at 4:36 AM, Henrik Frystyk Nielsen <
> henrikn@microsoft.com> wrote:
> >> > I completely agree that if you have very small entity bodies
> >> > then maturally the header size will matter getting more
> >> > requests into the pipe faster. However, in the tests that we
> >> > have done with actual data the size of the entity bodies was
> >> > large enough that the impact was minimal. This is especially
> >> > the case if you also do bundling/minification as it naturally
> >> > leads you to large entities.
> >>
> >> It's worth keeping in mind that we're seeing more and more web
> >> "applications", as opposed to pages. Frameworks like backbone,
> >> angular, etc, all frequently make very small (usually JSON
> >> encoded) requests to indicates record updates, or to pull
> >> specific objects on demand, from an HTTP endpoint.. All of that
> >> to say: many of these requests are just a few hundred bytes.
> >> Your typical CRUD operations are all great examples: a lotta
> >> headers for a tiny payload and a 204 response. The overhead
> >> there is huge, which is why we're seeing people starting to
> >> invent their own protocols. e.g. SwaggerRocket:
> >>
> http://blog.wordnik.com/introducing-swaggersocket-a-rest-over-websocket-protocol
> >>
> >> They shouldn't have to do this...
> >
> > They shouldn't have to invent their own protocols because there are
> already plenty of protocols optimized for small-grained messages. That
> doesn't mean HTTP, which is one of the few protocols which is optimized for
> large-grained messages (in order to trade efficiency for scalability), has
> to change to become one of them.
> >
> >
> > Robert Brewer
> > fumanchu@aminus.org
>
>
>
> --
> Website: http://hallambaker.com/
>
>

--e89a8f3b9f6534555904c767ade6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

JSON is far more rich than we need.<div>name-value is really sufficient for=
=A0anything=A0the protocol should contemplate.</div><div>I&#39;m all for to=
kenization, btw, so long as the mapping for tokenization is static for long=
 periods of time (months/years)</div>
<div>-=3DR<br><br><div class=3D"gmail_quote">On Thu, Aug 16, 2012 at 8:24 A=
M, Phillip Hallam-Baker <span dir=3D"ltr">&lt;<a href=3D"mailto:hallam@gmai=
l.com" target=3D"_blank">hallam@gmail.com</a>&gt;</span> wrote:<br><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s=
olid;padding-left:1ex">
What really matters for performance is the number of packets rather<br>
than packet size. If you are worried about the packet size then you<br>
should not expect a general purpose transport to meet your needs. UDP<br>
is going to be better.<br>
<br>
Similarly, if you are using JSON then the JSON bloat is going to be a<br>
lot more overhead than HTTP bloat.<br>
<br>
<br>
I like tokenization as a strategy as the same approach can be used for<br>
both the JSON and the HTTP space saving. It also means that embedded<br>
devices can even use the tokenized form as a replacement for header<br>
and JSON syntax and only use one parser.<br>
<br>
I don&#39;t see much advantage to compression for small message sizes<br>
unless you can avoid transporting the compression dictionary which is<br>
exactly what tokenization does, only with a slight reduction in<br>
maximum efficiency and a huge reduction in complexity.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
On Thu, Aug 16, 2012 at 10:36 AM, Robert Brewer &lt;<a href=3D"mailto:fuman=
chu@aminus.org">fumanchu@aminus.org</a>&gt; wrote:<br>
&gt; Ilya Grigorik wrote:<br>
&gt;&gt; &gt; On Wed, Aug 15, 2012 at 4:36 AM, Henrik Frystyk Nielsen &lt;<=
a href=3D"mailto:henrikn@microsoft.com">henrikn@microsoft.com</a>&gt; wrote=
:<br>
&gt;&gt; &gt; I completely agree that if you have very small entity bodies<=
br>
&gt;&gt; &gt; then maturally the header size will matter getting more<br>
&gt;&gt; &gt; requests into the pipe faster. However, in the tests that we<=
br>
&gt;&gt; &gt; have done with actual data the size of the entity bodies was<=
br>
&gt;&gt; &gt; large enough that the impact was minimal. This is especially<=
br>
&gt;&gt; &gt; the case if you also do bundling/minification as it naturally=
<br>
&gt;&gt; &gt; leads you to large entities.<br>
&gt;&gt;<br>
&gt;&gt; It&#39;s worth keeping in mind that we&#39;re seeing more and more=
 web<br>
&gt;&gt; &quot;applications&quot;, as opposed to pages. Frameworks like bac=
kbone,<br>
&gt;&gt; angular, etc, all frequently make very small (usually JSON<br>
&gt;&gt; encoded) requests to indicates record updates, or to pull<br>
&gt;&gt; specific objects on demand, from an HTTP endpoint.. All of that<br=
>
&gt;&gt; to say: many of these requests are just a few hundred bytes.<br>
&gt;&gt; Your typical CRUD operations are all great examples: a lotta<br>
&gt;&gt; headers for a tiny payload and a 204 response. The overhead<br>
&gt;&gt; there is huge, which is why we&#39;re seeing people starting to<br=
>
&gt;&gt; invent their own protocols. e.g. SwaggerRocket:<br>
&gt;&gt; <a href=3D"http://blog.wordnik.com/introducing-swaggersocket-a-res=
t-over-websocket-protocol" target=3D"_blank">http://blog.wordnik.com/introd=
ucing-swaggersocket-a-rest-over-websocket-protocol</a><br>
&gt;&gt;<br>
&gt;&gt; They shouldn&#39;t have to do this...<br>
&gt;<br>
&gt; They shouldn&#39;t have to invent their own protocols because there ar=
e already plenty of protocols optimized for small-grained messages. That do=
esn&#39;t mean HTTP, which is one of the few protocols which is optimized f=
or large-grained messages (in order to trade efficiency for scalability), h=
as to change to become one of them.<br>

&gt;<br>
&gt;<br>
&gt; Robert Brewer<br>
&gt; <a href=3D"mailto:fumanchu@aminus.org">fumanchu@aminus.org</a><br>
<br>
<br>
<br>
</div></div><span class=3D"HOEnZb"><font color=3D"#888888">--<br>
Website: <a href=3D"http://hallambaker.com/" target=3D"_blank">http://halla=
mbaker.com/</a><br>
<br>
</font></span></blockquote></div><br></div>

--e89a8f3b9f6534555904c767ade6--


From ietf-http-wg-request@listhub.w3.org  Thu Aug 16 13:25:30 2012
Return-Path: <ietf-http-wg-request@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 C808A21F85AE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 13:25:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9
X-Spam-Level: 
X-Spam-Status: No, score=-9 tagged_above=-999 required=5 tests=[AWL=1.599, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bLrpU8Ths5tF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 13:25:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4B92021F8599 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Aug 2012 13:25:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T26cO-0001Qo-Ix for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Aug 2012 20:24:36 +0000
Resent-Date: Thu, 16 Aug 2012 20:24:36 +0000
Resent-Message-Id: <E1T26cO-0001Qo-Ix@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T26cA-0001PF-2w for ietf-http-wg@listhub.w3.org; Thu, 16 Aug 2012 20:24:22 +0000
Received: from mail-yw0-f43.google.com ([209.85.213.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T26c8-0002Pm-Va for ietf-http-wg@w3.org; Thu, 16 Aug 2012 20:24:22 +0000
Received: by yhl10 with SMTP id 10so3392479yhl.2 for <ietf-http-wg@w3.org>; Thu, 16 Aug 2012 13:23:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=hiYpFyO9TQUGIGfOUEgCOwCHqc6/EpuH0Nl5JUX9FlI=; b=uDi3A8YG+1H6c2cRgIlBZX6BK0kNnLhdL28PKGLguvovR16cuO6ypa4HjPWNJmxV+t mdd8+bihEMmNcPVvE8myJ6631mVWWCJSSanWgjWZnooJWWs1xBTDt/f7/K8mtEe6Ao1Q i+8aLv9icjTbZ+ldou1zy0xi0/tdRZPauqohTDuZqPMGgpyB5W17nw+B/ssV25QSmOLQ BptiDDPnRsUsM349W62oOaRnx4g1hkiLMPFl4IyxNYmlDut2LcpcOzCRRxSUj73LsOfx cdw3e9QUrr74754hgKcf1x+ST+nOhFZu6TztnZe89YYw+lsoyRTCWsU0PMmVNrOLOXA3 mRBw==
MIME-Version: 1.0
Received: by 10.60.28.202 with SMTP id d10mr2027196oeh.36.1345148634982; Thu, 16 Aug 2012 13:23:54 -0700 (PDT)
Received: by 10.76.80.10 with HTTP; Thu, 16 Aug 2012 13:23:54 -0700 (PDT)
In-Reply-To: <alpine.LRH.2.01.1208161211140.13858@egate.xpasc.com>
References: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com> <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com> <1344457449.3295.30.camel@ds9> <d0fdfabd35d049c0ad5994ee48ae98a9@BLUPR03MB613.namprd03.prod.outlook.com> <CAKRe7JEcta+K0zAoHit98VhB+TMGk7mcwG2GQ0qpp6V3uBDsRg@mail.gmail.com> <CAKRe7JGQtMn+R0T=PYsOb7HTZ777deSijdzDEYCrznWgp9JZgg@mail.gmail.com> <F1962646D3B64642B7C9A06068EE1E64164A0AB3@ex10.hostedexchange.local> <CAMm+Lwii22nj=L8LHJQhbOzrn7Mr_ta2RMyURvwxGLunVK_HMQ@mail.gmail.com> <alpine.LRH.2.01.1208161211140.13858@egate.xpasc.com>
Date: Thu, 16 Aug 2012 16:23:54 -0400
Message-ID: <CAMm+LwjnLPqyNS7ta_CMwc4F8Ep-rzpFj+F_imF=WtccjZ17XQ@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.213.43; envelope-from=hallam@gmail.com; helo=mail-yw0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T26c8-0002Pm-Va 3402235050fce325429dbeb77056e2c7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: In Defense of Header Compresson
Archived-At: <http://www.w3.org/mid/CAMm+LwjnLPqyNS7ta_CMwc4F8Ep-rzpFj+F_imF=WtccjZ17XQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15091
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>

There is quite a big difference in coding.

To implement tokenization you replace the RFC822
serializer/deserializer with one that implements a different syntax.

To implement a compression technique you stack the
compressor/decompressor in front of the RFC822
serializer/deserializer.


That makes quite a difference on small devices.

On Thu, Aug 16, 2012 at 3:25 PM, David Morris <dwm@xpasc.com> wrote:
>
>
> On Thu, 16 Aug 2012, Phillip Hallam-Baker wrote:
>
>
>> I like tokenization as a strategy as the same approach can be used for
>> both the JSON and the HTTP space saving. It also means that embedded
>> devices can even use the tokenized form as a replacement for header
>> and JSON syntax and only use one parser.
>
> Tokenization, as I under stand the usage here, represents compression
> using a predefined dictionary of codes and values. No different than
> using a compression technique such as LZW with a predefined standard
> dictionary. The key for either approach is the ability to verify
> compatible dictionary versions, obtain the correct version if needed,
> and for the dictionary to learn on the fly.
>
>



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Thu Aug 16 13:27:16 2012
Return-Path: <ietf-http-wg-request@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 AC88B21F85DF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 13:27:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.012
X-Spam-Level: 
X-Spam-Status: No, score=-9.012 tagged_above=-999 required=5 tests=[AWL=1.587, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 51oqg2wTIF4e for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 13:27:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D3D0221F85C9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Aug 2012 13:27:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T26eP-0002oy-AV for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Aug 2012 20:26:41 +0000
Resent-Date: Thu, 16 Aug 2012 20:26:41 +0000
Resent-Message-Id: <E1T26eP-0002oy-AV@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T26eB-0002o4-9h for ietf-http-wg@listhub.w3.org; Thu, 16 Aug 2012 20:26:27 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T26eA-0002Sn-3O for ietf-http-wg@w3.org; Thu, 16 Aug 2012 20:26:27 +0000
Received: by obqv19 with SMTP id v19so4362757obq.2 for <ietf-http-wg@w3.org>; Thu, 16 Aug 2012 13:26:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=6k+qKU7RsDa3Cr9XseHTVgM/LqpViDovllBNLze8Vhs=; b=bGNpeqWFJw/glEI3TXy7oLyHTCo2iFDV2Jr/JbXkFzvsBCeYrrUfAnZJ7K90uWR+If xxYcbHYODxoQ58/F0jMUtYT4fNqhAUJ9C0i4kFR+Nmn6xFfKkioQLn+o3I7VM0JsZq6a oNn0IfyXwe0hcj0Zd26LURe53Jqh3eDOb4m9qiTVaf0uferhawd5S+I3TdOLcmY+Hdkw mpWGAIDo46jsvDjKw8WCyK77mGUsJ2AsBs7XdsDGPEjwJxJF+6eHWIIIk37pDAZYa9CH suLHVKaRocHN/3K80Xiea9yV834iOUDQDyhSE8fpcHhZgcZZU04O8G3ku9JYY81Jz7/t /24A==
MIME-Version: 1.0
Received: by 10.182.117.71 with SMTP id kc7mr2021323obb.62.1345148760142; Thu, 16 Aug 2012 13:26:00 -0700 (PDT)
Received: by 10.76.80.10 with HTTP; Thu, 16 Aug 2012 13:26:00 -0700 (PDT)
In-Reply-To: <CAP+FsNcSLToObChCSRm3nMTcwfJSgFnVi4bBCeF_gRBpejH0hQ@mail.gmail.com>
References: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com> <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com> <1344457449.3295.30.camel@ds9> <d0fdfabd35d049c0ad5994ee48ae98a9@BLUPR03MB613.namprd03.prod.outlook.com> <CAKRe7JEcta+K0zAoHit98VhB+TMGk7mcwG2GQ0qpp6V3uBDsRg@mail.gmail.com> <CAKRe7JGQtMn+R0T=PYsOb7HTZ777deSijdzDEYCrznWgp9JZgg@mail.gmail.com> <F1962646D3B64642B7C9A06068EE1E64164A0AB3@ex10.hostedexchange.local> <CAMm+Lwii22nj=L8LHJQhbOzrn7Mr_ta2RMyURvwxGLunVK_HMQ@mail.gmail.com> <CAP+FsNcSLToObChCSRm3nMTcwfJSgFnVi4bBCeF_gRBpejH0hQ@mail.gmail.com>
Date: Thu, 16 Aug 2012 16:26:00 -0400
Message-ID: <CAMm+Lwhp4DhdDCm-QApX=exJxgPQAJDK1dpCeQ-kEhmyBK5Fug@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Roberto Peon <grmocg@gmail.com>
Cc: Robert Brewer <fumanchu@aminus.org>, Ilya Grigorik <ilya@igvita.com>,  Henrik Frystyk Nielsen <henrikn@microsoft.com>, Patrick McManus <pmcmanus@mozilla.com>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T26eA-0002Sn-3O 465affc3f1e9a584531f2ccfc7aa34e6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: In Defense of Header Compresson
Archived-At: <http://www.w3.org/mid/CAMm+Lwhp4DhdDCm-QApX=exJxgPQAJDK1dpCeQ-kEhmyBK5Fug@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15092
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>

Agreed, but that is not what I was proposing.

What I was saying is that if people are going to throw up JSON Web
Services as the reason for needing to compress HTTP headers they are
overlooking the main source of bloat in their code.

On Thu, Aug 16, 2012 at 4:13 PM, Roberto Peon <grmocg@gmail.com> wrote:
> JSON is far more rich than we need.
> name-value is really sufficient for anything the protocol should
> contemplate.
> I'm all for tokenization, btw, so long as the mapping for tokenization is
> static for long periods of time (months/years)
> -=R
>
>
> On Thu, Aug 16, 2012 at 8:24 AM, Phillip Hallam-Baker <hallam@gmail.com>
> wrote:
>>
>> What really matters for performance is the number of packets rather
>> than packet size. If you are worried about the packet size then you
>> should not expect a general purpose transport to meet your needs. UDP
>> is going to be better.
>>
>> Similarly, if you are using JSON then the JSON bloat is going to be a
>> lot more overhead than HTTP bloat.
>>
>>
>> I like tokenization as a strategy as the same approach can be used for
>> both the JSON and the HTTP space saving. It also means that embedded
>> devices can even use the tokenized form as a replacement for header
>> and JSON syntax and only use one parser.
>>
>> I don't see much advantage to compression for small message sizes
>> unless you can avoid transporting the compression dictionary which is
>> exactly what tokenization does, only with a slight reduction in
>> maximum efficiency and a huge reduction in complexity.
>>
>> On Thu, Aug 16, 2012 at 10:36 AM, Robert Brewer <fumanchu@aminus.org>
>> wrote:
>> > Ilya Grigorik wrote:
>> >> > On Wed, Aug 15, 2012 at 4:36 AM, Henrik Frystyk Nielsen
>> >> > <henrikn@microsoft.com> wrote:
>> >> > I completely agree that if you have very small entity bodies
>> >> > then maturally the header size will matter getting more
>> >> > requests into the pipe faster. However, in the tests that we
>> >> > have done with actual data the size of the entity bodies was
>> >> > large enough that the impact was minimal. This is especially
>> >> > the case if you also do bundling/minification as it naturally
>> >> > leads you to large entities.
>> >>
>> >> It's worth keeping in mind that we're seeing more and more web
>> >> "applications", as opposed to pages. Frameworks like backbone,
>> >> angular, etc, all frequently make very small (usually JSON
>> >> encoded) requests to indicates record updates, or to pull
>> >> specific objects on demand, from an HTTP endpoint.. All of that
>> >> to say: many of these requests are just a few hundred bytes.
>> >> Your typical CRUD operations are all great examples: a lotta
>> >> headers for a tiny payload and a 204 response. The overhead
>> >> there is huge, which is why we're seeing people starting to
>> >> invent their own protocols. e.g. SwaggerRocket:
>> >>
>> >> http://blog.wordnik.com/introducing-swaggersocket-a-rest-over-websocket-protocol
>> >>
>> >> They shouldn't have to do this...
>> >
>> > They shouldn't have to invent their own protocols because there are
>> > already plenty of protocols optimized for small-grained messages. That
>> > doesn't mean HTTP, which is one of the few protocols which is optimized for
>> > large-grained messages (in order to trade efficiency for scalability), has
>> > to change to become one of them.
>> >
>> >
>> > Robert Brewer
>> > fumanchu@aminus.org
>>
>>
>>
>> --
>> Website: http://hallambaker.com/
>>
>



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Thu Aug 16 13:29:00 2012
Return-Path: <ietf-http-wg-request@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 B89EB21F85DF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 13:29:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.6
X-Spam-Level: 
X-Spam-Status: No, score=-7.6 tagged_above=-999 required=5 tests=[AWL=-0.174, BAYES_00=-2.599, MIME_BASE64_BLANKS=0.041, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4AldhShi1UdX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 13:28:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BA55021F85C9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Aug 2012 13:28:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T26fz-00030h-3X for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Aug 2012 20:28:19 +0000
Resent-Date: Thu, 16 Aug 2012 20:28:19 +0000
Resent-Message-Id: <E1T26fz-00030h-3X@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1T26fl-0002z4-4m for ietf-http-wg@listhub.w3.org; Thu, 16 Aug 2012 20:28:05 +0000
Received: from co1ehsobe003.messaging.microsoft.com ([216.32.180.186] helo=co1outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1T26fk-0002WE-7L for ietf-http-wg@w3.org; Thu, 16 Aug 2012 20:28:05 +0000
Received: from mail216-co1-R.bigfish.com (10.243.78.227) by CO1EHSOBE001.bigfish.com (10.243.66.64) with Microsoft SMTP Server id 14.1.225.23; Thu, 16 Aug 2012 20:27:37 +0000
Received: from mail216-co1 (localhost [127.0.0.1])	by mail216-co1-R.bigfish.com (Postfix) with ESMTP id 319D68C018D	for <ietf-http-wg@w3.org>; Thu, 16 Aug 2012 20:27:37 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC104.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -6
X-BigFish: VS-6(zz98dI9371I936eI542Mzz1202hzz8275dhz2fh2a8h683h839h93fhd24hf0ah107ah9a9j)
Received-SPF: pass (mail216-co1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14HUBC104.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.240.21;KIP:(null);UIP:(null);(null);H:BL2PRD0310HT002.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail216-co1 (localhost.localdomain [127.0.0.1]) by mail216-co1 (MessageSwitch) id 134514885576698_4981; Thu, 16 Aug 2012 20:27:35 +0000 (UTC)
Received: from CO1EHSMHS014.bigfish.com (unknown [10.243.78.252])	by mail216-co1.bigfish.com (Postfix) with ESMTP id 0D28C80004A	for <ietf-http-wg@w3.org>; Thu, 16 Aug 2012 20:27:35 +0000 (UTC)
Received: from TK5EX14HUBC104.redmond.corp.microsoft.com (131.107.125.8) by CO1EHSMHS014.bigfish.com (10.243.66.24) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 16 Aug 2012 20:27:34 +0000
Received: from va3outboundpool.messaging.microsoft.com (157.54.51.81) by mail.microsoft.com (157.54.80.25) with Microsoft SMTP Server (TLS) id 14.2.309.3; Thu, 16 Aug 2012 20:27:34 +0000
Received: from mail61-va3-R.bigfish.com (10.7.14.253) by VA3EHSOBE002.bigfish.com (10.7.40.22) with Microsoft SMTP Server id 14.1.225.23; Thu, 16 Aug 2012 20:27:33 +0000
Received: from mail61-va3 (localhost [127.0.0.1])	by mail61-va3-R.bigfish.com (Postfix) with ESMTP id B6034120324	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Thu, 16 Aug 2012 20:27:33 +0000 (UTC)
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(24454001)(377424002)(377454001)(13464001)(5343655001)(42186003)(33646001)(16406001)(31966006)(31966007)(31966007)(24736002);DIR:INB;LANG:en;
Received: from mail61-va3 (localhost.localdomain [127.0.0.1]) by mail61-va3 (MessageSwitch) id 1345148852367586_21363; Thu, 16 Aug 2012 20:27:32 +0000 (UTC)
Received: from VA3EHSMHS015.bigfish.com (unknown [10.7.14.251])	by mail61-va3.bigfish.com (Postfix) with ESMTP id 4A28A300086;	Thu, 16 Aug 2012 20:27:32 +0000 (UTC)
Received: from BL2PRD0310HT002.namprd03.prod.outlook.com (157.56.240.21) by VA3EHSMHS015.bigfish.com (10.7.99.25) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 16 Aug 2012 20:27:29 +0000
Received: from BLUPR03MB614.namprd03.prod.outlook.com (10.255.124.42) by BL2PRD0310HT002.namprd03.prod.outlook.com (10.255.97.37) with Microsoft SMTP Server (TLS) id 14.16.190.9; Thu, 16 Aug 2012 20:27:28 +0000
Received: from BLUPR03MB613.namprd03.prod.outlook.com (10.255.124.41) by BLUPR03MB614.namprd03.prod.outlook.com (10.255.124.42) with Microsoft SMTP Server (TLS) id 15.0.496.8; Thu, 16 Aug 2012 20:27:26 +0000
Received: from BLUPR03MB613.namprd03.prod.outlook.com ([169.254.12.60]) by BLUPR03MB613.namprd03.prod.outlook.com ([169.254.12.60]) with mapi id 15.00.0496.004; Thu, 16 Aug 2012 20:27:26 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: Patrick McManus <pmcmanus@mozilla.com>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Thread-Topic: In Defense of Header Compresson
Thread-Index: AQHNdaQHYRrRjOECM0W/8b+aUb28BJdaxIQggAG8LwCAAG7zcA==
Date: Thu, 16 Aug 2012 20:27:25 +0000
Message-ID: <72ad6e17e00a4ca79447a3902a708b79@BLUPR03MB613.namprd03.prod.outlook.com>
References: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com> <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com> <1344457449.3295.30.camel@ds9> <d0fdfabd35d049c0ad5994ee48ae98a9@BLUPR03MB613.namprd03.prod.outlook.com> <1345124984.1116.95.camel@ds9>
In-Reply-To: <1345124984.1116.95.camel@ds9>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.255.156.156]
x-forefront-prvs: 0575F81B58
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OrganizationHeadersPreserved: BLUPR03MB614.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%MOZILLA.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14HUBC104.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC104.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.180.186; envelope-from=henrikn@microsoft.com; helo=co1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=1.4
X-W3C-Hub-Spam-Report: BAYES_50=0.8, MIME_BASE64_BLANKS=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=0.001, SPF_PASS=-0.001, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: maggie.w3.org 1T26fk-0002WE-7L 1204a309ca61d8aefd94ff54b1dae90c
X-Original-To: ietf-http-wg@w3.org
Subject: RE: In Defense of Header Compresson
Archived-At: <http://www.w3.org/mid/72ad6e17e00a4ca79447a3902a708b79@BLUPR03MB613.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15093
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>

VGhpcyBpcyBleGFjdGx5IHdoYXQgSSBhbSBnZXR0aW5nIGF0IDopIA0KDQpJIGFncmVlIHRoYXQg
dXBsb2FkIG51bWJlcnMgYXJlIGltcG9ydGFudCB0b28uDQoNCkhlbnJpaw0KDQotLS0tLU9yaWdp
bmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogUGF0cmljayBNY01hbnVzIFttYWlsdG86cG1jbWFudXNA
bW96aWxsYS5jb21dIA0KU2VudDogVGh1cnNkYXksIEF1Z3VzdCAxNiwgMjAxMiA2OjUwIEFNDQpU
bzogSGVucmlrIEZyeXN0eWsgTmllbHNlbg0KQ2M6IGlldGYtaHR0cC13Z0B3My5vcmcgR3JvdXAN
ClN1YmplY3Q6IFJFOiBJbiBEZWZlbnNlIG9mIEhlYWRlciBDb21wcmVzc29uDQoNCk9uIFdlZCwg
MjAxMi0wOC0xNSBhdCAxMTozNiArMDAwMCwgSGVucmlrIEZyeXN0eWsgTmllbHNlbiB3cm90ZToN
Cg0KPiAgaXQncyBwcmltYXJpbHkgdGhlICptZWNoYW5pc20qIEkgYW0gaW50ZXJlc3RlZCBpbi4g
SW4gcGFydGljdWxhciwgSSBhbSBpbnRlcmVzdGVkIGluIGl0cyBhYmlsaXR5IGZvciBlYXN5IGlu
c3BlY3Rpb24NCg0KSSdtIGFsc28gdG90YWxseSBvcGVuIHRvIHRva2VuL3RhYmxlIG1lY2hhbmlz
bXMgdGhhdCBnaXZlIGdvb2QgcmVzdWx0cyENCg0KDQoNCg0KDQoNCg==




From ietf-http-wg-request@listhub.w3.org  Thu Aug 16 13:30:52 2012
Return-Path: <ietf-http-wg-request@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 17B4C21F8499 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 13:30:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.167
X-Spam-Level: 
X-Spam-Status: No, score=-9.167 tagged_above=-999 required=5 tests=[AWL=1.432, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L9QwmUMr03Zk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 13:30:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D202621F848F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Aug 2012 13:30:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T26hj-0005pW-AB for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Aug 2012 20:30:07 +0000
Resent-Date: Thu, 16 Aug 2012 20:30:07 +0000
Resent-Message-Id: <E1T26hj-0005pW-AB@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1T26hU-0003GE-BQ for ietf-http-wg@listhub.w3.org; Thu, 16 Aug 2012 20:29:52 +0000
Received: from am1ehsobe003.messaging.microsoft.com ([213.199.154.206] helo=am1outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1T26hT-0002ZX-DS for ietf-http-wg@w3.org; Thu, 16 Aug 2012 20:29:52 +0000
Received: from mail24-am1-R.bigfish.com (10.3.201.228) by AM1EHSOBE005.bigfish.com (10.3.204.25) with Microsoft SMTP Server id 14.1.225.23; Thu, 16 Aug 2012 20:29:24 +0000
Received: from mail24-am1 (localhost [127.0.0.1])	by mail24-am1-R.bigfish.com (Postfix) with ESMTP id B69F3220192	for <ietf-http-wg@w3.org>; Thu, 16 Aug 2012 20:29:24 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC104.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -7
X-BigFish: VS-7(zz98dI9371I936eI542M1432Izz1202hzz8275dhz2fh2a8h683h839h944hd24hf0ah107ah9a9j1155h)
Received-SPF: pass (mail24-am1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14HUBC104.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.240.21;KIP:(null);UIP:(null);(null);H:BL2PRD0310HT004.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail24-am1 (localhost.localdomain [127.0.0.1]) by mail24-am1 (MessageSwitch) id 1345148962868426_25946; Thu, 16 Aug 2012 20:29:22 +0000 (UTC)
Received: from AM1EHSMHS003.bigfish.com (unknown [10.3.201.251])	by mail24-am1.bigfish.com (Postfix) with ESMTP id D01BC420044	for <ietf-http-wg@w3.org>; Thu, 16 Aug 2012 20:29:22 +0000 (UTC)
Received: from TK5EX14HUBC104.redmond.corp.microsoft.com (131.107.125.8) by AM1EHSMHS003.bigfish.com (10.3.207.103) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 16 Aug 2012 20:29:22 +0000
Received: from co1outboundpool.messaging.microsoft.com (157.54.51.113) by mail.microsoft.com (157.54.80.25) with Microsoft SMTP Server (TLS) id 14.2.309.3; Thu, 16 Aug 2012 20:29:19 +0000
Received: from mail90-co1-R.bigfish.com (10.243.78.244) by CO1EHSOBE016.bigfish.com (10.243.66.79) with Microsoft SMTP Server id 14.1.225.23; Thu, 16 Aug 2012 20:28:50 +0000
Received: from mail90-co1 (localhost [127.0.0.1])	by mail90-co1-R.bigfish.com (Postfix) with ESMTP id 07B8354008C	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Thu, 16 Aug 2012 20:28:51 +0000 (UTC)
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(377424002)(377454001)(51704002)(13464001)(24454001)(5343655001)(16406001)(33646001)(42186003)(31966006)(31966007)(31966007)(24736002);DIR:INB;LANG:en;
Received: from mail90-co1 (localhost.localdomain [127.0.0.1]) by mail90-co1 (MessageSwitch) id 1345148929130285_7412; Thu, 16 Aug 2012 20:28:49 +0000 (UTC)
Received: from CO1EHSMHS032.bigfish.com (unknown [10.243.78.252])	by mail90-co1.bigfish.com (Postfix) with ESMTP id 13CEBDC0044	for <ietf-http-wg@w3.org>; Thu, 16 Aug 2012 20:28:49 +0000 (UTC)
Received: from BL2PRD0310HT004.namprd03.prod.outlook.com (157.56.240.21) by CO1EHSMHS032.bigfish.com (10.243.66.42) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 16 Aug 2012 20:28:48 +0000
Received: from BLUPR03MB613.namprd03.prod.outlook.com (10.255.124.41) by BL2PRD0310HT004.namprd03.prod.outlook.com (10.255.97.39) with Microsoft SMTP Server (TLS) id 14.16.190.9; Thu, 16 Aug 2012 20:28:48 +0000
Received: from BLUPR03MB613.namprd03.prod.outlook.com (10.255.124.41) by BLUPR03MB613.namprd03.prod.outlook.com (10.255.124.41) with Microsoft SMTP Server (TLS) id 15.0.496.8; Thu, 16 Aug 2012 20:28:45 +0000
Received: from BLUPR03MB613.namprd03.prod.outlook.com ([169.254.12.60]) by BLUPR03MB613.namprd03.prod.outlook.com ([169.254.12.60]) with mapi id 15.00.0496.004; Thu, 16 Aug 2012 20:28:45 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Thread-Topic: In Defense of Header Compresson
Thread-Index: AQHNdaQHYRrRjOECM0W/8b+aUb28BJdaxIQggAG8LwCAABjSAIAAVlEw
Date: Thu, 16 Aug 2012 20:28:44 +0000
Message-ID: <9d3f968dceed4172b45f082dcd26ab18@BLUPR03MB613.namprd03.prod.outlook.com>
References: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com> <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com> <1344457449.3295.30.camel@ds9> <d0fdfabd35d049c0ad5994ee48ae98a9@BLUPR03MB613.namprd03.prod.outlook.com> <1345124984.1116.95.camel@ds9> <alpine.LRH.2.01.1208160814450.6149@egate.xpasc.com>
In-Reply-To: <alpine.LRH.2.01.1208160814450.6149@egate.xpasc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.255.156.156]
x-forefront-prvs: 0575F81B58
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OrganizationHeadersPreserved: BLUPR03MB613.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14HUBC104.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC104.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=213.199.154.206; envelope-from=henrikn@microsoft.com; helo=am1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=0.1
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T26hT-0002ZX-DS 8076707a885b1576ecc0c5ee86d9cbab
X-Original-To: ietf-http-wg@w3.org
Subject: RE: In Defense of Header Compresson
Archived-At: <http://www.w3.org/mid/9d3f968dceed4172b45f082dcd26ab18@BLUPR03MB613.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15094
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>

It is not just a question of tooling, it is a matter of processing on devic=
es that either sit as part of the message path (proxies) or have limited ab=
ility either as user agent or ultimate destination.

Henrik

-----Original Message-----
From: David Morris [mailto:dwm@xpasc.com]=20
Sent: Thursday, August 16, 2012 8:19 AM
To: ietf-http-wg@w3.org Group
Subject: RE: In Defense of Header Compresson



On Thu, 16 Aug 2012, Patrick McManus wrote:

> On Wed, 2012-08-15 at 11:36 +0000, Henrik Frystyk Nielsen wrote:
>=20
> >  it's primarily the *mechanism* I am interested in. In particular, I=20
> > am interested in its ability for easy inspection
>=20
> I'm also totally open to token/table mechanisms that give good results!

I have probably spent years of my professional life analyzing data on the w=
ire so I sympathise with the desire to inspect data easily, but I don't acc=
ept this as a constraint on the solution, only a tiebreaker. There are enou=
gh ways for tools to solve the problem and infact I see a lot of value in h=
aving motivation for the creation of more tools to support data inspection.








From ietf-http-wg-request@listhub.w3.org  Thu Aug 16 13:31:35 2012
Return-Path: <ietf-http-wg-request@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 4816A21F867D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 13:31:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.743
X-Spam-Level: 
X-Spam-Status: No, score=-7.743 tagged_above=-999 required=5 tests=[AWL=-0.277, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id flq84nFmytfs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 13:31:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0278121F8493 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Aug 2012 13:31:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T26im-0006de-Rb for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Aug 2012 20:31:12 +0000
Resent-Date: Thu, 16 Aug 2012 20:31:12 +0000
Resent-Message-Id: <E1T26im-0006de-Rb@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1T26iW-0006Vz-EQ for ietf-http-wg@listhub.w3.org; Thu, 16 Aug 2012 20:30:56 +0000
Received: from am1ehsobe001.messaging.microsoft.com ([213.199.154.204] helo=am1outboundpool.messaging.microsoft.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1T26iU-0002Kx-3I for ietf-http-wg@w3.org; Thu, 16 Aug 2012 20:30:56 +0000
Received: from mail93-am1-R.bigfish.com (10.3.201.228) by AM1EHSOBE008.bigfish.com (10.3.204.28) with Microsoft SMTP Server id 14.1.225.23; Thu, 16 Aug 2012 20:30:27 +0000
Received: from mail93-am1 (localhost [127.0.0.1])	by mail93-am1-R.bigfish.com (Postfix) with ESMTP id 0EE37260071	for <ietf-http-wg@w3.org>; Thu, 16 Aug 2012 20:30:27 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14MLTC101.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -1
X-BigFish: VS-1(zz98dI9371Ic85fh1432Izz1202hzz8275bh8275dhz2fh2a8h683h839hd24hf0ah107ah9a9j1155h)
Received-SPF: pass (mail93-am1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14MLTC101.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.240.21;KIP:(null);UIP:(null);(null);H:BL2PRD0310HT001.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail93-am1 (localhost.localdomain [127.0.0.1]) by mail93-am1 (MessageSwitch) id 1345149025682688_11739; Thu, 16 Aug 2012 20:30:25 +0000 (UTC)
Received: from AM1EHSMHS002.bigfish.com (unknown [10.3.201.245])	by mail93-am1.bigfish.com (Postfix) with ESMTP id A49A1460045	for <ietf-http-wg@w3.org>; Thu, 16 Aug 2012 20:30:25 +0000 (UTC)
Received: from TK5EX14MLTC101.redmond.corp.microsoft.com (131.107.125.8) by AM1EHSMHS002.bigfish.com (10.3.207.102) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 16 Aug 2012 20:30:24 +0000
Received: from co1outboundpool.messaging.microsoft.com (157.54.51.80) by mail.microsoft.com (157.54.79.178) with Microsoft SMTP Server (TLS) id 14.2.298.5; Thu, 16 Aug 2012 20:30:22 +0000
Received: from mail86-co1-R.bigfish.com (10.243.78.238) by CO1EHSOBE004.bigfish.com (10.243.66.67) with Microsoft SMTP Server id 14.1.225.23; Thu, 16 Aug 2012 20:30:19 +0000
Received: from mail86-co1 (localhost [127.0.0.1])	by mail86-co1-R.bigfish.com (Postfix) with ESMTP id 39BE02802D9	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Thu, 16 Aug 2012 20:30:19 +0000 (UTC)
X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(24454001)(377454001)(51704002)(5343655001)(5343635001)(42186003)(33646001)(16406001)(31966006)(31966007)(31966007)(24736002);DIR:INB;LANG:en;
Received: from mail86-co1 (localhost.localdomain [127.0.0.1]) by mail86-co1 (MessageSwitch) id 1345149017228013_27933; Thu, 16 Aug 2012 20:30:17 +0000 (UTC)
Received: from CO1EHSMHS003.bigfish.com (unknown [10.243.78.238])	by mail86-co1.bigfish.com (Postfix) with ESMTP id 334C640004E;	Thu, 16 Aug 2012 20:30:17 +0000 (UTC)
Received: from BL2PRD0310HT001.namprd03.prod.outlook.com (157.56.240.21) by CO1EHSMHS003.bigfish.com (10.243.66.13) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 16 Aug 2012 20:30:16 +0000
Received: from BLUPR03MB614.namprd03.prod.outlook.com (10.255.124.42) by BL2PRD0310HT001.namprd03.prod.outlook.com (10.255.97.36) with Microsoft SMTP Server (TLS) id 14.16.190.9; Thu, 16 Aug 2012 20:30:13 +0000
Received: from BLUPR03MB613.namprd03.prod.outlook.com (10.255.124.41) by BLUPR03MB614.namprd03.prod.outlook.com (10.255.124.42) with Microsoft SMTP Server (TLS) id 15.0.496.8; Thu, 16 Aug 2012 20:30:11 +0000
Received: from BLUPR03MB613.namprd03.prod.outlook.com ([169.254.12.60]) by BLUPR03MB613.namprd03.prod.outlook.com ([169.254.12.60]) with mapi id 15.00.0496.004; Thu, 16 Aug 2012 20:30:11 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: Roberto Peon <grmocg@gmail.com>, Phillip Hallam-Baker <hallam@gmail.com>
CC: Robert Brewer <fumanchu@aminus.org>, Ilya Grigorik <ilya@igvita.com>, Patrick McManus <pmcmanus@mozilla.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: In Defense of Header Compresson
Thread-Index: AQHNdaQHYRrRjOECM0W/8b+aUb28BJdaxIQggAEvMoCAAAQoAIAAlgGAgAANaoCAAFChAIAABE0w
Date: Thu, 16 Aug 2012 20:30:11 +0000
Message-ID: <8953213cb47c4eddaf79d229200941ff@BLUPR03MB613.namprd03.prod.outlook.com>
References: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com> <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com> <1344457449.3295.30.camel@ds9> <d0fdfabd35d049c0ad5994ee48ae98a9@BLUPR03MB613.namprd03.prod.outlook.com> <CAKRe7JEcta+K0zAoHit98VhB+TMGk7mcwG2GQ0qpp6V3uBDsRg@mail.gmail.com> <CAKRe7JGQtMn+R0T=PYsOb7HTZ777deSijdzDEYCrznWgp9JZgg@mail.gmail.com> <F1962646D3B64642B7C9A06068EE1E64164A0AB3@ex10.hostedexchange.local> <CAMm+Lwii22nj=L8LHJQhbOzrn7Mr_ta2RMyURvwxGLunVK_HMQ@mail.gmail.com> <CAP+FsNcSLToObChCSRm3nMTcwfJSgFnVi4bBCeF_gRBpejH0hQ@mail.gmail.com>
In-Reply-To: <CAP+FsNcSLToObChCSRm3nMTcwfJSgFnVi4bBCeF_gRBpejH0hQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.255.156.156]
x-forefront-prvs: 0575F81B58
Content-Type: multipart/alternative; boundary="_000_8953213cb47c4eddaf79d229200941ffBLUPR03MB613namprd03pro_"
MIME-Version: 1.0
X-OrganizationHeadersPreserved: BLUPR03MB614.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%IGVITA.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%MOZILLA.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%GMAIL.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%AMINUS.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14MLTC101.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14MLTC101.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=213.199.154.204; envelope-from=henrikn@microsoft.com; helo=am1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=1.4
X-W3C-Hub-Spam-Report: BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=0.001, SPF_PASS=-0.001, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: lisa.w3.org 1T26iU-0002Kx-3I dec4386f1812c7f6116229eea2809663
X-Original-To: ietf-http-wg@w3.org
Subject: RE: In Defense of Header Compresson
Archived-At: <http://www.w3.org/mid/8953213cb47c4eddaf79d229200941ff@BLUPR03MB613.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15095
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>

--_000_8953213cb47c4eddaf79d229200941ffBLUPR03MB613namprd03pro_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I agree that JSON is too rich.

I completely agree that the mapping has to be static.

Henrik

From: Roberto Peon [mailto:grmocg@gmail.com]
Sent: Thursday, August 16, 2012 1:13 PM
To: Phillip Hallam-Baker
Cc: Robert Brewer; Ilya Grigorik; Henrik Frystyk Nielsen; Patrick McManus; =
ietf-http-wg@w3.org
Subject: Re: In Defense of Header Compresson

JSON is far more rich than we need.
name-value is really sufficient for anything the protocol should contemplat=
e.
I'm all for tokenization, btw, so long as the mapping for tokenization is s=
tatic for long periods of time (months/years)
-=3DR
On Thu, Aug 16, 2012 at 8:24 AM, Phillip Hallam-Baker <hallam@gmail.com<mai=
lto:hallam@gmail.com>> wrote:
What really matters for performance is the number of packets rather
than packet size. If you are worried about the packet size then you
should not expect a general purpose transport to meet your needs. UDP
is going to be better.

Similarly, if you are using JSON then the JSON bloat is going to be a
lot more overhead than HTTP bloat.


I like tokenization as a strategy as the same approach can be used for
both the JSON and the HTTP space saving. It also means that embedded
devices can even use the tokenized form as a replacement for header
and JSON syntax and only use one parser.

I don't see much advantage to compression for small message sizes
unless you can avoid transporting the compression dictionary which is
exactly what tokenization does, only with a slight reduction in
maximum efficiency and a huge reduction in complexity.

On Thu, Aug 16, 2012 at 10:36 AM, Robert Brewer <fumanchu@aminus.org<mailto=
:fumanchu@aminus.org>> wrote:
> Ilya Grigorik wrote:
>> > On Wed, Aug 15, 2012 at 4:36 AM, Henrik Frystyk Nielsen <henrikn@micro=
soft.com<mailto:henrikn@microsoft.com>> wrote:
>> > I completely agree that if you have very small entity bodies
>> > then maturally the header size will matter getting more
>> > requests into the pipe faster. However, in the tests that we
>> > have done with actual data the size of the entity bodies was
>> > large enough that the impact was minimal. This is especially
>> > the case if you also do bundling/minification as it naturally
>> > leads you to large entities.
>>
>> It's worth keeping in mind that we're seeing more and more web
>> "applications", as opposed to pages. Frameworks like backbone,
>> angular, etc, all frequently make very small (usually JSON
>> encoded) requests to indicates record updates, or to pull
>> specific objects on demand, from an HTTP endpoint.. All of that
>> to say: many of these requests are just a few hundred bytes.
>> Your typical CRUD operations are all great examples: a lotta
>> headers for a tiny payload and a 204 response. The overhead
>> there is huge, which is why we're seeing people starting to
>> invent their own protocols. e.g. SwaggerRocket:
>> http://blog.wordnik.com/introducing-swaggersocket-a-rest-over-websocket-=
protocol
>>
>> They shouldn't have to do this...
>
> They shouldn't have to invent their own protocols because there are alrea=
dy plenty of protocols optimized for small-grained messages. That doesn't m=
ean HTTP, which is one of the few protocols which is optimized for large-gr=
ained messages (in order to trade efficiency for scalability), has to chang=
e to become one of them.
>
>
> Robert Brewer
> fumanchu@aminus.org<mailto:fumanchu@aminus.org>


--
Website: http://hallambaker.com/


--_000_8953213cb47c4eddaf79d229200941ffBLUPR03MB613namprd03pro_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.hoenzb
	{mso-style-name:hoenzb;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I agree that JSON is too =
rich.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I completely agree that t=
he mapping has to be static.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Henrik<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Roberto =
Peon [mailto:grmocg@gmail.com]
<br>
<b>Sent:</b> Thursday, August 16, 2012 1:13 PM<br>
<b>To:</b> Phillip Hallam-Baker<br>
<b>Cc:</b> Robert Brewer; Ilya Grigorik; Henrik Frystyk Nielsen; Patrick Mc=
Manus; ietf-http-wg@w3.org<br>
<b>Subject:</b> Re: In Defense of Header Compresson<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">JSON is far more rich than we need.<o:p></o:p></p>
<div>
<p class=3D"MsoNormal">name-value is really sufficient for&nbsp;anything&nb=
sp;the protocol should contemplate.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">I'm all for tokenization, btw, so long as the mappin=
g for tokenization is static for long periods of time (months/years)<o:p></=
o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">-=3DR<o:p></o:p></p>
<div>
<p class=3D"MsoNormal">On Thu, Aug 16, 2012 at 8:24 AM, Phillip Hallam-Bake=
r &lt;<a href=3D"mailto:hallam@gmail.com" target=3D"_blank">hallam@gmail.co=
m</a>&gt; wrote:<o:p></o:p></p>
<p class=3D"MsoNormal">What really matters for performance is the number of=
 packets rather<br>
than packet size. If you are worried about the packet size then you<br>
should not expect a general purpose transport to meet your needs. UDP<br>
is going to be better.<br>
<br>
Similarly, if you are using JSON then the JSON bloat is going to be a<br>
lot more overhead than HTTP bloat.<br>
<br>
<br>
I like tokenization as a strategy as the same approach can be used for<br>
both the JSON and the HTTP space saving. It also means that embedded<br>
devices can even use the tokenized form as a replacement for header<br>
and JSON syntax and only use one parser.<br>
<br>
I don't see much advantage to compression for small message sizes<br>
unless you can avoid transporting the compression dictionary which is<br>
exactly what tokenization does, only with a slight reduction in<br>
maximum efficiency and a huge reduction in complexity.<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><br>
On Thu, Aug 16, 2012 at 10:36 AM, Robert Brewer &lt;<a href=3D"mailto:fuman=
chu@aminus.org">fumanchu@aminus.org</a>&gt; wrote:<br>
&gt; Ilya Grigorik wrote:<br>
&gt;&gt; &gt; On Wed, Aug 15, 2012 at 4:36 AM, Henrik Frystyk Nielsen &lt;<=
a href=3D"mailto:henrikn@microsoft.com">henrikn@microsoft.com</a>&gt; wrote=
:<br>
&gt;&gt; &gt; I completely agree that if you have very small entity bodies<=
br>
&gt;&gt; &gt; then maturally the header size will matter getting more<br>
&gt;&gt; &gt; requests into the pipe faster. However, in the tests that we<=
br>
&gt;&gt; &gt; have done with actual data the size of the entity bodies was<=
br>
&gt;&gt; &gt; large enough that the impact was minimal. This is especially<=
br>
&gt;&gt; &gt; the case if you also do bundling/minification as it naturally=
<br>
&gt;&gt; &gt; leads you to large entities.<br>
&gt;&gt;<br>
&gt;&gt; It's worth keeping in mind that we're seeing more and more web<br>
&gt;&gt; &quot;applications&quot;, as opposed to pages. Frameworks like bac=
kbone,<br>
&gt;&gt; angular, etc, all frequently make very small (usually JSON<br>
&gt;&gt; encoded) requests to indicates record updates, or to pull<br>
&gt;&gt; specific objects on demand, from an HTTP endpoint.. All of that<br=
>
&gt;&gt; to say: many of these requests are just a few hundred bytes.<br>
&gt;&gt; Your typical CRUD operations are all great examples: a lotta<br>
&gt;&gt; headers for a tiny payload and a 204 response. The overhead<br>
&gt;&gt; there is huge, which is why we're seeing people starting to<br>
&gt;&gt; invent their own protocols. e.g. SwaggerRocket:<br>
&gt;&gt; <a href=3D"http://blog.wordnik.com/introducing-swaggersocket-a-res=
t-over-websocket-protocol" target=3D"_blank">
http://blog.wordnik.com/introducing-swaggersocket-a-rest-over-websocket-pro=
tocol</a><br>
&gt;&gt;<br>
&gt;&gt; They shouldn't have to do this...<br>
&gt;<br>
&gt; They shouldn't have to invent their own protocols because there are al=
ready plenty of protocols optimized for small-grained messages. That doesn'=
t mean HTTP, which is one of the few protocols which is optimized for large=
-grained messages (in order to trade
 efficiency for scalability), has to change to become one of them.<br>
&gt;<br>
&gt;<br>
&gt; Robert Brewer<br>
&gt; <a href=3D"mailto:fumanchu@aminus.org">fumanchu@aminus.org</a><br>
<br>
<br>
<o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><span class=3D"hoenzb=
"><span style=3D"color:#888888">--</span></span><span style=3D"color:#88888=
8"><br>
<span class=3D"hoenzb">Website: <a href=3D"http://hallambaker.com/" target=
=3D"_blank">http://hallambaker.com/</a></span></span><o:p></o:p></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_8953213cb47c4eddaf79d229200941ffBLUPR03MB613namprd03pro_--


From ietf-http-wg-request@listhub.w3.org  Thu Aug 16 16:02:22 2012
Return-Path: <ietf-http-wg-request@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 98E0821F846D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 16:02:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level: 
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a9nd5Rrw+sfw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 16:02:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9BE0121F846E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Aug 2012 16:02:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T293g-0008VK-I6 for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Aug 2012 23:00:56 +0000
Resent-Date: Thu, 16 Aug 2012 23:00:56 +0000
Resent-Message-Id: <E1T293g-0008VK-I6@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ilya@igvita.com>) id 1T293N-0008RA-8u for ietf-http-wg@listhub.w3.org; Thu, 16 Aug 2012 23:00:37 +0000
Received: from mail-gg0-f171.google.com ([209.85.161.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <ilya@igvita.com>) id 1T293M-0006WX-60 for ietf-http-wg@w3.org; Thu, 16 Aug 2012 23:00:37 +0000
Received: by ggnp1 with SMTP id p1so3535177ggn.2 for <ietf-http-wg@w3.org>; Thu, 16 Aug 2012 16:00:10 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=ucJMI5SBroy53yPJ30Mf7SUDK8RQeUKIMtG02AKU9TA=; b=Tmcxtfu2M5MC8p5tDh7Giy4ZaqHnOCNz9XrYzKNrjJJxqpmnw+YJCRwiOwL365iY7j nIY7yR8MAzZVyk+modkbs7w1F8ONWExALuLeJhhCMpW7JPsbBHgSn06JuHKrcUUREiTg Z0Sj4NI932vRreEMTaMPD99B9rYQMf3LXVmkXd5WpfSVihaKf1HLniudMYdqFHD+RVgi XLEimvgq+4vKC77Jla7/2k2vaKV20ce9Y82nAjJbZDCU7mgwK+nL3hA/dl+AdHpkNl0+ BlWe8V1KHUkuSYk3743C/anEeQrpSZFU/nZ3XRi5++lML2iEM6zZWP0i69ZfyAtiycCQ JPpA==
Received: by 10.236.72.103 with SMTP id s67mr4251211yhd.78.1345158010130; Thu, 16 Aug 2012 16:00:10 -0700 (PDT)
Received: from mail-yw0-f43.google.com (mail-yw0-f43.google.com [209.85.213.43]) by mx.google.com with ESMTPS id j10sm5535038anl.20.2012.08.16.16.00.08 (version=SSLv3 cipher=OTHER); Thu, 16 Aug 2012 16:00:09 -0700 (PDT)
Received: by yhl10 with SMTP id 10so3535077yhl.2 for <ietf-http-wg@w3.org>; Thu, 16 Aug 2012 16:00:08 -0700 (PDT)
Received: by 10.50.94.195 with SMTP id de3mr3470556igb.68.1345158007974; Thu, 16 Aug 2012 16:00:07 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.43.135 with HTTP; Thu, 16 Aug 2012 15:59:27 -0700 (PDT)
In-Reply-To: <F1962646D3B64642B7C9A06068EE1E64164A0AB3@ex10.hostedexchange.local>
References: <CAMm+LwiFqZf06mfk5Zog2vd_Rm5dEutrOaUKBpr1voieOQVkJA@mail.gmail.com> <f7bd614891da4263b1dea46941a7ea01@BLUPR03MB613.namprd03.prod.outlook.com> <1344457449.3295.30.camel@ds9> <d0fdfabd35d049c0ad5994ee48ae98a9@BLUPR03MB613.namprd03.prod.outlook.com> <CAKRe7JEcta+K0zAoHit98VhB+TMGk7mcwG2GQ0qpp6V3uBDsRg@mail.gmail.com> <CAKRe7JGQtMn+R0T=PYsOb7HTZ777deSijdzDEYCrznWgp9JZgg@mail.gmail.com> <F1962646D3B64642B7C9A06068EE1E64164A0AB3@ex10.hostedexchange.local>
From: Ilya Grigorik <ilya@igvita.com>
Date: Thu, 16 Aug 2012 15:59:27 -0700
Message-ID: <CAKRe7JF_PojT=fWNNptCcMWGzTVKBGM71SZjQJ_+y-CUWbOM8w@mail.gmail.com>
To: Robert Brewer <fumanchu@aminus.org>
Cc: Henrik Frystyk Nielsen <henrikn@microsoft.com>, Patrick McManus <pmcmanus@mozilla.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e89a8f2354433b694704c76a0152
X-Gm-Message-State: ALoCoQm29/i+YqpmbxAs2BxXr8T4MTbzIvHV0Q3tDLLvFO7Y97kUyjLZSoh4sFGFU0Bf6a8M+jyC
Received-SPF: pass client-ip=209.85.161.171; envelope-from=ilya@igvita.com; helo=mail-gg0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.1
X-W3C-Hub-Spam-Report: BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T293M-0006WX-60 f9432f95e652dab98355df938f30443d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: In Defense of Header Compresson
Archived-At: <http://www.w3.org/mid/CAKRe7JF_PojT=fWNNptCcMWGzTVKBGM71SZjQJ_+y-CUWbOM8w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15096
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>

--e89a8f2354433b694704c76a0152
Content-Type: text/plain; charset=ISO-8859-1

>
> They shouldn't have to invent their own protocols because there are
> already plenty of protocols optimized for small-grained messages. That
> doesn't mean HTTP, which is one of the few protocols which is optimized for
> large-grained messages (in order to trade efficiency for scalability), has
> to change to become one of them.
>

I believe that would be a shortsighted call to make. Besides, show me
another protocol available in the browser, which *is* the distribution
platform for all these apps? It's HTTP, plain and simple.. or build on your
own, on top of WebSockets.

Median size per GET: 2.36KB -
https://developers.google.com/speed/articles/web-metrics

Add ~800 bytes of request/response headers on top, and we're spending
25-30% on headers (that is, if you're lucky and can avoid adding cookies to
that as well). Also, there is no sign that we're going to stop putting
*more* stuff into the headers. User-agent and Cookies are the best known
offenders, but what about even things like upcoming CSP suport?

X-Content-Security-Policy: allow 'self'; img-src *; \
                           object-src media1.com media2.com *.cdn.com; \
                           script-src trustedscripts.example.com

And that's just the beginning.

In any case, my meta-point is simple: I believe Patrick's numbers may
well underestimate the prevalence of short requests/responses. We should
factor in the long-lived apps that stay open in the browser and rely on
small periodic pings (aka, any "ajax" app like gmail, docs, and so forth,
not to mention the billions of beacons for analytics and the like).

ig

--e89a8f2354433b694704c76a0152
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"HOE=
nZb"><div class=3D"h5">They shouldn&#39;t have to invent their own protocol=
s because there are already plenty of protocols optimized for small-grained=
 messages. That doesn&#39;t mean HTTP, which is one of the few protocols wh=
ich is optimized for large-grained messages (in order to trade efficiency f=
or scalability), has to change to become one of them.</div>

</div></blockquote><div><br></div><div>I believe that would be a shortsight=
ed call to make. Besides, show me another protocol available in the browser=
, which *is* the distribution platform for all these apps? It&#39;s HTTP, p=
lain and simple.. or build on your own, on top of WebSockets.=A0</div>

<div><br></div><div>Median size per GET:=A02.36KB -=A0<a href=3D"https://de=
velopers.google.com/speed/articles/web-metrics">https://developers.google.c=
om/speed/articles/web-metrics</a></div><div><br></div><div>Add ~800 bytes o=
f request/response headers on top, and we&#39;re spending 25-30% on headers=
 (that is, if you&#39;re lucky and can avoid adding cookies to that as well=
). Also, there is no sign that we&#39;re going to stop putting *more* stuff=
 into the headers. User-agent and Cookies are the best known offenders, but=
 what about even things like upcoming CSP suport?=A0</div>

<div><br></div><div><div>X-Content-Security-Policy: allow &#39;self&#39;; i=
mg-src *; \</div><div>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0object-src <a href=3D"http://media1.com">media1.com</a> <a href=3D"http:=
//media2.com">media2.com</a> *.<a href=3D"http://cdn.com">cdn.com</a>; \</d=
iv>

<div>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0script-src <a h=
ref=3D"http://trustedscripts.example.com">trustedscripts.example.com</a></d=
iv></div><div><br></div><div>And that&#39;s just the beginning.</div><div><=
br></div><div>In any case, my meta-point is simple: I believe Patrick&#39;s=
 numbers may well=A0underestimate=A0the prevalence of short requests/respon=
ses. We should factor in the long-lived apps that stay open in the browser =
and rely on small periodic pings (aka, any &quot;ajax&quot; app like gmail,=
 docs, and so forth, not to mention the billions of beacons for analytics a=
nd the like).</div>

<div><br></div><div>ig</div></div>

--e89a8f2354433b694704c76a0152--


From ietf-http-wg-request@listhub.w3.org  Thu Aug 16 22:24:02 2012
Return-Path: <ietf-http-wg-request@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 0A42621F8565 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 22:24:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lCDFMEdsf15W for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 16 Aug 2012 22:24:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DB99A21F852B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 16 Aug 2012 22:24:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T2F0W-0003cn-Me for ietf-http-wg-dist@listhub.w3.org; Fri, 17 Aug 2012 05:22:04 +0000
Resent-Date: Fri, 17 Aug 2012 05:22:04 +0000
Resent-Message-Id: <E1T2F0W-0003cn-Me@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dwing@cisco.com>) id 1T2F0A-0003bV-CH for ietf-http-wg@listhub.w3.org; Fri, 17 Aug 2012 05:21:42 +0000
Received: from rcdn-iport-5.cisco.com ([173.37.86.76]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dwing@cisco.com>) id 1T2F09-0007rg-Ci for ietf-http-wg@w3.org; Fri, 17 Aug 2012 05:21:42 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=dwing@cisco.com; l=3077; q=dns/txt; s=iport; t=1345180901; x=1346390501; h=from:to:cc:references:in-reply-to:subject:date: message-id:mime-version:content-transfer-encoding; bh=XlqaY5j6Nl2Kt0jn5VPeZw+PsnJwEM3bb2gWrBhfEU4=; b=I8Hac/VUtUjaMxsPEodNPVWgr+LtpBdTWgMeDIEc2mwj5b+PzKmMhzgn Rb3+PlfSBYEw9p1jueGJGNolWW7Vrebl32/OOKZ8gTQqUPKgAuHKL9o/q heheS6S6c8rcNemsFCcnaROVBp3vzx8KLrIqKz2UftIMU/qsXxw5G0RCO 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AhQLAHzTLVCtJXG8/2dsb2JhbAA7CoYBpFuOXgJ3gQeCIAEBAQMBCAoBF08FBwEDAhgCAQMBAQEEIwUCGSMKAwYIAQEEARILF4dlBpoKjRIIkyKBHYltEIFEhBGBFgOIToUNliCBZoJ/
X-IronPort-AV: E=Sophos;i="4.77,783,1336348800";  d="scan'208";a="112512008"
Received: from rcdn-core2-1.cisco.com ([173.37.113.188]) by rcdn-iport-5.cisco.com with ESMTP; 17 Aug 2012 05:21:15 +0000
Received: from dwingWS (sjc-vpn7-473.cisco.com [10.21.145.217]) by rcdn-core2-1.cisco.com (8.14.5/8.14.5) with ESMTP id q7H5LEjs027705; Fri, 17 Aug 2012 05:21:14 GMT
From: "Dan Wing" <dwing@cisco.com>
To: =?gb2312?B?J1dpbGxpYW0gQ2hhbiAos8LWx7L9KSc=?= <willchan@chromium.org>, "'Patrick McManus'" <pmcmanus@mozilla.com>
Cc: "'Phillip Hallam-Baker'" <hallam@gmail.com>, <ietf-http-wg@w3.org>
References: <502A621A.9010302@cisco.com>	<CAMm+LwjhoCWXfBMXXTg0_Tj+FyB7_RoMuXHwRj7=068FF_oe2g@mail.gmail.com>	<1345035602.1116.16.camel@ds9> <CAA4WUYiMXCMHs-KFJ8npQjYb=PGcVgS47mT+X2Fn=CEUWTCmbw@mail.gmail.com>
In-Reply-To: <CAA4WUYiMXCMHs-KFJ8npQjYb=PGcVgS47mT+X2Fn=CEUWTCmbw@mail.gmail.com>
Date: Thu, 16 Aug 2012 22:21:14 -0700
Message-ID: <0b5f01cd7c38$1f6ef2b0$5e4cd810$@com>
MIME-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ac17axLBZCG/Twg8Re6m9q6iritoCwAzDbwA
Content-Language: en-us
Received-SPF: pass client-ip=173.37.86.76; envelope-from=dwing@cisco.com; helo=rcdn-iport-5.cisco.com
X-W3C-Hub-Spam-Status: No, score=-11.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: maggie.w3.org 1T2F09-0007rg-Ci e8de6b9a2aa1995cb8c5fe985e806fc1
X-Original-To: ietf-http-wg@w3.org
Subject: frequent DNS queries RE: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/0b5f01cd7c38$1f6ef2b0$5e4cd810$@com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15097
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>

> -----Original Message-----
> From: willchan@google.com [mailto:willchan@google.com] On Behalf Of
> William Chan (???)
> Sent: Wednesday, August 15, 2012 9:50 PM
> To: Patrick McManus
> Cc: Phillip Hallam-Baker; ietf-http-wg@w3.org Group
> Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
> 
> Can you clarify the reason to prefer srv over something like an
> Alternate-Protocol response header? I can see that Alternate-Protocol
> is suboptimal in that it requires waiting for a response first, but I
> have concerns about adding yet another DNS lookup. Chromium has already
> lowered our concurrent getaddrinfo() calls to 6 due to problems with
> home routers not being able to handle too many concurrent DNS queries.

I've heard of that problem.  I am guessing most of those problems are
on IPv4-only hosts, so the underlying DNS code is generating 6 DNS 
queries.  When the host supports IPv6, you'll have to drop that to 3
(A and AAAA queries).  

Or, do we hope to identify the problem and encourage vendors to fix
it? 

In the past, ICE (RFC5245) ran into similar problems which seemed to
be caused by rapidly sending UDP packets from different source
addresses, which forces a NAT to create a new mapping.  Some NATs
apparently can't do that very quickly.  

With many (but not all) NATs configured to do local DNS proxying,
the problem may not be too severe.  But I understand cable operators
don't like DNS proxying in CPE, which we may have exchanged for
dropping rapid-fire DNS queries instead.  That would not be good.

We tested some of our Linksys gear a week ago, after a discussion
at IETF, and couldn't repeat the problem.  So, I would sure like
to understand it better and try to see where things break and
what configuration is causing this problem.  

Then we can figure out if the best workaround is in the getaddrinfo()
code, in the application, or elsewhere.  But I would rather solve
the problem, especially for something as critical as DNS queries.

DNSSEC, DANE, and IPv6 being hopefully around the corner, we need
to fix problems with DNS queries and keep DNS working fast.

-d


> Adding more DNS lookups per hostname will further exacerbate the
> problem.
> 
> In any case, FWIW, I hope websites simply transition to https:// URIs
> instead :)
> 
> 
> On Wed, Aug 15, 2012 at 6:00 AM, Patrick McManus <pmcmanus@mozilla.com>
> wrote:
> 
> 
> 	On Tue, 2012-08-14 at 12:24 -0400, Phillip Hallam-Baker wrote:
> 
> 	> If we take architecture seriously, the primary signaling
> mechanism for
> 	> HTTP/2.0 should be some form of statement in a DNS record to
> tell the
> 	> client 'I do HTTP 2.0'. We might also have some sort of upgrade
> 	> mechanism for use when the DNS records are blocked but that
> should be
> 	> a fallback.
> 
> 
> 	This is my current thinking as well though I'm not tied to it..
> srv in
> 	the base case (with the possibility of dnssec) and something like
> 	upgrade/alternate-protocol over HTTP/1 as a slower fallback.
> 
> 
> 
> 
> 
> 




From ietf-http-wg-request@listhub.w3.org  Fri Aug 17 14:47:36 2012
Return-Path: <ietf-http-wg-request@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 5F34C11E80E2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 17 Aug 2012 14:47:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.638
X-Spam-Level: 
X-Spam-Status: No, score=-7.638 tagged_above=-999 required=5 tests=[AWL=-1.757, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8, SARE_LWSHORTT=1.24, SARE_OBFU_AMP2B=2.555]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DFJdgoqiZZhM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 17 Aug 2012 14:47:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4C41911E80D1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 17 Aug 2012 14:47:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T2UM8-0003Ih-I3 for ietf-http-wg-dist@listhub.w3.org; Fri, 17 Aug 2012 21:45:24 +0000
Resent-Date: Fri, 17 Aug 2012 21:45:24 +0000
Resent-Message-Id: <E1T2UM8-0003Ih-I3@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <willchan@google.com>) id 1T2ULo-00028j-L6 for ietf-http-wg@listhub.w3.org; Fri, 17 Aug 2012 21:45:04 +0000
Received: from mail-qa0-f43.google.com ([209.85.216.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1T2ULn-0000Tj-GL for ietf-http-wg@w3.org; Fri, 17 Aug 2012 21:45:04 +0000
Received: by qatk31 with SMTP id k31so2181481qat.2 for <ietf-http-wg@w3.org>; Fri, 17 Aug 2012 14:44:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record; bh=FVWR3bAZYiMltStChzK/VL/i97rCaB8uuAZGlTSXMPY=; b=dld7JsYeIEzzC21dtx6DxiaSB16Wfye26czjdwqDuV1utRpFOsK/pOmA2gdfKfKIwb 3HIF7WxdrXJ9u6r9QpuOAhI4IwASjWANPWadIY+kuRqFmqDxXE68+9Ga70MF2OQXbNCS T2GRCndf2BoKLZEXDH32gqB0N6uvqM57oCIt/Tq0uD1OM1D5DMJR0vGmqC5iDbONxjGG 3JElCqQSmY7eDMFjqcew0xCeJm5scZ2xMzub7ubMp85h9kFmGoY+e+j3i8n2NqTteyE8 0C6EYCVnd7PdbPbeNOZUoCnN/9byKjrftDDiKzTtIAWn86C2VMX95QOD79E/7GG3kJ2Y OeOQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-system-of-record:x-gm-message-state; bh=FVWR3bAZYiMltStChzK/VL/i97rCaB8uuAZGlTSXMPY=; b=Kk/C6mlYDh8Rm3aU4tHRIHk36bfJj44OQHvqour0y+IQSxoKn4T8PncKyEFFeN9DIw sLU5iWT5bTSh6YyHnW98OfryVc1rOWVDbraBQcUZJk8o5EIavhOJvsRNoElPpA+xraPW WYE4yZ4HUQDaTqXfzXSEv88hNLh5Wcgw5BlIimgKauxE7VOA8OFjtb1hPXmVuAEU4Fea sb+bJAXxMBCQLAvHIQsERTa6ev5C3RN4u1+S1FGGmOunRrIeBxBN861rdktEyTrE2UKE Nzi0SF5X1hapzS8wxvhrGAVaVjRiTngfCMVHS8mDSw8+ET7EpqYgKxBpSPSzg9u1623f tQsQ==
Received: by 10.229.135.147 with SMTP id n19mr4837775qct.11.1345239877461; Fri, 17 Aug 2012 14:44:37 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.135.147 with SMTP id n19mr4837760qct.11.1345239877167; Fri, 17 Aug 2012 14:44:37 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.191.133 with HTTP; Fri, 17 Aug 2012 14:44:37 -0700 (PDT)
In-Reply-To: <0b5f01cd7c38$1f6ef2b0$5e4cd810$@com>
References: <502A621A.9010302@cisco.com> <CAMm+LwjhoCWXfBMXXTg0_Tj+FyB7_RoMuXHwRj7=068FF_oe2g@mail.gmail.com> <1345035602.1116.16.camel@ds9> <CAA4WUYiMXCMHs-KFJ8npQjYb=PGcVgS47mT+X2Fn=CEUWTCmbw@mail.gmail.com> <0b5f01cd7c38$1f6ef2b0$5e4cd810$@com>
Date: Fri, 17 Aug 2012 17:44:37 -0400
X-Google-Sender-Auth: UkUjfknlpUExLWrG42AidN8p8FI
Message-ID: <CAA4WUYidqKbHp-_5KRxsB=QjrdmCnrie84nE8L+VjgTHDF6gsA@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Dan Wing <dwing@cisco.com>
Cc: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>,  Patrick McManus <pmcmanus@mozilla.com>, Phillip Hallam-Baker <hallam@gmail.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=00248c769122042a7904c77d11bb
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQmwvTHkNKSQs5eoJuPfLw2FyzfherUhnFG2Y9+Yu2gmNYmexwsxQG3+5cAIT9J/IPBmi3gnqrWXHfF27CCkFrDxl5r2WV64BDVgBZnag5DX/M7jSgJ+Xfus5WvwZWuv1Njz8SZlDnVhqTtaD7KTztgzgcxnm4XzWfL1LbaU5QgXJO/iba0zDGsZIWJt430tbuALutz0
Received-SPF: pass client-ip=209.85.216.43; envelope-from=willchan@google.com; helo=mail-qa0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=0.1
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T2ULn-0000Tj-GL b44e8a4bcc06b3e382700fc1594c67ac
X-Original-To: ietf-http-wg@w3.org
Subject: frequent DNS queries RE: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/CAA4WUYidqKbHp-_5KRxsB=QjrdmCnrie84nE8L+VjgTHDF6gsA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15098
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>

--00248c769122042a7904c77d11bb
Content-Type: text/plain; charset=ISO-8859-1

On Thursday, August 16, 2012, Dan Wing wrote:

> > -----Original Message-----
> > From: willchan@google.com [mailto:willchan@google.com] On Behalf Of
> > William Chan (???)
> > Sent: Wednesday, August 15, 2012 9:50 PM
> > To: Patrick McManus
> > Cc: Phillip Hallam-Baker; ietf-http-wg@w3.org Group
> > Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
> >
> > Can you clarify the reason to prefer srv over something like an
> > Alternate-Protocol response header? I can see that Alternate-Protocol
> > is suboptimal in that it requires waiting for a response first, but I
> > have concerns about adding yet another DNS lookup. Chromium has already
> > lowered our concurrent getaddrinfo() calls to 6 due to problems with
> > home routers not being able to handle too many concurrent DNS queries.
>
> I've heard of that problem.  I am guessing most of those problems are
> on IPv4-only hosts, so the underlying DNS code is generating 6 DNS
> queries.  When the host supports IPv6, you'll have to drop that to 3
> (A and AAAA queries).


Actually, not totally true. Most getaddrinfo() implementations will issue
the A and AAAA queries in serial =/ but yes, newer OSes are starting to
issue them in parallel (OS X Lion for example). And there is no evidence
the problem is with IPv4 only hosts.


>
> Or, do we hope to identify the problem and encourage vendors to fix
> it?


Long term, yes. Short term, we can't upgrade the existing deployment of NAT
routers, so we're stuck for now and clients will make the best trade offs
possible to improve user experience.


>
> In the past, ICE (RFC5245) ran into similar problems which seemed to
> be caused by rapidly sending UDP packets from different source
> addresses, which forces a NAT to create a new mapping.  Some NATs
> apparently can't do that very quickly.
>
> With many (but not all) NATs configured to do local DNS proxying,
> the problem may not be too severe.  But I understand cable operators
> don't like DNS proxying in CPE, which we may have exchanged for
> dropping rapid-fire DNS queries instead.  That would not be good.
>
> We tested some of our Linksys gear a week ago, after a discussion
> at IETF, and couldn't repeat the problem.  So, I would sure like
> to understand it better and try to see where things break and
> what configuration is causing this problem.


We have many Chromium bug reports for this. If you're interested in
studying some of the devices, I can gather a list of busted ones and send
them your way. We're working on getting a lab of these devices for our own
testing purposes.


>
> Then we can figure out if the best workaround is in the getaddrinfo()
> code, in the application, or elsewhere.  But I would rather solve
> the problem, especially for something as critical as DNS queries.


Yes, by all means, we should solve it. I'm just pointing out relevant
concerns with reliance on DNS in the short-term.


>
> DNSSEC, DANE, and IPv6 being hopefully around the corner, we need
> to fix problems with DNS queries and keep DNS working fast.
>
> -d
>
>
> > Adding more DNS lookups per hostname will further exacerbate the
> > problem.
> >
> > In any case, FWIW, I hope websites simply transition to https:// URIs
> > instead :)
> >
> >
> > On Wed, Aug 15, 2012 at 6:00 AM, Patrick McManus <pmcmanus@mozilla.com>
> > wrote:
> >
> >
> >       On Tue, 2012-08-14 at 12:24 -0400, Phillip Hallam-Baker wrote:
> >
> >       > If we take architecture seriously, the primary signaling
> > mechanism for
> >       > HTTP/2.0 should be some form of statement in a DNS record to
> > tell the
> >       > client 'I do HTTP 2.0'. We might also have some sort of upgrade
> >       > mechanism for use when the DNS records are blocked but that
> > should be
> >       > a fallback.
> >
> >
> >       This is my current thinking as well though I'm not tied to it..
> > srv in
> >       the base case (with the possibility of dnssec) and something like
> >       upgrade/alternate-protocol over HTTP/1 as a slower fallback.
> >
> >
> >
> >
> >
> >
>
>
>

--00248c769122042a7904c77d11bb
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br>On Thursday, August 16, 2012, Dan Wing  wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">&gt; -----Original Message-----<br>
&gt; From: <a>willchan@google.com</a> [mailto:<a>willchan@google.com</a>] O=
n Behalf Of<br>

&gt; William Chan (???)<br>
&gt; Sent: Wednesday, August 15, 2012 9:50 PM<br>
&gt; To: Patrick McManus<br>
&gt; Cc: Phillip Hallam-Baker; <a>ietf-http-wg@w3.org</a> Group<br>
&gt; Subject: Re: comments on draft-mbelshe-httpbis-spdy-00<br>
&gt;<br>
&gt; Can you clarify the reason to prefer srv over something like an<br>
&gt; Alternate-Protocol response header? I can see that Alternate-Protocol<=
br>
&gt; is suboptimal in that it requires waiting for a response first, but I<=
br>
&gt; have concerns about adding yet another DNS lookup. Chromium has alread=
y<br>
&gt; lowered our concurrent getaddrinfo() calls to 6 due to problems with<b=
r>
&gt; home routers not being able to handle too many concurrent DNS queries.=
<br>
<br>
I&#39;ve heard of that problem. =A0I am guessing most of those problems are=
<br>
on IPv4-only hosts, so the underlying DNS code is generating 6 DNS<br>
queries. =A0When the host supports IPv6, you&#39;ll have to drop that to 3<=
br>
(A and AAAA queries).</blockquote><div><br></div>Actually, not totally true=
. Most getaddrinfo() implementations will issue the A and AAAA queries in s=
erial =3D/ but yes, newer OSes are starting to issue them in parallel (OS X=
 Lion for example). And there is no evidence the problem is with IPv4 only =
hosts.<br>
<div>=A0<span></span></div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Or, do we hope to identify the problem and encourage vendors to fix<br>
it?</blockquote><div><br></div>Long term, yes. Short term, we can&#39;t upg=
rade the existing deployment of NAT routers, so we&#39;re stuck for now and=
 clients will make the best trade offs possible to improve user experience.=
<br>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<br>
In the past, ICE (RFC5245) ran into similar problems which seemed to<br>
be caused by rapidly sending UDP packets from different source<br>
addresses, which forces a NAT to create a new mapping. =A0Some NATs<br>
apparently can&#39;t do that very quickly.<br>
<br>
With many (but not all) NATs configured to do local DNS proxying,<br>
the problem may not be too severe. =A0But I understand cable operators<br>
don&#39;t like DNS proxying in CPE, which we may have exchanged for<br>
dropping rapid-fire DNS queries instead. =A0That would not be good.<br>
<br>
We tested some of our Linksys gear a week ago, after a discussion<br>
at IETF, and couldn&#39;t repeat the problem. =A0So, I would sure like<br>
to understand it better and try to see where things break and<br>
what configuration is causing this problem.</blockquote><div><br></div><div=
>We have many Chromium bug reports for this. If you&#39;re interested in st=
udying some of the devices, I can gather a list of busted ones and send the=
m your way. We&#39;re working on getting a lab of these devices for our own=
 testing purposes.</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<br>
Then we can figure out if the best workaround is in the getaddrinfo()<br>
code, in the application, or elsewhere. =A0But I would rather solve<br>
the problem, especially for something as critical as DNS queries.</blockquo=
te><div><br></div><div>Yes, by all means, we should solve it. I&#39;m just =
pointing out relevant concerns with reliance on DNS in the short-term.<span=
></span></div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<br>
DNSSEC, DANE, and IPv6 being hopefully around the corner, we need<br>
to fix problems with DNS queries and keep DNS working fast.<br>
<br>
-d<br>
<br>
<br>
&gt; Adding more DNS lookups per hostname will further exacerbate the<br>
&gt; problem.<br>
&gt;<br>
&gt; In any case, FWIW, I hope websites simply transition to https:// URIs<=
br>
&gt; instead :)<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Aug 15, 2012 at 6:00 AM, Patrick McManus &lt;<a>pmcmanus@mozil=
la.com</a>&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; =A0 =A0 =A0 On Tue, 2012-08-14 at 12:24 -0400, Phillip Hallam-Baker wr=
ote:<br>
&gt;<br>
&gt; =A0 =A0 =A0 &gt; If we take architecture seriously, the primary signal=
ing<br>
&gt; mechanism for<br>
&gt; =A0 =A0 =A0 &gt; HTTP/2.0 should be some form of statement in a DNS re=
cord to<br>
&gt; tell the<br>
&gt; =A0 =A0 =A0 &gt; client &#39;I do HTTP 2.0&#39;. We might also have so=
me sort of upgrade<br>
&gt; =A0 =A0 =A0 &gt; mechanism for use when the DNS records are blocked bu=
t that<br>
&gt; should be<br>
&gt; =A0 =A0 =A0 &gt; a fallback.<br>
&gt;<br>
&gt;<br>
&gt; =A0 =A0 =A0 This is my current thinking as well though I&#39;m not tie=
d to it..<br>
&gt; srv in<br>
&gt; =A0 =A0 =A0 the base case (with the possibility of dnssec) and somethi=
ng like<br>
&gt; =A0 =A0 =A0 upgrade/alternate-protocol over HTTP/1 as a slower fallbac=
k.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
</blockquote>

--00248c769122042a7904c77d11bb--


From ietf-http-wg-request@listhub.w3.org  Fri Aug 17 16:58:41 2012
Return-Path: <ietf-http-wg-request@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 132FC21E80A2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 17 Aug 2012 16:58:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.517
X-Spam-Level: 
X-Spam-Status: No, score=-8.517 tagged_above=-999 required=5 tests=[AWL=-1.908, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, MIME_CHARSET_FARAWAY=2.45, RCVD_IN_DNSWL_HI=-8, SARE_LWSHORTT=1.24]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9cupe-jYcUUC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 17 Aug 2012 16:58:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2367321E809B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 17 Aug 2012 16:58:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T2WPA-0007bq-Qu for ietf-http-wg-dist@listhub.w3.org; Fri, 17 Aug 2012 23:56:40 +0000
Resent-Date: Fri, 17 Aug 2012 23:56:40 +0000
Resent-Message-Id: <E1T2WPA-0007bq-Qu@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dwing@cisco.com>) id 1T2WOq-0007b1-2T for ietf-http-wg@listhub.w3.org; Fri, 17 Aug 2012 23:56:20 +0000
Received: from mtv-iport-2.cisco.com ([173.36.130.13]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dwing@cisco.com>) id 1T2WOo-00046P-Ps for ietf-http-wg@w3.org; Fri, 17 Aug 2012 23:56:20 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=dwing@cisco.com; l=5857; q=dns/txt; s=iport; t=1345247778; x=1346457378; h=from:to:cc:references:in-reply-to:subject:date: message-id:mime-version:content-transfer-encoding; bh=jzWyhk/T1SY3AOc/t40/1UxgSFRw/mLhPWn0ro2hBtQ=; b=KXNWbBcx/gdN8wvyHAFjpH43zJ8Y9Qhw5dqi0pveDPKArmTjAw/gs2K6 a1KLiW0cjreN+iI4iWxDuARAbzBA/HkCjYR1oa+t32pvWWLbyDMQjxluZ 3Wcz5gSi1Re/Sh4SJrJUR4HYuRF6ovuTiwfV5nQDBGr7BXfraQJNIxHCN 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgYFAH/ZLlCrRDoJ/2dsb2JhbAA7CoYBpGGPXYEHgiABAQEDAQgKARdPBQcBAwIHAg8CAQMBAQEEIwUCGSMKAwYIAQEEEwsXh2UFmgmNEgiTGIEdiW4QF4U+gRYDiE6FDZYggWaDAIE6
X-IronPort-AV: E=Sophos;i="4.77,789,1336348800";  d="scan'208";a="55408351"
Received: from mtv-core-4.cisco.com ([171.68.58.9]) by mtv-iport-2.cisco.com with ESMTP; 17 Aug 2012 23:55:51 +0000
Received: from dwingWS ([10.21.75.132]) by mtv-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id q7HNtpaY014071; Fri, 17 Aug 2012 23:55:51 GMT
From: "Dan Wing" <dwing@cisco.com>
To: =?gb2312?B?J1dpbGxpYW0gQ2hhbiAos8LWx7L9KSc=?= <willchan@chromium.org>
Cc: "'Patrick McManus'" <pmcmanus@mozilla.com>, "'Phillip Hallam-Baker'" <hallam@gmail.com>, <ietf-http-wg@w3.org>
References: <502A621A.9010302@cisco.com>	<CAMm+LwjhoCWXfBMXXTg0_Tj+FyB7_RoMuXHwRj7=068FF_oe2g@mail.gmail.com>	<1345035602.1116.16.camel@ds9>	<CAA4WUYiMXCMHs-KFJ8npQjYb=PGcVgS47mT+X2Fn=CEUWTCmbw@mail.gmail.com>	<0b5f01cd7c38$1f6ef2b0$5e4cd810$@com> <CAA4WUYidqKbHp-_5KRxsB=QjrdmCnrie84nE8L+VjgTHDF6gsA@mail.gmail.com>
In-Reply-To: <CAA4WUYidqKbHp-_5KRxsB=QjrdmCnrie84nE8L+VjgTHDF6gsA@mail.gmail.com>
Date: Fri, 17 Aug 2012 16:55:51 -0700
Message-ID: <024301cd7cd3$d521acb0$7f650610$@com>
MIME-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ac18wX/n4b1V1q3/TiCCKrnUIJXYBwAEaV3A
Content-Language: en-us
Received-SPF: pass client-ip=173.36.130.13; envelope-from=dwing@cisco.com; helo=mtv-iport-2.cisco.com
X-W3C-Hub-Spam-Status: No, score=-11.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: maggie.w3.org 1T2WOo-00046P-Ps c46ff8401475d1a1883116518d20a07d
X-Original-To: ietf-http-wg@w3.org
Subject: RE: frequent DNS queries RE: comments on draft-mbelshe-httpbis-spdy-00
Archived-At: <http://www.w3.org/mid/024301cd7cd3$d521acb0$7f650610$@com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15099
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>

> -----Original Message-----
> From: willchan@google.com [mailto:willchan@google.com] On Behalf Of
> William Chan (???)
> Sent: Friday, August 17, 2012 2:45 PM
> To: Dan Wing
> Cc: William Chan (=B3=C2=D6=C7=B2=FD); Patrick McManus; Phillip =
Hallam-Baker; ietf-
> http-wg@w3.org
> Subject: frequent DNS queries RE: comments on draft-mbelshe-httpbis-
> spdy-00
>=20
>=20
>=20
> On Thursday, August 16, 2012, Dan Wing wrote:
>=20
>=20
> 	> -----Original Message-----
> 	> From: willchan@google.com [mailto:willchan@google.com] On
> Behalf Of
> 	> William Chan (???)
> 	> Sent: Wednesday, August 15, 2012 9:50 PM
> 	> To: Patrick McManus
> 	> Cc: Phillip Hallam-Baker; ietf-http-wg@w3.org Group
> 	> Subject: Re: comments on draft-mbelshe-httpbis-spdy-00
> 	>
> 	> Can you clarify the reason to prefer srv over something like an
> 	> Alternate-Protocol response header? I can see that Alternate-
> Protocol
> 	> is suboptimal in that it requires waiting for a response first,
> but I
> 	> have concerns about adding yet another DNS lookup. Chromium has
> already
> 	> lowered our concurrent getaddrinfo() calls to 6 due to problems
> with
> 	> home routers not being able to handle too many concurrent DNS
> queries.
>=20
> 	I've heard of that problem.  I am guessing most of those problems
> are
> 	on IPv4-only hosts, so the underlying DNS code is generating 6
> DNS
> 	queries.  When the host supports IPv6, you'll have to drop that
> to 3
> 	(A and AAAA queries).
>=20
>=20
> Actually, not totally true. Most getaddrinfo() implementations will
> issue the A and AAAA queries in serial =3D/ but yes, newer OSes are
> starting to issue them in parallel (OS X Lion for example). And there
> is no evidence the problem is with IPv4 only hosts.

You missed my point, which is that if the application is currently
pacing getaddrinfo() to 6 outstanding requests, that will cause
6 A queries on an IPv4-only host, and will cause 12 queries on an
dual-stack host.  If the underlying problem is the CPE, which=20
can only handle 6 outstanding queries, the pacing will need to
be adjusted to accommodate the doubling of DNS queries on a dual-
stack host.=20

> 	Or, do we hope to identify the problem and encourage vendors to
> fix
> 	it?
>=20
>=20
> Long term, yes. Short term, we can't upgrade the existing deployment =
of
> NAT routers, so we're stuck for now and clients will make the best
> trade offs possible to improve user experience.

NAT routers are upgraded all the time -- equipment fails, users
add IPv6, users add 802.11n, or simply a faster model to deal with
their FIOS speeds.


> 	In the past, ICE (RFC5245) ran into similar problems which seemed
> to
> 	be caused by rapidly sending UDP packets from different source
> 	addresses, which forces a NAT to create a new mapping.  Some NATs
> 	apparently can't do that very quickly.
>=20
> 	With many (but not all) NATs configured to do local DNS proxying,
> 	the problem may not be too severe.  But I understand cable
> operators
> 	don't like DNS proxying in CPE, which we may have exchanged for
> 	dropping rapid-fire DNS queries instead.  That would not be good.
>=20
> 	We tested some of our Linksys gear a week ago, after a discussion
> 	at IETF, and couldn't repeat the problem.  So, I would sure like
> 	to understand it better and try to see where things break and
> 	what configuration is causing this problem.
>=20
>=20
> We have many Chromium bug reports for this. If you're interested in
> studying some of the devices, I can gather a list of busted ones and
> send them your way. We're working on getting a lab of these devices =
for
> our own testing purposes.

Yes, I would be interested in knowing the devices causing the problem.
If they are 10 year old NATs, it isn't terribly interesting.  If they
are modern NATs, we have a real problem that the industry needs to=20
fix.


>=20
> 	Then we can figure out if the best workaround is in the
> getaddrinfo()
> 	code, in the application, or elsewhere.  But I would rather solve
> 	the problem, especially for something as critical as DNS queries.
>=20
>=20
> Yes, by all means, we should solve it. I'm just pointing out relevant
> concerns with reliance on DNS in the short-term.

It may also point to a need to do DNS differently, such as with a=20
long-lived TCP connection to the DNS server with a clear standard
for sending multiple queries over that TCP connection.  Because,
as you point out, we may well be stuck with deficient NAT gear.

-d



>=20
> 	DNSSEC, DANE, and IPv6 being hopefully around the corner, we need
> 	to fix problems with DNS queries and keep DNS working fast.
>=20
> 	-d
>=20
>=20
> 	> Adding more DNS lookups per hostname will further exacerbate
> the
> 	> problem.
> 	>
> 	> In any case, FWIW, I hope websites simply transition to
> https:// URIs
> 	> instead :)
> 	>
> 	>
> 	> On Wed, Aug 15, 2012 at 6:00 AM, Patrick McManus
> <pmcmanus@mozilla.com>
> 	> wrote:
> 	>
> 	>
> 	>       On Tue, 2012-08-14 at 12:24 -0400, Phillip Hallam-Baker
> wrote:
> 	>
> 	>       > If we take architecture seriously, the primary
> signaling
> 	> mechanism for
> 	>       > HTTP/2.0 should be some form of statement in a DNS
> record to
> 	> tell the
> 	>       > client 'I do HTTP 2.0'. We might also have some sort of
> upgrade
> 	>       > mechanism for use when the DNS records are blocked but
> that
> 	> should be
> 	>       > a fallback.
> 	>
> 	>
> 	>       This is my current thinking as well though I'm not tied
> to it..
> 	> srv in
> 	>       the base case (with the possibility of dnssec) and
> something like
> 	>       upgrade/alternate-protocol over HTTP/1 as a slower
> fallback.
> 	>
> 	>
> 	>
> 	>
> 	>
> 	>
>=20
>=20
>=20




From ietf-http-wg-request@listhub.w3.org  Sat Aug 18 02:26:34 2012
Return-Path: <ietf-http-wg-request@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 0F9BC21F859A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 18 Aug 2012 02:26:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.22
X-Spam-Level: 
X-Spam-Status: No, score=-9.22 tagged_above=-999 required=5 tests=[AWL=1.379, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4nX9wsfIWh5G for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 18 Aug 2012 02:26:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 17F7821F855D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 18 Aug 2012 02:26:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T2fGD-0001Ju-OS for ietf-http-wg-dist@listhub.w3.org; Sat, 18 Aug 2012 09:24:01 +0000
Resent-Date: Sat, 18 Aug 2012 09:24:01 +0000
Resent-Message-Id: <E1T2fGD-0001Ju-OS@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1T2fFt-0001FK-IY for ietf-http-wg@listhub.w3.org; Sat, 18 Aug 2012 09:23:41 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1T2fFr-0005Mh-MW for ietf-http-wg@w3.org; Sat, 18 Aug 2012 09:23:41 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.114.63]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id D630A22E1F4; Sat, 18 Aug 2012 05:23:12 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <20120818083444.1355EB1E002@rfc-editor.org>
Date: Sat, 18 Aug 2012 19:23:15 +1000
Cc: julian.reschke@greenbytes.de, barryleiba@computer.org, presnick@qualcomm.com, mnot@pobox.com, jack@nottheoilrig.com, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <1C7F74F8-0FFC-4C0F-B8FF-6FBDCE6D4D66@mnot.net>
References: <20120818083444.1355EB1E002@rfc-editor.org>
To: RFC Errata System <rfc-editor@rfc-editor.org>
X-Mailer: Apple Mail (2.1485)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T2fFr-0005Mh-MW e550328dfefa2286581a114ee628d40f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [Editorial Errata Reported] RFC6266 (3325)
Archived-At: <http://www.w3.org/mid/1C7F74F8-0FFC-4C0F-B8FF-6FBDCE6D4D66@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15100
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>

6266 doesn't refer to 5234;=20

>    This specification uses the augmented BNF (ABNF) notation defined =
in Section 2.1 of [RFC2616], including its rules for implied linear
>    whitespace (LWS).

Therefore, invalid.

Cheers,


On 18/08/2012, at 6:34 PM, RFC Errata System <rfc-editor@rfc-editor.org> =
wrote:

>=20
> The following errata report has been submitted for RFC6266,
> "Use of the Content-Disposition Header Field in the Hypertext Transfer =
Protocol (HTTP)".
>=20
> --------------------------------------
> You may review the report below and at:
> http://www.rfc-editor.org/errata_search.php?rfc=3D6266&eid=3D3325
>=20
> --------------------------------------
> Type: Editorial
> Reported by: Jack Bates <jack@nottheoilrig.com>
>=20
> Section: 4.1
>=20
> Original Text
> -------------
>     content-disposition =3D "Content-Disposition" ":"
>                            disposition-type *( ";" disposition-parm )
>=20
>     disposition-type    =3D "inline" | "attachment" | disp-ext-type
>                         ; case-insensitive
>     disp-ext-type       =3D token
>=20
>     disposition-parm    =3D filename-parm | disp-ext-parm
>=20
>     filename-parm       =3D "filename" "=3D" value
>                         | "filename*" "=3D" ext-value
>=20
>     disp-ext-parm       =3D token "=3D" value
>                         | ext-token "=3D" ext-value
>     ext-token           =3D <the characters in token, followed by "*">
>=20
>   Defined in [RFC2616]:
>=20
>     token         =3D <token, defined in [RFC2616], Section 2.2>
>     quoted-string =3D <quoted-string, defined in [RFC2616], Section =
2.2>
>     value         =3D <value, defined in [RFC2616], Section 3.6>
>                   ; token | quoted-string
>=20
> Corrected Text
> --------------
>     content-disposition =3D "Content-Disposition" ":"
>                            disposition-type *( ";" disposition-parm )
>=20
>     disposition-type    =3D "inline" / "attachment" / disp-ext-type
>                         ; case-insensitive
>     disp-ext-type       =3D token
>=20
>     disposition-parm    =3D filename-parm / disp-ext-parm
>=20
>     filename-parm       =3D "filename" "=3D" value
>                         / "filename*" "=3D" ext-value
>=20
>     disp-ext-parm       =3D token "=3D" value
>                         / ext-token "=3D" ext-value
>     ext-token           =3D <the characters in token, followed by "*">
>=20
>   Defined in [RFC2616]:
>=20
>     token         =3D <token, defined in [RFC2616], Section 2.2>
>     quoted-string =3D <quoted-string, defined in [RFC2616], Section =
2.2>
>     value         =3D <value, defined in [RFC2616], Section 3.6>
>                   ; token / quoted-string
>=20
> Notes
> -----
> The grammar in the original text uses "|" to express alternation, but =
I think that only "/" is valid according to RFC 5234
>=20
> Instructions:
> -------------
> This errata is currently posted as "Reported". If necessary, please
> use "Reply All" to discuss whether it should be verified or
> rejected. When a decision is reached, the verifying party (IESG)
> can log in to change the status and edit the report, if necessary.=20
>=20
> --------------------------------------
> RFC6266 (draft-ietf-httpbis-content-disp-09)
> --------------------------------------
> Title               : Use of the Content-Disposition Header Field in =
the Hypertext Transfer Protocol (HTTP)
> Publication Date    : June 2011
> Author(s)           : J. Reschke
> Category            : PROPOSED STANDARD
> Source              : Hypertext Transfer Protocol Bis
> Area                : Applications
> Stream              : IETF
> Verifying Party     : IESG

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 01:20:39 2012
Return-Path: <ietf-http-wg-request@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 8BFDE21F86B8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 01:20:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.42
X-Spam-Level: 
X-Spam-Status: No, score=-10.42 tagged_above=-999 required=5 tests=[AWL=0.178, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kG6lqTEs9UGc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 01:20:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5E8CB21F86A0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 01:20:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3NB2-0003cf-8O for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 08:17:36 +0000
Resent-Date: Mon, 20 Aug 2012 08:17:36 +0000
Resent-Message-Id: <E1T3NB2-0003cf-8O@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1T3NAh-0003bq-4x for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 08:17:15 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1T3NAc-0002G0-QE for ietf-http-wg@w3.org; Mon, 20 Aug 2012 08:17:15 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q7K8Gd0r016610 for <ietf-http-wg@w3.org>; Mon, 20 Aug 2012 11:16:39 +0300
X-CheckPoint: {5031EEEC-3-1B221DC2-4FFFF}
Received: from il-ex03.ad.checkpoint.com (194.29.34.71) by il-ex01.ad.checkpoint.com (194.29.34.26) with Microsoft SMTP Server (TLS) id 8.3.213.0; Mon, 20 Aug 2012 11:16:38 +0300
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex03.ad.checkpoint.com ([194.29.34.71]) with mapi; Mon, 20 Aug 2012 11:16:37 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Mon, 20 Aug 2012 11:16:51 +0300
Thread-Topic: HTTP 1.1 --> 2.0 Upgrade
Thread-Index: Ac1+rB2Vba3RitnLTEuS1lsgs3NcvA==
Message-ID: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
x-cpdlp: 1111f0da0932da64c1865f77eee9454bd028b59e3b
Content-Type: multipart/alternative; boundary="_000_514B1545521C4E7EBFAB538B73E5157Fcheckpointcom_"
MIME-Version: 1.0
X-KSE-AntiSpam-Interceptor-Info: protection disabled
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-2.2
X-W3C-Hub-Spam-Report: BAYES_95=3, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.173, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T3NAc-0002G0-QE bca0f13075daf6e8336d0658fa86abf3
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15101
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>

--_000_514B1545521C4E7EBFAB538B73E5157Fcheckpointcom_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi

There's been a recent discussion about signaling support for HTTP 2.0 in th=
e DNS. I think that is a good way to go about it, but it doesn't cover all =
cases.

I believe there is value in an upgrade mechanism, for example for home rout=
ers and other devices that use HTTP for configuration long before (if ever)=
 they have DNS entries, let alone SRV records.  While such a mechanism may =
also be useful for HTTPS, something like NPN can be used as part of the TLS=
 handshake.

So here's my proposal:


 1.  When first connecting to a website, the client begins with HTTP 1.0/1.=
1.
 2.  A server that supports HTTP/2.0 responds with a new header: "HTTP-VERS=
IONS: 1.1,2.0". This header is included in the server's response to the cli=
ent's request.
 3.  The client uses a new pseudo-method "UPGRADE-TO_VER 2.0 HTTP/1.1\r\n\r=
\n". Everything following is HTTP/2.0. There can be headers there, but I do=
n't see much need for any.
 4.  The client also caches that this server supports HTTP/2.0. Next time, =
it won't need the upgrade mechanism.
 5.  The server replies with a "HTTP/1.1 200 OK\r\n\r\n" and everything tha=
t follows is HTTP/2.0. Again there may be headers.

A related but orthogonal issue is finding out if the path between the clien=
t and the server supports HTTP/2.0. Fortunately, middleware does not tend t=
o appear mid-path. It's usually either server-side (reverse proxies, load b=
alancers) or it's a client-side firewall / proxy.  Server side should not c=
oncern us, because there's no point in configuring a server to support (and=
 advertise through this header or a DNS record) that HTTP/2.0 is supported,=
 when the load balancer blocks it. That's a clear misconfiguration. Client =
side middleware is either there or it's not. It's not likely to be present =
on-path to one generally available website while not being present for anot=
her.

One obvious way to find out, is to have some well-known site that supports =
HTTP/2.0 (browser vendors or others can run these sites). A client can perf=
orm a simple HTTP/2.0 GET from such a site whenever it starts, or whenever =
something in the network settings has changed (interface, IP address, next-=
hop router, routing table). The actual heuristics would have to be more inv=
olved, since we wouldn't want downtime on a single server to push a signifi=
cant part of the web to HTTP/1.1.

If people find this idea interesting, I'd be happy to write it up in a draf=
t.

Yoav


--_000_514B1545521C4E7EBFAB538B73E5157Fcheckpointcom_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode:=
 space; -webkit-line-break: after-white-space; ">Hi<div><br></div><div>Ther=
e's been a recent discussion about signaling support for HTTP 2.0 in the DN=
S. I think that is a good way to go about it, but it doesn't cover all case=
s.</div><div><br></div><div>I believe there is value in an upgrade mechanis=
m, for example for home routers and other devices that use HTTP for configu=
ration long before (if ever) they have DNS entries, let alone SRV records. =
&nbsp;While such a mechanism may also be useful for HTTPS, something like N=
PN can be used as part of the TLS handshake.</div><div><br></div><div>So he=
re's my proposal:</div><div><br></div><div><ol><li>When first connecting to=
 a website, the client begins with HTTP 1.0/1.1.</li><li>A server that supp=
orts HTTP/2.0 responds with a new header: "HTTP-VERSIONS: 1.1,2.0". This he=
ader is included in the server's response to the client's request.</li><li>=
The client uses a new pseudo-method "UPGRADE-TO_VER 2.0 HTTP/1.1\r\n\r\n". =
Everything following is HTTP/2.0. There can be headers there, but I don't s=
ee much need for any.</li><li>The client also caches that this server suppo=
rts HTTP/2.0. Next time, it won't need the upgrade mechanism.</li><li>The s=
erver replies with a "HTTP/1.1 200 OK\r\n\r\n" and everything that follows =
is HTTP/2.0. Again there may be headers.</li></ol><div>A related but orthog=
onal issue is finding out if the path between the client and the server sup=
ports HTTP/2.0. Fortunately, middleware does not tend to appear mid-path. I=
t's usually either server-side (reverse proxies, load balancers) or it's a =
client-side firewall / proxy. &nbsp;Server side should not concern us, beca=
use there's no point in configuring a server to support (and advertise thro=
ugh this header or a DNS record) that HTTP/2.0 is supported, when the load =
balancer blocks it. That's a clear misconfiguration. Client side middleware=
 is either there or it's not. It's not likely to be present on-path to one =
generally available website while not being present for another.</div><div>=
<br></div><div>One obvious way to find out, is to have some well-known site=
 that supports HTTP/2.0 (browser vendors or others can run these sites). A =
client can perform a simple HTTP/2.0 GET from such a site whenever it start=
s, or whenever something in the network settings has changed (interface, IP=
 address, next-hop router, routing table). The actual heuristics would have=
 to be more involved, since we wouldn't want downtime on a single server to=
 push a significant part of the web to HTTP/1.1.</div></div><div><br></div>=
<div>If people find this idea interesting, I'd be happy to write it up in a=
 draft.</div><div><br></div><div>Yoav</div><div><br></div></body></html>=

--_000_514B1545521C4E7EBFAB538B73E5157Fcheckpointcom_--


From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 01:27:32 2012
Return-Path: <ietf-http-wg-request@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 BCD5D21F86C5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 01:27:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.843
X-Spam-Level: 
X-Spam-Status: No, score=-8.843 tagged_above=-999 required=5 tests=[AWL=1.756, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ay57KjbmB6gv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 01:27:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 15C6321F86C1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 01:27:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3NJb-0006yr-Vy for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 08:26:28 +0000
Resent-Date: Mon, 20 Aug 2012 08:26:27 +0000
Resent-Message-Id: <E1T3NJb-0006yr-Vy@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1T3NJO-0006xe-KE for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 08:26:14 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1T3NJN-0002X1-It for ietf-http-wg@w3.org; Mon, 20 Aug 2012 08:26:14 +0000
Received: (qmail invoked by alias); 20 Aug 2012 08:25:47 -0000
Received: from p54BB3563.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.53.99] by mail.gmx.net (mp039) with SMTP; 20 Aug 2012 10:25:47 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/LrZ1EJiLL8Vop1+816f6KdEOVrRyU0ZiqjZCZ8R M/nFbK7Pk/1zKB
Message-ID: <5031F48A.2050608@gmx.de>
Date: Mon, 20 Aug 2012 10:25:46 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Yoav Nir <ynir@checkpoint.com>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com>
In-Reply-To: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=2.0
X-W3C-Hub-Spam-Report: BAYES_80=2, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T3NJN-0002X1-It 70ba0c5869850aac0a0dc4a155cb938d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/5031F48A.2050608@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15102
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 2012-08-20 10:16, Yoav Nir wrote:
> Hi
>
> There's been a recent discussion about signaling support for HTTP 2.0 in
> the DNS. I think that is a good way to go about it, but it doesn't cover
> all cases.
>
> I believe there is value in an upgrade mechanism, for example for home
> routers and other devices that use HTTP for configuration long before
> (if ever) they have DNS entries, let alone SRV records.  While such a
> mechanism may also be useful for HTTPS, something like NPN can be used
> as part of the TLS handshake.
>
> So here's my proposal:
>
>  1. When first connecting to a website, the client begins with HTTP 1.0/1.1.
>  2. A server that supports HTTP/2.0 responds with a new header:
>     "HTTP-VERSIONS: 1.1,2.0". This header is included in the server's
>     response to the client's request.

There's already an "Upgrade" header field for that.

>  3. The client uses a new pseudo-method "UPGRADE-TO_VER 2.0
>     HTTP/1.1\r\n\r\n". Everything following is HTTP/2.0. There can be
>     headers there, but I don't see much need for any.

I don't think we need a new mechanism here; we already have "Upgrade" as 
a request header field.

>  4. The client also caches that this server supports HTTP/2.0. Next
>     time, it won't need the upgrade mechanism.

How does the recipient then know that the message is HTTP/2.0?

>  ....

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 01:34:10 2012
Return-Path: <ietf-http-wg-request@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 3443F21F86B0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 01:34:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.525
X-Spam-Level: 
X-Spam-Status: No, score=-10.525 tagged_above=-999 required=5 tests=[AWL=0.073, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LjPIDefKYjR0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 01:34:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7CF4F21F8691 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 01:34:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3NQA-0003JN-Op for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 08:33:14 +0000
Resent-Date: Mon, 20 Aug 2012 08:33:14 +0000
Resent-Message-Id: <E1T3NQA-0003JN-Op@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1T3NPu-0003IY-SD for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 08:32:58 +0000
Received: from ams-iport-3.cisco.com ([144.254.224.146]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1T3NPt-0002if-S3 for ietf-http-wg@w3.org; Mon, 20 Aug 2012 08:32:58 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=lear@cisco.com; l=1852; q=dns/txt; s=iport; t=1345451577; x=1346661177; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to; bh=+LoTdb1od2jTFwa1MKd+IrrlhwXYkloNy+rNKaLJBEU=; b=BsD8dzg8aVkA/a0YThEtpV2ZFzAthJAiMCyPqTOR6SwkbBCz7x/bVshS 5r/55Bmdp6m2fSQ+v/Gaokvxav2Xyx7SQUeGuvU32xr9fbDjjTjBNOSdz 7mHbm0r6o37IswyHXWx11LYseJOsFveX3PSMQQlqXFFTmKszBCWpcI/3v Q=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgAFAHz1MVCQ/khR/2dsb2JhbABFhgG0RoEHghcJAQEBBBIBEARRARALAwEKCgkWCwICCQMCAQIBRQYNAQcBAR6Ha5hhjRiSNZELgRIDlVCOLIFmgmM
X-IronPort-AV: E=Sophos;i="4.77,796,1336348800";  d="scan'208,217";a="7444881"
Received: from ams-core-1.cisco.com ([144.254.72.81]) by ams-iport-3.cisco.com with ESMTP; 20 Aug 2012 08:32:31 +0000
Received: from dhcp-10-55-92-130.cisco.com (dhcp-10-55-92-130.cisco.com [10.55.92.130]) by ams-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id q7K8WUhg010637 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 20 Aug 2012 08:32:30 GMT
Message-ID: <5031F61E.9050905@cisco.com>
Date: Mon, 20 Aug 2012 10:32:30 +0200
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Yoav Nir <ynir@checkpoint.com>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com>
In-Reply-To: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com>
X-Enigmail-Version: 1.4.3
Content-Type: multipart/alternative; boundary="------------080301090700050005050906"
Received-SPF: pass client-ip=144.254.224.146; envelope-from=lear@cisco.com; helo=ams-iport-3.cisco.com
X-W3C-Hub-Spam-Status: No, score=-12.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.173, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: maggie.w3.org 1T3NPt-0002if-S3 2e1b32f6f4069ff8ef44585d11fe75ec
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/5031F61E.9050905@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15103
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>

This is a multi-part message in MIME format.
--------------080301090700050005050906
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit


On 8/20/12 10:16 AM, Yoav Nir wrote:
> Hi
>
> There's been a recent discussion about signaling support for HTTP 2.0
> in the DNS. I think that is a good way to go about it, but it doesn't
> cover all cases.
>
> I believe there is value in an upgrade mechanism, for example for home
> routers and other devices that use HTTP for configuration long before
> (if ever) they have DNS entries, let alone SRV records.

What about using bonjour / mdns / etc?

Eliot

--------------080301090700050005050906
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 8/20/12 10:16 AM, Yoav Nir wrote:<br>
    </div>
    <blockquote
      cite="mid:514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      Hi
      <div><br>
      </div>
      <div>There's been a recent discussion about signaling support for
        HTTP 2.0 in the DNS. I think that is a good way to go about it,
        but it doesn't cover all cases.</div>
      <div><br>
      </div>
      <div>I believe there is value in an upgrade mechanism, for example
        for home routers and other devices that use HTTP for
        configuration long before (if ever) they have DNS entries, let
        alone SRV records. </div>
    </blockquote>
    <br>
    What about using bonjour / mdns / etc?<br>
    <br>
    Eliot<br>
  </body>
</html>

--------------080301090700050005050906--


From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 01:51:49 2012
Return-Path: <ietf-http-wg-request@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 7FB8D21F8683 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 01:51:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.851
X-Spam-Level: 
X-Spam-Status: No, score=-9.851 tagged_above=-999 required=5 tests=[AWL=0.748, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1Z7fFcM6gP7e for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 01:51:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 33BDE21F8680 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 01:51:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3Nh8-0006nO-6R for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 08:50:46 +0000
Resent-Date: Mon, 20 Aug 2012 08:50:46 +0000
Resent-Message-Id: <E1T3Nh8-0006nO-6R@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1T3Ngr-0006ln-J6 for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 08:50:29 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1T3Ngq-0003G7-H9 for ietf-http-wg@w3.org; Mon, 20 Aug 2012 08:50:29 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q7K8nrfu011879; Mon, 20 Aug 2012 10:49:53 +0200
Date: Mon, 20 Aug 2012 10:49:53 +0200
From: Willy Tarreau <w@1wt.eu>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Yoav Nir <ynir@checkpoint.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20120820084953.GB11752@1wt.eu>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5031F48A.2050608@gmx.de>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=3.3
X-W3C-Hub-Spam-Report: BAYES_99=3.5, RP_MATCHES_RCVD=-0.173, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T3Ngq-0003G7-H9 65beb8596382faa71d4b842d5623d162
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/20120820084953.GB11752@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15104
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 Mon, Aug 20, 2012 at 10:25:46AM +0200, Julian Reschke wrote:
> On 2012-08-20 10:16, Yoav Nir wrote:
> >Hi
> >
> >There's been a recent discussion about signaling support for HTTP 2.0 in
> >the DNS. I think that is a good way to go about it, but it doesn't cover
> >all cases.
> >
> >I believe there is value in an upgrade mechanism, for example for home
> >routers and other devices that use HTTP for configuration long before
> >(if ever) they have DNS entries, let alone SRV records.  While such a
> >mechanism may also be useful for HTTPS, something like NPN can be used
> >as part of the TLS handshake.
> >
> >So here's my proposal:
> >
> > 1. When first connecting to a website, the client begins with HTTP 
> > 1.0/1.1.
> > 2. A server that supports HTTP/2.0 responds with a new header:
> >    "HTTP-VERSIONS: 1.1,2.0". This header is included in the server's
> >    response to the client's request.
> 
> There's already an "Upgrade" header field for that.

+1.

All this work has been done over and over for WebSocket, I don't see
why we need to reinvent the wheel.

Upgrade was designed *exactly* for that purpose and fits it very well.
Moreover it is the only one (along with NPN) which considers the
intermediary chain, while side-band mechanisms (such as DNS) cannot
take that into account.

Best regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 01:51:49 2012
Return-Path: <ietf-http-wg-request@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 17CE021F8682 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 01:51:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.423
X-Spam-Level: 
X-Spam-Status: No, score=-10.423 tagged_above=-999 required=5 tests=[AWL=0.176, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mtbl0FGQrlzl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 01:51:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C9DAC21F8672 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 01:51:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3NhJ-0006o0-5K for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 08:50:57 +0000
Resent-Date: Mon, 20 Aug 2012 08:50:57 +0000
Resent-Message-Id: <E1T3NhJ-0006o0-5K@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1T3Nh5-0006mz-J8 for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 08:50:43 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1T3Nh1-0003GS-SH for ietf-http-wg@w3.org; Mon, 20 Aug 2012 08:50:43 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q7K8oA5N022837; Mon, 20 Aug 2012 11:50:10 +0300
X-CheckPoint: {5031F6C7-2-1B221DC2-4FFFF}
Received: from il-ex03.ad.checkpoint.com (194.29.34.71) by il-ex01.ad.checkpoint.com (194.29.34.26) with Microsoft SMTP Server (TLS) id 8.3.213.0; Mon, 20 Aug 2012 11:50:09 +0300
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex03.ad.checkpoint.com ([194.29.34.71]) with mapi; Mon, 20 Aug 2012 11:50:04 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Julian Reschke <julian.reschke@gmx.de>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Mon, 20 Aug 2012 11:50:18 +0300
Thread-Topic: HTTP 1.1 --> 2.0 Upgrade
Thread-Index: Ac1+sMnTeRi6jiFuQzyWeXYV7fNT6Q==
Message-ID: <4623CB2E-7E5B-47BD-BE58-9AEAA2211940@checkpoint.com>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de>
In-Reply-To: <5031F48A.2050608@gmx.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
x-cpdlp: 11aa42c46d61db16aa75cbd356772a0c1afa5e2d0b
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-KSE-AntiSpam-Interceptor-Info: protection disabled
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-2.2
X-W3C-Hub-Spam-Report: BAYES_95=3, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.173, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T3Nh1-0003GS-SH bf4d9285fccd74104894e59a1e4fb129
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/4623CB2E-7E5B-47BD-BE58-9AEAA2211940@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15105
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 Aug 20, 2012, at 11:25 AM, Julian Reschke wrote:

> On 2012-08-20 10:16, Yoav Nir wrote:
>> Hi
>>=20
>> There's been a recent discussion about signaling support for HTTP 2.0 in
>> the DNS. I think that is a good way to go about it, but it doesn't cover
>> all cases.
>>=20
>> I believe there is value in an upgrade mechanism, for example for home
>> routers and other devices that use HTTP for configuration long before
>> (if ever) they have DNS entries, let alone SRV records.  While such a
>> mechanism may also be useful for HTTPS, something like NPN can be used
>> as part of the TLS handshake.
>>=20
>> So here's my proposal:
>>=20
>> 1. When first connecting to a website, the client begins with HTTP 1.0/1=
.1.
>> 2. A server that supports HTTP/2.0 responds with a new header:
>>    "HTTP-VERSIONS: 1.1,2.0". This header is included in the server's
>>    response to the client's request.
>=20
> There's already an "Upgrade" header field for that.

I was going to say that "Upgrade" is so rarely used, there may be buggy imp=
lementations out there that will balk at seeing this. But since websockets =
uses the upgrade mechanism, I guess that problem is solved by now.

>> 3. The client uses a new pseudo-method "UPGRADE-TO_VER 2.0
>>    HTTP/1.1\r\n\r\n". Everything following is HTTP/2.0. There can be
>>    headers there, but I don't see much need for any.
>=20
> I don't think we need a new mechanism here; we already have "Upgrade" as=
=20
> a request header field.

Agree.=20

>> 4. The client also caches that this server supports HTTP/2.0. Next
>>    time, it won't need the upgrade mechanism.
>=20
> How does the recipient then know that the message is HTTP/2.0?

Remains to be seen what HTTP/2.0 will actually look like, but SPDY-00 is ve=
ry easily distinguishable from HTTP/1.x. Connections start with control fra=
mes, and control frames have the high bit on the first octet set. HTTP/1.1 =
requests tend to have ASCII characters at the start. I think a heuristic ap=
proach to telling HTTP/1.x from HTTP/2.x is good enough for the servers.

Yoav



From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 01:56:13 2012
Return-Path: <ietf-http-wg-request@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 4140E21F8694 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 01:56:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.425
X-Spam-Level: 
X-Spam-Status: No, score=-10.425 tagged_above=-999 required=5 tests=[AWL=0.173, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S3UIesBU+-ia for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 01:56:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C070921F8691 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 01:56:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3Nlp-0000ac-4G for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 08:55:37 +0000
Resent-Date: Mon, 20 Aug 2012 08:55:37 +0000
Resent-Message-Id: <E1T3Nlp-0000ac-4G@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1T3Nla-0000ZQ-MM for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 08:55:22 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1T3NlZ-0001nx-BU for ietf-http-wg@w3.org; Mon, 20 Aug 2012 08:55:22 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q7K8spbV023742; Mon, 20 Aug 2012 11:54:51 +0300
X-CheckPoint: {5031F7E0-1-1B221DC2-4FFFF}
Received: from il-ex03.ad.checkpoint.com (194.29.34.71) by il-ex01.ad.checkpoint.com (194.29.34.26) with Microsoft SMTP Server (TLS) id 8.3.213.0; Mon, 20 Aug 2012 11:54:51 +0300
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex03.ad.checkpoint.com ([194.29.34.71]) with mapi; Mon, 20 Aug 2012 11:54:51 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Eliot Lear <lear@cisco.com>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Mon, 20 Aug 2012 11:55:05 +0300
Thread-Topic: HTTP 1.1 --> 2.0 Upgrade
Thread-Index: Ac1+sXS4rK2gKZOLTnii2MY5axUPmg==
Message-ID: <99AF5E85-7A8E-4226-A078-69578AB0A4A3@checkpoint.com>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F61E.9050905@cisco.com>
In-Reply-To: <5031F61E.9050905@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
x-cpdlp: 11b20c1444b1c458c2081e782afb0fbbe937c2b9c9
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-KSE-AntiSpam-Interceptor-Info: protection disabled
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-1.7
X-W3C-Hub-Spam-Report: BAYES_99=3.5, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.173, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T3NlZ-0001nx-BU 5b57aea9f359c1e5b87c793fd684c2fb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/99AF5E85-7A8E-4226-A078-69578AB0A4A3@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15106
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 Aug 20, 2012, at 11:32 AM, Eliot Lear wrote:

>=20
> On 8/20/12 10:16 AM, Yoav Nir wrote:
>> Hi
>>=20
>> There's been a recent discussion about signaling support for HTTP 2.0 in=
 the DNS. I think that is a good way to go about it, but it doesn't cover a=
ll cases.
>>=20
>> I believe there is value in an upgrade mechanism, for example for home r=
outers and other devices that use HTTP for configuration long before (if ev=
er) they have DNS entries, let alone SRV records.
>=20
> What about using bonjour / mdns / etc?

Like DNS SRV records, it's great when it works, but both are often filtered=
 (or not implemented)



From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 02:00:38 2012
Return-Path: <ietf-http-wg-request@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 1699D21F869E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 02:00:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.859
X-Spam-Level: 
X-Spam-Status: No, score=-9.859 tagged_above=-999 required=5 tests=[AWL=0.740, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cK3PYR2++798 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 02:00:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8A29D21F843A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 02:00:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3NqA-0003d4-29 for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 09:00:06 +0000
Resent-Date: Mon, 20 Aug 2012 09:00:06 +0000
Resent-Message-Id: <E1T3NqA-0003d4-29@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1T3Npw-00010p-FG for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 08:59:52 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1T3Npv-0001x3-7R for ietf-http-wg@w3.org; Mon, 20 Aug 2012 08:59:52 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q7K8xHqh011922; Mon, 20 Aug 2012 10:59:17 +0200
Date: Mon, 20 Aug 2012 10:59:17 +0200
From: Willy Tarreau <w@1wt.eu>
To: Yoav Nir <ynir@checkpoint.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20120820085917.GC11752@1wt.eu>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <4623CB2E-7E5B-47BD-BE58-9AEAA2211940@checkpoint.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4623CB2E-7E5B-47BD-BE58-9AEAA2211940@checkpoint.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=3.3
X-W3C-Hub-Spam-Report: BAYES_99=3.5, RP_MATCHES_RCVD=-0.173, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T3Npv-0001x3-7R 44f22fe44bb849b383fb5f589d539127
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/20120820085917.GC11752@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15107
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 Mon, Aug 20, 2012 at 11:50:18AM +0300, Yoav Nir wrote:
> >> 4. The client also caches that this server supports HTTP/2.0. Next
> >>    time, it won't need the upgrade mechanism.
> > 
> > How does the recipient then know that the message is HTTP/2.0?
> 
> Remains to be seen what HTTP/2.0 will actually look like, but SPDY-00 is very
> easily distinguishable from HTTP/1.x. Connections start with control frames,
> and control frames have the high bit on the first octet set. HTTP/1.1
> requests tend to have ASCII characters at the start. I think a heuristic
> approach to telling HTTP/1.x from HTTP/2.x is good enough for the servers.

In fact those arguments were made for WebSocket too, and this went into a
one-year long dabate with examples of how dumb intermediaries could be fooled
etc... In theory I agree with you on the point above, but in practice we want
to avoid annoying corner cases and more specifically we want to avoid wasting
another year like we did when designing the HTTP/1.1->WS handshake :-)

Cheers,
Willy



From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 02:03:46 2012
Return-Path: <ietf-http-wg-request@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 A3D8321F86B3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 02:03:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.567
X-Spam-Level: 
X-Spam-Status: No, score=-9.567 tagged_above=-999 required=5 tests=[AWL=0.432, BAYES_00=-2.599, J_CHICKENPOX_24=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rVATWVbc0HPD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 02:03:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 28A2221F8681 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 02:03:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3NtG-0004Mu-L1 for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 09:03:18 +0000
Resent-Date: Mon, 20 Aug 2012 09:03:18 +0000
Resent-Message-Id: <E1T3NtG-0004Mu-L1@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1T3Nt3-0004Ls-40 for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 09:03:05 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1T3Nt2-00024E-12 for ietf-http-wg@w3.org; Mon, 20 Aug 2012 09:03:05 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q7K92Xev011937; Mon, 20 Aug 2012 11:02:33 +0200
Date: Mon, 20 Aug 2012 11:02:33 +0200
From: Willy Tarreau <w@1wt.eu>
To: Yoav Nir <ynir@checkpoint.com>
Cc: Eliot Lear <lear@cisco.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20120820090233.GD11752@1wt.eu>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F61E.9050905@cisco.com> <99AF5E85-7A8E-4226-A078-69578AB0A4A3@checkpoint.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <99AF5E85-7A8E-4226-A078-69578AB0A4A3@checkpoint.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=3.3
X-W3C-Hub-Spam-Report: BAYES_99=3.5, RP_MATCHES_RCVD=-0.173, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T3Nt2-00024E-12 3e883947ce7e83d400ded71e95565415
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/20120820090233.GD11752@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15108
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 Mon, Aug 20, 2012 at 11:55:05AM +0300, Yoav Nir wrote:
> 
> On Aug 20, 2012, at 11:32 AM, Eliot Lear wrote:
> 
> > 
> > On 8/20/12 10:16 AM, Yoav Nir wrote:
> >> Hi
> >> 
> >> There's been a recent discussion about signaling support for HTTP 2.0 in the DNS. I think that is a good way to go about it, but it doesn't cover all cases.
> >> 
> >> I believe there is value in an upgrade mechanism, for example for home routers and other devices that use HTTP for configuration long before (if ever) they have DNS entries, let alone SRV records.
> > 
> > What about using bonjour / mdns / etc?
> 
> Like DNS SRV records, it's great when it works, but both are often filtered (or not implemented)

Or not applicable. Think about how many web developers connect to
$IP:$PORT during their development phase and have tens of available
ip:port combinations to test various software versions/variants
without any DNS being aware of them.

We must never forget that what made HTTP succeed is also the fact that
it's self-contained, does not require additional side-band protocols,
works end-to-end over a single connection and is 100% NAT-friendly by
not storing any IP-related information anywhere.

Willy



From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 02:03:51 2012
Return-Path: <ietf-http-wg-request@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 2AFEE21F86B3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 02:03:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.428
X-Spam-Level: 
X-Spam-Status: No, score=-10.428 tagged_above=-999 required=5 tests=[AWL=0.171, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id esMchqLLFWXZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 02:03:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9A4CA21F8681 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 02:03:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3NtT-0004O3-2K for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 09:03:31 +0000
Resent-Date: Mon, 20 Aug 2012 09:03:31 +0000
Resent-Message-Id: <E1T3NtT-0004O3-2K@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1T3NtF-0004MV-Jx for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 09:03:17 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1T3Nt8-0003e1-LB for ietf-http-wg@w3.org; Mon, 20 Aug 2012 09:03:17 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q7K92HwW025334; Mon, 20 Aug 2012 12:02:17 +0300
X-CheckPoint: {5031F99E-3-1B221DC2-4FFFF}
Received: from il-ex03.ad.checkpoint.com (194.29.34.71) by il-ex01.ad.checkpoint.com (194.29.34.26) with Microsoft SMTP Server (TLS) id 8.3.213.0; Mon, 20 Aug 2012 12:02:17 +0300
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex03.ad.checkpoint.com ([194.29.34.71]) with mapi; Mon, 20 Aug 2012 12:02:17 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Willy Tarreau <w@1wt.eu>
CC: Julian Reschke <julian.reschke@gmx.de>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Mon, 20 Aug 2012 12:02:31 +0300
Thread-Topic: HTTP 1.1 --> 2.0 Upgrade
Thread-Index: Ac1+sn7xXjweOLkdS02QWkMaHT/knw==
Message-ID: <D91E85F9-1A28-4946-8239-41EEA9B99701@checkpoint.com>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <20120820084953.GB11752@1wt.eu>
In-Reply-To: <20120820084953.GB11752@1wt.eu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
x-cpdlp: 11e35e3eec279aabda16ec820cab89f0e1572b1e6f
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-KSE-AntiSpam-Interceptor-Info: protection disabled
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: BAYES_80=2, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.173, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T3Nt8-0003e1-LB 76edfc16f28c792bb62a36856c4da6fb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/D91E85F9-1A28-4946-8239-41EEA9B99701@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15109
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 Aug 20, 2012, at 11:49 AM, Willy Tarreau wrote:

> On Mon, Aug 20, 2012 at 10:25:46AM +0200, Julian Reschke wrote:
>> On 2012-08-20 10:16, Yoav Nir wrote:
>>> Hi
>>>=20
>>> There's been a recent discussion about signaling support for HTTP 2.0 i=
n
>>> the DNS. I think that is a good way to go about it, but it doesn't cove=
r
>>> all cases.
>>>=20
>>> I believe there is value in an upgrade mechanism, for example for home
>>> routers and other devices that use HTTP for configuration long before
>>> (if ever) they have DNS entries, let alone SRV records.  While such a
>>> mechanism may also be useful for HTTPS, something like NPN can be used
>>> as part of the TLS handshake.
>>>=20
>>> So here's my proposal:
>>>=20
>>> 1. When first connecting to a website, the client begins with HTTP=20
>>> 1.0/1.1.
>>> 2. A server that supports HTTP/2.0 responds with a new header:
>>>   "HTTP-VERSIONS: 1.1,2.0". This header is included in the server's
>>>   response to the client's request.
>>=20
>> There's already an "Upgrade" header field for that.
>=20
> +1.
>=20
> All this work has been done over and over for WebSocket, I don't see
> why we need to reinvent the wheel.

Agree. I forgot that WebSocket uses Upgrade

> Upgrade was designed *exactly* for that purpose and fits it very well.
> Moreover it is the only one (along with NPN) which considers the
> intermediary chain, while side-band mechanisms (such as DNS) cannot
> take that into account.

Intermediaries generally leave unknown headers alone, so they will have to =
be upgraded to either identify (and remove) attempts to upgrade to 2.0, or =
else to support 2.0. It's possible that this work (by intermediaries) has a=
lready been done because of WebSockets, though.

NPN is different, because TLS proxies generally don't just pass along exten=
sions they don't know about, so blocking the NPN extension effectively disa=
bles SPDY.

Yoav




From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 02:37:16 2012
Return-Path: <ietf-http-wg-request@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 C429221F86F9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 02:37:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.969
X-Spam-Level: 
X-Spam-Status: No, score=-8.969 tagged_above=-999 required=5 tests=[AWL=1.630, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BR0rspQO+kUX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 02:37:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BA61321F86F7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 02:37:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3OOz-0003KS-SW for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 09:36:05 +0000
Resent-Date: Mon, 20 Aug 2012 09:36:05 +0000
Resent-Message-Id: <E1T3OOz-0003KS-SW@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T3OOl-0003Jd-UV for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 09:35:51 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T3OOk-00034r-Qj for ietf-http-wg@w3.org; Mon, 20 Aug 2012 09:35:51 +0000
Received: by obqv19 with SMTP id v19so9876886obq.2 for <ietf-http-wg@w3.org>; Mon, 20 Aug 2012 02:35:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=D7ucBIaQ6f+FPS3oAkPE6DNCN62WHQ02ZjGklRIWFqQ=; b=tyus7j4wUoyzmKSwFyYu3X/eW3eIGVjjeIizdlFNzK7jVLN651fdVKPA0QRemOwzle MLSW9NTX6DfyqKOi/cNCUuKKn1hjXztPe4k7oUW7pmH6A0Q0OcCs11nLXCJM/jt7ZtiJ 6UszYD2rxdYJFdx/QR6MEJwDBtLy5xqGBUmXC+FsKKvVcH2WTDC/XL5cGYjXf4RyT8zG XMk0K7IBRl2Yxv4wtQwdAoSOnCMG5JElsLJpx8PiCneZOMkgLZso2uNJdoQ+iTARxtyJ q3hB0/ScQSGHHzF+P0GLZRlrox6fsAhgNWj+ooSktrmecgHWqrZ8btjhGkdNBRnj8vET jE0w==
MIME-Version: 1.0
Received: by 10.60.172.236 with SMTP id bf12mr9844156oec.23.1345455324918; Mon, 20 Aug 2012 02:35:24 -0700 (PDT)
Received: by 10.76.80.10 with HTTP; Mon, 20 Aug 2012 02:35:24 -0700 (PDT)
In-Reply-To: <20120820084953.GB11752@1wt.eu>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <20120820084953.GB11752@1wt.eu>
Date: Mon, 20 Aug 2012 05:35:24 -0400
Message-ID: <CAMm+LwgGqDV0hEAjQGAi8kwCxRyFy4bH-wYbAKgFXdacxGSg-A@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Julian Reschke <julian.reschke@gmx.de>, Yoav Nir <ynir@checkpoint.com>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T3OOk-00034r-Qj 59b998ce46c21c9c2f1a47fd0c6a95c3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/CAMm+LwgGqDV0hEAjQGAi8kwCxRyFy4bH-wYbAKgFXdacxGSg-A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15110
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>

I think we need a lot more explanation of what this intermediary chain
is and which side of the wall it lies.

Configuration of server side proxies such as squid has zero impact on
this issue. Server installations that support HTTP/2.0 will be
appropriately configured.

Are client side proxies really more than a corner case issue today?
When we first developed them the whole of CERN was sitting on a T1 and
caching was a critical concern. Only a small percentage of the HTML on
the Web is even cachable.

Content Delivery Networks have caching but they work in a very
different way to HTTP caching.


I am pretty skeptical as to the value of firewall proxies when most
let port 443 through.



On Mon, Aug 20, 2012 at 4:49 AM, Willy Tarreau <w@1wt.eu> wrote:
> On Mon, Aug 20, 2012 at 10:25:46AM +0200, Julian Reschke wrote:
>> On 2012-08-20 10:16, Yoav Nir wrote:
>> >Hi
>> >
>> >There's been a recent discussion about signaling support for HTTP 2.0 in
>> >the DNS. I think that is a good way to go about it, but it doesn't cover
>> >all cases.
>> >
>> >I believe there is value in an upgrade mechanism, for example for home
>> >routers and other devices that use HTTP for configuration long before
>> >(if ever) they have DNS entries, let alone SRV records.  While such a
>> >mechanism may also be useful for HTTPS, something like NPN can be used
>> >as part of the TLS handshake.
>> >
>> >So here's my proposal:
>> >
>> > 1. When first connecting to a website, the client begins with HTTP
>> > 1.0/1.1.
>> > 2. A server that supports HTTP/2.0 responds with a new header:
>> >    "HTTP-VERSIONS: 1.1,2.0". This header is included in the server's
>> >    response to the client's request.
>>
>> There's already an "Upgrade" header field for that.
>
> +1.
>
> All this work has been done over and over for WebSocket, I don't see
> why we need to reinvent the wheel.
>
> Upgrade was designed *exactly* for that purpose and fits it very well.
> Moreover it is the only one (along with NPN) which considers the
> intermediary chain, while side-band mechanisms (such as DNS) cannot
> take that into account.
>
> Best regards,
> Willy
>
>



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 03:25:27 2012
Return-Path: <ietf-http-wg-request@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 35C0F21F865C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 03:25:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.544
X-Spam-Level: 
X-Spam-Status: No, score=-10.544 tagged_above=-999 required=5 tests=[AWL=0.054, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jrgokNcANVJy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 03:25:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F004B21F8646 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 03:25:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3P9c-0004oV-Mu for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 10:24:16 +0000
Resent-Date: Mon, 20 Aug 2012 10:24:16 +0000
Resent-Message-Id: <E1T3P9c-0004oV-Mu@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1T3P9N-0004jV-OK for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 10:24:01 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1T3P9L-0004UU-AA for ietf-http-wg@w3.org; Mon, 20 Aug 2012 10:24:01 +0000
Received: by wgbdq12 with SMTP id dq12so5003979wgb.26 for <ietf-http-wg@w3.org>; Mon, 20 Aug 2012 03:23:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WZe9RaX/berYNxpQOrlhVLWnLT+1XSXzLzwVVS3/Brg=; b=Aw1sPYFZ35WGHCUJt1Dco6vCvdRKHct3jr7g2uuD6SBvvZ0Pdx5WSICDRt6xtRs4SV mHjclpRoIhofUu5sCNPKulpriC1JoBbbnXDc1m2XL6QgDzUO+S3Z6b/m1G3/vZb6kvlA KkC4YUg32MlfgPmGcx2IXDek3Toz1+wLVtc+D9CieI39kvwqLrO2KQh/CAvIWc/svJgF 4EsFGdN5McvRYBLqd06tbzjXswGT1mLoVb1GPiD1sT76QsEpsM1taVO1f62lDkQ1OMB1 TI9o+0S2m15Hnj50cgtF8OvQjDEDVcHcoRJXfMfwTZIZkJdMs3XdNbpEYs6wjqx9sq9k wM2Q==
MIME-Version: 1.0
Received: by 10.180.105.163 with SMTP id gn3mr27820353wib.2.1345458212935; Mon, 20 Aug 2012 03:23:32 -0700 (PDT)
Received: by 10.194.26.138 with HTTP; Mon, 20 Aug 2012 03:23:32 -0700 (PDT)
In-Reply-To: <CAMm+LwgGqDV0hEAjQGAi8kwCxRyFy4bH-wYbAKgFXdacxGSg-A@mail.gmail.com>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <20120820084953.GB11752@1wt.eu> <CAMm+LwgGqDV0hEAjQGAi8kwCxRyFy4bH-wYbAKgFXdacxGSg-A@mail.gmail.com>
Date: Mon, 20 Aug 2012 03:23:32 -0700
Message-ID: <CAP+FsNd1ofBnkYXa6G4kxVy5ryxQ1n_Kr3JakXVz2o9w1U3eUQ@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: Willy Tarreau <w@1wt.eu>, Julian Reschke <julian.reschke@gmx.de>, Yoav Nir <ynir@checkpoint.com>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d04428466d7964804c7afe670
Received-SPF: pass client-ip=74.125.82.45; envelope-from=grmocg@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T3P9L-0004UU-AA 8f6fd7770f41d17a4b1ac4dc0df33447
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/CAP+FsNd1ofBnkYXa6G4kxVy5ryxQ1n_Kr3JakXVz2o9w1U3eUQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15111
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>

--f46d04428466d7964804c7afe670
Content-Type: text/plain; charset=ISO-8859-1

For port 80:
What WebSockets has done on port 80 with upgrade seems basically fine. The
part that is unfortunate is that it requires about as much time as doing
the TLS handshake (an additional round-trip).
Having the data in DNS could short-circuit this, but shouldn't be a
dependency.

I still do like the idea of "alternate-protocol", which is extremely poorly
described in the SPDY spec. The idea of alternate-protocol was that the
server adds the header detailing the protocol, port, and negotiation
mechanism. The client, if it understands it, may attempt in parallel one of
the alternate protocols. This allows a switch of protocol and port, and a
possible upgrade (no guarantee, given that HTTP offers plaintext and is
100% completely insecure) to using TLS for HTTP schemes, assuming both
client and server agree to do it. This is separate from an upgrade,
however, in that the new protocol is spoken over a new connection which is
used only after it is established (with the previous connection remaining
in use until supplanted), and thus the transfer of resources is not blocked
by application-layer handshakes at any point in time.

For other-than-port-80:
I prefer something NPN-like, hopefully where the protocol being negotiated
is not exposed (that will be a matter for the TLS WG), is my favorite
w.r.t. :443, as one might guess. The reason, however, is that when someone
decides to do HTTP/3 or something else, I'd like to have left the ground
fertile and helped to prevent the ossification of the web.
In other words, design with the idea that we won't solve the entire suite
of problems on this go-round.

-=R

On Mon, Aug 20, 2012 at 2:35 AM, Phillip Hallam-Baker <hallam@gmail.com>wrote:

> I think we need a lot more explanation of what this intermediary chain
> is and which side of the wall it lies.
>
> Configuration of server side proxies such as squid has zero impact on
> this issue. Server installations that support HTTP/2.0 will be
> appropriately configured.
>
> Are client side proxies really more than a corner case issue today?
> When we first developed them the whole of CERN was sitting on a T1 and
> caching was a critical concern. Only a small percentage of the HTML on
> the Web is even cachable.
>
> Content Delivery Networks have caching but they work in a very
> different way to HTTP caching.
>
>
> I am pretty skeptical as to the value of firewall proxies when most
> let port 443 through.
>
>
>
> On Mon, Aug 20, 2012 at 4:49 AM, Willy Tarreau <w@1wt.eu> wrote:
> > On Mon, Aug 20, 2012 at 10:25:46AM +0200, Julian Reschke wrote:
> >> On 2012-08-20 10:16, Yoav Nir wrote:
> >> >Hi
> >> >
> >> >There's been a recent discussion about signaling support for HTTP 2.0
> in
> >> >the DNS. I think that is a good way to go about it, but it doesn't
> cover
> >> >all cases.
> >> >
> >> >I believe there is value in an upgrade mechanism, for example for home
> >> >routers and other devices that use HTTP for configuration long before
> >> >(if ever) they have DNS entries, let alone SRV records.  While such a
> >> >mechanism may also be useful for HTTPS, something like NPN can be used
> >> >as part of the TLS handshake.
> >> >
> >> >So here's my proposal:
> >> >
> >> > 1. When first connecting to a website, the client begins with HTTP
> >> > 1.0/1.1.
> >> > 2. A server that supports HTTP/2.0 responds with a new header:
> >> >    "HTTP-VERSIONS: 1.1,2.0". This header is included in the server's
> >> >    response to the client's request.
> >>
> >> There's already an "Upgrade" header field for that.
> >
> > +1.
> >
> > All this work has been done over and over for WebSocket, I don't see
> > why we need to reinvent the wheel.
> >
> > Upgrade was designed *exactly* for that purpose and fits it very well.
> > Moreover it is the only one (along with NPN) which considers the
> > intermediary chain, while side-band mechanisms (such as DNS) cannot
> > take that into account.
> >
> > Best regards,
> > Willy
> >
> >
>
>
>
> --
> Website: http://hallambaker.com/
>
>

--f46d04428466d7964804c7afe670
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

For port 80:<div>What WebSockets has done on port 80 with upgrade seems bas=
ically fine. The part that is unfortunate is that it requires about as much=
 time as doing the TLS handshake (an additional round-trip).<div><div>Havin=
g the data in DNS could short-circuit this, but shouldn&#39;t be a dependen=
cy.</div>
<div><br></div><div>I still do like the idea of &quot;alternate-protocol&qu=
ot;, which is extremely poorly described in the SPDY spec. The idea of alte=
rnate-protocol was that the server adds the header detailing the protocol, =
port, and negotiation mechanism. The client, if it understands it, may atte=
mpt in parallel one of the alternate protocols. This allows a switch of pro=
tocol and port, and a possible upgrade (no guarantee, given that HTTP offer=
s plaintext and is 100% completely insecure) to using TLS for HTTP schemes,=
 assuming both client and server agree to do it. This is separate from an u=
pgrade, however, in that the new protocol is spoken over a new connection w=
hich is used only after it is established (with the previous connection rem=
aining in use until supplanted), and thus the transfer of resources is not =
blocked by application-layer handshakes at any point in time.</div>
<div><br></div><div>For other-than-port-80:</div><div>I prefer something NP=
N-like, hopefully where the protocol being negotiated is not exposed (that =
will be a matter for the TLS WG), is my favorite w.r.t. :443, as one might =
guess. The reason, however, is that when someone decides to do HTTP/3 or so=
mething else, I&#39;d like to have left the ground fertile and helped to pr=
event the ossification of the web.</div>
<div>In other words, design with the idea that we won&#39;t solve the entir=
e suite of problems on this go-round.</div><div><br></div><div>-=3DR</div><=
div><br><div class=3D"gmail_quote">On Mon, Aug 20, 2012 at 2:35 AM, Phillip=
 Hallam-Baker <span dir=3D"ltr">&lt;<a href=3D"mailto:hallam@gmail.com" tar=
get=3D"_blank">hallam@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">I think we need a lot more explanation of wh=
at this intermediary chain<br>
is and which side of the wall it lies.<br>
<br>
Configuration of server side proxies such as squid has zero impact on<br>
this issue. Server installations that support HTTP/2.0 will be<br>
appropriately configured.<br>
<br>
Are client side proxies really more than a corner case issue today?<br>
When we first developed them the whole of CERN was sitting on a T1 and<br>
caching was a critical concern. Only a small percentage of the HTML on<br>
the Web is even cachable.<br>
<br>
Content Delivery Networks have caching but they work in a very<br>
different way to HTTP caching.<br>
<br>
<br>
I am pretty skeptical as to the value of firewall proxies when most<br>
let port 443 through.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
<br>
On Mon, Aug 20, 2012 at 4:49 AM, Willy Tarreau &lt;<a href=3D"mailto:w@1wt.=
eu">w@1wt.eu</a>&gt; wrote:<br>
&gt; On Mon, Aug 20, 2012 at 10:25:46AM +0200, Julian Reschke wrote:<br>
&gt;&gt; On 2012-08-20 10:16, Yoav Nir wrote:<br>
&gt;&gt; &gt;Hi<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;There&#39;s been a recent discussion about signaling support f=
or HTTP 2.0 in<br>
&gt;&gt; &gt;the DNS. I think that is a good way to go about it, but it doe=
sn&#39;t cover<br>
&gt;&gt; &gt;all cases.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;I believe there is value in an upgrade mechanism, for example =
for home<br>
&gt;&gt; &gt;routers and other devices that use HTTP for configuration long=
 before<br>
&gt;&gt; &gt;(if ever) they have DNS entries, let alone SRV records. =A0Whi=
le such a<br>
&gt;&gt; &gt;mechanism may also be useful for HTTPS, something like NPN can=
 be used<br>
&gt;&gt; &gt;as part of the TLS handshake.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;So here&#39;s my proposal:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 1. When first connecting to a website, the client begins with=
 HTTP<br>
&gt;&gt; &gt; 1.0/1.1.<br>
&gt;&gt; &gt; 2. A server that supports HTTP/2.0 responds with a new header=
:<br>
&gt;&gt; &gt; =A0 =A0&quot;HTTP-VERSIONS: 1.1,2.0&quot;. This header is inc=
luded in the server&#39;s<br>
&gt;&gt; &gt; =A0 =A0response to the client&#39;s request.<br>
&gt;&gt;<br>
&gt;&gt; There&#39;s already an &quot;Upgrade&quot; header field for that.<=
br>
&gt;<br>
&gt; +1.<br>
&gt;<br>
&gt; All this work has been done over and over for WebSocket, I don&#39;t s=
ee<br>
&gt; why we need to reinvent the wheel.<br>
&gt;<br>
&gt; Upgrade was designed *exactly* for that purpose and fits it very well.=
<br>
&gt; Moreover it is the only one (along with NPN) which considers the<br>
&gt; intermediary chain, while side-band mechanisms (such as DNS) cannot<br=
>
&gt; take that into account.<br>
&gt;<br>
&gt; Best regards,<br>
&gt; Willy<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><span class=3D"HOEnZb"><font color=3D"#888888">--<br>
Website: <a href=3D"http://hallambaker.com/" target=3D"_blank">http://halla=
mbaker.com/</a><br>
<br>
</font></span></blockquote></div><br></div></div></div>

--f46d04428466d7964804c7afe670--


From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 03:28:43 2012
Return-Path: <ietf-http-wg-request@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 6D1AA21F86EB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 03:28:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.43
X-Spam-Level: 
X-Spam-Status: No, score=-10.43 tagged_above=-999 required=5 tests=[AWL=0.169, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L8DEWjZElBkl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 03:28:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C576721F869E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 03:28:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3PDL-0006K7-39 for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 10:28:07 +0000
Resent-Date: Mon, 20 Aug 2012 10:28:07 +0000
Resent-Message-Id: <E1T3PDL-0006K7-39@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1T3PD7-0006Gw-JJ for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 10:27:53 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1T3PD6-00064H-1t for ietf-http-wg@w3.org; Mon, 20 Aug 2012 10:27:53 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q7KAR077009902; Mon, 20 Aug 2012 13:27:00 +0300
X-CheckPoint: {50320D78-1-1B221DC2-4FFFF}
Received: from il-ex03.ad.checkpoint.com (194.29.34.71) by il-ex01.ad.checkpoint.com (194.29.34.26) with Microsoft SMTP Server (TLS) id 8.3.213.0; Mon, 20 Aug 2012 13:26:59 +0300
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex03.ad.checkpoint.com ([194.29.34.71]) with mapi; Mon, 20 Aug 2012 13:26:58 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
CC: Willy Tarreau <w@1wt.eu>, Julian Reschke <julian.reschke@gmx.de>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Mon, 20 Aug 2012 13:27:12 +0300
Thread-Topic: HTTP 1.1 --> 2.0 Upgrade
Thread-Index: Ac1+vlNLoEhwC+sUQwGXEcC8+4SfLw==
Message-ID: <D65B2694-CEC0-41EF-9675-672F539FAC12@checkpoint.com>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de>	<20120820084953.GB11752@1wt.eu> <CAMm+LwgGqDV0hEAjQGAi8kwCxRyFy4bH-wYbAKgFXdacxGSg-A@mail.gmail.com>
In-Reply-To: <CAMm+LwgGqDV0hEAjQGAi8kwCxRyFy4bH-wYbAKgFXdacxGSg-A@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
x-cpdlp: 113f185fb9fcac148c3ee6673e29ae2938180a0206
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-KSE-AntiSpam-Interceptor-Info: protection disabled
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: BAYES_80=2, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.173, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T3PD6-00064H-1t c3336ec87d8259fcfade3505babcace2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/D65B2694-CEC0-41EF-9675-672F539FAC12@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15112
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 Aug 20, 2012, at 12:35 PM, Phillip Hallam-Baker wrote:

> I think we need a lot more explanation of what this intermediary chain
> is and which side of the wall it lies.
>=20
> Configuration of server side proxies such as squid has zero impact on
> this issue. Server installations that support HTTP/2.0 will be
> appropriately configured.

Agree.

> Are client side proxies really more than a corner case issue today?

Yes, they're everywhere - hotels, airports, workplaces, coffee shops.

> When we first developed them the whole of CERN was sitting on a T1 and
> caching was a critical concern. Only a small percentage of the HTML on
> the Web is even cachable.

At CERN you didn't have lawyers telling you you had to get people to agree =
to terms and conditions. You probably didn't redirect them to a secure site=
 where they could enter credit card numbers to get an hour of access either=
.

> Content Delivery Networks have caching but they work in a very
> different way to HTTP caching.
>=20
>=20
> I am pretty skeptical as to the value of firewall proxies when most
> let port 443 through.

Value is subjective, but TLS proxies have been available for six years, and=
 are now part of most of the "next generation firewall" products. They insp=
ect deeply enough that they can enforce a policy of "accept facebook, but n=
ot farmville". And they're getting installed in corporate networks all over=
 the place. Obviously they need to understand the HTTP protocol, so we have=
 to be careful of deploying something that they will block.

As long as there's a well-defined algorithms to figure out whether a partic=
ular stream is 1.1 or 2.0, those intermediaries can "grow" to deal with 2.0=
. But we also need client and server to be able to work together when an ol=
d intermediary is present that drops what it considers to be malformed HTTP=
.

Yoav=


From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 03:37:47 2012
Return-Path: <ietf-http-wg-request@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 CDE3921F8539 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 03:37:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.872
X-Spam-Level: 
X-Spam-Status: No, score=-9.872 tagged_above=-999 required=5 tests=[AWL=0.727, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4nRHqepWOPuQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 03:37:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4A08D21F8534 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 03:37:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3PLw-0002ag-8R for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 10:37:00 +0000
Resent-Date: Mon, 20 Aug 2012 10:37:00 +0000
Resent-Message-Id: <E1T3PLw-0002ag-8R@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1T3PLi-0002Zf-1l for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 10:36:46 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1T3PLg-0004tf-Qb for ietf-http-wg@w3.org; Mon, 20 Aug 2012 10:36:46 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q7KAaBqf012530; Mon, 20 Aug 2012 12:36:11 +0200
Date: Mon, 20 Aug 2012 12:36:11 +0200
From: Willy Tarreau <w@1wt.eu>
To: Roberto Peon <grmocg@gmail.com>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, Julian Reschke <julian.reschke@gmx.de>, Yoav Nir <ynir@checkpoint.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20120820103611.GF11752@1wt.eu>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <20120820084953.GB11752@1wt.eu> <CAMm+LwgGqDV0hEAjQGAi8kwCxRyFy4bH-wYbAKgFXdacxGSg-A@mail.gmail.com> <CAP+FsNd1ofBnkYXa6G4kxVy5ryxQ1n_Kr3JakXVz2o9w1U3eUQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAP+FsNd1ofBnkYXa6G4kxVy5ryxQ1n_Kr3JakXVz2o9w1U3eUQ@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=0.6
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RP_MATCHES_RCVD=-0.173, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T3PLg-0004tf-Qb 8b12c7040a8b0bcdd6e037d5f5d2dff1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/20120820103611.GF11752@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15113
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>

Hi Roberto,

On Mon, Aug 20, 2012 at 03:23:32AM -0700, Roberto Peon wrote:
> For port 80:
> What WebSockets has done on port 80 with upgrade seems basically fine. The
> part that is unfortunate is that it requires about as much time as doing
> the TLS handshake (an additional round-trip).

As we suggested in our network-friendly draft, its possible to send multiple
GET requests at once during the handshake by passing the list of URIs in a
dedicated header. It basically allows us not to waste the round trip.

> Having the data in DNS could short-circuit this, but shouldn't be a
> dependency.

The DNS requires a round trip anyway and it currently where time is wasted
in mobile environments.

> I still do like the idea of "alternate-protocol", which is extremely poorly
> described in the SPDY spec. The idea of alternate-protocol was that the
> server adds the header detailing the protocol, port, and negotiation
> mechanism. The client, if it understands it, may attempt in parallel one of
> the alternate protocols. This allows a switch of protocol and port, and a
> possible upgrade (no guarantee, given that HTTP offers plaintext and is
> 100% completely insecure) to using TLS for HTTP schemes, assuming both
> client and server agree to do it. This is separate from an upgrade,
> however, in that the new protocol is spoken over a new connection which is
> used only after it is established (with the previous connection remaining
> in use until supplanted), and thus the transfer of resources is not blocked
> by application-layer handshakes at any point in time.

Maybe this could still be done over the established connection using an
Upgrade ? However, I'd hope we avoid announcing IP and ports in exchanges,
as it will cause the NAT mess we managed to avoid for years with HTTP and
which made other protocols disappear.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 03:58:02 2012
Return-Path: <ietf-http-wg-request@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 7180021F8503 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 03:58:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.527
X-Spam-Level: 
X-Spam-Status: No, score=-10.527 tagged_above=-999 required=5 tests=[AWL=0.072, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YTIPVEjS6+fi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 03:58:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 77ABB21F84AF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 03:58:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3PfR-0001kF-MH for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 10:57:09 +0000
Resent-Date: Mon, 20 Aug 2012 10:57:09 +0000
Resent-Message-Id: <E1T3PfR-0001kF-MH@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1T3PfD-0001j7-BL for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 10:56:55 +0000
Received: from ams-iport-3.cisco.com ([144.254.224.146]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1T3PfC-0005ZR-BZ for ietf-http-wg@w3.org; Mon, 20 Aug 2012 10:56:55 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=lear@cisco.com; l=1585; q=dns/txt; s=iport; t=1345460214; x=1346669814; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=fT4qzUOdkEqEdEjygTfFBFSWGpovtjwf5kVP/zRjEF8=; b=Gf+J24OVG5r5DQQgWVLHX6XwG94WdzG7nxNMyJXkOyhZZOg1o3LyV9+E gnBM+dacTZI1Qanez2RnEX9FlltvGkMBJJlt1JZ8lrGJtCR7cp/uJmM+e hgf7QNCamId9fE01hCXi/6hzWLepXyJjwLxZYN2O99MtgDfLEflB3BLlE o=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgAFAH4WMlCQ/khR/2dsb2JhbABFhgG0SIEHgiABAQEDARIBEARRARALDgoCAgUWCwICCQMCAQIBRQYNAQcBAR6HZQaYY40YkkGBIY9qgRIDlVCOLIFmgmM
X-IronPort-AV: E=Sophos;i="4.77,796,1336348800";  d="scan'208";a="7447368"
Received: from ams-core-1.cisco.com ([144.254.72.81]) by ams-iport-3.cisco.com with ESMTP; 20 Aug 2012 10:56:28 +0000
Received: from dhcp-10-55-92-130.cisco.com (dhcp-10-55-92-130.cisco.com [10.55.92.130]) by ams-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id q7KAuRJX005622 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 20 Aug 2012 10:56:27 GMT
Message-ID: <503217DB.6070705@cisco.com>
Date: Mon, 20 Aug 2012 12:56:27 +0200
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Willy Tarreau <w@1wt.eu>
CC: Yoav Nir <ynir@checkpoint.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F61E.9050905@cisco.com> <99AF5E85-7A8E-4226-A078-69578AB0A4A3@checkpoint.com> <20120820090233.GD11752@1wt.eu>
In-Reply-To: <20120820090233.GD11752@1wt.eu>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=144.254.224.146; envelope-from=lear@cisco.com; helo=ams-iport-3.cisco.com
X-W3C-Hub-Spam-Status: No, score=-12.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.173, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: lisa.w3.org 1T3PfC-0005ZR-BZ ff44c664c4d87406a3e839650b4e507c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/503217DB.6070705@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15114
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>

Yoav, Willy,

On 8/20/12 11:02 AM, Willy Tarreau wrote:
>
>>> What about using bonjour / mdns / etc?
>> Like DNS SRV records, it's great when it works, but both are often filtered (or not implemented)

Good for the home.  And nothing stops this. By the way, I am still not
convinced, myself, that SRV records are the correct approach.  Or at
least not what we call SRV records today.  Again, the http URI schema
defines a port #.  To me, that's the end of SRV as we know it.  But, one
could imagine a record that would address this concern.  How about this:

www.example.com    IN    BLARF    (80, HTTP2.0,other capabilities...),
(83,HTTP1.1,other capabilities), ...
                                   IN   AAAA    2001:...

And in the default case fall back to 1.1, which is what Phillip pretty
much suggested.  This gets you to 2.0 before you connect.  Then for
those cases which are not in the DNS, as willy suggests, you do it in
path (NPN, upgrade, or whatever).  But here's the question: would such a
scheme really provide substantial benefit?  That is (a) does it really
save an RTT and (b) does that RTT matter to people?

>
> We must never forget that what made HTTP succeed is also the fact that
> it's self-contained, does not require additional side-band protocols,
> works end-to-end over a single connection and is 100% NAT-friendly by
> not storing any IP-related information anywhere.
>

Well indeed.  I work at a routing vendor, for crying out loud.  Our
routers probably don't have DNS entries when they're being configured.

Eliot


From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 06:21:22 2012
Return-Path: <ietf-http-wg-request@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 33BA821F861A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 06:21:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.98
X-Spam-Level: 
X-Spam-Status: No, score=-8.98 tagged_above=-999 required=5 tests=[AWL=1.619, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yG5BgUAo+zhm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 06:21:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3CED621F8650 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 06:21:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3RtK-0001g7-1y for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 13:19:38 +0000
Resent-Date: Mon, 20 Aug 2012 13:19:38 +0000
Resent-Message-Id: <E1T3RtK-0001g7-1y@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T3Rt5-0001fM-PF for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 13:19:23 +0000
Received: from mail-yx0-f171.google.com ([209.85.213.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T3Rsz-0002J4-Tw for ietf-http-wg@w3.org; Mon, 20 Aug 2012 13:19:23 +0000
Received: by yenl4 with SMTP id l4so5011135yen.2 for <ietf-http-wg@w3.org>; Mon, 20 Aug 2012 06:18:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=T1SsuotEAmhcHbp6LHzIG4GB9AFrzkAtvfS+nOfY4uE=; b=hKOdE56wSMJV+5KIMYXOWL965tVhJPVcLqzgDcUUjhas/k+q6cISuBh3ALVYwmPevT HctSKWyHxbJ8/x0E6gtRK+jcZNnxQJK3gtPSflgotm8DxL7xlJiw2VOOO7B9b4EhYPaF Z57SwDUYuXAOHDQvtSJjzY/3HqMdwjMpBp+r4HPgDFQRlz+++E/BbvQ0SFmUHLE11yx6 lsCfZeStrX2eMyiWszm5rYjwOhVfgHOTAYnS8ck9Oz0Dtazgo9CYEbBvElhzLM7tlDc0 CfbI55/3JaJKSrwlWqeBHP/JMD2SOgt53oElkDgfCJdT7TTrzm2E71PfDihbAMQHMOcy T0mw==
MIME-Version: 1.0
Received: by 10.60.170.229 with SMTP id ap5mr10156595oec.101.1345468731900; Mon, 20 Aug 2012 06:18:51 -0700 (PDT)
Received: by 10.76.80.10 with HTTP; Mon, 20 Aug 2012 06:18:51 -0700 (PDT)
In-Reply-To: <D65B2694-CEC0-41EF-9675-672F539FAC12@checkpoint.com>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <20120820084953.GB11752@1wt.eu> <CAMm+LwgGqDV0hEAjQGAi8kwCxRyFy4bH-wYbAKgFXdacxGSg-A@mail.gmail.com> <D65B2694-CEC0-41EF-9675-672F539FAC12@checkpoint.com>
Date: Mon, 20 Aug 2012 09:18:51 -0400
Message-ID: <CAMm+LwjHZXGno+tNUcU0v-WpiU_MBoqAM7cDxb7eyYJev44ofw@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Yoav Nir <ynir@checkpoint.com>
Cc: Willy Tarreau <w@1wt.eu>, Julian Reschke <julian.reschke@gmx.de>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.213.171; envelope-from=hallam@gmail.com; helo=mail-yx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T3Rsz-0002J4-Tw c975a5171ef6b14e7f62f1c94e274dc7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/CAMm+LwjHZXGno+tNUcU0v-WpiU_MBoqAM7cDxb7eyYJev44ofw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15115
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>

I really don't see content filtering proxies as a problem

The reason being that anyone doing content filtering has to constantly
keep ahead of the game and track the current status of the Web.
Facebook and Farmvile are only the fads of the season, there will be
another and another. Remember MySpace, TheWorld.com, Yahoo, GeoCities?
FB may survive but it certainly won't be the last big thing on the
Net.

So are these firewalls products or services? An actively maintained
service is really not a problem at all, they will keep up to date. Its
fire and forget products that cause grief.


Restrictive home routers on the other hand could be here for decades.
[Well they could if they have started making them out of non
substandard parts. Mine used to last about 7 months until I switched
to Apple. I have a box full of Lucent, 3Com, Linksys, Netgear and
Belkin routers that all turned out to be crap.]



On Mon, Aug 20, 2012 at 6:27 AM, Yoav Nir <ynir@checkpoint.com> wrote:
>
> On Aug 20, 2012, at 12:35 PM, Phillip Hallam-Baker wrote:
>
>> I think we need a lot more explanation of what this intermediary chain
>> is and which side of the wall it lies.
>>
>> Configuration of server side proxies such as squid has zero impact on
>> this issue. Server installations that support HTTP/2.0 will be
>> appropriately configured.
>
> Agree.
>
>> Are client side proxies really more than a corner case issue today?
>
> Yes, they're everywhere - hotels, airports, workplaces, coffee shops.
>
>> When we first developed them the whole of CERN was sitting on a T1 and
>> caching was a critical concern. Only a small percentage of the HTML on
>> the Web is even cachable.
>
> At CERN you didn't have lawyers telling you you had to get people to agre=
e to terms and conditions. You probably didn't redirect them to a secure si=
te where they could enter credit card numbers to get an hour of access eith=
er.
>
>> Content Delivery Networks have caching but they work in a very
>> different way to HTTP caching.
>>
>>
>> I am pretty skeptical as to the value of firewall proxies when most
>> let port 443 through.
>
> Value is subjective, but TLS proxies have been available for six years, a=
nd are now part of most of the "next generation firewall" products. They in=
spect deeply enough that they can enforce a policy of "accept facebook, but=
 not farmville". And they're getting installed in corporate networks all ov=
er the place. Obviously they need to understand the HTTP protocol, so we ha=
ve to be careful of deploying something that they will block.
>
> As long as there's a well-defined algorithms to figure out whether a part=
icular stream is 1.1 or 2.0, those intermediaries can "grow" to deal with 2=
.0. But we also need client and server to be able to work together when an =
old intermediary is present that drops what it considers to be malformed HT=
TP.
>
> Yoav



--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 06:47:03 2012
Return-Path: <ietf-http-wg-request@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 0968121F8600 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 06:47:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.563
X-Spam-Level: 
X-Spam-Status: No, score=-10.563 tagged_above=-999 required=5 tests=[AWL=0.036, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ktdPKq1cddPP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 06:47:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CDDF821F85F9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 06:47:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3SIl-0007nu-8C for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 13:45:55 +0000
Resent-Date: Mon, 20 Aug 2012 13:45:55 +0000
Resent-Message-Id: <E1T3SIl-0007nu-8C@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1T3SIc-0007mt-VO for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 13:45:46 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1T3SIb-0003LB-UA for ietf-http-wg@w3.org; Mon, 20 Aug 2012 13:45:46 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id CC54B10305; Mon, 20 Aug 2012 09:45:23 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id 4AA23101BA; Mon, 20 Aug 2012 09:45:15 -0400 (EDT)
Message-ID: <1345470312.2877.55.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Yoav Nir <ynir@checkpoint.com>, Julian Reschke <julian.reschke@gmx.de>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Mon, 20 Aug 2012 09:45:12 -0400
In-Reply-To: <20120820085917.GC11752@1wt.eu>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <4623CB2E-7E5B-47BD-BE58-9AEAA2211940@checkpoint.com> <20120820085917.GC11752@1wt.eu>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8
X-W3C-Scan-Sig: maggie.w3.org 1T3SIb-0003LB-UA ad3a9281188ac07230acc328670464ef
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/1345470312.2877.55.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15116
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>

In vancouver we agreed not to slaughter too many bytes over mandatory
TLS; but we also talked about the need to describe how HTTP/2 binds to
TLS. I'm going to narrowly scope this email to the issues involved with
those situations and how the upgrade should, imo, work without getting
into every detail:

Case 1: https:// scheme - go to the port in the url (default 443) and
use NPN to select http/2 or http/1 (default is http/1 in the case NPN is
not implemented on the server)

Case 2: http:// scheme with default port - optimistically consult DNS
SRV looking for either http2-tls or http2-plaintext depending on what
the client wants. If you get a SRV result back "quickly" go to the host
and port provided and start speaking http2 over tls or plaintext as
appropriate. No extra indirections, no use of http/1. Reasonable server
implementations are forseeable.

Case 3: http:// scheme with an explicit port or lack of SRV information.
This is where we need to bootstrap from HTTP/1. AFAICT people want two
different patterns:

Case 3a: Direct the traffic to another location like Alternate-Protocol
does... basically bundling srv information with an http/1 response..
"here is the answer to your http/1 request and btw over on port 443 we
speak http2-tls and on port 8080 we speak http2-plaintext".. clients can
decide whether they want to jump over there right away or overlap some
more http/1 transactions with the handshake on the other port.. its
probably not important for http/2 to define exactly what happens other
than the lifespan of that alternate-protocol announcement.

Case 3b: transform the current connection into an http/2 connection
(possibly even adding in tls the same way CONNECT does) with http/1
upgrade roughly like websockets does. 

Does that framing seem reasonable?

Does anyone want to make an argument for having both? I'd prefer not to
at this stage but the question seems worth asking.

In favor of 3a - 1] the results are cached and future connections are
pure http/2 without bootstrapping them each time. 2] It also can move
http/2 to a non-port-80 location which alleviates concerns about
transparent proxies being confused.

In favor of 3b - 1] it doesn't require another connection as the current
one is transformed in place. 2] it sidesteps issues about caching the
discovery information of alternate-protocol and its scope and maybe even
security considerations with it. 3] websockets uses port 80 and I'm not
overwhelemed with bug reports about unreachable services due to the http
proxy problem, though the amount of use of websockets is tiny compared
to http and many websockets applications have comet/etc fallbacks just
to support browsers without a ws implementation - so the truth here
might not yet be known.

Mostly I favor 3a because the caching reduces the need for latency
inducing bootstraps while maximizing the amount of http/2 that is used.
I don't constantly like redoing that bootstrap. It also dovetails nicely
with the srv approach as it basically tunnels the srv into http/1.

-Patrick




From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 07:48:46 2012
Return-Path: <ietf-http-wg-request@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 1F47121F8690 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 07:48:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.432
X-Spam-Level: 
X-Spam-Status: No, score=-10.432 tagged_above=-999 required=5 tests=[AWL=0.167, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m0iTbVHYeN+0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 07:48:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1E0E021F8525 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 07:48:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3TGN-0007tt-7S for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 14:47:31 +0000
Resent-Date: Mon, 20 Aug 2012 14:47:31 +0000
Resent-Message-Id: <E1T3TGN-0007tt-7S@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1T3TG7-0007si-BL for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 14:47:15 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1T3TG2-0005Yl-Oc for ietf-http-wg@w3.org; Mon, 20 Aug 2012 14:47:15 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q7KEkHTE029543; Mon, 20 Aug 2012 17:46:17 +0300
X-CheckPoint: {50324A3B-3-1B221DC2-4FFFF}
Received: from il-ex03.ad.checkpoint.com (194.29.34.71) by il-ex01.ad.checkpoint.com (194.29.34.26) with Microsoft SMTP Server (TLS) id 8.3.213.0; Mon, 20 Aug 2012 17:46:17 +0300
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex03.ad.checkpoint.com ([194.29.34.71]) with mapi; Mon, 20 Aug 2012 17:46:17 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
CC: Willy Tarreau <w@1wt.eu>, Julian Reschke <julian.reschke@gmx.de>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Mon, 20 Aug 2012 17:46:31 +0300
Thread-Topic: HTTP 1.1 --> 2.0 Upgrade
Thread-Index: Ac1+4o13jeKxjvApT2y3JP34hYTpWg==
Message-ID: <08FA2695-855A-4B14-BFE5-D6A245D85832@checkpoint.com>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de>	<20120820084953.GB11752@1wt.eu> <CAMm+LwgGqDV0hEAjQGAi8kwCxRyFy4bH-wYbAKgFXdacxGSg-A@mail.gmail.com> <D65B2694-CEC0-41EF-9675-672F539FAC12@checkpoint.com> <CAMm+LwjHZXGno+tNUcU0v-WpiU_MBoqAM7cDxb7eyYJev44ofw@mail.gmail.com>
In-Reply-To: <CAMm+LwjHZXGno+tNUcU0v-WpiU_MBoqAM7cDxb7eyYJev44ofw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
x-cpdlp: 1191a9e732175c0b0c8dfdf9512f137861e884feb1
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-KSE-AntiSpam-Interceptor-Info: protection disabled
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.173, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T3TG2-0005Yl-Oc 22a0cdd84133eaad78c3b51af29d85fb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/08FA2695-855A-4B14-BFE5-D6A245D85832@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15117
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 Aug 20, 2012, at 4:18 PM, Phillip Hallam-Baker wrote:

> I really don't see content filtering proxies as a problem
>=20
> The reason being that anyone doing content filtering has to constantly
> keep ahead of the game and track the current status of the Web.

It's somewhere between "has to" and "should".=20

> Facebook and Farmvile are only the fads of the season, there will be
> another and another. Remember MySpace, TheWorld.com, Yahoo, GeoCities?
> FB may survive but it certainly won't be the last big thing on the
> Net.

There are more fine-grained stages here. At first it was some game that PFY=
s were enjoying. Nothing to be concerned about. Later it was seen as a time=
 waster where people would "like" and comment on their friends statuses. It=
 would be trivial, even with a previous-generation firewall (or a router wi=
th an ACL) to block the FB addresses. The later stage is when administrator=
s don't want just a "block" or "allow" option, but more fine-grained contro=
l - allow people to comment on friends' statuses, but not play a bunch of t=
ime-waster games.=20

That is when the firewall vendors come out with the special content filteri=
ng features. That's months or years after the thing exists on the Net.

Then there's the issue of when administrators deploy it. Firewalls are gene=
rally not treated like Chrome. The customers are not running the latest ver=
sion. They might very well be running a two- or three-year old version.=20

So by the time that the intermediary is deployed even in well-managed netwo=
rks, the thing may have been on the net for several years.

If Chrome and the Google websites deploy quickly, they're bound to bump int=
o intermediaries that are not ahead of the game. That is why the NPN works =
so well. Any intermediary that does TLS proxying, but does not know about S=
PDY will drop the NPN extension, disabling SPDY. If SPDY was signaled throu=
gh a DNS record, those connections would be dropped as invalid HTTP.

> So are these firewalls products or services? An actively maintained
> service is really not a problem at all, they will keep up to date. Its
> fire and forget products that cause grief.

Both kinds of products exist, as well as combinations. Firewalls are someti=
mes kept past their update date, and are sometimes not updated at all. Just=
 as you can't rely on the browser not being IE6, you can't rely on the inte=
rmediary being up to date.

> Restrictive home routers on the other hand could be here for decades.
> [Well they could if they have started making them out of non
> substandard parts. Mine used to last about 7 months until I switched
> to Apple. I have a box full of Lucent, 3Com, Linksys, Netgear and
> Belkin routers that all turned out to be crap.]

My Netgear is 7 years old, and would still be going strong, except my cable=
 modem died last month, and the cable company replaced it with one that inc=
ludes a wireless router. Luckily it never tried to filter anything.

Yoav

> On Mon, Aug 20, 2012 at 6:27 AM, Yoav Nir <ynir@checkpoint.com> wrote:
>>=20
>> On Aug 20, 2012, at 12:35 PM, Phillip Hallam-Baker wrote:
>>=20
>>> I think we need a lot more explanation of what this intermediary chain
>>> is and which side of the wall it lies.
>>>=20
>>> Configuration of server side proxies such as squid has zero impact on
>>> this issue. Server installations that support HTTP/2.0 will be
>>> appropriately configured.
>>=20
>> Agree.
>>=20
>>> Are client side proxies really more than a corner case issue today?
>>=20
>> Yes, they're everywhere - hotels, airports, workplaces, coffee shops.
>>=20
>>> When we first developed them the whole of CERN was sitting on a T1 and
>>> caching was a critical concern. Only a small percentage of the HTML on
>>> the Web is even cachable.
>>=20
>> At CERN you didn't have lawyers telling you you had to get people to agr=
ee to terms and conditions. You probably didn't redirect them to a secure s=
ite where they could enter credit card numbers to get an hour of access eit=
her.
>>=20
>>> Content Delivery Networks have caching but they work in a very
>>> different way to HTTP caching.
>>>=20
>>>=20
>>> I am pretty skeptical as to the value of firewall proxies when most
>>> let port 443 through.
>>=20
>> Value is subjective, but TLS proxies have been available for six years, =
and are now part of most of the "next generation firewall" products. They i=
nspect deeply enough that they can enforce a policy of "accept facebook, bu=
t not farmville". And they're getting installed in corporate networks all o=
ver the place. Obviously they need to understand the HTTP protocol, so we h=
ave to be careful of deploying something that they will block.
>>=20
>> As long as there's a well-defined algorithms to figure out whether a par=
ticular stream is 1.1 or 2.0, those intermediaries can "grow" to deal with =
2.0. But we also need client and server to be able to work together when an=
 old intermediary is present that drops what it considers to be malformed H=
TTP.
>>=20
>> Yoav
>=20
>=20
>=20
> --=20
> Website: http://hallambaker.com/
>=20
> Scanned by Check Point Total Security Gateway.



From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 10:42:02 2012
Return-Path: <ietf-http-wg-request@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 DBB1F21F84FE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 10:42:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.528
X-Spam-Level: 
X-Spam-Status: No, score=-10.528 tagged_above=-999 required=5 tests=[AWL=0.071, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id orXfw5vO66H3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 10:42:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E4E4821F84B8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 10:42:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3VxY-00087E-G9 for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 17:40:16 +0000
Resent-Date: Mon, 20 Aug 2012 17:40:16 +0000
Resent-Message-Id: <E1T3VxY-00087E-G9@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1T3VxJ-0006dF-NP for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 17:40:01 +0000
Received: from ams-iport-3.cisco.com ([144.254.224.146]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1T3VxI-0003Nm-Gh for ietf-http-wg@w3.org; Mon, 20 Aug 2012 17:40:01 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=lear@cisco.com; l=3978; q=dns/txt; s=iport; t=1345484400; x=1346694000; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=x85ZD7a0pjwoBQovTgW8H8ks8T48USxWa8mMD50iMss=; b=iJ6UqKZfnJmgxGilRyvh01MjTfNjFV9wYhfHCUDcuFCzkl8TbI3h/inM Ck41DrQsDz7PcrTDuno5HNYhr7jIE98iXUJeUvUsYeyY9nIWJAP3KWyQw BFOYvmQSmehfq/I6LcdYlv3mL/8Txfm4q92YA/phbTQOXU19sZFPoQrzL M=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgAFAF91MlCQ/khM/2dsb2JhbABFhgG0WIEHgiABAQEDARIBEARNBAEQCxgCAgUWCwICCQMCAQIBRQYNAQcBAR6HZQaZDo0YknyBIY9qgRIDlVCOLIFmgmOBXw
X-IronPort-AV: E=Sophos;i="4.77,798,1336348800";  d="scan'208";a="7455701"
Received: from ams-core-3.cisco.com ([144.254.72.76]) by ams-iport-3.cisco.com with ESMTP; 20 Aug 2012 17:39:34 +0000
Received: from dhcp-10-55-92-130.cisco.com (dhcp-10-55-92-130.cisco.com [10.55.92.130]) by ams-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id q7KHdSen008613 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 20 Aug 2012 17:39:31 GMT
Message-ID: <50327650.3070603@cisco.com>
Date: Mon, 20 Aug 2012 19:39:28 +0200
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Patrick McManus <pmcmanus@mozilla.com>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com>  <5031F48A.2050608@gmx.de>  <4623CB2E-7E5B-47BD-BE58-9AEAA2211940@checkpoint.com>  <20120820085917.GC11752@1wt.eu> <1345470312.2877.55.camel@ds9>
In-Reply-To: <1345470312.2877.55.camel@ds9>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=144.254.224.146; envelope-from=lear@cisco.com; helo=ams-iport-3.cisco.com
X-W3C-Hub-Spam-Status: No, score=-12.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.173, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: lisa.w3.org 1T3VxI-0003Nm-Gh bd3c1b52523f64c83c072362980f0580
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/50327650.3070603@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15118
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>

Hi Patrick,

On 8/20/12 3:45 PM, Patrick McManus wrote:
> In vancouver we agreed not to slaughter too many bytes over mandatory
> TLS; but we also talked about the need to describe how HTTP/2 binds to
> TLS. I'm going to narrowly scope this email to the issues involved with
> those situations and how the upgrade should, imo, work without getting
> into every detail:
>
> Case 1: https:// scheme - go to the port in the url (default 443) and
> use NPN to select http/2 or http/1 (default is http/1 in the case NPN is
> not implemented on the server)

Ok.

>
> Case 2: http:// scheme with default port - optimistically consult DNS
> SRV looking for either http2-tls or http2-plaintext depending on what
> the client wants. If you get a SRV result back "quickly" go to the host
> and port provided and start speaking http2 over tls or plaintext as
> appropriate. No extra indirections, no use of http/1. Reasonable server
> implementations are forseeable.

As in happy eyeballs?  Sure.

>
> Case 3: http:// scheme with an explicit port or lack of SRV information.
> This is where we need to bootstrap from HTTP/1. AFAICT people want two
> different patterns:
>
> Case 3a: Direct the traffic to another location like Alternate-Protocol
> does... basically bundling srv information with an http/1 response..
> "here is the answer to your http/1 request and btw over on port 443 we
> speak http2-tls and on port 8080 we speak http2-plaintext".. clients can
> decide whether they want to jump over there right away or overlap some
> more http/1 transactions with the handshake on the other port.. its
> probably not important for http/2 to define exactly what happens other
> than the lifespan of that alternate-protocol announcement.
>
> Case 3b: transform the current connection into an http/2 connection
> (possibly even adding in tls the same way CONNECT does) with http/1
> upgrade roughly like websockets does. 
>
> Does that framing seem reasonable?

Reasonable?  Yes.  Best course of action?  I don't know.  I know I'm
beginning to sound like a broken record, but I don't know if SRV is the
right record for the job.  For one thing, if you use another record, you
can use that same optimistic approach for an explicit port in the URI. 
Of course, then there is the added implementation headache of a new
record.  We've gotten around that elseewhere with TXT records, but I
don't recommend it here.

>
> Does anyone want to make an argument for having both? I'd prefer not to
> at this stage but the question seems worth asking.
>
> In favor of 3a - 1] the results are cached and future connections are
> pure http/2 without bootstrapping them each time. 2] It also can move
> http/2 to a non-port-80 location which alleviates concerns about
> transparent proxies being confused.
>
> In favor of 3b - 1] it doesn't require another connection as the current
> one is transformed in place. 2] it sidesteps issues about caching the
> discovery information of alternate-protocol and its scope and maybe even
> security considerations with it. 3] websockets uses port 80 and I'm not
> overwhelemed with bug reports about unreachable services due to the http
> proxy problem, though the amount of use of websockets is tiny compared
> to http and many websockets applications have comet/etc fallbacks just
> to support browsers without a ws implementation - so the truth here
> might not yet be known.
>
> Mostly I favor 3a because the caching reduces the need for latency
> inducing bootstraps while maximizing the amount of http/2 that is used.
> I don't constantly like redoing that bootstrap. It also dovetails nicely
> with the srv approach as it basically tunnels the srv into http/1.

I'd be a bit nervous about cache management, and specifically how/when
to invalidate.  Two obvious cases are when the IP address changes, and
when for some reason the other side starts barfing on SPDY.

Eliot


From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 12:02:17 2012
Return-Path: <ietf-http-wg-request@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 70B5521F86BE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 12:02:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.342
X-Spam-Level: 
X-Spam-Status: No, score=-7.342 tagged_above=-999 required=5 tests=[AWL=3.257, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nDawzionc0Ac for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 12:02:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DFBBE21F86A7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 12:02:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3XDV-0005tB-If for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 19:00:49 +0000
Resent-Date: Mon, 20 Aug 2012 19:00:49 +0000
Resent-Message-Id: <E1T3XDV-0005tB-If@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ted.ietf@gmail.com>) id 1T3XDH-0005qt-Cb for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 19:00:35 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <ted.ietf@gmail.com>) id 1T3XDG-0004sh-4n for ietf-http-wg@w3.org; Mon, 20 Aug 2012 19:00:35 +0000
Received: by vbbfq11 with SMTP id fq11so6315909vbb.2 for <ietf-http-wg@w3.org>; Mon, 20 Aug 2012 12:00:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=M38Wwzjv0/CN3SQUVUHx5OE3bC+YF1tRDZGc8XGAVwE=; b=a0wOBBIZfwRx8lXgv/r07wi7cGwfaEXrdNYZNnf67rlLAwicsanXyf9uy+zMiZGdhs 20fuzLXHITQramPcIWUB+9w3jpYYxgdNW0mn3O9ad4AM5448qV+SUQvDc5phrXwZCWZ2 g4CHi3Lyi6QzCF0w5XitMOdhM+GsnhlXRXuPu8HrYfjlUO4tke2B8UPI7nhzmp8ScMbh AB8nHLzNSKZm+spr6HKP0yB7hk7/29ZqI+0ZSajUFrXNEZUNEEBbfx1aBSMTmB7i7Fxj lIS2WPrePAMv7hpdMagGtri3Jb5zSHDIg1s3AKqtB6uDPM3DMQjSKQPL0OSdhlyr6CKP 6thw==
MIME-Version: 1.0
Received: by 10.220.239.209 with SMTP id kx17mr11164184vcb.41.1345489208406; Mon, 20 Aug 2012 12:00:08 -0700 (PDT)
Received: by 10.58.228.232 with HTTP; Mon, 20 Aug 2012 12:00:08 -0700 (PDT)
In-Reply-To: <50327650.3070603@cisco.com>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <4623CB2E-7E5B-47BD-BE58-9AEAA2211940@checkpoint.com> <20120820085917.GC11752@1wt.eu> <1345470312.2877.55.camel@ds9> <50327650.3070603@cisco.com>
Date: Mon, 20 Aug 2012 12:00:08 -0700
Message-ID: <CA+9kkMCUgKRYarXOXqRXtCxRpu-pDJehif-zVv9dVKnjw0Ae+A@mail.gmail.com>
From: Ted Hardie <ted.ietf@gmail.com>
To: Eliot Lear <lear@cisco.com>
Cc: Patrick McManus <pmcmanus@mozilla.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=ted.ietf@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=2.7
X-W3C-Hub-Spam-Report: BAYES_99=3.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T3XDG-0004sh-4n 045c003fd96ba9d4a10809ce20f88769
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/CA+9kkMCUgKRYarXOXqRXtCxRpu-pDJehif-zVv9dVKnjw0Ae+A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15119
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 Mon, Aug 20, 2012 at 10:39 AM, Eliot Lear <lear@cisco.com> wrote:

> Reasonable?  Yes.  Best course of action?  I don't know.  I know I'm
> beginning to sound like a broken record, but I don't know if SRV is the
> right record for the job.  For one thing, if you use another record, you
> can use that same optimistic approach for an explicit port in the URI.
> Of course, then there is the added implementation headache of a new
> record.  We've gotten around that elseewhere with TXT records, but I
> don't recommend it here.
>

Do you mean to suggest something like
http://tools.ietf.org/id/draft-faltstrom-uri-06.txt ?

regards,

Ted


From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 12:27:44 2012
Return-Path: <ietf-http-wg-request@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 410E421F84CE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 12:27:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.678
X-Spam-Level: 
X-Spam-Status: No, score=-8.678 tagged_above=-999 required=5 tests=[AWL=1.321, BAYES_00=-2.599, J_CHICKENPOX_41=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SMuwnk1YifWb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 12:27:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AB2BF21F84C5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 12:27:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3XcL-0000Up-Ks for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 19:26:29 +0000
Resent-Date: Mon, 20 Aug 2012 19:26:29 +0000
Resent-Message-Id: <E1T3XcL-0000Up-Ks@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T3Xc8-0000Td-38 for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 19:26:16 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T3Xc7-0005cw-0H for ietf-http-wg@w3.org; Mon, 20 Aug 2012 19:26:16 +0000
Received: by obqv19 with SMTP id v19so10581112obq.2 for <ietf-http-wg@w3.org>; Mon, 20 Aug 2012 12:25:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+O5x4S2OeFo9Gw2+uJbxTjMFGvl4mm6O7endRzVHUKM=; b=neD5P00DaZR3yfGYAsrfYBQO80vU2ilX1k0y6XSedNHsLyi9LUhApijLiVpuTNa6Ba WrbimqUA0XVZbfXKkY7pz2UgkeDunv6pD/RUv5ytVARtmcAqXeQHC21t0eDN7/OLcsiQ Dwj9sjmF3OSxp1Q8g+aE1CRNNB86SqaocdvAKYvuNEV+b3U6S8qW3rHIbXGiAiyBdVp6 Rti4HbEZucIg99zuUkWByGXJ7ik0/cOhvbMBcy3lu1ssn2v99CAqP03coqH8f8yJdmwH ii6N2ZwtnpTOFvcSgIWg0mNne9nKLEVeZAMp0My9oijmFLNPXZhWeqi0YoBh4Vzhvk4j rGkA==
MIME-Version: 1.0
Received: by 10.60.170.138 with SMTP id am10mr10873165oec.115.1345490749070; Mon, 20 Aug 2012 12:25:49 -0700 (PDT)
Received: by 10.76.80.10 with HTTP; Mon, 20 Aug 2012 12:25:49 -0700 (PDT)
In-Reply-To: <CA+9kkMCUgKRYarXOXqRXtCxRpu-pDJehif-zVv9dVKnjw0Ae+A@mail.gmail.com>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <4623CB2E-7E5B-47BD-BE58-9AEAA2211940@checkpoint.com> <20120820085917.GC11752@1wt.eu> <1345470312.2877.55.camel@ds9> <50327650.3070603@cisco.com> <CA+9kkMCUgKRYarXOXqRXtCxRpu-pDJehif-zVv9dVKnjw0Ae+A@mail.gmail.com>
Date: Mon, 20 Aug 2012 15:25:49 -0400
Message-ID: <CAMm+LwiY_GV3Ch5ePquksLaNF5BeLfyhnpHi6MVdu5km7GZOzw@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Ted Hardie <ted.ietf@gmail.com>
Cc: Eliot Lear <lear@cisco.com>, Patrick McManus <pmcmanus@mozilla.com>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T3Xc7-0005cw-0H a6e808a3c696b70fb93e7e71267809f5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/CAMm+LwiY_GV3Ch5ePquksLaNF5BeLfyhnpHi6MVdu5km7GZOzw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15120
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>

I think the URI proposal is an excellent way to allow a Web Service to
be identified by means of just a DNS name. So instead of specifying
http://wev.google.com/_well-known/wev, someone can just type
'google.com' into their wev client and it works.

It is not a good match for resolving http URLs but it is a good way to
resolve a raw dns name and a service identifier to a web service
endpoint.


That said, how does a Web service using the URI scheme tell clients
that the service is available via http/1.1 or http/2.0 so that it can
select the appropriate host and port first time?

It would be rather useful to have http2: and http2s: defined as URL
schemes for 'this really has to run over http2, don't try anything
else, just do it', ditto for http1 and http1s and have http:, https:
be used for 'try what works'.

http2 is not a scheme people should use as a regular thing, it should
only be used when the distinction between http1 and http2 really
matters. For example, when the Web site is only available on http2 and
http1 is not supported or for debugging Web sites or to enable
negotiation of the protocol version whether via SRV or some other
scheme.

On Mon, Aug 20, 2012 at 3:00 PM, Ted Hardie <ted.ietf@gmail.com> wrote:
> On Mon, Aug 20, 2012 at 10:39 AM, Eliot Lear <lear@cisco.com> wrote:
>
>> Reasonable?  Yes.  Best course of action?  I don't know.  I know I'm
>> beginning to sound like a broken record, but I don't know if SRV is the
>> right record for the job.  For one thing, if you use another record, you
>> can use that same optimistic approach for an explicit port in the URI.
>> Of course, then there is the added implementation headache of a new
>> record.  We've gotten around that elseewhere with TXT records, but I
>> don't recommend it here.
>>
>
> Do you mean to suggest something like
> http://tools.ietf.org/id/draft-faltstrom-uri-06.txt ?
>
> regards,
>
> Ted
>



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 13:50:25 2012
Return-Path: <ietf-http-wg-request@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 D68C111E808D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 13:50:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.417
X-Spam-Level: 
X-Spam-Status: No, score=-10.417 tagged_above=-999 required=5 tests=[AWL=0.181, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ako19+5aLocB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 13:50:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9DCE521F858A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 13:50:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3Ytr-000523-BR for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 20:48:39 +0000
Resent-Date: Mon, 20 Aug 2012 20:48:39 +0000
Resent-Message-Id: <E1T3Ytr-000523-BR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1T3Ytc-00051A-RR for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 20:48:24 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1T3Ytb-0000Yb-G3 for ietf-http-wg@w3.org; Mon, 20 Aug 2012 20:48:24 +0000
Received: by wibhq4 with SMTP id hq4so3411048wib.8 for <ietf-http-wg@w3.org>; Mon, 20 Aug 2012 13:47:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=q/E3ISA1XH6m71I7Sl++/4Rhwd36Qb8RzYMWa3zM2io=; b=TAjxbq1FeFYBxDXferToRucS2l+MhpchXRQ3TkjaR5IjlKM1j/voZdDvniijDj/Mhx VSi18msPXT8EKyzlb4PREo4SnRB/SXTuo7IyzcPbBF6Gb4eLw3IZN8cwK+wa0e87sJu+ xW7SwbNkzGkrppuHn6ToJxbqJcLNe7lr9IN8UUl8s4HWhyHBJLUFHSTFNh0hZ763zOMP yheJ9aEqrX972jPmAuZhEl0Cz+LJ4kYp3yxox6hOVBLjPswmuV0F3ZZpTKbvAH3sAUtc kTVy1ooyyM/37S8ep/2e4nqsDDlfijccL6OZckq9yBHkvHLIpCiwKOi0opOWOmDpHvZd aocQ==
MIME-Version: 1.0
Received: by 10.216.136.72 with SMTP id v50mr818997wei.203.1345495677002; Mon, 20 Aug 2012 13:47:57 -0700 (PDT)
Received: by 10.194.26.138 with HTTP; Mon, 20 Aug 2012 13:47:56 -0700 (PDT)
In-Reply-To: <50327650.3070603@cisco.com>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <4623CB2E-7E5B-47BD-BE58-9AEAA2211940@checkpoint.com> <20120820085917.GC11752@1wt.eu> <1345470312.2877.55.camel@ds9> <50327650.3070603@cisco.com>
Date: Mon, 20 Aug 2012 13:47:56 -0700
Message-ID: <CAP+FsNerGpQY6kRWuAgBs9f8LNgiR25YYNbH1Qgtpb+xE5Wpuw@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Eliot Lear <lear@cisco.com>
Cc: Patrick McManus <pmcmanus@mozilla.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=0016e6dee706dfe40004c7b89f53
Received-SPF: pass client-ip=209.85.212.179; envelope-from=grmocg@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T3Ytb-0000Yb-G3 973ec06ba60abdfba066588a249e1303
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/CAP+FsNerGpQY6kRWuAgBs9f8LNgiR25YYNbH1Qgtpb+xE5Wpuw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15121
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>

--0016e6dee706dfe40004c7b89f53
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Aug 20, 2012 at 10:39 AM, Eliot Lear <lear@cisco.com> wrote:

> Hi Patrick,
>
> On 8/20/12 3:45 PM, Patrick McManus wrote:
> > In vancouver we agreed not to slaughter too many bytes over mandatory
> > TLS; but we also talked about the need to describe how HTTP/2 binds to
> > TLS. I'm going to narrowly scope this email to the issues involved with
> > those situations and how the upgrade should, imo, work without getting
> > into every detail:
> >
> > Case 1: https:// scheme - go to the port in the url (default 443) and
> > use NPN to select http/2 or http/1 (default is http/1 in the case NPN is
> > not implemented on the server)
>
> Ok.
>
> >
> > Case 2: http:// scheme with default port - optimistically consult DNS
> > SRV looking for either http2-tls or http2-plaintext depending on what
> > the client wants. If you get a SRV result back "quickly" go to the host
> > and port provided and start speaking http2 over tls or plaintext as
> > appropriate. No extra indirections, no use of http/1. Reasonable server
> > implementations are forseeable.
>
> As in happy eyeballs?  Sure.
>
> >
> > Case 3: http:// scheme with an explicit port or lack of SRV information.
> > This is where we need to bootstrap from HTTP/1. AFAICT people want two
> > different patterns:
> >
> > Case 3a: Direct the traffic to another location like Alternate-Protocol
> > does... basically bundling srv information with an http/1 response..
> > "here is the answer to your http/1 request and btw over on port 443 we
> > speak http2-tls and on port 8080 we speak http2-plaintext".. clients can
> > decide whether they want to jump over there right away or overlap some
> > more http/1 transactions with the handshake on the other port.. its
> > probably not important for http/2 to define exactly what happens other
> > than the lifespan of that alternate-protocol announcement.
> >
> > Case 3b: transform the current connection into an http/2 connection
> > (possibly even adding in tls the same way CONNECT does) with http/1
> > upgrade roughly like websockets does.
> >
> > Does that framing seem reasonable?
>
> Reasonable?  Yes.  Best course of action?  I don't know.  I know I'm
> beginning to sound like a broken record, but I don't know if SRV is the
> right record for the job.  For one thing, if you use another record, you
> can use that same optimistic approach for an explicit port in the URI.
> Of course, then there is the added implementation headache of a new
> record.  We've gotten around that elseewhere with TXT records, but I
> don't recommend it here.
>

For my part, I don't really care which record is chosen to bear the
information, but do believe that DNS is a good mechanism for providing an
appropriate hint.


>
> >
> > Does anyone want to make an argument for having both? I'd prefer not to
> > at this stage but the question seems worth asking.
> >
> > In favor of 3a - 1] the results are cached and future connections are
> > pure http/2 without bootstrapping them each time. 2] It also can move
> > http/2 to a non-port-80 location which alleviates concerns about
> > transparent proxies being confused.
> >
> > In favor of 3b - 1] it doesn't require another connection as the current
> > one is transformed in place. 2] it sidesteps issues about caching the
> > discovery information of alternate-protocol and its scope and maybe even
> > security considerations with it. 3] websockets uses port 80 and I'm not
> > overwhelemed with bug reports about unreachable services due to the http
> > proxy problem, though the amount of use of websockets is tiny compared
> > to http and many websockets applications have comet/etc fallbacks just
> > to support browsers without a ws implementation - so the truth here
> > might not yet be known.
>

The argument for also doing upgrade is that it would be awesome if we could
get upgrade to work reliably on port 80 so that replacements to HTTP/2 can
be done reliably in the clear on port 80.
Additionally, upgrade could be an alternate-protocol hint,
e.g. alternate-protocol: 80:upgrade-http/2

>
> > Mostly I favor 3a because the caching reduces the need for latency
> > inducing bootstraps while maximizing the amount of http/2 that is used.
> > I don't constantly like redoing that bootstrap. It also dovetails nicely
> > with the srv approach as it basically tunnels the srv into http/1.
>

Ditto.


>
> I'd be a bit nervous about cache management, and specifically how/when
> to invalidate.  Two obvious cases are when the IP address changes, and
> when for some reason the other side starts barfing on SPDY.
>

The same problem (figuring out when to fall back to using HTTP/1.1) exists
in the same form with upgrade over port 80 and intermediaries. This problem
must be solved regardless of the negotiation hint/solution, even if it
affects small percentages of users, because the nature of the error would
be persistent. There has to be a decent heuristic mandated which allows a
user to eventually get their data.
-=R


>
> Eliot
>
>

--0016e6dee706dfe40004c7b89f53
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Mon, Aug 20, 2012 at 10:39 AM, Eliot =
Lear <span dir=3D"ltr">&lt;<a href=3D"mailto:lear@cisco.com" target=3D"_bla=
nk">lear@cisco.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Patrick,<br>
<div class=3D"im"><br>
On 8/20/12 3:45 PM, Patrick McManus wrote:<br>
&gt; In vancouver we agreed not to slaughter too many bytes over mandatory<=
br>
&gt; TLS; but we also talked about the need to describe how HTTP/2 binds to=
<br>
&gt; TLS. I&#39;m going to narrowly scope this email to the issues involved=
 with<br>
&gt; those situations and how the upgrade should, imo, work without getting=
<br>
&gt; into every detail:<br>
&gt;<br>
&gt; Case 1: https:// scheme - go to the port in the url (default 443) and<=
br>
&gt; use NPN to select http/2 or http/1 (default is http/1 in the case NPN =
is<br>
&gt; not implemented on the server)<br>
<br>
</div>Ok.<br>
<div class=3D"im"><br>
&gt;<br>
&gt; Case 2: http:// scheme with default port - optimistically consult DNS<=
br>
&gt; SRV looking for either http2-tls or http2-plaintext depending on what<=
br>
&gt; the client wants. If you get a SRV result back &quot;quickly&quot; go =
to the host<br>
&gt; and port provided and start speaking http2 over tls or plaintext as<br=
>
&gt; appropriate. No extra indirections, no use of http/1. Reasonable serve=
r<br>
&gt; implementations are forseeable.<br>
<br>
</div>As in happy eyeballs? =A0Sure.<br>
<div class=3D"im"><br>
&gt;<br>
&gt; Case 3: http:// scheme with an explicit port or lack of SRV informatio=
n.<br>
&gt; This is where we need to bootstrap from HTTP/1. AFAICT people want two=
<br>
&gt; different patterns:<br>
&gt;<br>
&gt; Case 3a: Direct the traffic to another location like Alternate-Protoco=
l<br>
&gt; does... basically bundling srv information with an http/1 response..<b=
r>
&gt; &quot;here is the answer to your http/1 request and btw over on port 4=
43 we<br>
&gt; speak http2-tls and on port 8080 we speak http2-plaintext&quot;.. clie=
nts can<br>
&gt; decide whether they want to jump over there right away or overlap some=
<br>
&gt; more http/1 transactions with the handshake on the other port.. its<br=
>
&gt; probably not important for http/2 to define exactly what happens other=
<br>
&gt; than the lifespan of that alternate-protocol announcement.<br>
&gt;<br>
&gt; Case 3b: transform the current connection into an http/2 connection<br=
>
&gt; (possibly even adding in tls the same way CONNECT does) with http/1<br=
>
&gt; upgrade roughly like websockets does.<br>
&gt;<br>
&gt; Does that framing seem reasonable?<br>
<br>
</div>Reasonable? =A0Yes. =A0Best course of action? =A0I don&#39;t know. =
=A0I know I&#39;m<br>
beginning to sound like a broken record, but I don&#39;t know if SRV is the=
<br>
right record for the job. =A0For one thing, if you use another record, you<=
br>
can use that same optimistic approach for an explicit port in the URI.<br>
Of course, then there is the added implementation headache of a new<br>
record. =A0We&#39;ve gotten around that elseewhere with TXT records, but I<=
br>
don&#39;t recommend it here.<br></blockquote><div><br></div><div>For my par=
t, I don&#39;t really care which record is chosen to bear the information, =
but do believe that DNS is a good mechanism for providing an appropriate hi=
nt.</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im"><br>
&gt;<br>
&gt; Does anyone want to make an argument for having both? I&#39;d prefer n=
ot to<br>
&gt; at this stage but the question seems worth asking.<br>
&gt;<br>
&gt; In favor of 3a - 1] the results are cached and future connections are<=
br>
&gt; pure http/2 without bootstrapping them each time. 2] It also can move<=
br>
&gt; http/2 to a non-port-80 location which alleviates concerns about<br>
&gt; transparent proxies being confused.<br>
&gt;<br>
&gt; In favor of 3b - 1] it doesn&#39;t require another connection as the c=
urrent<br>
&gt; one is transformed in place. 2] it sidesteps issues about caching the<=
br>
&gt; discovery information of alternate-protocol and its scope and maybe ev=
en<br>
&gt; security considerations with it. 3] websockets uses port 80 and I&#39;=
m not<br>
&gt; overwhelemed with bug reports about unreachable services due to the ht=
tp<br>
&gt; proxy problem, though the amount of use of websockets is tiny compared=
<br>
&gt; to http and many websockets applications have comet/etc fallbacks just=
<br>
&gt; to support browsers without a ws implementation - so the truth here<br=
>
&gt; might not yet be known.<br></div></blockquote><div><br></div><div>The =
argument for also doing upgrade is that it would be awesome if we could get=
 upgrade to work reliably on port 80 so that replacements to HTTP/2 can be =
done reliably in the clear on port 80.</div>
<div>Additionally, upgrade could be an alternate-protocol hint, e.g.=A0alte=
rnate-protocol: 80:upgrade-http/2=A0</div><div><br></div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
<div class=3D"im">
&gt;<br>
&gt; Mostly I favor 3a because the caching reduces the need for latency<br>
&gt; inducing bootstraps while maximizing the amount of http/2 that is used=
.<br>
&gt; I don&#39;t constantly like redoing that bootstrap. It also dovetails =
nicely<br>
&gt; with the srv approach as it basically tunnels the srv into http/1.<br>=
</div></blockquote><div><br></div><div>Ditto.</div><div>=A0</div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex">
<div class=3D"im">
<br>
</div>I&#39;d be a bit nervous about cache management, and specifically how=
/when<br>
to invalidate. =A0Two obvious cases are when the IP address changes, and<br=
>
when for some reason the other side starts barfing on SPDY.<br></blockquote=
><div><br></div><div>The same problem (figuring out when to fall back to us=
ing HTTP/1.1) exists in the same form with upgrade over port 80 and interme=
diaries. This problem must be solved regardless of the negotiation hint/sol=
ution, even if it affects small percentages of users, because the nature of=
 the error would be persistent. There has to be a decent heuristic mandated=
 which allows a user to eventually get their data.</div>
<div>-=3DR</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Eliot<br>
<br>
</font></span></blockquote></div><br>

--0016e6dee706dfe40004c7b89f53--


From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 13:57:20 2012
Return-Path: <ietf-http-wg-request@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 777DF21F8674 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 13:57:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.425
X-Spam-Level: 
X-Spam-Status: No, score=-10.425 tagged_above=-999 required=5 tests=[AWL=0.173, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qnLsCt+UPBEY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 13:57:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9ACF821F8667 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 13:57:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3Z1Q-0008DZ-3O for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 20:56:28 +0000
Resent-Date: Mon, 20 Aug 2012 20:56:28 +0000
Resent-Message-Id: <E1T3Z1Q-0008DZ-3O@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1T3Z1B-0008Cj-V0 for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 20:56:13 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1T3Z1A-0008Lv-Sa for ietf-http-wg@w3.org; Mon, 20 Aug 2012 20:56:13 +0000
Received: by wibhm6 with SMTP id hm6so3414487wib.8 for <ietf-http-wg@w3.org>; Mon, 20 Aug 2012 13:55:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CBv7ZMd6pvIkhntk3PzwWb4UTjF467CsiM8v9KHPQYU=; b=CKPbiTqxLF4aRhM8PhanDEaaVwtoBOb3DThJpfPblEbGIfAfYltynEP3QJutFmFOi7 VSU6dILjPYOSfO/CzZwaKrlwg3asWoHWkNlspyTMNNXNQrHPLKllOv0Lp6N6DPonZshM 5U5cQr8V5dN7PDQGpW55JsYnaC0rHXnUiyOEt6x4ZGHKT5hUxSreOVA6iK94Z3O6ZDSP 8NiJntPsKPp+CLA1stl8fE4biSgmBFLTmXSOpbvkna5F4XjSqGJ8cgHrMg0B4LVyUpgD yes+bbFh4oiz9gBmS9sohuEkuoyULOsLV5KtmEcjHuCPjuNsfx6C+4GjQk1us3QXxHZ+ RD4w==
MIME-Version: 1.0
Received: by 10.180.93.8 with SMTP id cq8mr31832423wib.16.1345496146413; Mon, 20 Aug 2012 13:55:46 -0700 (PDT)
Received: by 10.194.26.138 with HTTP; Mon, 20 Aug 2012 13:55:46 -0700 (PDT)
In-Reply-To: <20120820103611.GF11752@1wt.eu>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <20120820084953.GB11752@1wt.eu> <CAMm+LwgGqDV0hEAjQGAi8kwCxRyFy4bH-wYbAKgFXdacxGSg-A@mail.gmail.com> <CAP+FsNd1ofBnkYXa6G4kxVy5ryxQ1n_Kr3JakXVz2o9w1U3eUQ@mail.gmail.com> <20120820103611.GF11752@1wt.eu>
Date: Mon, 20 Aug 2012 13:55:46 -0700
Message-ID: <CAP+FsNeQQoVMaCer_i2m0rhd-NA0V-H8OxmeRPg4SVUEVS1TxQ@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, Julian Reschke <julian.reschke@gmx.de>,  Yoav Nir <ynir@checkpoint.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d043892b1da89e804c7b8bb9f
Received-SPF: pass client-ip=209.85.212.173; envelope-from=grmocg@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T3Z1A-0008Lv-Sa 7ed4734104bf8c7e7c645958ac9f61ab
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/CAP+FsNeQQoVMaCer_i2m0rhd-NA0V-H8OxmeRPg4SVUEVS1TxQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15122
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>

--f46d043892b1da89e804c7b8bb9f
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Aug 20, 2012 at 3:36 AM, Willy Tarreau <w@1wt.eu> wrote:

> Hi Roberto,
>
> On Mon, Aug 20, 2012 at 03:23:32AM -0700, Roberto Peon wrote:
> > For port 80:
> > What WebSockets has done on port 80 with upgrade seems basically fine.
> The
> > part that is unfortunate is that it requires about as much time as doing
> > the TLS handshake (an additional round-trip).
>
> As we suggested in our network-friendly draft, its possible to send
> multiple
> GET requests at once during the handshake by passing the list of URIs in a
> dedicated header. It basically allows us not to waste the round trip.
>

I agree that this can work, assuming all the URLs fit in the headers (many
servers/proxies have a maximum limit on header size to reduce attack
surface) and no other headers are required.
Having seen some incredible URLs and headers (e.g. cookies), I'm wary of
assuming this is reasonable.
For this to work, it also mandates some annoying interaction between the
HTTP/1.1 code and whatever follows it.


> > Having the data in DNS could short-circuit this, but shouldn't be a
> > dependency.
>
> The DNS requires a round trip anyway and it currently where time is wasted
> in mobile environments.
>

This is an unavoidable round-trip, though. If you don't know where to go,
one must figure that out.


>
> > I still do like the idea of "alternate-protocol", which is extremely
> poorly
> > described in the SPDY spec. The idea of alternate-protocol was that the
> > server adds the header detailing the protocol, port, and negotiation
> > mechanism. The client, if it understands it, may attempt in parallel one
> of
> > the alternate protocols. This allows a switch of protocol and port, and a
> > possible upgrade (no guarantee, given that HTTP offers plaintext and is
> > 100% completely insecure) to using TLS for HTTP schemes, assuming both
> > client and server agree to do it. This is separate from an upgrade,
> > however, in that the new protocol is spoken over a new connection which
> is
> > used only after it is established (with the previous connection remaining
> > in use until supplanted), and thus the transfer of resources is not
> blocked
> > by application-layer handshakes at any point in time.
>
> Maybe this could still be done over the established connection using an
> Upgrade ? However, I'd hope we avoid announcing IP and ports in exchanges,
> as it will cause the NAT mess we managed to avoid for years with HTTP and
> which made other protocols disappear.
>

I'm not understanding how this would cause NAT messes? I'd guess that most
external sites would just continue to use :80 and :443. Some internal sites
wouldn't, and the network there is controlled well enough that this should
cause no problem. In any case, sites are incented to be sure that users can
connect to them, and will quickly decide to simply keep using :80 and :443.
When one has an inspecting intermediary, it probably won't like to see the
upgrade, but probably would be perfectly fine with a different connection
(e.g. TLS on :443). There is simply less complexity there, imho.

-=R

--f46d043892b1da89e804c7b8bb9f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Mon, Aug 20, 2012 at 3:36 AM, Willy T=
arreau <span dir=3D"ltr">&lt;<a href=3D"mailto:w@1wt.eu" target=3D"_blank">=
w@1wt.eu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Roberto,<br>
<div class=3D"im"><br>
On Mon, Aug 20, 2012 at 03:23:32AM -0700, Roberto Peon wrote:<br>
&gt; For port 80:<br>
&gt; What WebSockets has done on port 80 with upgrade seems basically fine.=
 The<br>
&gt; part that is unfortunate is that it requires about as much time as doi=
ng<br>
&gt; the TLS handshake (an additional round-trip).<br>
<br>
</div>As we suggested in our network-friendly draft, its possible to send m=
ultiple<br>
GET requests at once during the handshake by passing the list of URIs in a<=
br>
dedicated header. It basically allows us not to waste the round trip.<br></=
blockquote><div><br></div><div>I agree that this can work,=A0assuming all t=
he URLs fit in the headers (many servers/proxies have a maximum limit on he=
ader size to reduce attack surface) and no other headers are required.</div=
>
<div>Having seen some incredible URLs and headers (e.g. cookies), I&#39;m w=
ary of assuming this is reasonable.</div><div>For this to work, it also man=
dates some annoying interaction between the HTTP/1.1 code and whatever foll=
ows it.</div>
<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im"><br>
&gt; Having the data in DNS could short-circuit this, but shouldn&#39;t be =
a<br>
&gt; dependency.<br>
<br>
</div>The DNS requires a round trip anyway and it currently where time is w=
asted<br>
in mobile environments.<br></blockquote><div><br></div><div>This is an unav=
oidable round-trip, though. If you don&#39;t know where to go, one must fig=
ure that out.</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class=3D"im"><br>
&gt; I still do like the idea of &quot;alternate-protocol&quot;, which is e=
xtremely poorly<br>
&gt; described in the SPDY spec. The idea of alternate-protocol was that th=
e<br>
&gt; server adds the header detailing the protocol, port, and negotiation<b=
r>
&gt; mechanism. The client, if it understands it, may attempt in parallel o=
ne of<br>
&gt; the alternate protocols. This allows a switch of protocol and port, an=
d a<br>
&gt; possible upgrade (no guarantee, given that HTTP offers plaintext and i=
s<br>
&gt; 100% completely insecure) to using TLS for HTTP schemes, assuming both=
<br>
&gt; client and server agree to do it. This is separate from an upgrade,<br=
>
&gt; however, in that the new protocol is spoken over a new connection whic=
h is<br>
&gt; used only after it is established (with the previous connection remain=
ing<br>
&gt; in use until supplanted), and thus the transfer of resources is not bl=
ocked<br>
&gt; by application-layer handshakes at any point in time.<br>
<br>
</div>Maybe this could still be done over the established connection using =
an<br>
Upgrade ? However, I&#39;d hope we avoid announcing IP and ports in exchang=
es,<br>
as it will cause the NAT mess we managed to avoid for years with HTTP and<b=
r>
which made other protocols disappear.<br></blockquote><div><br></div><div>I=
&#39;m not understanding how this would cause NAT messes? I&#39;d guess tha=
t most external sites would just continue to use :80 and :443. Some interna=
l sites wouldn&#39;t, and the network there is controlled well enough that =
this should cause no problem. In any case, sites are incented to be sure th=
at users can connect to them, and will quickly decide to simply keep using =
:80 and :443.</div>
<div>When one has an inspecting intermediary, it probably won&#39;t like to=
 see the upgrade, but probably would be perfectly fine with a different con=
nection (e.g. TLS on :443). There is simply less complexity there, imho.</d=
iv>
<div><br></div><div>-=3DR</div><div><br></div></div>

--f46d043892b1da89e804c7b8bb9f--


From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 14:28:56 2012
Return-Path: <ietf-http-wg-request@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 50A5821F859F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 14:28:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.88
X-Spam-Level: 
X-Spam-Status: No, score=-9.88 tagged_above=-999 required=5 tests=[AWL=0.719, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aSM8TVgPF7-S for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 14:28:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7942E21F8541 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 14:28:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3ZVy-00065l-Cn for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 21:28:02 +0000
Resent-Date: Mon, 20 Aug 2012 21:28:02 +0000
Resent-Message-Id: <E1T3ZVy-00065l-Cn@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1T3ZVk-00064k-4F for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 21:27:48 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1T3ZVi-0001uR-Rl for ietf-http-wg@w3.org; Mon, 20 Aug 2012 21:27:48 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q7KLREj2015534; Mon, 20 Aug 2012 23:27:14 +0200
Date: Mon, 20 Aug 2012 23:27:14 +0200
From: Willy Tarreau <w@1wt.eu>
To: Roberto Peon <grmocg@gmail.com>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, Julian Reschke <julian.reschke@gmx.de>, Yoav Nir <ynir@checkpoint.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20120820212714.GH11752@1wt.eu>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <20120820084953.GB11752@1wt.eu> <CAMm+LwgGqDV0hEAjQGAi8kwCxRyFy4bH-wYbAKgFXdacxGSg-A@mail.gmail.com> <CAP+FsNd1ofBnkYXa6G4kxVy5ryxQ1n_Kr3JakXVz2o9w1U3eUQ@mail.gmail.com> <20120820103611.GF11752@1wt.eu> <CAP+FsNeQQoVMaCer_i2m0rhd-NA0V-H8OxmeRPg4SVUEVS1TxQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAP+FsNeQQoVMaCer_i2m0rhd-NA0V-H8OxmeRPg4SVUEVS1TxQ@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=0.6
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RP_MATCHES_RCVD=-0.173, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T3ZVi-0001uR-Rl 8b6e20b1fbdda852f448d719936e57d7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/20120820212714.GH11752@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15123
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 Mon, Aug 20, 2012 at 01:55:46PM -0700, Roberto Peon wrote:
> > As we suggested in our network-friendly draft, its possible to send
> > multiple
> > GET requests at once during the handshake by passing the list of URIs in a
> > dedicated header. It basically allows us not to waste the round trip.
> >
> 
> I agree that this can work, assuming all the URLs fit in the headers (many
> servers/proxies have a maximum limit on header size to reduce attack
> surface) and no other headers are required.

Agreed but Apache's 8kB per header tends to be around the common usage
nowadays. And if we have to push 8kB worth of request URIs, we'll often
hit the initcwnd anyway.

> Having seen some incredible URLs and headers (e.g. cookies), I'm wary of
> assuming this is reasonable.

Agreed but quite frankly, what we're trying to achieve is a way to make
the web fast for everyone, provided there is no deliberate server-side
sabotage :-)

> For this to work, it also mandates some annoying interaction between the
> HTTP/1.1 code and whatever follows it.

Yes, that's what I find a bit annoying eventhough it's not terribly
complex as long as we support GET requests over URIs with the same
headers as the first one.

> > > Having the data in DNS could short-circuit this, but shouldn't be a
> > > dependency.
> >
> > The DNS requires a round trip anyway and it currently where time is wasted
> > in mobile environments.
> >
> 
> This is an unavoidable round-trip, though. If you don't know where to go,
> one must figure that out.

Not necessarily (eg: explicit proxies). Eventhough the proxy knows it can
talk 2.0 with the server, how does the client know it can talk 2.0 to the
proxy ?

Also, you can still have /etc/hosts pre-filled with some of your operator's
important services (login portal or whatever helps you troubleshoot your
connection settings). One might even imagine that common DNS entries could
regularly be pushed in multicast to end users to save a few round trips. Or
these entries might have been advertised in HTTP response headers as you once
explained to me :-)

In fact there are plenty of ways to access services over HTTP and I tend to
find it akwards to increase dependency on DNS.

> > Maybe this could still be done over the established connection using an
> > Upgrade ? However, I'd hope we avoid announcing IP and ports in exchanges,
> > as it will cause the NAT mess we managed to avoid for years with HTTP and
> > which made other protocols disappear.
> 
> I'm not understanding how this would cause NAT messes? I'd guess that most
> external sites would just continue to use :80 and :443.

There should be a single reliable way of getting a host IP and a port. Right
now it works well. If you change your /etc/hosts to access your development
site, you reach it without any issue and everything works well. If you want
to install a reverse-proxy-cache in front of it, you can have this cache
use the hard-coded IP address and have it work fine.

At the moment you start exchanging IP addresses in the protocol, you're getting
into trouble. Sometimes the IP is valid, sometimes it doesn't mean anything and
must be rewritten by *someone* along the chain, but most often, this *someone*
doesn't care or is not the same as the one which translates the address. I guess
everyone here has already been involved in helping any admin to rewrite Location
headers that were improperly set by a customer application that had no clue
about the valid host name or IP from the outside. This is typically the
situation we should try to avoid.

In my opinion, once an IP address and a port are known, whatever the means,
whether they're entered by hand in a URL bar of a browser, configured in
/etc/hosts, are specified in a config file as the address of a web service
or as a next hop for a reverse-proxy, we shouldn't care how that address was
learned, we should be able to use HTTP/2 over it if desired.

> Some internal sites
> wouldn't, and the network there is controlled well enough that this should
> cause no problem. In any case, sites are incented to be sure that users can
> connect to them, and will quickly decide to simply keep using :80 and :443.
> When one has an inspecting intermediary, it probably won't like to see the
> upgrade, but probably would be perfectly fine with a different connection
> (e.g. TLS on :443). There is simply less complexity there, imho.

Possibly, but this doesn't require relying on a side-band registry to know
the address and ports. After all, you have enumerated the well-known ports
above. It could be mandated that if an http connection to :80 fails, a browser
should automatically retry on 443 for instance, without having to deal with
registries such as DNS which are OK on the internet and never maintainable
internally, nor with IP addresses advertised in headers.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 15:45:48 2012
Return-Path: <ietf-http-wg-request@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 4C04321F845E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 15:45:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.133
X-Spam-Level: 
X-Spam-Status: No, score=-10.133 tagged_above=-999 required=5 tests=[AWL=-0.135, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_53=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M0I4asP4bvNU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 15:45:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D9C3821F845D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 15:45:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3ahb-0003WA-Nu for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Aug 2012 22:44:07 +0000
Resent-Date: Mon, 20 Aug 2012 22:44:07 +0000
Resent-Message-Id: <E1T3ahb-0003WA-Nu@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1T3ahE-0003Ua-Q9 for ietf-http-wg@listhub.w3.org; Mon, 20 Aug 2012 22:43:44 +0000
Received: from mail-wi0-f169.google.com ([209.85.212.169]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1T3ahD-0003zS-7l for ietf-http-wg@w3.org; Mon, 20 Aug 2012 22:43:44 +0000
Received: by wibhm2 with SMTP id hm2so3728461wib.2 for <ietf-http-wg@w3.org>; Mon, 20 Aug 2012 15:43:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MLQpr663rVUf5UldaipMOk3dGEr6l1Qj4j44pFI2eEo=; b=K/5C9QSMIg54D29jFvyk8dRvYAArp4w84G20RV9s9JZH0hBnM+H+l0UFqGIEc9eNO6 vx0g8X3ImjMGB47gfRJVbOHvUq2omPRfvUSo+L+w0E2ekn/Dws7SKh0fhGmDBbOBps/7 nyngAp7Suael1HUQRJ7rkb3PibFU3UgGHTSm9pVoNj+h0aXQ+OirolTnzGU/+YXnZp1M o4cKP4w0elzq0IXGZnV8i6HjQbBwpR1ze1uue/feHtwQbicHW4tdMoYTsm6irN/hCXRm oC10fDueWY22JCScArVPbd1OxKj24t7Bm9zO/N/6PRz7zBp4eRKmg4q4DDEDgKa7o3/P W/LA==
MIME-Version: 1.0
Received: by 10.216.132.91 with SMTP id n69mr7316574wei.178.1345502596197; Mon, 20 Aug 2012 15:43:16 -0700 (PDT)
Received: by 10.194.26.138 with HTTP; Mon, 20 Aug 2012 15:43:16 -0700 (PDT)
In-Reply-To: <20120820212714.GH11752@1wt.eu>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <20120820084953.GB11752@1wt.eu> <CAMm+LwgGqDV0hEAjQGAi8kwCxRyFy4bH-wYbAKgFXdacxGSg-A@mail.gmail.com> <CAP+FsNd1ofBnkYXa6G4kxVy5ryxQ1n_Kr3JakXVz2o9w1U3eUQ@mail.gmail.com> <20120820103611.GF11752@1wt.eu> <CAP+FsNeQQoVMaCer_i2m0rhd-NA0V-H8OxmeRPg4SVUEVS1TxQ@mail.gmail.com> <20120820212714.GH11752@1wt.eu>
Date: Mon, 20 Aug 2012 15:43:16 -0700
Message-ID: <CAP+FsNfAQMJL9KpVCGz8SvBtEGfgBY6Wa1Y8BZY0eZF-ohKryA@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, Julian Reschke <julian.reschke@gmx.de>,  Yoav Nir <ynir@checkpoint.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=0016e6d7eede4a6cfd04c7ba3c85
Received-SPF: pass client-ip=209.85.212.169; envelope-from=grmocg@gmail.com; helo=mail-wi0-f169.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T3ahD-0003zS-7l 08d0cca7bb22b54adb193a5b53821f27
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/CAP+FsNfAQMJL9KpVCGz8SvBtEGfgBY6Wa1Y8BZY0eZF-ohKryA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15124
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>

--0016e6d7eede4a6cfd04c7ba3c85
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Aug 20, 2012 at 2:27 PM, Willy Tarreau <w@1wt.eu> wrote:

> On Mon, Aug 20, 2012 at 01:55:46PM -0700, Roberto Peon wrote:
> > > As we suggested in our network-friendly draft, its possible to send
> > > multiple
> > > GET requests at once during the handshake by passing the list of URIs
> in a
> > > dedicated header. It basically allows us not to waste the round trip.
> > >
> >
> > I agree that this can work, assuming all the URLs fit in the headers
> (many
> > servers/proxies have a maximum limit on header size to reduce attack
> > surface) and no other headers are required.
>
> Agreed but Apache's 8kB per header tends to be around the common usage
> nowadays. And if we have to push 8kB worth of request URIs, we'll often
> hit the initcwnd anyway.
>
> > Having seen some incredible URLs and headers (e.g. cookies), I'm wary of
> > assuming this is reasonable.
>
> Agreed but quite frankly, what we're trying to achieve is a way to make
> the web fast for everyone, provided there is no deliberate server-side
> sabotage :-)
>

I hope we make it fast(er) even in spite of some small dosages of stupid,
but yea, you can't fix stupid. :)


>
> > For this to work, it also mandates some annoying interaction between the
> > HTTP/1.1 code and whatever follows it.
>
> Yes, that's what I find a bit annoying eventhough it's not terribly
> complex as long as we support GET requests over URIs with the same
> headers as the first one.
>
> > > > Having the data in DNS could short-circuit this, but shouldn't be a
> > > > dependency.
> > >
> > > The DNS requires a round trip anyway and it currently where time is
> wasted
> > > in mobile environments.
> > >
> >
> > This is an unavoidable round-trip, though. If you don't know where to go,
> > one must figure that out.
>
> Not necessarily (eg: explicit proxies). Eventhough the proxy knows it can
> talk 2.0 with the server, how does the client know it can talk 2.0 to the
> proxy ?
>

Good question. I'd assume proxy.pac or equivalent configuration would have
to spell it out.
In any case, the cost of getting it wrong with most explicit proxy setups
is fairly small because the proxy is generally close.
We need to worry about avoiding additional RTTs when RTTs are big, not so
much when they're small.


>
> Also, you can still have /etc/hosts pre-filled with some of your operator's
> important services (login portal or whatever helps you troubleshoot your
> connection settings). One might even imagine that common DNS entries could
> regularly be pushed in multicast to end users to save a few round trips. Or
> these entries might have been advertised in HTTP response headers as you
> once
> explained to me :-)
>

Agreed, in the cases where you've replaced DNS, DNS is irrelevant. :)


>
> In fact there are plenty of ways to access services over HTTP and I tend to
> find it akwards to increase dependency on DNS.
>

The idea as I understood it wasn't to add any dependency-- merely a way of
advertising what protocol can be spoken next during what is (for all but
those who ignore DNS). In these cases, the client would attempt the new
protocol first, likely get an error quickly, and downgrade immediately.
With a local proxy, this should not at all be costly as, well, it has a
small RTT to the user.


>
> > > Maybe this could still be done over the established connection using an
> > > Upgrade ? However, I'd hope we avoid announcing IP and ports in
> exchanges,
> > > as it will cause the NAT mess we managed to avoid for years with HTTP
> and
> > > which made other protocols disappear.
> >
> > I'm not understanding how this would cause NAT messes? I'd guess that
> most
> > external sites would just continue to use :80 and :443.
>
> There should be a single reliable way of getting a host IP and a port.
> Right
> now it works well. If you change your /etc/hosts to access your development
> site, you reach it without any issue and everything works well. If you want
> to install a reverse-proxy-cache in front of it, you can have this cache
> use the hard-coded IP address and have it work fine.
>
> At the moment you start exchanging IP addresses in the protocol, you're
> getting
> into trouble. Sometimes the IP is valid, sometimes it doesn't mean
> anything and
> must be rewritten by *someone* along the chain, but most often, this
> *someone*
> doesn't care or is not the same as the one which translates the address. I
> guess
> everyone here has already been involved in helping any admin to rewrite
> Location
> headers that were improperly set by a customer application that had no clue
> about the valid host name or IP from the outside. This is typically the
> situation we should try to avoid.
>

Everything which doesn't handle this already is significantly broken--
sometimes links have IP addresses in 'em. This is expected and valid for
the web...


>
> In my opinion, once an IP address and a port are known, whatever the means,
> whether they're entered by hand in a URL bar of a browser, configured in
> /etc/hosts, are specified in a config file as the address of a web service
> or as a next hop for a reverse-proxy, we shouldn't care how that address
> was
> learned, we should be able to use HTTP/2 over it if desired.
>

Wouldn't the proxy be doing the DNS resolutions here to figure this out?
The client would likely have to do UPGRADE or alternate-protocol or NPN to
the proxy to figure out what it'd be using, but that'd be normal...


>
> > Some internal sites
> > wouldn't, and the network there is controlled well enough that this
> should
> > cause no problem. In any case, sites are incented to be sure that users
> can
> > connect to them, and will quickly decide to simply keep using :80 and
> :443.
> > When one has an inspecting intermediary, it probably won't like to see
> the
> > upgrade, but probably would be perfectly fine with a different connection
> > (e.g. TLS on :443). There is simply less complexity there, imho.
>
> Possibly, but this doesn't require relying on a side-band registry to know
> the address and ports. After all, you have enumerated the well-known ports
> above. It could be mandated that if an http connection to :80 fails, a
> browser
> should automatically retry on 443 for instance, without having to deal with
> registries such as DNS which are OK on the internet and never maintainable
> internally, nor with IP addresses advertised in headers.
>

Agreed. I don't think anyone is yet suggesting *mandating* DNS schemes...

-=R

--0016e6d7eede4a6cfd04c7ba3c85
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Mon, Aug 20, 2012 at 2:27 PM, Willy T=
arreau <span dir=3D"ltr">&lt;<a href=3D"mailto:w@1wt.eu" target=3D"_blank">=
w@1wt.eu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im">On Mon, Aug 20, 2012 at 01:55:46PM -0700, Roberto Peon wr=
ote:<br>
&gt; &gt; As we suggested in our network-friendly draft, its possible to se=
nd<br>
&gt; &gt; multiple<br>
&gt; &gt; GET requests at once during the handshake by passing the list of =
URIs in a<br>
&gt; &gt; dedicated header. It basically allows us not to waste the round t=
rip.<br>
&gt; &gt;<br>
&gt;<br>
&gt; I agree that this can work, assuming all the URLs fit in the headers (=
many<br>
&gt; servers/proxies have a maximum limit on header size to reduce attack<b=
r>
&gt; surface) and no other headers are required.<br>
<br>
</div>Agreed but Apache&#39;s 8kB per header tends to be around the common =
usage<br>
nowadays. And if we have to push 8kB worth of request URIs, we&#39;ll often=
<br>
hit the initcwnd anyway.<br>
<div class=3D"im"><br>
&gt; Having seen some incredible URLs and headers (e.g. cookies), I&#39;m w=
ary of<br>
&gt; assuming this is reasonable.<br>
<br>
</div>Agreed but quite frankly, what we&#39;re trying to achieve is a way t=
o make<br>
the web fast for everyone, provided there is no deliberate server-side<br>
sabotage :-)<br></blockquote><div><br></div><div>I hope we make it fast(er)=
 even in spite of some small dosages of stupid, but yea, you can&#39;t fix =
stupid. :)</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class=3D"im"><br>
&gt; For this to work, it also mandates some annoying interaction between t=
he<br>
&gt; HTTP/1.1 code and whatever follows it.<br>
<br>
</div>Yes, that&#39;s what I find a bit annoying eventhough it&#39;s not te=
rribly<br>
complex as long as we support GET requests over URIs with the same<br>
headers as the first one.<br>
<div class=3D"im"><br>
&gt; &gt; &gt; Having the data in DNS could short-circuit this, but shouldn=
&#39;t be a<br>
&gt; &gt; &gt; dependency.<br>
&gt; &gt;<br>
&gt; &gt; The DNS requires a round trip anyway and it currently where time =
is wasted<br>
&gt; &gt; in mobile environments.<br>
&gt; &gt;<br>
&gt;<br>
&gt; This is an unavoidable round-trip, though. If you don&#39;t know where=
 to go,<br>
&gt; one must figure that out.<br>
<br>
</div>Not necessarily (eg: explicit proxies). Eventhough the proxy knows it=
 can<br>
talk 2.0 with the server, how does the client know it can talk 2.0 to the<b=
r>
proxy ?<br></blockquote><div><br></div><div>Good question. I&#39;d assume p=
roxy.pac or equivalent configuration would have to spell it out.</div><div>=
In any case, the cost of getting it wrong with most explicit proxy setups i=
s fairly small because the proxy is generally close.</div>
<div>We need to worry about avoiding additional RTTs when RTTs are big, not=
 so much when they&#39;re small.</div><div>=A0</div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">

<br>
Also, you can still have /etc/hosts pre-filled with some of your operator&#=
39;s<br>
important services (login portal or whatever helps you troubleshoot your<br=
>
connection settings). One might even imagine that common DNS entries could<=
br>
regularly be pushed in multicast to end users to save a few round trips. Or=
<br>
these entries might have been advertised in HTTP response headers as you on=
ce<br>
explained to me :-)<br></blockquote><div><br></div><div>Agreed, in the case=
s where you&#39;ve replaced DNS, DNS is irrelevant. :)</div><div>=A0</div><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex">

<br>
In fact there are plenty of ways to access services over HTTP and I tend to=
<br>
find it akwards to increase dependency on DNS.<br></blockquote><div><br></d=
iv><div>The idea as I understood it wasn&#39;t to add any dependency-- mere=
ly a way of advertising what protocol can be spoken next during what is (fo=
r all but those who ignore DNS). In these cases, the client would attempt t=
he new protocol first, likely get an error quickly, and downgrade immediate=
ly. With a local proxy, this should not at all be costly as, well, it has a=
 small RTT to the user.</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im"><br>
&gt; &gt; Maybe this could still be done over the established connection us=
ing an<br>
&gt; &gt; Upgrade ? However, I&#39;d hope we avoid announcing IP and ports =
in exchanges,<br>
&gt; &gt; as it will cause the NAT mess we managed to avoid for years with =
HTTP and<br>
&gt; &gt; which made other protocols disappear.<br>
&gt;<br>
&gt; I&#39;m not understanding how this would cause NAT messes? I&#39;d gue=
ss that most<br>
&gt; external sites would just continue to use :80 and :443.<br>
<br>
</div>There should be a single reliable way of getting a host IP and a port=
. Right<br>
now it works well. If you change your /etc/hosts to access your development=
<br>
site, you reach it without any issue and everything works well. If you want=
<br>
to install a reverse-proxy-cache in front of it, you can have this cache<br=
>
use the hard-coded IP address and have it work fine.<br>
<br>
At the moment you start exchanging IP addresses in the protocol, you&#39;re=
 getting<br>
into trouble. Sometimes the IP is valid, sometimes it doesn&#39;t mean anyt=
hing and<br>
must be rewritten by *someone* along the chain, but most often, this *someo=
ne*<br>
doesn&#39;t care or is not the same as the one which translates the address=
. I guess<br>
everyone here has already been involved in helping any admin to rewrite Loc=
ation<br>
headers that were improperly set by a customer application that had no clue=
<br>
about the valid host name or IP from the outside. This is typically the<br>
situation we should try to avoid.<br></blockquote><div><br></div><div>Every=
thing which doesn&#39;t handle this already is significantly broken-- somet=
imes links have IP addresses in &#39;em. This is expected and valid for the=
 web...</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<br>
In my opinion, once an IP address and a port are known, whatever the means,=
<br>
whether they&#39;re entered by hand in a URL bar of a browser, configured i=
n<br>
/etc/hosts, are specified in a config file as the address of a web service<=
br>
or as a next hop for a reverse-proxy, we shouldn&#39;t care how that addres=
s was<br>
learned, we should be able to use HTTP/2 over it if desired.<br></blockquot=
e><div><br></div><div>Wouldn&#39;t the proxy be doing the DNS resolutions h=
ere to figure this out?</div><div>The client would likely have to do UPGRAD=
E or alternate-protocol or NPN to the proxy to figure out what it&#39;d be =
using, but that&#39;d be normal...</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im"><br>
&gt; Some internal sites<br>
&gt; wouldn&#39;t, and the network there is controlled well enough that thi=
s should<br>
&gt; cause no problem. In any case, sites are incented to be sure that user=
s can<br>
&gt; connect to them, and will quickly decide to simply keep using :80 and =
:443.<br>
&gt; When one has an inspecting intermediary, it probably won&#39;t like to=
 see the<br>
&gt; upgrade, but probably would be perfectly fine with a different connect=
ion<br>
&gt; (e.g. TLS on :443). There is simply less complexity there, imho.<br>
<br>
</div>Possibly, but this doesn&#39;t require relying on a side-band registr=
y to know<br>
the address and ports. After all, you have enumerated the well-known ports<=
br>
above. It could be mandated that if an http connection to :80 fails, a brow=
ser<br>
should automatically retry on 443 for instance, without having to deal with=
<br>
registries such as DNS which are OK on the internet and never maintainable<=
br>
internally, nor with IP addresses advertised in headers.<br></blockquote><d=
iv><br></div><div>Agreed. I don&#39;t think anyone is yet suggesting *manda=
ting* DNS schemes...</div><div><br></div><div>-=3DR</div><div>=A0</div></di=
v>

--0016e6d7eede4a6cfd04c7ba3c85--


From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 21:26:56 2012
Return-Path: <ietf-http-wg-request@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 5FC1F11E80BF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 21:26:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.954
X-Spam-Level: 
X-Spam-Status: No, score=-9.954 tagged_above=-999 required=5 tests=[AWL=0.045, BAYES_00=-2.599, J_CHICKENPOX_53=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N+s5ynbhPtGA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 21:26:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1538711E80D5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 21:26:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3g1H-000138-Uo for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 04:24:47 +0000
Resent-Date: Tue, 21 Aug 2012 04:24:47 +0000
Resent-Message-Id: <E1T3g1H-000138-Uo@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1T3g0w-00010q-IA for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 04:24:26 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1T3g0s-0003ey-Hu for ietf-http-wg@w3.org; Tue, 21 Aug 2012 04:24:26 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 4DBD8E6FE0; Tue, 21 Aug 2012 16:23:58 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Tue, 21 Aug 2012 16:23:57 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <CAP+FsNfAQMJL9KpVCGz8SvBtEGfgBY6Wa1Y8BZY0eZF-ohKryA@mail.gmail.com>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <20120820084953.GB11752@1wt.eu> <CAMm+LwgGqDV0hEAjQGAi8kwCxRyFy4bH-wYbAKgFXdacxGSg-A@mail.gmail.com> <CAP+FsNd1ofBnkYXa6G4kxVy5ryxQ1n_Kr3JakXVz2o9w1U3eUQ@mail.gmail.com> <20120820103611.GF11752@1wt.eu> <CAP+FsNeQQoVMaCer_i2m0rhd-NA0V-H8OxmeRPg4SVUEVS1TxQ@mail.gmail.com> <20120820212714.GH11752@1wt.eu> <CAP+FsNfAQMJL9KpVCGz8SvBtEGfgBY6Wa1Y8BZY0eZF-ohKryA@mail.gmail.com>
Message-ID: <9c2f75d324fde4837c8a510db2278631@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T3g0s-0003ey-Hu 98662c2282d178aa71ab3818cd96b840
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/9c2f75d324fde4837c8a510db2278631@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15125
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 21.08.2012 10:43, Roberto Peon wrote:
> On Mon, Aug 20, 2012 at 2:27 PM, Willy Tarreau <w@1wt.eu> wrote:
>
>> On Mon, Aug 20, 2012 at 01:55:46PM -0700, Roberto Peon wrote:
>> >
>>
>> > For this to work, it also mandates some annoying interaction 
>> between the
>> > HTTP/1.1 code and whatever follows it.
>>
>> Yes, that's what I find a bit annoying eventhough it's not terribly
>> complex as long as we support GET requests over URIs with the same
>> headers as the first one.
>>
>> > > > Having the data in DNS could short-circuit this, but shouldn't 
>> be a
>> > > > dependency.
>> > >
>> > > The DNS requires a round trip anyway and it currently where time 
>> is
>> wasted
>> > > in mobile environments.
>> > >
>> >
>> > This is an unavoidable round-trip, though. If you don't know where 
>> to go,
>> > one must figure that out.
>>
>> Not necessarily (eg: explicit proxies). Eventhough the proxy knows 
>> it can
>> talk 2.0 with the server, how does the client know it can talk 2.0 
>> to the
>> proxy ?
>>
>
> Good question. I'd assume proxy.pac or equivalent configuration would 
> have
> to spell it out.
> In any case, the cost of getting it wrong with most explicit proxy 
> setups
> is fairly small because the proxy is generally close.
> We need to worry about avoiding additional RTTs when RTTs are big, 
> not so
> much when they're small.

.. .for values of "small" which can reach more than 20 seconds:
http://www.potaroo.net/ispcol/2012-05/notquite.html

Since a failed connection attempt is a full TCP handshake connection. 
Doing one failure for HTTP/2 and a second attempt for HTTP/1 would be 
worst-case around 45 seconds to *start* the request process.

>
>>
>> Also, you can still have /etc/hosts pre-filled with some of your 
>> operator's
>> important services (login portal or whatever helps you troubleshoot 
>> your
>> connection settings). One might even imagine that common DNS entries 
>> could
>> regularly be pushed in multicast to end users to save a few round 
>> trips. Or
>> these entries might have been advertised in HTTP response headers as 
>> you
>> once
>> explained to me :-)
>>
>
> Agreed, in the cases where you've replaced DNS, DNS is irrelevant. :)
>

+1.

>
>>
>> In fact there are plenty of ways to access services over HTTP and I 
>> tend to
>> find it akwards to increase dependency on DNS.
>>
>
> The idea as I understood it wasn't to add any dependency-- merely a 
> way of
> advertising what protocol can be spoken next during what is (for all 
> but
> those who ignore DNS). In these cases, the client would attempt the 
> new
> protocol first, likely get an error quickly, and downgrade 
> immediately.
> With a local proxy, this should not at all be costly as, well, it has 
> a
> small RTT to the user.
>

Consider the pathway scenario, which is more common:
   A->B->C->D

DNS can tell A what D's capabilities are. But A is not connecting 
there. Depending on those capability advertisements when available would 
be a costly mistake.


>
>>
>> > > Maybe this could still be done over the established connection 
>> using an
>> > > Upgrade ? However, I'd hope we avoid announcing IP and ports in
>> exchanges,
>> > > as it will cause the NAT mess we managed to avoid for years with 
>> HTTP
>> and
>> > > which made other protocols disappear.
>> >
>> > I'm not understanding how this would cause NAT messes? I'd guess 
>> that
>> most
>> > external sites would just continue to use :80 and :443.
>>
>> There should be a single reliable way of getting a host IP and a 
>> port.
>> Right
>> now it works well. If you change your /etc/hosts to access your 
>> development
>> site, you reach it without any issue and everything works well. If 
>> you want
>> to install a reverse-proxy-cache in front of it, you can have this 
>> cache
>> use the hard-coded IP address and have it work fine.

Swap "host" with "recipient" and you have the requirements lined up 
correctly. Final end-server in the chain does not matter in the 
architecture like HTTP where proxy has  existence, the host being 
connected to is all that matters. Any overlap between the two is just a 
convenience.


>>
>> At the moment you start exchanging IP addresses in the protocol, 
>> you're
>> getting
>> into trouble. Sometimes the IP is valid, sometimes it doesn't mean
>> anything and
>> must be rewritten by *someone* along the chain, but most often, this
>> *someone*
>> doesn't care or is not the same as the one which translates the 
>> address. I
>> guess
>> everyone here has already been involved in helping any admin to 
>> rewrite
>> Location
>> headers that were improperly set by a customer application that had 
>> no clue
>> about the valid host name or IP from the outside. This is typically 
>> the
>> situation we should try to avoid.
>>
>
> Everything which doesn't handle this already is significantly 
> broken--
> sometimes links have IP addresses in 'em. This is expected and valid 
> for
> the web...
>
>
>>
>> In my opinion, once an IP address and a port are known, whatever the 
>> means,
>> whether they're entered by hand in a URL bar of a browser, 
>> configured in
>> /etc/hosts, are specified in a config file as the address of a web 
>> service
>> or as a next hop for a reverse-proxy, we shouldn't care how that 
>> address
>> was
>> learned, we should be able to use HTTP/2 over it if desired.
>>
>
> Wouldn't the proxy be doing the DNS resolutions here to figure this 
> out?

*sometimes*. There is a lack of MUT NOT clause in the specs to prevent 
clients doing for example; same-origin validation.

> The client would likely have to do UPGRADE or alternate-protocol or 
> NPN to
> the proxy to figure out what it'd be using, but that'd be normal...

Exactly why, IMHO, alternatives to those are a waste of time 
considering unless they can provide the same guarantee for handling 
transit over middleware (both explicit and interceptors) safely.

SRV is a non-starter due to end-host servers not being aware of the 
details to emit for intermediaries.

I think we should be taking Upgrade: and defining ways to optimize it. 
Willy had some proposals for merging multiple requests and defining 
1.1->2.0 mapping in the headers of request #1. Figuring out how much of 
that is useful and where it could be improved would be a good way to 
progress the bootstrapping.


>>
>> > Some internal sites
>> > wouldn't, and the network there is controlled well enough that 
>> this
>> should
>> > cause no problem. In any case, sites are incented to be sure that 
>> users
>> can
>> > connect to them, and will quickly decide to simply keep using :80 
>> and
>> :443.
>> > When one has an inspecting intermediary, it probably won't like to 
>> see
>> the
>> > upgrade, but probably would be perfectly fine with a different 
>> connection
>> > (e.g. TLS on :443). There is simply less complexity there, imho.
>>
>> Possibly, but this doesn't require relying on a side-band registry 
>> to know
>> the address and ports. After all, you have enumerated the well-known 
>> ports
>> above. It could be mandated that if an http connection to :80 fails, 
>> a
>> browser
>> should automatically retry on 443 for instance, without having to 
>> deal with
>> registries such as DNS which are OK on the internet and never 
>> maintainable
>> internally, nor with IP addresses advertised in headers.
>>
>
> Agreed. I don't think anyone is yet suggesting *mandating* DNS 
> schemes...


I think we should be doing a twofold definition:
* port 80 Upgrade: from 1.x to 2.0
    - long term plans to obsolete HTTP/1.x

* port 80 Upgrade: from HTTP to HTTPS/2
    - long term plans to obsolete port 443 usage and make the http:// 
scheme TLS-enabled/secure whenever possible.


Amos


From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 22:02:23 2012
Return-Path: <ietf-http-wg-request@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 F235121F84D4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 22:02:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.457
X-Spam-Level: 
X-Spam-Status: No, score=-9.457 tagged_above=-999 required=5 tests=[AWL=0.541, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_53=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id st9oz3ej9Rtq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 22:02:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0985921F84C4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 22:02:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3gaH-0002Qp-DY for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 05:00:57 +0000
Resent-Date: Tue, 21 Aug 2012 05:00:57 +0000
Resent-Message-Id: <E1T3gaH-0002Qp-DY@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1T3ga0-0002PJ-IF for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 05:00:40 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1T3gZy-0007Xr-Kn for ietf-http-wg@w3.org; Tue, 21 Aug 2012 05:00:40 +0000
Received: by weyx43 with SMTP id x43so4615070wey.2 for <ietf-http-wg@w3.org>; Mon, 20 Aug 2012 22:00:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=memumcM0125zal/VZ+MXM1O+heNP6KSjPNQtW/2ONuE=; b=q46zEctIzhEbQz8rmOcre/dAzJqjtihOuH/6lBt6gCs3qWPx4VAy7BAMElnm+iyhsF oL8r26nX5Sa2XxbEJvqduG5Q99VtqlqNdHaHSjbkhbtwHFxE9C4aLSItkPmLFbfcxvsd 0R8wPGptEPq31w68yW1RTOOCKZuQ3PAWB53Jt+9CPbi0g+QJvWuxfEUccyVQDf1y42kk 6Q1i4dysCip3uJ6QFN79DOUvLOIcVguWPP7wqgXsXdRTSLWh/okjmcxVEy852ChA5IXN uDnS0YmsIlBE36qr5hzS9jTm+PW09G2E0+4qv9VWclW1Y01pAJcRQ0QTyW6WWjTJW4h/ ZpNA==
Received: by 10.216.237.161 with SMTP id y33mr8119368weq.62.1345525212220; Mon, 20 Aug 2012 22:00:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.58.136 with HTTP; Mon, 20 Aug 2012 21:59:51 -0700 (PDT)
In-Reply-To: <9c2f75d324fde4837c8a510db2278631@treenet.co.nz>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <20120820084953.GB11752@1wt.eu> <CAMm+LwgGqDV0hEAjQGAi8kwCxRyFy4bH-wYbAKgFXdacxGSg-A@mail.gmail.com> <CAP+FsNd1ofBnkYXa6G4kxVy5ryxQ1n_Kr3JakXVz2o9w1U3eUQ@mail.gmail.com> <20120820103611.GF11752@1wt.eu> <CAP+FsNeQQoVMaCer_i2m0rhd-NA0V-H8OxmeRPg4SVUEVS1TxQ@mail.gmail.com> <20120820212714.GH11752@1wt.eu> <CAP+FsNfAQMJL9KpVCGz8SvBtEGfgBY6Wa1Y8BZY0eZF-ohKryA@mail.gmail.com> <9c2f75d324fde4837c8a510db2278631@treenet.co.nz>
From: James M Snell <jasnell@gmail.com>
Date: Mon, 20 Aug 2012 21:59:51 -0700
Message-ID: <CABP7Rbf0L8Dt5mAXVbfEQcF3cKhZok3z-Hq43L=_e35XO2C-0Q@mail.gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=00151757752c4f8d8504c7bf800d
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T3gZy-0007Xr-Kn 4dc8844bb3b0c225de5a7f3ed1f60c38
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/CABP7Rbf0L8Dt5mAXVbfEQcF3cKhZok3z-Hq43L=_e35XO2C-0Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15126
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>

--00151757752c4f8d8504c7bf800d
Content-Type: text/plain; charset=UTF-8

So, I've been catching up on this thread and there's just one thing that I
just want to clarify: the upgrade mechanism that's being discussed is not
going to be a mandatory component of HTTP/2.0, correct? That is, I as an
implementor am not going to be required to do this upgrade dance with every
new connection, regardless of how it actually happens... right? I'm just
saying because there are a vast array of use cases where such a dance is
going to be wholly unnecessary... I would even argue that, in MANY cases,
having something as simple as http2://www.example.com that operates on a
different default port is going to be more than sufficient if the
environment is fairly controlled and predictable on both ends. Throughout
this discussion, there seems to be an implicit assumption that upgrade
discoverability is an absolute requirement.

- James

On Mon, Aug 20, 2012 at 9:23 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:

> On 21.08.2012 10:43, Roberto Peon wrote:
>
>> On Mon, Aug 20, 2012 at 2:27 PM, Willy Tarreau <w@1wt.eu> wrote:
>>
>>  On Mon, Aug 20, 2012 at 01:55:46PM -0700, Roberto Peon wrote:
>>> >
>>>
>>> > For this to work, it also mandates some annoying interaction between
>>> the
>>> > HTTP/1.1 code and whatever follows it.
>>>
>>> Yes, that's what I find a bit annoying eventhough it's not terribly
>>> complex as long as we support GET requests over URIs with the same
>>> headers as the first one.
>>>
>>> > > > Having the data in DNS could short-circuit this, but shouldn't be a
>>> > > > dependency.
>>> > >
>>> > > The DNS requires a round trip anyway and it currently where time is
>>> wasted
>>> > > in mobile environments.
>>> > >
>>> >
>>> > This is an unavoidable round-trip, though. If you don't know where to
>>> go,
>>> > one must figure that out.
>>>
>>> Not necessarily (eg: explicit proxies). Eventhough the proxy knows it can
>>> talk 2.0 with the server, how does the client know it can talk 2.0 to the
>>> proxy ?
>>>
>>>
>> Good question. I'd assume proxy.pac or equivalent configuration would have
>> to spell it out.
>> In any case, the cost of getting it wrong with most explicit proxy setups
>> is fairly small because the proxy is generally close.
>> We need to worry about avoiding additional RTTs when RTTs are big, not so
>> much when they're small.
>>
>
> .. .for values of "small" which can reach more than 20 seconds:
> http://www.potaroo.net/ispcol/**2012-05/notquite.html<http://www.potaroo.net/ispcol/2012-05/notquite.html>
>
> Since a failed connection attempt is a full TCP handshake connection.
> Doing one failure for HTTP/2 and a second attempt for HTTP/1 would be
> worst-case around 45 seconds to *start* the request process.
>
>
>
>>
>>> Also, you can still have /etc/hosts pre-filled with some of your
>>> operator's
>>> important services (login portal or whatever helps you troubleshoot your
>>> connection settings). One might even imagine that common DNS entries
>>> could
>>> regularly be pushed in multicast to end users to save a few round trips.
>>> Or
>>> these entries might have been advertised in HTTP response headers as you
>>> once
>>> explained to me :-)
>>>
>>>
>> Agreed, in the cases where you've replaced DNS, DNS is irrelevant. :)
>>
>>
> +1.
>
>
>
>>
>>> In fact there are plenty of ways to access services over HTTP and I tend
>>> to
>>> find it akwards to increase dependency on DNS.
>>>
>>>
>> The idea as I understood it wasn't to add any dependency-- merely a way of
>> advertising what protocol can be spoken next during what is (for all but
>> those who ignore DNS). In these cases, the client would attempt the new
>> protocol first, likely get an error quickly, and downgrade immediately.
>> With a local proxy, this should not at all be costly as, well, it has a
>> small RTT to the user.
>>
>>
> Consider the pathway scenario, which is more common:
>   A->B->C->D
>
> DNS can tell A what D's capabilities are. But A is not connecting there.
> Depending on those capability advertisements when available would be a
> costly mistake.
>
>
>
>
>>
>>> > > Maybe this could still be done over the established connection using
>>> an
>>> > > Upgrade ? However, I'd hope we avoid announcing IP and ports in
>>> exchanges,
>>> > > as it will cause the NAT mess we managed to avoid for years with HTTP
>>> and
>>> > > which made other protocols disappear.
>>> >
>>> > I'm not understanding how this would cause NAT messes? I'd guess that
>>> most
>>> > external sites would just continue to use :80 and :443.
>>>
>>> There should be a single reliable way of getting a host IP and a port.
>>> Right
>>> now it works well. If you change your /etc/hosts to access your
>>> development
>>> site, you reach it without any issue and everything works well. If you
>>> want
>>> to install a reverse-proxy-cache in front of it, you can have this cache
>>> use the hard-coded IP address and have it work fine.
>>>
>>
> Swap "host" with "recipient" and you have the requirements lined up
> correctly. Final end-server in the chain does not matter in the
> architecture like HTTP where proxy has  existence, the host being connected
> to is all that matters. Any overlap between the two is just a convenience.
>
>
>
>
>>> At the moment you start exchanging IP addresses in the protocol, you're
>>> getting
>>> into trouble. Sometimes the IP is valid, sometimes it doesn't mean
>>> anything and
>>> must be rewritten by *someone* along the chain, but most often, this
>>> *someone*
>>> doesn't care or is not the same as the one which translates the address.
>>> I
>>> guess
>>> everyone here has already been involved in helping any admin to rewrite
>>> Location
>>> headers that were improperly set by a customer application that had no
>>> clue
>>> about the valid host name or IP from the outside. This is typically the
>>> situation we should try to avoid.
>>>
>>>
>> Everything which doesn't handle this already is significantly broken--
>> sometimes links have IP addresses in 'em. This is expected and valid for
>> the web...
>>
>>
>>
>>> In my opinion, once an IP address and a port are known, whatever the
>>> means,
>>> whether they're entered by hand in a URL bar of a browser, configured in
>>> /etc/hosts, are specified in a config file as the address of a web
>>> service
>>> or as a next hop for a reverse-proxy, we shouldn't care how that address
>>> was
>>> learned, we should be able to use HTTP/2 over it if desired.
>>>
>>>
>> Wouldn't the proxy be doing the DNS resolutions here to figure this out?
>>
>
> *sometimes*. There is a lack of MUT NOT clause in the specs to prevent
> clients doing for example; same-origin validation.
>
>
>  The client would likely have to do UPGRADE or alternate-protocol or NPN to
>> the proxy to figure out what it'd be using, but that'd be normal...
>>
>
> Exactly why, IMHO, alternatives to those are a waste of time considering
> unless they can provide the same guarantee for handling transit over
> middleware (both explicit and interceptors) safely.
>
> SRV is a non-starter due to end-host servers not being aware of the
> details to emit for intermediaries.
>
> I think we should be taking Upgrade: and defining ways to optimize it.
> Willy had some proposals for merging multiple requests and defining
> 1.1->2.0 mapping in the headers of request #1. Figuring out how much of
> that is useful and where it could be improved would be a good way to
> progress the bootstrapping.
>
>
>
>
>>> > Some internal sites
>>> > wouldn't, and the network there is controlled well enough that this
>>> should
>>> > cause no problem. In any case, sites are incented to be sure that users
>>> can
>>> > connect to them, and will quickly decide to simply keep using :80 and
>>> :443.
>>> > When one has an inspecting intermediary, it probably won't like to see
>>> the
>>> > upgrade, but probably would be perfectly fine with a different
>>> connection
>>> > (e.g. TLS on :443). There is simply less complexity there, imho.
>>>
>>> Possibly, but this doesn't require relying on a side-band registry to
>>> know
>>> the address and ports. After all, you have enumerated the well-known
>>> ports
>>> above. It could be mandated that if an http connection to :80 fails, a
>>> browser
>>> should automatically retry on 443 for instance, without having to deal
>>> with
>>> registries such as DNS which are OK on the internet and never
>>> maintainable
>>> internally, nor with IP addresses advertised in headers.
>>>
>>>
>> Agreed. I don't think anyone is yet suggesting *mandating* DNS schemes...
>>
>
>
> I think we should be doing a twofold definition:
> * port 80 Upgrade: from 1.x to 2.0
>    - long term plans to obsolete HTTP/1.x
>
> * port 80 Upgrade: from HTTP to HTTPS/2
>    - long term plans to obsolete port 443 usage and make the http://scheme TLS-enabled/secure whenever possible.
>
>
> Amos
>
>

--00151757752c4f8d8504c7bf800d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">So, I&#39;ve been catching up on this =
thread and there&#39;s just one thing that I just want to clarify: the upgr=
ade mechanism that&#39;s being discussed is not going to be a mandatory com=
ponent of HTTP/2.0, correct? That is, I as an implementor am not going to b=
e required to do this upgrade dance with every new connection, regardless o=
f how it actually happens... right? I&#39;m just saying because there are a=
 vast array of use cases where such a dance is going to be wholly unnecessa=
ry... I would even argue that, in MANY cases, having something as simple as=
 http2://<a href=3D"http://www.example.com">www.example.com</a> that operat=
es on a different default port is going to be more than sufficient if the e=
nvironment is fairly controlled and predictable on both ends. Throughout th=
is discussion, there seems to be an implicit assumption that upgrade discov=
erability is an absolute requirement.</font><div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">- James<br></font><br><div class=3D"gmail_quote">On Mo=
n, Aug 20, 2012 at 9:23 PM, Amos Jeffries <span dir=3D"ltr">&lt;<a href=3D"=
mailto:squid3@treenet.co.nz" target=3D"_blank">squid3@treenet.co.nz</a>&gt;=
</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">On 21.08.2012 10:43, Rober=
to Peon wrote:<br>
</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex"><div class=3D"im">
On Mon, Aug 20, 2012 at 2:27 PM, Willy Tarreau &lt;<a href=3D"mailto:w@1wt.=
eu" target=3D"_blank">w@1wt.eu</a>&gt; wrote:<br>
<br>
</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex"><div class=3D"im">
On Mon, Aug 20, 2012 at 01:55:46PM -0700, Roberto Peon wrote:<br>
&gt;<br>
<br></div><div class=3D"im">
&gt; For this to work, it also mandates some annoying interaction between t=
he<br>
&gt; HTTP/1.1 code and whatever follows it.<br>
<br>
Yes, that&#39;s what I find a bit annoying eventhough it&#39;s not terribly=
<br>
complex as long as we support GET requests over URIs with the same<br>
headers as the first one.<br>
<br>
&gt; &gt; &gt; Having the data in DNS could short-circuit this, but shouldn=
&#39;t be a<br>
&gt; &gt; &gt; dependency.<br>
&gt; &gt;<br>
&gt; &gt; The DNS requires a round trip anyway and it currently where time =
is<br>
wasted<br>
&gt; &gt; in mobile environments.<br>
&gt; &gt;<br>
&gt;<br>
&gt; This is an unavoidable round-trip, though. If you don&#39;t know where=
 to go,<br>
&gt; one must figure that out.<br>
<br>
Not necessarily (eg: explicit proxies). Eventhough the proxy knows it can<b=
r>
talk 2.0 with the server, how does the client know it can talk 2.0 to the<b=
r>
proxy ?<br>
<br>
</div></blockquote><div class=3D"im">
<br>
Good question. I&#39;d assume proxy.pac or equivalent configuration would h=
ave<br>
to spell it out.<br>
In any case, the cost of getting it wrong with most explicit proxy setups<b=
r>
is fairly small because the proxy is generally close.<br>
We need to worry about avoiding additional RTTs when RTTs are big, not so<b=
r>
much when they&#39;re small.<br>
</div></blockquote>
<br>
.. .for values of &quot;small&quot; which can reach more than 20 seconds:<b=
r>
<a href=3D"http://www.potaroo.net/ispcol/2012-05/notquite.html" target=3D"_=
blank">http://www.potaroo.net/ispcol/<u></u>2012-05/notquite.html</a><br>
<br>
Since a failed connection attempt is a full TCP handshake connection. Doing=
 one failure for HTTP/2 and a second attempt for HTTP/1 would be worst-case=
 around 45 seconds to *start* the request process.<div class=3D"im"><br>


<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
Also, you can still have /etc/hosts pre-filled with some of your operator&#=
39;s<br>
important services (login portal or whatever helps you troubleshoot your<br=
>
connection settings). One might even imagine that common DNS entries could<=
br>
regularly be pushed in multicast to end users to save a few round trips. Or=
<br>
these entries might have been advertised in HTTP response headers as you<br=
>
once<br>
explained to me :-)<br>
<br>
</blockquote>
<br>
Agreed, in the cases where you&#39;ve replaced DNS, DNS is irrelevant. :)<b=
r>
<br>
</blockquote>
<br></div>
+1.<div class=3D"im"><br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
In fact there are plenty of ways to access services over HTTP and I tend to=
<br>
find it akwards to increase dependency on DNS.<br>
<br>
</blockquote>
<br>
The idea as I understood it wasn&#39;t to add any dependency-- merely a way=
 of<br>
advertising what protocol can be spoken next during what is (for all but<br=
>
those who ignore DNS). In these cases, the client would attempt the new<br>
protocol first, likely get an error quickly, and downgrade immediately.<br>
With a local proxy, this should not at all be costly as, well, it has a<br>
small RTT to the user.<br>
<br>
</blockquote>
<br></div>
Consider the pathway scenario, which is more common:<br>
=C2=A0 A-&gt;B-&gt;C-&gt;D<br>
<br>
DNS can tell A what D&#39;s capabilities are. But A is not connecting there=
. Depending on those capability advertisements when available would be a co=
stly mistake.<div class=3D"im"><br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
&gt; &gt; Maybe this could still be done over the established connection us=
ing an<br>
&gt; &gt; Upgrade ? However, I&#39;d hope we avoid announcing IP and ports =
in<br>
exchanges,<br>
&gt; &gt; as it will cause the NAT mess we managed to avoid for years with =
HTTP<br>
and<br>
&gt; &gt; which made other protocols disappear.<br>
&gt;<br>
&gt; I&#39;m not understanding how this would cause NAT messes? I&#39;d gue=
ss that<br>
most<br>
&gt; external sites would just continue to use :80 and :443.<br>
<br>
There should be a single reliable way of getting a host IP and a port.<br>
Right<br>
now it works well. If you change your /etc/hosts to access your development=
<br>
site, you reach it without any issue and everything works well. If you want=
<br>
to install a reverse-proxy-cache in front of it, you can have this cache<br=
>
use the hard-coded IP address and have it work fine.<br>
</blockquote></blockquote>
<br></div>
Swap &quot;host&quot; with &quot;recipient&quot; and you have the requireme=
nts lined up correctly. Final end-server in the chain does not matter in th=
e architecture like HTTP where proxy has =C2=A0existence, the host being co=
nnected to is all that matters. Any overlap between the two is just a conve=
nience.<div class=3D"im">

<br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
At the moment you start exchanging IP addresses in the protocol, you&#39;re=
<br>
getting<br>
into trouble. Sometimes the IP is valid, sometimes it doesn&#39;t mean<br>
anything and<br>
must be rewritten by *someone* along the chain, but most often, this<br>
*someone*<br>
doesn&#39;t care or is not the same as the one which translates the address=
. I<br>
guess<br>
everyone here has already been involved in helping any admin to rewrite<br>
Location<br>
headers that were improperly set by a customer application that had no clue=
<br>
about the valid host name or IP from the outside. This is typically the<br>
situation we should try to avoid.<br>
<br>
</blockquote>
<br>
Everything which doesn&#39;t handle this already is significantly broken--<=
br>
sometimes links have IP addresses in &#39;em. This is expected and valid fo=
r<br>
the web...<br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
In my opinion, once an IP address and a port are known, whatever the means,=
<br>
whether they&#39;re entered by hand in a URL bar of a browser, configured i=
n<br>
/etc/hosts, are specified in a config file as the address of a web service<=
br>
or as a next hop for a reverse-proxy, we shouldn&#39;t care how that addres=
s<br>
was<br>
learned, we should be able to use HTTP/2 over it if desired.<br>
<br>
</blockquote>
<br>
Wouldn&#39;t the proxy be doing the DNS resolutions here to figure this out=
?<br>
</blockquote>
<br></div>
*sometimes*. There is a lack of MUT NOT clause in the specs to prevent clie=
nts doing for example; same-origin validation.<div class=3D"im"><br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
The client would likely have to do UPGRADE or alternate-protocol or NPN to<=
br>
the proxy to figure out what it&#39;d be using, but that&#39;d be normal...=
<br>
</blockquote>
<br></div>
Exactly why, IMHO, alternatives to those are a waste of time considering un=
less they can provide the same guarantee for handling transit over middlewa=
re (both explicit and interceptors) safely.<br>
<br>
SRV is a non-starter due to end-host servers not being aware of the details=
 to emit for intermediaries.<br>
<br>
I think we should be taking Upgrade: and defining ways to optimize it. Will=
y had some proposals for merging multiple requests and defining 1.1-&gt;2.0=
 mapping in the headers of request #1. Figuring out how much of that is use=
ful and where it could be improved would be a good way to progress the boot=
strapping.<div class=3D"im">

<br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
&gt; Some internal sites<br>
&gt; wouldn&#39;t, and the network there is controlled well enough that thi=
s<br>
should<br>
&gt; cause no problem. In any case, sites are incented to be sure that user=
s<br>
can<br>
&gt; connect to them, and will quickly decide to simply keep using :80 and<=
br>
:443.<br>
&gt; When one has an inspecting intermediary, it probably won&#39;t like to=
 see<br>
the<br>
&gt; upgrade, but probably would be perfectly fine with a different connect=
ion<br>
&gt; (e.g. TLS on :443). There is simply less complexity there, imho.<br>
<br>
Possibly, but this doesn&#39;t require relying on a side-band registry to k=
now<br>
the address and ports. After all, you have enumerated the well-known ports<=
br>
above. It could be mandated that if an http connection to :80 fails, a<br>
browser<br>
should automatically retry on 443 for instance, without having to deal with=
<br>
registries such as DNS which are OK on the internet and never maintainable<=
br>
internally, nor with IP addresses advertised in headers.<br>
<br>
</blockquote>
<br>
Agreed. I don&#39;t think anyone is yet suggesting *mandating* DNS schemes.=
..<br>
</blockquote>
<br>
<br></div>
I think we should be doing a twofold definition:<br>
* port 80 Upgrade: from 1.x to 2.0<br>
=C2=A0 =C2=A0- long term plans to obsolete HTTP/1.x<br>
<br>
* port 80 Upgrade: from HTTP to HTTPS/2<br>
=C2=A0 =C2=A0- long term plans to obsolete port 443 usage and make the http=
:// scheme TLS-enabled/secure whenever possible.<span class=3D"HOEnZb"><fon=
t color=3D"#888888"><br>
<br>
<br>
Amos<br>
<br>
</font></span></blockquote></div><br></div>

--00151757752c4f8d8504c7bf800d--


From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 22:05:58 2012
Return-Path: <ietf-http-wg-request@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 E2A0A21F8577 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 22:05:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.288
X-Spam-Level: 
X-Spam-Status: No, score=-9.288 tagged_above=-999 required=5 tests=[AWL=0.110, BAYES_00=-2.599, J_CHICKENPOX_24=0.6, J_CHICKENPOX_53=0.6, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GM4YMVqOss9J for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 22:05:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EB22721F857A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 22:05:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3geO-0003xu-HX for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 05:05:12 +0000
Resent-Date: Tue, 21 Aug 2012 05:05:12 +0000
Resent-Message-Id: <E1T3geO-0003xu-HX@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1T3geA-0002hs-1B for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 05:04:58 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1T3ge8-0007eI-Ac for ietf-http-wg@w3.org; Tue, 21 Aug 2012 05:04:57 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q7L54NvZ016662; Tue, 21 Aug 2012 07:04:23 +0200
Date: Tue, 21 Aug 2012 07:04:23 +0200
From: Willy Tarreau <w@1wt.eu>
To: Roberto Peon <grmocg@gmail.com>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, Julian Reschke <julian.reschke@gmx.de>, Yoav Nir <ynir@checkpoint.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20120821050423.GA16598@1wt.eu>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <20120820084953.GB11752@1wt.eu> <CAMm+LwgGqDV0hEAjQGAi8kwCxRyFy4bH-wYbAKgFXdacxGSg-A@mail.gmail.com> <CAP+FsNd1ofBnkYXa6G4kxVy5ryxQ1n_Kr3JakXVz2o9w1U3eUQ@mail.gmail.com> <20120820103611.GF11752@1wt.eu> <CAP+FsNeQQoVMaCer_i2m0rhd-NA0V-H8OxmeRPg4SVUEVS1TxQ@mail.gmail.com> <20120820212714.GH11752@1wt.eu> <CAP+FsNfAQMJL9KpVCGz8SvBtEGfgBY6Wa1Y8BZY0eZF-ohKryA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAP+FsNfAQMJL9KpVCGz8SvBtEGfgBY6Wa1Y8BZY0eZF-ohKryA@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=0.6
X-W3C-Hub-Spam-Report: BAYES_50=0.8, NORMAL_HTTP_TO_IP=0.001, RP_MATCHES_RCVD=-0.173, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T3ge8-0007eI-Ac 19e6fc087daf0ec943337c45471f0843
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/20120821050423.GA16598@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15127
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>

Hi Roberto,

On Mon, Aug 20, 2012 at 03:43:16PM -0700, Roberto Peon wrote:
> > > > The DNS requires a round trip anyway and it currently where time is
> > wasted
> > > > in mobile environments.
> > > >
> > >
> > > This is an unavoidable round-trip, though. If you don't know where to go,
> > > one must figure that out.
> >
> > Not necessarily (eg: explicit proxies). Eventhough the proxy knows it can
> > talk 2.0 with the server, how does the client know it can talk 2.0 to the
> > proxy ?
> >
> 
> Good question. I'd assume proxy.pac or equivalent configuration would have
> to spell it out.
> In any case, the cost of getting it wrong with most explicit proxy setups
> is fairly small because the proxy is generally close.
> We need to worry about avoiding additional RTTs when RTTs are big, not so
> much when they're small.

Not in mobile environments. The highest waste of time between your smartphone
and the net are the first DNS requests for the various subdomains required to
download a page. That's why operators are rewriting/inlining contents with IP
addresses as prefixes to fetch additional objects.

When mobile operators finally decide to advertise explicit proxies, the proxy
will be far from the mobile (say 300ms) but close to the net. There you want
your smartphone to always use v2 to talk to these proxies and let those proxies
act as they want on the net.

> > In fact there are plenty of ways to access services over HTTP and I tend to
> > find it akwards to increase dependency on DNS.
> >
> 
> The idea as I understood it wasn't to add any dependency-- merely a way of
> advertising what protocol can be spoken next during what is (for all but
> those who ignore DNS). In these cases, the client would attempt the new
> protocol first, likely get an error quickly, and downgrade immediately.
> With a local proxy, this should not at all be costly as, well, it has a
> small RTT to the user.

If you remember, this is exactly like all the conversations we had about
WS 2 years ago to save round trips in case of failures. The beauty of the
HTTP Upgrade mechanism is that it can fail softly with an automatic fallback
to HTTP/1. So as long as port 80 is in use, it is possible to always advertise
the "Upgrade: HTTP/2.0" header and hope for upgrades, regardless of any other
information. Similarly for https, you can announce HTTP/2.0 in NPN and hope
for the next hop to accept it. For alternate-protocol, I don't know (I need
to read this specific part of your spec first :-)).

There should be no valid reason not to make tentative upgrades for any site,
except if it's blacklisted. But then, only the user-agent will be able to
blacklist it, we won't expect the site's owner to advertise itself as
blacklisted.

> > At the moment you start exchanging IP addresses in the protocol, you're
> > getting
> > into trouble. Sometimes the IP is valid, sometimes it doesn't mean
> > anything and
> > must be rewritten by *someone* along the chain, but most often, this
> > *someone*
> > doesn't care or is not the same as the one which translates the address. I
> > guess
> > everyone here has already been involved in helping any admin to rewrite
> > Location
> > headers that were improperly set by a customer application that had no clue
> > about the valid host name or IP from the outside. This is typically the
> > situation we should try to avoid.
> >
> 
> Everything which doesn't handle this already is significantly broken--
> sometimes links have IP addresses in 'em. This is expected and valid for
> the web...

I'm not speaking about what is delivered in contents, because contents are
not interesting for intermediaries, but about the protocol. If you expect
a proxy or reverse-proxy to make certain use of a header value and this
header transports an address or port information, I already bet there will
be a large number of deployment issues (possibly even security issues).

> > In my opinion, once an IP address and a port are known, whatever the means,
> > whether they're entered by hand in a URL bar of a browser, configured in
> > /etc/hosts, are specified in a config file as the address of a web service
> > or as a next hop for a reverse-proxy, we shouldn't care how that address
> > was
> > learned, we should be able to use HTTP/2 over it if desired.
> >
> 
> Wouldn't the proxy be doing the DNS resolutions here to figure this out?

Typically in the examples above, there would be no DNS resolution. I don't
count the number of times I've seen IP:port in app servers config files, or
even in haproxy config file. I'm used to see Apache in reverse-proxy where
you have your /etc/hosts map the server name to the next hop too. There is
no DNS involved there either.

Another example, think about your latest set-top box you unbox and plug to
your network. The manual says "connect to http://192.168.1.100/ with your
browser". If a new auth scheme is only available to 2.0, you'd rather have
your browser automatically try 2.0 there without any DNS request.

> The client would likely have to do UPGRADE or alternate-protocol or NPN to
> the proxy to figure out what it'd be using, but that'd be normal...
> 
> 
> >
> > > Some internal sites
> > > wouldn't, and the network there is controlled well enough that this
> > should
> > > cause no problem. In any case, sites are incented to be sure that users
> > can
> > > connect to them, and will quickly decide to simply keep using :80 and
> > :443.
> > > When one has an inspecting intermediary, it probably won't like to see
> > the
> > > upgrade, but probably would be perfectly fine with a different connection
> > > (e.g. TLS on :443). There is simply less complexity there, imho.
> >
> > Possibly, but this doesn't require relying on a side-band registry to know
> > the address and ports. After all, you have enumerated the well-known ports
> > above. It could be mandated that if an http connection to :80 fails, a
> > browser
> > should automatically retry on 443 for instance, without having to deal with
> > registries such as DNS which are OK on the internet and never maintainable
> > internally, nor with IP addresses advertised in headers.
> >
> 
> Agreed. I don't think anyone is yet suggesting *mandating* DNS schemes...

No, however if we need to use it to advertise the protocol version, it means
we failed to design a proper and efficient upgrade mechanism instead. If the
mechanism is valid, there is no need for help from side-band protocols. That
is my point.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Mon Aug 20 23:10:33 2012
Return-Path: <ietf-http-wg-request@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 7AA2D11E80E7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 23:10:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.946
X-Spam-Level: 
X-Spam-Status: No, score=-9.946 tagged_above=-999 required=5 tests=[AWL=-0.549, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_24=0.6, J_CHICKENPOX_53=0.6, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OYcbYznxDVPw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 20 Aug 2012 23:10:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9413C11E80E9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 20 Aug 2012 23:10:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3hdu-0004jz-Ma for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 06:08:46 +0000
Resent-Date: Tue, 21 Aug 2012 06:08:46 +0000
Resent-Message-Id: <E1T3hdu-0004jz-Ma@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1T3hdf-0004j9-Fr for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 06:08:31 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1T3hdd-0001JC-JT for ietf-http-wg@w3.org; Tue, 21 Aug 2012 06:08:31 +0000
Received: by wgbdq12 with SMTP id dq12so5713153wgb.26 for <ietf-http-wg@w3.org>; Mon, 20 Aug 2012 23:08:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fQEmgkkOKjIpkIibxCO9+hfV8OrBlm8drCpaHCg2gmk=; b=uYzeFEpfY0OzDM1WyWISWrmqOkjuBRLRmrpUs1BfsjjAvd4c1FKJd2wUG2fuMX+Npx qjYsbnmKrp/MQ/YASouyKUxu9LMibiQ1M3uk85y/aiV4GTgLc9TaI9ndlNWFldOswXtX riEJDU+EK4CQjsE1NolD7NaweyUuXno6a9vW24LSvvAMKWCbIGKlN3aMuHwrWFqQ7JFV f6tM9C0ys0h0JKeMtycYICD7C4AAtdslkOr/y7t2Y44lEqpjjqlxe9wx2VpfKnKFQWkS BLCHt/9OmMC+IuuvXDO4HDKL7dB2uPGJvqPGb+Ty3vdj1eJ771iYDkjN1+NUkvccm8JS SJQw==
MIME-Version: 1.0
Received: by 10.180.107.2 with SMTP id gy2mr33681172wib.2.1345529282755; Mon, 20 Aug 2012 23:08:02 -0700 (PDT)
Received: by 10.194.26.138 with HTTP; Mon, 20 Aug 2012 23:08:02 -0700 (PDT)
In-Reply-To: <20120821050423.GA16598@1wt.eu>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <20120820084953.GB11752@1wt.eu> <CAMm+LwgGqDV0hEAjQGAi8kwCxRyFy4bH-wYbAKgFXdacxGSg-A@mail.gmail.com> <CAP+FsNd1ofBnkYXa6G4kxVy5ryxQ1n_Kr3JakXVz2o9w1U3eUQ@mail.gmail.com> <20120820103611.GF11752@1wt.eu> <CAP+FsNeQQoVMaCer_i2m0rhd-NA0V-H8OxmeRPg4SVUEVS1TxQ@mail.gmail.com> <20120820212714.GH11752@1wt.eu> <CAP+FsNfAQMJL9KpVCGz8SvBtEGfgBY6Wa1Y8BZY0eZF-ohKryA@mail.gmail.com> <20120821050423.GA16598@1wt.eu>
Date: Mon, 20 Aug 2012 23:08:02 -0700
Message-ID: <CAP+FsNdewRDvwn3ruPdf0nnunK1E=-Mp=c7Fx5uW6KcHykaiWQ@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, Julian Reschke <julian.reschke@gmx.de>,  Yoav Nir <ynir@checkpoint.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=e89a8f3b9f65eefe0e04c7c07295
Received-SPF: pass client-ip=74.125.82.45; envelope-from=grmocg@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T3hdd-0001JC-JT 7746ab0771b7ff8e1aca74b032cc2037
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/CAP+FsNdewRDvwn3ruPdf0nnunK1E=-Mp=c7Fx5uW6KcHykaiWQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15128
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>

--e89a8f3b9f65eefe0e04c7c07295
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Aug 20, 2012 at 10:04 PM, Willy Tarreau <w@1wt.eu> wrote:

> Hi Roberto,
>
> On Mon, Aug 20, 2012 at 03:43:16PM -0700, Roberto Peon wrote:
> > > > > The DNS requires a round trip anyway and it currently where time is
> > > wasted
> > > > > in mobile environments.
> > > > >
> > > >
> > > > This is an unavoidable round-trip, though. If you don't know where
> to go,
> > > > one must figure that out.
> > >
> > > Not necessarily (eg: explicit proxies). Eventhough the proxy knows it
> can
> > > talk 2.0 with the server, how does the client know it can talk 2.0 to
> the
> > > proxy ?
> > >
> >
> > Good question. I'd assume proxy.pac or equivalent configuration would
> have
> > to spell it out.
> > In any case, the cost of getting it wrong with most explicit proxy setups
> > is fairly small because the proxy is generally close.
> > We need to worry about avoiding additional RTTs when RTTs are big, not so
> > much when they're small.
>
> Not in mobile environments. The highest waste of time between your
> smartphone
> and the net are the first DNS requests for the various subdomains required
> to
> download a page. That's why operators are rewriting/inlining contents with
> IP
> addresses as prefixes to fetch additional objects.
>

I hope this isn't the case, as renaming origins in the links that
content-providers send will break security models and break pages or allow
for some interesting exploits.

That aside, as I understand it, much of the delay on the DNS request is
actually attributable to the radio start-up time (channel acquisition,
signaling, etc). This should be viewed as a fixed latency cost for the
first RTT. Otherwise, sure, DNS resolutions can take some time, around
100-200ms.


> When mobile operators finally decide to advertise explicit proxies, the
> proxy
> will be far from the mobile (say 300ms) but close to the net. There you
> want
> your smartphone to always use v2 to talk to these proxies and let those
> proxies
> act as they want on the net.
>
>
This would be a matter of proxy configuration in the user-agent, possibly
including the protocol version to attempt to speak.
I don't see how this is relevant? A browser so configured, if it did do DNS
resolutions, would/should discard that information as it isn't making that
connection.
If it did make a connection not going through the proxy, then the DNS
information is valuable.
The DNS information is valuable to the proxy in this case, which is what I
was trying to say earlier...


> > > In fact there are plenty of ways to access services over HTTP and I
> tend to
> > > find it akwards to increase dependency on DNS.
> > >
> >
> > The idea as I understood it wasn't to add any dependency-- merely a way
> of
> > advertising what protocol can be spoken next during what is (for all but
> > those who ignore DNS). In these cases, the client would attempt the new
> > protocol first, likely get an error quickly, and downgrade immediately.
> > With a local proxy, this should not at all be costly as, well, it has a
> > small RTT to the user.
>
> If you remember, this is exactly like all the conversations we had about
> WS 2 years ago to save round trips in case of failures. The beauty of the
> HTTP Upgrade mechanism is that it can fail softly with an automatic
> fallback
> to HTTP/1. So as long as port 80 is in use, it is possible to always
> advertise
> the "Upgrade: HTTP/2.0" header and hope for upgrades, regardless of any
> other
> information. Similarly for https, you can announce HTTP/2.0 in NPN and hope
> for the next hop to accept it. For alternate-protocol, I don't know (I need
> to read this specific part of your spec first :-)).
>
>
As I remember those discussions, the design-intent was to cause a
non-compliant proxy to close the connection. This is related, but different
from requiring browsers to have decent heuristics for deciding that they
got the protocol version wrong.

One of the problems I have with upgrade as the sole mechanism is that it
will keep HTTP/1.1 around indefinitely as a required part of HTTP/2's
handshake. That doesn't seem very good to me. A user-agent should be able
to learn about the protocol the site is likely speaking, and use that
first. If it messes up (which will happen, though rarely), it should be
able to recover withing the attention-span of the user and remember...


> There should be no valid reason not to make tentative upgrades for any
> site,
> except if it's blacklisted. But then, only the user-agent will be able to
> blacklist it, we won't expect the site's owner to advertise itself as
> blacklisted.
>
>
I think I agree here. I'd interpret "tentative upgrades" as negotiation for
the next protocol (via upgrade header), but it is nitpicking.


> > > At the moment you start exchanging IP addresses in the protocol, you're
> > > getting
> > > into trouble. Sometimes the IP is valid, sometimes it doesn't mean
> > > anything and
> > > must be rewritten by *someone* along the chain, but most often, this
> > > *someone*
> > > doesn't care or is not the same as the one which translates the
> address. I
> > > guess
> > > everyone here has already been involved in helping any admin to rewrite
> > > Location
> > > headers that were improperly set by a customer application that had no
> clue
> > > about the valid host name or IP from the outside. This is typically the
> > > situation we should try to avoid.
> > >
> >
> > Everything which doesn't handle this already is significantly broken--
> > sometimes links have IP addresses in 'em. This is expected and valid for
> > the web...
>
> I'm not speaking about what is delivered in contents, because contents are
> not interesting for intermediaries, but about the protocol. If you expect
> a proxy or reverse-proxy to make certain use of a header value and this
> header transports an address or port information, I already bet there will
> be a large number of deployment issues (possibly even security issues).
>
>
Note that in all cases, it is the server, which is either public, in which
case there is no issue, or it is private, and should not be sending this
header, or the headers should be filtered out if it traverses the firewall
and refers to an internal IP. Generally, publicly reachable servers need to
know their own name, whether that be domain-name, or IP, or cert, or all of
the above.

The only party for whom any DNS information or alternate-protocol
information should be interesting is that which is connection to the
address given. If it isn't, then it should ignore it. Alternate-protocol as
it exists today assumes failure for the alternate-protocol until the
channel is actually setup, at which point the browser can proceed to use
that channel and possible remember this for future communications.


> > > In my opinion, once an IP address and a port are known, whatever the
> means,
> > > whether they're entered by hand in a URL bar of a browser, configured
> in
> > > /etc/hosts, are specified in a config file as the address of a web
> service
> > > or as a next hop for a reverse-proxy, we shouldn't care how that
> address
> > > was
> > > learned, we should be able to use HTTP/2 over it if desired.
> > >
> >
> > Wouldn't the proxy be doing the DNS resolutions here to figure this out?
>
> Typically in the examples above, there would be no DNS resolution. I don't
> count the number of times I've seen IP:port in app servers config files, or
> even in haproxy config file. I'm used to see Apache in reverse-proxy where
> you have your /etc/hosts map the server name to the next hop too. There is
> no DNS involved there either.
>
> I'm inclined to believe this could be semi-common for internal sites, but
it seems implausible that, as a percentage, there are that many DNS
disobeyers out there.

Another example, think about your latest set-top box you unbox and plug to
> your network. The manual says "connect to http://192.168.1.100/ with your
> browser". If a new auth scheme is only available to 2.0, you'd rather have
> your browser automatically try 2.0 there without any DNS request.
>

Well, I'd rather have the browser makers figure out the most appropriate
heuristic for deciding which to attempt to speak first, and be assured that
there is a fast-fail fallback to ensure that when it chooses wrong, it
downgrades within my attention span. IPv6 got this wrong, but since we've
hopefully learned from that deployment mistake...


> >
> > Agreed. I don't think anyone is yet suggesting *mandating* DNS schemes...
>
> No, however if we need to use it to advertise the protocol version, it
> means
> we failed to design a proper and efficient upgrade mechanism instead. If
> the
> mechanism is valid, there is no need for help from side-band protocols.
> That
> is my point.
>

What percentage of the world is in a situation where they don't have to do
DNS resolutions? This seems like optimization for the few instead of for
the many.
In cases where a user-agent (whether that be a proxy or a browser) has to
do a DNS resolution, having information that it speaks HTTP/2 or whatever
seems only beneficial provided such information is used only when the
user-agent is *actually* making a connection to that IP.

-=R

--e89a8f3b9f65eefe0e04c7c07295
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Mon, Aug 20, 2012 at 10:04 PM, Willy =
Tarreau <span dir=3D"ltr">&lt;<a href=3D"mailto:w@1wt.eu" target=3D"_blank"=
>w@1wt.eu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Roberto,<br>
<div class=3D"im"><br>
On Mon, Aug 20, 2012 at 03:43:16PM -0700, Roberto Peon wrote:<br>
&gt; &gt; &gt; &gt; The DNS requires a round trip anyway and it currently w=
here time is<br>
&gt; &gt; wasted<br>
&gt; &gt; &gt; &gt; in mobile environments.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; This is an unavoidable round-trip, though. If you don&#39;t =
know where to go,<br>
&gt; &gt; &gt; one must figure that out.<br>
&gt; &gt;<br>
&gt; &gt; Not necessarily (eg: explicit proxies). Eventhough the proxy know=
s it can<br>
&gt; &gt; talk 2.0 with the server, how does the client know it can talk 2.=
0 to the<br>
&gt; &gt; proxy ?<br>
&gt; &gt;<br>
&gt;<br>
&gt; Good question. I&#39;d assume proxy.pac or equivalent configuration wo=
uld have<br>
&gt; to spell it out.<br>
&gt; In any case, the cost of getting it wrong with most explicit proxy set=
ups<br>
&gt; is fairly small because the proxy is generally close.<br>
&gt; We need to worry about avoiding additional RTTs when RTTs are big, not=
 so<br>
&gt; much when they&#39;re small.<br>
<br>
</div>Not in mobile environments. The highest waste of time between your sm=
artphone<br>
and the net are the first DNS requests for the various subdomains required =
to<br>
download a page. That&#39;s why operators are rewriting/inlining contents w=
ith IP<br>
addresses as prefixes to fetch additional objects.<br></blockquote><div><br=
></div><div>I hope this isn&#39;t the case, as renaming origins in the link=
s that content-providers send will break security models and break pages or=
 allow for some interesting exploits.=A0</div>
<div><br></div><div><div>That aside, as I understand it, much of the delay =
on the DNS request is actually attributable to the radio start-up time (cha=
nnel acquisition, signaling, etc). This should be viewed as a fixed latency=
 cost for the first RTT. Otherwise, sure, DNS resolutions can take some tim=
e, around 100-200ms.</div>
<br class=3D"Apple-interchange-newline"></div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
">
<br>
When mobile operators finally decide to advertise explicit proxies, the pro=
xy<br>
will be far from the mobile (say 300ms) but close to the net. There you wan=
t<br>
your smartphone to always use v2 to talk to these proxies and let those pro=
xies<br>
act as they want on the net.<br>
<div class=3D"im"><br></div></blockquote><div><br></div><div>This would be =
a matter of proxy configuration in the user-agent, possibly including the p=
rotocol version to attempt to speak.</div><div>I don&#39;t see how this is =
relevant? A browser so configured, if it did do DNS resolutions, would/shou=
ld discard that information as it isn&#39;t making that connection.</div>
<div>If it did make a connection not going through the proxy, then the DNS =
information is valuable.</div><div>The DNS information is valuable to the p=
roxy in this case, which is what I was trying to say earlier...</div><div>
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex"><div class=3D"im">
&gt; &gt; In fact there are plenty of ways to access services over HTTP and=
 I tend to<br>
&gt; &gt; find it akwards to increase dependency on DNS.<br>
&gt; &gt;<br>
&gt;<br>
&gt; The idea as I understood it wasn&#39;t to add any dependency-- merely =
a way of<br>
&gt; advertising what protocol can be spoken next during what is (for all b=
ut<br>
&gt; those who ignore DNS). In these cases, the client would attempt the ne=
w<br>
&gt; protocol first, likely get an error quickly, and downgrade immediately=
.<br>
&gt; With a local proxy, this should not at all be costly as, well, it has =
a<br>
&gt; small RTT to the user.<br>
<br>
</div>If you remember, this is exactly like all the conversations we had ab=
out<br>
WS 2 years ago to save round trips in case of failures. The beauty of the<b=
r>
HTTP Upgrade mechanism is that it can fail softly with an automatic fallbac=
k<br>
to HTTP/1. So as long as port 80 is in use, it is possible to always advert=
ise<br>
the &quot;Upgrade: HTTP/2.0&quot; header and hope for upgrades, regardless =
of any other<br>
information. Similarly for https, you can announce HTTP/2.0 in NPN and hope=
<br>
for the next hop to accept it. For alternate-protocol, I don&#39;t know (I =
need<br>
to read this specific part of your spec first :-)).<br>
<br></blockquote><div><br></div><div>As I remember those discussions, the d=
esign-intent was to cause a non-compliant proxy to close the connection. Th=
is is related, but different from requiring browsers to have decent heurist=
ics for deciding that they got the protocol version wrong.</div>
<div><br></div><div>One of the problems I have with upgrade as the sole mec=
hanism is that it will keep HTTP/1.1 around indefinitely as a required part=
 of HTTP/2&#39;s handshake. That doesn&#39;t seem very good to me. A user-a=
gent should be able to learn about the protocol the site is likely speaking=
, and use that first. If it messes up (which will happen, though rarely), i=
t should be able to recover withing the attention-span of the user and reme=
mber...</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
There should be no valid reason not to make tentative upgrades for any site=
,<br>
except if it&#39;s blacklisted. But then, only the user-agent will be able =
to<br>
blacklist it, we won&#39;t expect the site&#39;s owner to advertise itself =
as<br>
blacklisted.<br>
<div class=3D"im"><br></div></blockquote><div><br></div><div>I think I agre=
e here. I&#39;d interpret &quot;tentative upgrades&quot; as negotiation for=
 the next protocol (via upgrade header), but it is nitpicking.</div><div>
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex"><div class=3D"im">
&gt; &gt; At the moment you start exchanging IP addresses in the protocol, =
you&#39;re<br>
&gt; &gt; getting<br>
&gt; &gt; into trouble. Sometimes the IP is valid, sometimes it doesn&#39;t=
 mean<br>
&gt; &gt; anything and<br>
&gt; &gt; must be rewritten by *someone* along the chain, but most often, t=
his<br>
&gt; &gt; *someone*<br>
&gt; &gt; doesn&#39;t care or is not the same as the one which translates t=
he address. I<br>
&gt; &gt; guess<br>
&gt; &gt; everyone here has already been involved in helping any admin to r=
ewrite<br>
&gt; &gt; Location<br>
&gt; &gt; headers that were improperly set by a customer application that h=
ad no clue<br>
&gt; &gt; about the valid host name or IP from the outside. This is typical=
ly the<br>
&gt; &gt; situation we should try to avoid.<br>
&gt; &gt;<br>
&gt;<br>
&gt; Everything which doesn&#39;t handle this already is significantly brok=
en--<br>
&gt; sometimes links have IP addresses in &#39;em. This is expected and val=
id for<br>
&gt; the web...<br>
<br>
</div>I&#39;m not speaking about what is delivered in contents, because con=
tents are<br>
not interesting for intermediaries, but about the protocol. If you expect<b=
r>
a proxy or reverse-proxy to make certain use of a header value and this<br>
header transports an address or port information, I already bet there will<=
br>
be a large number of deployment issues (possibly even security issues).<br>
<div class=3D"im"><br></div></blockquote><div><br></div><div>Note that in a=
ll cases, it is the server, which is either public, in which case there is =
no issue, or it is private, and should not be sending this header, or the h=
eaders should be filtered out if it traverses the firewall and refers to an=
 internal IP. Generally, publicly reachable servers need to know their own =
name, whether that be domain-name, or IP, or cert, or all of the above.</di=
v>
<div><br></div><div>The only party for whom any DNS information or alternat=
e-protocol information should be interesting is that which is connection to=
 the address given. If it isn&#39;t, then it should ignore it. Alternate-pr=
otocol as it exists today assumes failure for the alternate-protocol until =
the channel is actually setup, at which point the browser can proceed to us=
e that channel and possible remember this for future communications.</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><div class=3D"im">
&gt; &gt; In my opinion, once an IP address and a port are known, whatever =
the means,<br>
&gt; &gt; whether they&#39;re entered by hand in a URL bar of a browser, co=
nfigured in<br>
&gt; &gt; /etc/hosts, are specified in a config file as the address of a we=
b service<br>
&gt; &gt; or as a next hop for a reverse-proxy, we shouldn&#39;t care how t=
hat address<br>
&gt; &gt; was<br>
&gt; &gt; learned, we should be able to use HTTP/2 over it if desired.<br>
&gt; &gt;<br>
&gt;<br>
&gt; Wouldn&#39;t the proxy be doing the DNS resolutions here to figure thi=
s out?<br>
<br>
</div>Typically in the examples above, there would be no DNS resolution. I =
don&#39;t<br>
count the number of times I&#39;ve seen IP:port in app servers config files=
, or<br>
even in haproxy config file. I&#39;m used to see Apache in reverse-proxy wh=
ere<br>
you have your /etc/hosts map the server name to the next hop too. There is<=
br>
no DNS involved there either.<br>
<br></blockquote><div>I&#39;m inclined to believe this could be semi-common=
 for internal sites, but it seems implausible that, as a percentage, there =
are that many DNS disobeyers out there.</div><div><br></div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa=
dding-left:1ex">
Another example, think about your latest set-top box you unbox and plug to<=
br>
your network. The manual says &quot;connect to <a href=3D"http://192.168.1.=
100/" target=3D"_blank">http://192.168.1.100/</a> with your<br>
browser&quot;. If a new auth scheme is only available to 2.0, you&#39;d rat=
her have<br>
your browser automatically try 2.0 there without any DNS request.<br></bloc=
kquote><div><br></div><div>Well, I&#39;d rather have the browser makers fig=
ure out the most appropriate heuristic for deciding which to attempt to spe=
ak first, and be assured that there is a fast-fail fallback to ensure that =
when it chooses wrong, it downgrades within my attention span. IPv6 got thi=
s wrong, but since we&#39;ve hopefully learned from that deployment mistake=
...</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im">&gt;<br>
&gt; Agreed. I don&#39;t think anyone is yet suggesting *mandating* DNS sch=
emes...<br>
<br>
</div>No, however if we need to use it to advertise the protocol version, i=
t means<br>
we failed to design a proper and efficient upgrade mechanism instead. If th=
e<br>
mechanism is valid, there is no need for help from side-band protocols. Tha=
t<br>
is my point.<br></blockquote><div><br></div><div>What percentage of the wor=
ld is in a situation where they don&#39;t have to do DNS resolutions? This =
seems like optimization for the few instead of for the many.</div><div>
In cases where a user-agent (whether that be a proxy or a browser) has to d=
o a DNS resolution, having information that it speaks HTTP/2 or whatever se=
ems only beneficial provided such information is used only when the user-ag=
ent is *actually* making a connection to that IP.</div>
<div><br></div><div>-=3DR=A0</div></div>

--e89a8f3b9f65eefe0e04c7c07295--


From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 00:23:53 2012
Return-Path: <ietf-http-wg-request@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 9B0A121F8597 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 00:23:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.229
X-Spam-Level: 
X-Spam-Status: No, score=-10.229 tagged_above=-999 required=5 tests=[AWL=-0.231, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_53=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id as7SfGrjhIoR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 00:23:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B88A121F857A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 00:23:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3imx-0001B8-9u for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 07:22:11 +0000
Resent-Date: Tue, 21 Aug 2012 07:22:11 +0000
Resent-Message-Id: <E1T3imx-0001B8-9u@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1T3imb-00019P-LE for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 07:21:49 +0000
Received: from ams-iport-3.cisco.com ([144.254.224.146]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1T3imU-0000sQ-Lk for ietf-http-wg@w3.org; Tue, 21 Aug 2012 07:21:49 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=lear@cisco.com; l=30009; q=dns/txt; s=iport; t=1345533702; x=1346743302; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to; bh=aDO5hwqwPkA6CE2/rwhmqC0oO/vKrky5Ef1Vb8k6MoI=; b=HrNvIipyxzkfwNhglQsTg/RUWQPe2Z1Yztj3zIET/Ssumbx07ZkS8q8g xYyzuuqZP46b5LItXZFzObNzL7bp0LAwn4Cu+P47A39+OiZeSQ/APo0Nu ogSjg58zgyGyA2wZzt7E7rBt34HhLHVjhHqc6rNihs/VPK5q6p1vi6bc9 s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgEFAEg2M1CQ/khN/2dsb2JhbABFhgG0W4EHgiABAQEDARIBEAQgMQEFCwsSBgkNAQgBBwMCAgkDAgECATQDDgYNAQUCAQEehW+BdgYLmQONGINtjzOLC4N8AYINgRIDlVCOLIFmgmOBWAcc
X-IronPort-AV: E=Sophos;i="4.77,801,1336348800";  d="scan'208,217";a="7466206"
Received: from ams-core-4.cisco.com ([144.254.72.77]) by ams-iport-3.cisco.com with ESMTP; 21 Aug 2012 07:21:15 +0000
Received: from dhcp-10-55-92-130.cisco.com (dhcp-10-55-92-130.cisco.com [10.55.92.130]) by ams-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id q7L7LEQM021627 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 21 Aug 2012 07:21:14 GMT
Message-ID: <503336EA.2030203@cisco.com>
Date: Tue, 21 Aug 2012 09:21:14 +0200
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: James M Snell <jasnell@gmail.com>
CC: ietf-http-wg@w3.org
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <20120820084953.GB11752@1wt.eu> <CAMm+LwgGqDV0hEAjQGAi8kwCxRyFy4bH-wYbAKgFXdacxGSg-A@mail.gmail.com> <CAP+FsNd1ofBnkYXa6G4kxVy5ryxQ1n_Kr3JakXVz2o9w1U3eUQ@mail.gmail.com> <20120820103611.GF11752@1wt.eu> <CAP+FsNeQQoVMaCer_i2m0rhd-NA0V-H8OxmeRPg4SVUEVS1TxQ@mail.gmail.com> <20120820212714.GH11752@1wt.eu> <CAP+FsNfAQMJL9KpVCGz8SvBtEGfgBY6Wa1Y8BZY0eZF-ohKryA@mail.gmail.com> <9c2f75d324fde4837c8a510db2278631@treenet.co.nz> <CABP7Rbf0L8Dt5mAXVbfEQcF3cKhZok3z-Hq43L=_e35XO2C-0Q@mail.gmail.com>
In-Reply-To: <CABP7Rbf0L8Dt5mAXVbfEQcF3cKhZok3z-Hq43L=_e35XO2C-0Q@mail.gmail.com>
X-Enigmail-Version: 1.4.3
Content-Type: multipart/alternative; boundary="------------090904090206080503020607"
Received-SPF: pass client-ip=144.254.224.146; envelope-from=lear@cisco.com; helo=ams-iport-3.cisco.com
X-W3C-Hub-Spam-Status: No, score=-12.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.211, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: maggie.w3.org 1T3imU-0000sQ-Lk 4b776b51f3d1521300d025894c2e0520
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/503336EA.2030203@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15129
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>

This is a multi-part message in MIME format.
--------------090904090206080503020607
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

James,

IMHO upgrade discovery is an absolute requirement for anything using the
http: scheme.  Otherwise how do you get to 2.0?  Also, nobody has
proposed an alternate scheme, and I suspect such a proposal would be
contentious, to say the least.

Eliot

On 8/21/12 6:59 AM, James M Snell wrote:
> So, I've been catching up on this thread and there's just one thing
> that I just want to clarify: the upgrade mechanism that's being
> discussed is not going to be a mandatory component of HTTP/2.0,
> correct? That is, I as an implementor am not going to be required to
> do this upgrade dance with every new connection, regardless of how it
> actually happens... right? I'm just saying because there are a vast
> array of use cases where such a dance is going to be wholly
> unnecessary... I would even argue that, in MANY cases, having
> something as simple as http2://www.example.com
> <http://www.example.com> that operates on a different default port is
> going to be more than sufficient if the environment is fairly
> controlled and predictable on both ends. Throughout this discussion,
> there seems to be an implicit assumption that upgrade discoverability
> is an absolute requirement.
>
> - James
>
> On Mon, Aug 20, 2012 at 9:23 PM, Amos Jeffries <squid3@treenet.co.nz
> <mailto:squid3@treenet.co.nz>> wrote:
>
>     On 21.08.2012 10:43, Roberto Peon wrote:
>
>         On Mon, Aug 20, 2012 at 2:27 PM, Willy Tarreau <w@1wt.eu
>         <mailto:w@1wt.eu>> wrote:
>
>             On Mon, Aug 20, 2012 at 01:55:46PM -0700, Roberto Peon wrote:
>             >
>
>             > For this to work, it also mandates some annoying
>             interaction between the
>             > HTTP/1.1 code and whatever follows it.
>
>             Yes, that's what I find a bit annoying eventhough it's not
>             terribly
>             complex as long as we support GET requests over URIs with
>             the same
>             headers as the first one.
>
>             > > > Having the data in DNS could short-circuit this, but
>             shouldn't be a
>             > > > dependency.
>             > >
>             > > The DNS requires a round trip anyway and it currently
>             where time is
>             wasted
>             > > in mobile environments.
>             > >
>             >
>             > This is an unavoidable round-trip, though. If you don't
>             know where to go,
>             > one must figure that out.
>
>             Not necessarily (eg: explicit proxies). Eventhough the
>             proxy knows it can
>             talk 2.0 with the server, how does the client know it can
>             talk 2.0 to the
>             proxy ?
>
>
>         Good question. I'd assume proxy.pac or equivalent
>         configuration would have
>         to spell it out.
>         In any case, the cost of getting it wrong with most explicit
>         proxy setups
>         is fairly small because the proxy is generally close.
>         We need to worry about avoiding additional RTTs when RTTs are
>         big, not so
>         much when they're small.
>
>
>     .. .for values of "small" which can reach more than 20 seconds:
>     http://www.potaroo.net/ispcol/2012-05/notquite.html
>
>     Since a failed connection attempt is a full TCP handshake
>     connection. Doing one failure for HTTP/2 and a second attempt for
>     HTTP/1 would be worst-case around 45 seconds to *start* the
>     request process.
>
>
>
>
>             Also, you can still have /etc/hosts pre-filled with some
>             of your operator's
>             important services (login portal or whatever helps you
>             troubleshoot your
>             connection settings). One might even imagine that common
>             DNS entries could
>             regularly be pushed in multicast to end users to save a
>             few round trips. Or
>             these entries might have been advertised in HTTP response
>             headers as you
>             once
>             explained to me :-)
>
>
>         Agreed, in the cases where you've replaced DNS, DNS is
>         irrelevant. :)
>
>
>     +1.
>
>
>
>
>             In fact there are plenty of ways to access services over
>             HTTP and I tend to
>             find it akwards to increase dependency on DNS.
>
>
>         The idea as I understood it wasn't to add any dependency--
>         merely a way of
>         advertising what protocol can be spoken next during what is
>         (for all but
>         those who ignore DNS). In these cases, the client would
>         attempt the new
>         protocol first, likely get an error quickly, and downgrade
>         immediately.
>         With a local proxy, this should not at all be costly as, well,
>         it has a
>         small RTT to the user.
>
>
>     Consider the pathway scenario, which is more common:
>       A->B->C->D
>
>     DNS can tell A what D's capabilities are. But A is not connecting
>     there. Depending on those capability advertisements when available
>     would be a costly mistake.
>
>
>
>
>
>             > > Maybe this could still be done over the established
>             connection using an
>             > > Upgrade ? However, I'd hope we avoid announcing IP and
>             ports in
>             exchanges,
>             > > as it will cause the NAT mess we managed to avoid for
>             years with HTTP
>             and
>             > > which made other protocols disappear.
>             >
>             > I'm not understanding how this would cause NAT messes?
>             I'd guess that
>             most
>             > external sites would just continue to use :80 and :443.
>
>             There should be a single reliable way of getting a host IP
>             and a port.
>             Right
>             now it works well. If you change your /etc/hosts to access
>             your development
>             site, you reach it without any issue and everything works
>             well. If you want
>             to install a reverse-proxy-cache in front of it, you can
>             have this cache
>             use the hard-coded IP address and have it work fine.
>
>
>     Swap "host" with "recipient" and you have the requirements lined
>     up correctly. Final end-server in the chain does not matter in the
>     architecture like HTTP where proxy has  existence, the host being
>     connected to is all that matters. Any overlap between the two is
>     just a convenience.
>
>
>
>
>             At the moment you start exchanging IP addresses in the
>             protocol, you're
>             getting
>             into trouble. Sometimes the IP is valid, sometimes it
>             doesn't mean
>             anything and
>             must be rewritten by *someone* along the chain, but most
>             often, this
>             *someone*
>             doesn't care or is not the same as the one which
>             translates the address. I
>             guess
>             everyone here has already been involved in helping any
>             admin to rewrite
>             Location
>             headers that were improperly set by a customer application
>             that had no clue
>             about the valid host name or IP from the outside. This is
>             typically the
>             situation we should try to avoid.
>
>
>         Everything which doesn't handle this already is significantly
>         broken--
>         sometimes links have IP addresses in 'em. This is expected and
>         valid for
>         the web...
>
>
>
>             In my opinion, once an IP address and a port are known,
>             whatever the means,
>             whether they're entered by hand in a URL bar of a browser,
>             configured in
>             /etc/hosts, are specified in a config file as the address
>             of a web service
>             or as a next hop for a reverse-proxy, we shouldn't care
>             how that address
>             was
>             learned, we should be able to use HTTP/2 over it if desired.
>
>
>         Wouldn't the proxy be doing the DNS resolutions here to figure
>         this out?
>
>
>     *sometimes*. There is a lack of MUT NOT clause in the specs to
>     prevent clients doing for example; same-origin validation.
>
>
>         The client would likely have to do UPGRADE or
>         alternate-protocol or NPN to
>         the proxy to figure out what it'd be using, but that'd be
>         normal...
>
>
>     Exactly why, IMHO, alternatives to those are a waste of time
>     considering unless they can provide the same guarantee for
>     handling transit over middleware (both explicit and interceptors)
>     safely.
>
>     SRV is a non-starter due to end-host servers not being aware of
>     the details to emit for intermediaries.
>
>     I think we should be taking Upgrade: and defining ways to optimize
>     it. Willy had some proposals for merging multiple requests and
>     defining 1.1->2.0 mapping in the headers of request #1. Figuring
>     out how much of that is useful and where it could be improved
>     would be a good way to progress the bootstrapping.
>
>
>
>
>             > Some internal sites
>             > wouldn't, and the network there is controlled well
>             enough that this
>             should
>             > cause no problem. In any case, sites are incented to be
>             sure that users
>             can
>             > connect to them, and will quickly decide to simply keep
>             using :80 and
>             :443.
>             > When one has an inspecting intermediary, it probably
>             won't like to see
>             the
>             > upgrade, but probably would be perfectly fine with a
>             different connection
>             > (e.g. TLS on :443). There is simply less complexity
>             there, imho.
>
>             Possibly, but this doesn't require relying on a side-band
>             registry to know
>             the address and ports. After all, you have enumerated the
>             well-known ports
>             above. It could be mandated that if an http connection to
>             :80 fails, a
>             browser
>             should automatically retry on 443 for instance, without
>             having to deal with
>             registries such as DNS which are OK on the internet and
>             never maintainable
>             internally, nor with IP addresses advertised in headers.
>
>
>         Agreed. I don't think anyone is yet suggesting *mandating* DNS
>         schemes...
>
>
>
>     I think we should be doing a twofold definition:
>     * port 80 Upgrade: from 1.x to 2.0
>        - long term plans to obsolete HTTP/1.x
>
>     * port 80 Upgrade: from HTTP to HTTPS/2
>        - long term plans to obsolete port 443 usage and make the
>     http:// scheme TLS-enabled/secure whenever possible.
>
>
>     Amos
>
>


--------------090904090206080503020607
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    James,<br>
    <br>
    IMHO upgrade discovery is an absolute requirement for anything using
    the http: scheme.  Otherwise how do you get to 2.0?  Also, nobody
    has proposed an alternate scheme, and I suspect such a proposal
    would be contentious, to say the least.<br>
    <br>
    Eliot<br>
    <br>
    <div class="moz-cite-prefix">On 8/21/12 6:59 AM, James M Snell
      wrote:<br>
    </div>
    <blockquote
cite="mid:CABP7Rbf0L8Dt5mAXVbfEQcF3cKhZok3z-Hq43L=_e35XO2C-0Q@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <font face="courier new,monospace">So, I've been catching up on
        this thread and there's just one thing that I just want to
        clarify: the upgrade mechanism that's being discussed is not
        going to be a mandatory component of HTTP/2.0, correct? That is,
        I as an implementor am not going to be required to do this
        upgrade dance with every new connection, regardless of how it
        actually happens... right? I'm just saying because there are a
        vast array of use cases where such a dance is going to be wholly
        unnecessary... I would even argue that, in MANY cases, having
        something as simple as http2://<a moz-do-not-send="true"
          href="http://www.example.com">www.example.com</a> that
        operates on a different default port is going to be more than
        sufficient if the environment is fairly controlled and
        predictable on both ends. Throughout this discussion, there
        seems to be an implicit assumption that upgrade discoverability
        is an absolute requirement.</font>
      <div>
        <font face="courier new,monospace"><br>
        </font></div>
      <div><font face="courier new,monospace">- James<br>
        </font><br>
        <div class="gmail_quote">On Mon, Aug 20, 2012 at 9:23 PM, Amos
          Jeffries <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div class="im">On 21.08.2012 10:43, Roberto Peon wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div class="im">
                On Mon, Aug 20, 2012 at 2:27 PM, Willy Tarreau &lt;<a
                  moz-do-not-send="true" href="mailto:w@1wt.eu"
                  target="_blank">w@1wt.eu</a>&gt; wrote:<br>
                <br>
              </div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div class="im">
                  On Mon, Aug 20, 2012 at 01:55:46PM -0700, Roberto Peon
                  wrote:<br>
                  &gt;<br>
                  <br>
                </div>
                <div class="im">
                  &gt; For this to work, it also mandates some annoying
                  interaction between the<br>
                  &gt; HTTP/1.1 code and whatever follows it.<br>
                  <br>
                  Yes, that's what I find a bit annoying eventhough it's
                  not terribly<br>
                  complex as long as we support GET requests over URIs
                  with the same<br>
                  headers as the first one.<br>
                  <br>
                  &gt; &gt; &gt; Having the data in DNS could
                  short-circuit this, but shouldn't be a<br>
                  &gt; &gt; &gt; dependency.<br>
                  &gt; &gt;<br>
                  &gt; &gt; The DNS requires a round trip anyway and it
                  currently where time is<br>
                  wasted<br>
                  &gt; &gt; in mobile environments.<br>
                  &gt; &gt;<br>
                  &gt;<br>
                  &gt; This is an unavoidable round-trip, though. If you
                  don't know where to go,<br>
                  &gt; one must figure that out.<br>
                  <br>
                  Not necessarily (eg: explicit proxies). Eventhough the
                  proxy knows it can<br>
                  talk 2.0 with the server, how does the client know it
                  can talk 2.0 to the<br>
                  proxy ?<br>
                  <br>
                </div>
              </blockquote>
              <div class="im">
                <br>
                Good question. I'd assume proxy.pac or equivalent
                configuration would have<br>
                to spell it out.<br>
                In any case, the cost of getting it wrong with most
                explicit proxy setups<br>
                is fairly small because the proxy is generally close.<br>
                We need to worry about avoiding additional RTTs when
                RTTs are big, not so<br>
                much when they're small.<br>
              </div>
            </blockquote>
            <br>
            .. .for values of "small" which can reach more than 20
            seconds:<br>
            <a moz-do-not-send="true"
              href="http://www.potaroo.net/ispcol/2012-05/notquite.html"
              target="_blank">http://www.potaroo.net/ispcol/2012-05/notquite.html</a><br>
            <br>
            Since a failed connection attempt is a full TCP handshake
            connection. Doing one failure for HTTP/2 and a second
            attempt for HTTP/1 would be worst-case around 45 seconds to
            *start* the request process.
            <div class="im"><br>
              <br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <br>
                  Also, you can still have /etc/hosts pre-filled with
                  some of your operator's<br>
                  important services (login portal or whatever helps you
                  troubleshoot your<br>
                  connection settings). One might even imagine that
                  common DNS entries could<br>
                  regularly be pushed in multicast to end users to save
                  a few round trips. Or<br>
                  these entries might have been advertised in HTTP
                  response headers as you<br>
                  once<br>
                  explained to me :-)<br>
                  <br>
                </blockquote>
                <br>
                Agreed, in the cases where you've replaced DNS, DNS is
                irrelevant. :)<br>
                <br>
              </blockquote>
              <br>
            </div>
            +1.
            <div class="im"><br>
              <br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <br>
                  In fact there are plenty of ways to access services
                  over HTTP and I tend to<br>
                  find it akwards to increase dependency on DNS.<br>
                  <br>
                </blockquote>
                <br>
                The idea as I understood it wasn't to add any
                dependency-- merely a way of<br>
                advertising what protocol can be spoken next during what
                is (for all but<br>
                those who ignore DNS). In these cases, the client would
                attempt the new<br>
                protocol first, likely get an error quickly, and
                downgrade immediately.<br>
                With a local proxy, this should not at all be costly as,
                well, it has a<br>
                small RTT to the user.<br>
                <br>
              </blockquote>
              <br>
            </div>
            Consider the pathway scenario, which is more common:<br>
              A-&gt;B-&gt;C-&gt;D<br>
            <br>
            DNS can tell A what D's capabilities are. But A is not
            connecting there. Depending on those capability
            advertisements when available would be a costly mistake.
            <div class="im"><br>
              <br>
              <br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <br>
                  &gt; &gt; Maybe this could still be done over the
                  established connection using an<br>
                  &gt; &gt; Upgrade ? However, I'd hope we avoid
                  announcing IP and ports in<br>
                  exchanges,<br>
                  &gt; &gt; as it will cause the NAT mess we managed to
                  avoid for years with HTTP<br>
                  and<br>
                  &gt; &gt; which made other protocols disappear.<br>
                  &gt;<br>
                  &gt; I'm not understanding how this would cause NAT
                  messes? I'd guess that<br>
                  most<br>
                  &gt; external sites would just continue to use :80 and
                  :443.<br>
                  <br>
                  There should be a single reliable way of getting a
                  host IP and a port.<br>
                  Right<br>
                  now it works well. If you change your /etc/hosts to
                  access your development<br>
                  site, you reach it without any issue and everything
                  works well. If you want<br>
                  to install a reverse-proxy-cache in front of it, you
                  can have this cache<br>
                  use the hard-coded IP address and have it work fine.<br>
                </blockquote>
              </blockquote>
              <br>
            </div>
            Swap "host" with "recipient" and you have the requirements
            lined up correctly. Final end-server in the chain does not
            matter in the architecture like HTTP where proxy has
             existence, the host being connected to is all that matters.
            Any overlap between the two is just a convenience.
            <div class="im">
              <br>
              <br>
              <br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <br>
                  At the moment you start exchanging IP addresses in the
                  protocol, you're<br>
                  getting<br>
                  into trouble. Sometimes the IP is valid, sometimes it
                  doesn't mean<br>
                  anything and<br>
                  must be rewritten by *someone* along the chain, but
                  most often, this<br>
                  *someone*<br>
                  doesn't care or is not the same as the one which
                  translates the address. I<br>
                  guess<br>
                  everyone here has already been involved in helping any
                  admin to rewrite<br>
                  Location<br>
                  headers that were improperly set by a customer
                  application that had no clue<br>
                  about the valid host name or IP from the outside. This
                  is typically the<br>
                  situation we should try to avoid.<br>
                  <br>
                </blockquote>
                <br>
                Everything which doesn't handle this already is
                significantly broken--<br>
                sometimes links have IP addresses in 'em. This is
                expected and valid for<br>
                the web...<br>
                <br>
                <br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <br>
                  In my opinion, once an IP address and a port are
                  known, whatever the means,<br>
                  whether they're entered by hand in a URL bar of a
                  browser, configured in<br>
                  /etc/hosts, are specified in a config file as the
                  address of a web service<br>
                  or as a next hop for a reverse-proxy, we shouldn't
                  care how that address<br>
                  was<br>
                  learned, we should be able to use HTTP/2 over it if
                  desired.<br>
                  <br>
                </blockquote>
                <br>
                Wouldn't the proxy be doing the DNS resolutions here to
                figure this out?<br>
              </blockquote>
              <br>
            </div>
            *sometimes*. There is a lack of MUT NOT clause in the specs
            to prevent clients doing for example; same-origin
            validation.
            <div class="im"><br>
              <br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                The client would likely have to do UPGRADE or
                alternate-protocol or NPN to<br>
                the proxy to figure out what it'd be using, but that'd
                be normal...<br>
              </blockquote>
              <br>
            </div>
            Exactly why, IMHO, alternatives to those are a waste of time
            considering unless they can provide the same guarantee for
            handling transit over middleware (both explicit and
            interceptors) safely.<br>
            <br>
            SRV is a non-starter due to end-host servers not being aware
            of the details to emit for intermediaries.<br>
            <br>
            I think we should be taking Upgrade: and defining ways to
            optimize it. Willy had some proposals for merging multiple
            requests and defining 1.1-&gt;2.0 mapping in the headers of
            request #1. Figuring out how much of that is useful and
            where it could be improved would be a good way to progress
            the bootstrapping.
            <div class="im">
              <br>
              <br>
              <br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <br>
                  &gt; Some internal sites<br>
                  &gt; wouldn't, and the network there is controlled
                  well enough that this<br>
                  should<br>
                  &gt; cause no problem. In any case, sites are incented
                  to be sure that users<br>
                  can<br>
                  &gt; connect to them, and will quickly decide to
                  simply keep using :80 and<br>
                  :443.<br>
                  &gt; When one has an inspecting intermediary, it
                  probably won't like to see<br>
                  the<br>
                  &gt; upgrade, but probably would be perfectly fine
                  with a different connection<br>
                  &gt; (e.g. TLS on :443). There is simply less
                  complexity there, imho.<br>
                  <br>
                  Possibly, but this doesn't require relying on a
                  side-band registry to know<br>
                  the address and ports. After all, you have enumerated
                  the well-known ports<br>
                  above. It could be mandated that if an http connection
                  to :80 fails, a<br>
                  browser<br>
                  should automatically retry on 443 for instance,
                  without having to deal with<br>
                  registries such as DNS which are OK on the internet
                  and never maintainable<br>
                  internally, nor with IP addresses advertised in
                  headers.<br>
                  <br>
                </blockquote>
                <br>
                Agreed. I don't think anyone is yet suggesting
                *mandating* DNS schemes...<br>
              </blockquote>
              <br>
              <br>
            </div>
            I think we should be doing a twofold definition:<br>
            * port 80 Upgrade: from 1.x to 2.0<br>
               - long term plans to obsolete HTTP/1.x<br>
            <br>
            * port 80 Upgrade: from HTTP to HTTPS/2<br>
               - long term plans to obsolete port 443 usage and make the
            <a class="moz-txt-link-freetext" href="http://">http://</a> scheme TLS-enabled/secure whenever possible.<span
              class="HOEnZb"><font color="#888888"><br>
                <br>
                <br>
                Amos<br>
                <br>
              </font></span></blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------090904090206080503020607--


From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 01:41:25 2012
Return-Path: <ietf-http-wg-request@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 8F5D521F8607 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 01:41:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.589
X-Spam-Level: 
X-Spam-Status: No, score=-9.589 tagged_above=-999 required=5 tests=[AWL=0.409, BAYES_00=-2.599, J_CHICKENPOX_24=0.6, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WEjXsRqi4eh2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 01:41:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5A99921F85AF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 01:41:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3jzt-0004h5-RP for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 08:39:37 +0000
Resent-Date: Tue, 21 Aug 2012 08:39:37 +0000
Resent-Message-Id: <E1T3jzt-0004h5-RP@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1T3jzd-0004gG-Kc for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 08:39:21 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1T3jzc-0006wO-88 for ietf-http-wg@w3.org; Tue, 21 Aug 2012 08:39:21 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q7L8cfcc017428; Tue, 21 Aug 2012 10:38:41 +0200
Date: Tue, 21 Aug 2012 10:38:41 +0200
From: Willy Tarreau <w@1wt.eu>
To: Roberto Peon <grmocg@gmail.com>
Cc: Phillip Hallam-Baker <hallam@gmail.com>, Julian Reschke <julian.reschke@gmx.de>, Yoav Nir <ynir@checkpoint.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20120821083841.GA17316@1wt.eu>
References: <5031F48A.2050608@gmx.de> <20120820084953.GB11752@1wt.eu> <CAMm+LwgGqDV0hEAjQGAi8kwCxRyFy4bH-wYbAKgFXdacxGSg-A@mail.gmail.com> <CAP+FsNd1ofBnkYXa6G4kxVy5ryxQ1n_Kr3JakXVz2o9w1U3eUQ@mail.gmail.com> <20120820103611.GF11752@1wt.eu> <CAP+FsNeQQoVMaCer_i2m0rhd-NA0V-H8OxmeRPg4SVUEVS1TxQ@mail.gmail.com> <20120820212714.GH11752@1wt.eu> <CAP+FsNfAQMJL9KpVCGz8SvBtEGfgBY6Wa1Y8BZY0eZF-ohKryA@mail.gmail.com> <20120821050423.GA16598@1wt.eu> <CAP+FsNdewRDvwn3ruPdf0nnunK1E=-Mp=c7Fx5uW6KcHykaiWQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAP+FsNdewRDvwn3ruPdf0nnunK1E=-Mp=c7Fx5uW6KcHykaiWQ@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=0.6
X-W3C-Hub-Spam-Report: BAYES_50=0.8, NORMAL_HTTP_TO_IP=0.001, RP_MATCHES_RCVD=-0.211, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T3jzc-0006wO-88 45afdeb1e928bc23dbee81a3b39e62f2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/20120821083841.GA17316@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15130
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 Mon, Aug 20, 2012 at 11:08:02PM -0700, Roberto Peon wrote:
> > That's why operators are rewriting/inlining contents with IP
> > addresses as prefixes to fetch additional objects.
> 
> I hope this isn't the case, as renaming origins in the links that
> content-providers send will break security models and break pages or allow
> for some interesting exploits.

Unfortunately yes, as ugly and disgusting as it is, I have seen it with my own
eyes :-( It even has the side effect of having the browser not send cookies to
fetch images, which can be desirable sometimes but might break other times (eg
when trying to load an avatar maybe).

> That aside, as I understand it, much of the delay on the DNS request is
> actually attributable to the radio start-up time (channel acquisition,
> signaling, etc). This should be viewed as a fixed latency cost for the
> first RTT.

The first one is huge but next ones are still important due to shaping and
massive queuing on the RAN.

> Otherwise, sure, DNS resolutions can take some time, around
> 100-200ms.

Exactly.

> > When mobile operators finally decide to advertise explicit proxies, the
> > proxy
> > will be far from the mobile (say 300ms) but close to the net. There you
> > want
> > your smartphone to always use v2 to talk to these proxies and let those
> > proxies
> > act as they want on the net.
> >
> >
> This would be a matter of proxy configuration in the user-agent, possibly
> including the protocol version to attempt to speak.

It can be done that way indeed.

> I don't see how this is relevant? A browser so configured, if it did do DNS
> resolutions, would/should discard that information as it isn't making that
> connection.
> If it did make a connection not going through the proxy, then the DNS
> information is valuable.
> The DNS information is valuable to the proxy in this case, which is what I
> was trying to say earlier...

I see your point, but again, I don't see this as much valuable if the
upgrade can be safely done without relying on the DNS at all.

> > If you remember, this is exactly like all the conversations we had about
> > WS 2 years ago to save round trips in case of failures. The beauty of the
> > HTTP Upgrade mechanism is that it can fail softly with an automatic
> > fallback
> > to HTTP/1. So as long as port 80 is in use, it is possible to always
> > advertise
> > the "Upgrade: HTTP/2.0" header and hope for upgrades, regardless of any
> > other
> > information. Similarly for https, you can announce HTTP/2.0 in NPN and hope
> > for the next hop to accept it. For alternate-protocol, I don't know (I need
> > to read this specific part of your spec first :-)).
> >
> >
> As I remember those discussions, the design-intent was to cause a
> non-compliant proxy to close the connection. This is related, but different
> from requiring browsers to have decent heuristics for deciding that they
> got the protocol version wrong.

I see it similarly, because the need is how to ensure that either the upgrade
succeeds or we fallback to the alternative method.

> One of the problems I have with upgrade as the sole mechanism is that it
> will keep HTTP/1.1 around indefinitely as a required part of HTTP/2's
> handshake. That doesn't seem very good to me. A user-agent should be able
> to learn about the protocol the site is likely speaking, and use that
> first. If it messes up (which will happen, though rarely), it should be
> able to recover withing the attention-span of the user and remember...

Quite frankly I don't see this ever changing on port 80. We'll more likely
see more and more sites advertise "https://" URIs and browsers will probably
try "https://" by default when an URI is entered. Then the http scheme might
remain port-80 compliant for all sites which do not need https and it will
not be much of a trouble.

> > There should be no valid reason not to make tentative upgrades for any
> > site,
> > except if it's blacklisted. But then, only the user-agent will be able to
> > blacklist it, we won't expect the site's owner to advertise itself as
> > blacklisted.
> >
> >
> I think I agree here. I'd interpret "tentative upgrades" as negotiation for
> the next protocol (via upgrade header), but it is nitpicking.

Yes if you want :-)

> > I'm not speaking about what is delivered in contents, because contents are
> > not interesting for intermediaries, but about the protocol. If you expect
> > a proxy or reverse-proxy to make certain use of a header value and this
> > header transports an address or port information, I already bet there will
> > be a large number of deployment issues (possibly even security issues).
> >
> >
> Note that in all cases, it is the server, which is either public, in which
> case there is no issue, or it is private, and should not be sending this
> header, or the headers should be filtered out if it traverses the firewall
> and refers to an internal IP.

Not only. "Public" servers are often reached from the inside on another IP
address by admins, by monitoring systems or even by other users coming from
other networks. That's quite common. In fact the "public" server often is
just a public view of an internal server with a layer of reverse-proxy in
front of it.

> Generally, publicly reachable servers need to
> know their own name, whether that be domain-name, or IP, or cert, or all of
> the above.

Yes I agree.

> The only party for whom any DNS information or alternate-protocol
> information should be interesting is that which is connection to the
> address given. If it isn't, then it should ignore it. Alternate-protocol as
> it exists today assumes failure for the alternate-protocol until the
> channel is actually setup, at which point the browser can proceed to use
> that channel and possible remember this for future communications.

OK.

> > Typically in the examples above, there would be no DNS resolution. I don't
> > count the number of times I've seen IP:port in app servers config files, or
> > even in haproxy config file. I'm used to see Apache in reverse-proxy where
> > you have your /etc/hosts map the server name to the next hop too. There is
> > no DNS involved there either.
> >
> I'm inclined to believe this could be semi-common for internal sites, but
> it seems implausible that, as a percentage, there are that many DNS
> disobeyers out there.

In general you don't want to make DNS requests for a known next-hop, it is
expensive for no added value. This is why you see so many hard-coded addresses
or /etc/hosts on server-side reverse-proxies and load-balancers. One could say
that such components could be configured differently to have the HTTP version
along with the address, but then again it means we have two referentials for
the version, one part in those elements' config files and another part in the
DNS for outsiders.

> > Another example, think about your latest set-top box you unbox and plug to
> > your network. The manual says "connect to http://192.168.1.100/ with your
> > browser". If a new auth scheme is only available to 2.0, you'd rather have
> > your browser automatically try 2.0 there without any DNS request.
> >
> 
> Well, I'd rather have the browser makers figure out the most appropriate
> heuristic for deciding which to attempt to speak first, and be assured that
> there is a fast-fail fallback to ensure that when it chooses wrong, it
> downgrades within my attention span.

Totally agreed.

> IPv6 got this wrong,

Precisely and IPv6 relied on the DNS to make the transition, which really
did not help at the beginning, to say the least!

> but since we've hopefully learned from that deployment mistake...

Hehe :-)

> > > Agreed. I don't think anyone is yet suggesting *mandating* DNS schemes...
> >
> > No, however if we need to use it to advertise the protocol version, it
> > means
> > we failed to design a proper and efficient upgrade mechanism instead. If
> > the
> > mechanism is valid, there is no need for help from side-band protocols.
> > That
> > is my point.
> >
> 
> What percentage of the world is in a situation where they don't have to do
> DNS resolutions? This seems like optimization for the few instead of for
> the many.

In my opinion it's just on server-side, and internal networks. It's not a
big deal, but it creates a number of dirty situations which are generally
solved the worst way. If we can avoid this it's preferable in my opinion.

> In cases where a user-agent (whether that be a proxy or a browser) has to
> do a DNS resolution, having information that it speaks HTTP/2 or whatever
> seems only beneficial provided such information is used only when the
> user-agent is *actually* making a connection to that IP.

Another point is that DNS makes it difficult to manage multiple services by
multiple entities on the same name. But then again it's mainly an internal
issue only.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 05:36:45 2012
Return-Path: <ietf-http-wg-request@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 E75FF21F8652 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 05:36:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.565
X-Spam-Level: 
X-Spam-Status: No, score=-10.565 tagged_above=-999 required=5 tests=[AWL=0.034, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 93WFbKXzgpfn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 05:36:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6AEB121F8653 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 05:36:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3ncN-0000NF-PK for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 12:31:35 +0000
Resent-Date: Tue, 21 Aug 2012 12:31:35 +0000
Resent-Message-Id: <E1T3ncN-0000NF-PK@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1T3ncE-0000Lw-Gb for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 12:31:26 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1T3nc8-0002ZY-V8 for ietf-http-wg@w3.org; Tue, 21 Aug 2012 12:31:26 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id 0D7C81030F; Tue, 21 Aug 2012 08:30:58 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id D6655102A9; Tue, 21 Aug 2012 08:30:54 -0400 (EDT)
Message-ID: <1345552251.2877.86.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: James M Snell <jasnell@gmail.com>
Cc: ietf-http-wg@w3.org
Date: Tue, 21 Aug 2012 08:30:51 -0400
In-Reply-To: <CABP7Rbf0L8Dt5mAXVbfEQcF3cKhZok3z-Hq43L=_e35XO2C-0Q@mail.gmail.com>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <20120820084953.GB11752@1wt.eu> <CAMm+LwgGqDV0hEAjQGAi8kwCxRyFy4bH-wYbAKgFXdacxGSg-A@mail.gmail.com> <CAP+FsNd1ofBnkYXa6G4kxVy5ryxQ1n_Kr3JakXVz2o9w1U3eUQ@mail.gmail.com> <20120820103611.GF11752@1wt.eu> <CAP+FsNeQQoVMaCer_i2m0rhd-NA0V-H8OxmeRPg4SVUEVS1TxQ@mail.gmail.com> <20120820212714.GH11752@1wt.eu> <CAP+FsNfAQMJL9KpVCGz8SvBtEGfgBY6Wa1Y8BZY0eZF-ohKryA@mail.gmail.com> <9c2f75d324fde4837c8a510db2278631@treenet.co.nz> <CABP7Rbf0L8Dt5mAXVbfEQcF3cKhZok3z-Hq43L=_e35XO2C-0Q@mail.gmail.com>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8
X-W3C-Scan-Sig: maggie.w3.org 1T3nc8-0002ZY-V8 751759d46cb52f0f2f246f39e8094dae
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/1345552251.2877.86.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15131
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>

Hi James,

On Mon, 2012-08-20 at 21:59 -0700, James M Snell wrote:
> That is, I as an implementor am not going to be required to do this
> upgrade dance with every new connection, regardless of how it actually
> happens... right?

If we define something on port 80 that uses Http Upgrade, then likely
you will - like websockets does. That's an argument against http
upgrade. I would like to think some mechanism that lets you explicitly
know that http/2 is in use on another port would be preferable and let
you skip that dance once discovery is complete (i.e. dns srv and/or
alternate-protocol). I don't think sending http/2 on port 80 without
upgrade would ever be viable due to proxies etc..

>  http2://www.example.com that operates on a different default port is 

a new scheme is out of scope of the proposed charter as far as I
understand it as the charter expects HTTP/2 to retain the existing URI
semantics of HTTP/1.1. 





From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 06:21:41 2012
Return-Path: <ietf-http-wg-request@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 B154E21F8634 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 06:21:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.987
X-Spam-Level: 
X-Spam-Status: No, score=-9.987 tagged_above=-999 required=5 tests=[AWL=2.612, BAYES_00=-2.599, GB_I_LETTER=-2, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ikJyYg8yHP5S for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 06:21:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F12DE21F8628 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 06:21:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3oNN-0003Al-FK for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 13:20:09 +0000
Resent-Date: Tue, 21 Aug 2012 13:20:09 +0000
Resent-Message-Id: <E1T3oNN-0003Al-FK@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T3oN7-0001uA-4j for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 13:19:53 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T3oN6-000529-5c for ietf-http-wg@w3.org; Tue, 21 Aug 2012 13:19:53 +0000
Received: by obqv19 with SMTP id v19so11837058obq.2 for <ietf-http-wg@w3.org>; Tue, 21 Aug 2012 06:19:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=uFa/XgZQe+s9cCh0dF4N7yut/3Y1xGBV7atxGaSwfdY=; b=qKuJBFwCf3cn/Ch/yPptT2eyf/NHQlufQppoTOpTlLU6la+SIy3lSVNwwOEkeBFBLO d2ro7pHldE1ltTCdOaNGiau2LaDdfXv6QKl5zomLTf+UU1j7HfxXY7Sw0EFdUftWrRuw wLi2+OdqMW2VfVgrvw1UaM2gVEuPxT7U/dVqfGNMg94gvfP9d/L/GANkjcJqjCKM9nhJ h1twYU+VB8s7bgz/20retgdvl3V5NciDK+Cc7v5opJrXo+DSAUCL+KAVecZh98Au62/G eiLqd9bUguMPfndQuf4B3sPDwr+3E+EdQhj9JoOxn+kDHRQSJCPOPvqQM2izce+5RDXW MM4g==
MIME-Version: 1.0
Received: by 10.182.75.33 with SMTP id z1mr13197092obv.9.1345555165975; Tue, 21 Aug 2012 06:19:25 -0700 (PDT)
Received: by 10.76.80.10 with HTTP; Tue, 21 Aug 2012 06:19:25 -0700 (PDT)
Date: Tue, 21 Aug 2012 09:19:25 -0400
Message-ID: <CAMm+LwjSVHzRQS3W4NLBQfe+Bmpk2c5ovuOtrNjOSx1EDBDG0g@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.7
X-W3C-Hub-Spam-Report: BAYES_60=1.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T3oN6-000529-5c 94e644339ef931d5ecb034beacb39fcc
X-Original-To: ietf-http-wg@w3.org
Subject: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/CAMm+LwjSVHzRQS3W4NLBQfe+Bmpk2c5ovuOtrNjOSx1EDBDG0g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15132
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>

I am seeing a lot of overlapping discussions in the 'upgrade' thread
where the positions stem from different views as to the importance of
different types of optimization. Specifically we have a choice:

1) Optimize for the state of network conditions now

2) Optimize for the state of network conditions we expect to exist later

3) Design for some sort of balance between the two.

Unlike most protocol proposals, HTTP/2 is big enough to drive changes
in infrastructure. If HTTP/2 will go faster over a purple Internet
connection then pretty soon there will be purple connections being
installed. It will be a long time before there are no connections that
are not purple, but we can get to mostly purple pretty quick.

It is obvious that HTTP/2 has to establish a connection in every
situation where HTTP/1 will work. It is far from obvious that HTTP/2
must be a Pareto optimization on HTTP/1 and never result in worse
service regardless of the situation.


I do not like the Google approach of hyper-optimizing the protocol to
todays network conditions for that reason. Saving one packet in 20%
might seem important now but not if doing so locks us into a scheme
that will be sub-optimal later on.

In particular I do not want to see the whole design compromised for
the sake of reducing latency by a hair in Panera.

If we go for only doing in-band upgrade it means that we always have
to play the guessing game of HTTP/1.1 or 2.0 every time we try to
connect. And this will become even harder if we ever decide to do a
HTTP/3.0.


It is pretty clear to me that we are going to have to support some
form of in-band upgrade. But even if that turns out to be the fastest
choice in 2012 deciding to only do in-band upgrade means that we are
permanently locked into a sub-optimal solution in perpetuity.

2012 Latency should only be one of the deciding factors. Other factors
should be:

* Can we move to a HTTP/3.0 in this scheme? If not its a non starter.

* 2016 Latency: Performance after 80% of the network has been upgraded
to support the new spec as fast as possible

* 2020 Latency: Performance when the remaining legacy can be ignored
as far as latency issues are concerned, people using 2012 gear in 2020
are not going to be getting world class latency anyway.

* IP Port saving: We are racking up Web Services pretty fast at the
moment. At this point there are far more than 66535 Web services in
common use so port numbers are a dead letter.

* Web Services direct connect

Well Known service URLs are only a partial solution when a domain is
serving multiple Web Services. If you have 20+ Web services on your
site that all have a significant CPU load you have basically two
solutions today. The first is to plan ahead and give each service its
own DNS name so that they can be mapped to hosts as required (thus
making WKS irrelevant). The second is to deploy a 2 tier scheme in
which the front end is just a redirect to whatever back end is doing
the work. This is a very common configuration and essentially doubles
the number of machines you need and increases latency for no real
benefit other than making administration possible.

SRV and URI permit a direct connection to the host for the specific
Web Service. There is no need to do tiering just for the sake of
mapping the protocol onto the HTTP Web Service endpoint.


From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 06:38:48 2012
Return-Path: <ietf-http-wg-request@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 E075021F8643 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 06:38:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.584
X-Spam-Level: 
X-Spam-Status: No, score=-10.584 tagged_above=-999 required=5 tests=[AWL=0.015, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oRU9QEQWBhwy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 06:38:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3548B21F8607 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 06:38:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3oeD-0004cN-IC for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 13:37:33 +0000
Resent-Date: Tue, 21 Aug 2012 13:37:33 +0000
Resent-Message-Id: <E1T3oeD-0004cN-IC@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1T3odz-0004a4-Fs for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 13:37:19 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1T3odx-0002Ia-Kp for ietf-http-wg@w3.org; Tue, 21 Aug 2012 13:37:19 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 09C763B75E; Tue, 21 Aug 2012 13:36:34 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q7LDaYZA083664; Tue, 21 Aug 2012 13:36:34 GMT (envelope-from phk@phk.freebsd.dk)
To: Phillip Hallam-Baker <hallam@gmail.com>
cc: ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 21 Aug 2012 09:19:25 -0400." <CAMm+LwjSVHzRQS3W4NLBQfe+Bmpk2c5ovuOtrNjOSx1EDBDG0g@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 21 Aug 2012 13:36:34 +0000
Message-ID: <83663.1345556194@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=1.3
X-W3C-Hub-Spam-Report: BAYES_60=1.5, RP_MATCHES_RCVD=-0.211
X-W3C-Scan-Sig: lisa.w3.org 1T3odx-0002Ia-Kp 09038d1890169964916a66523170125c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/83663.1345556194@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15133
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>

In message <CAMm+LwjSVHzRQS3W4NLBQfe+Bmpk2c5ovuOtrNjOSx1EDBDG0g@mail.gmail.com>
, Phillip Hallam-Baker writes:

>Unlike most protocol proposals, HTTP/2 is big enough to drive changes
>in infrastructure. If HTTP/2 will go faster over a purple Internet
>connection then pretty soon there will be purple connections being
>installed. 

Provided, and this is a very big variable, that HTTP/2 brings enough
benefits to pay for the purple internet.

IPv6 should have taught everybody, that just because the IETF is
in party mode, doesn't mean that wallets fly out of pockets.

I would advocate a much more humble attitude, where we design
and architect expecting few changes, but such that we can
benefit from all we can cause to happen.

>It is pretty clear to me that we are going to have to support some
>form of in-band upgrade.

This is actually one of the things users are asking for:  Upgrade
from unsecure to secure connection without a new TCP.

A closer analysis shows that it would be even better if secured
and unsecured requests could share a connection (think intermediary
to server for instance.)

Such a mixed mode might even allow oppotunistic negotiation of
security, even before the user has pushed the "login" button.

>But even if that turns out to be the fastest
>choice in 2012 deciding to only do in-band upgrade means that we are
>permanently locked into a sub-optimal solution in perpetuity.

No, thats not a given.

Nothing prevents us from designing a procedure which allows for
both upgrades and downgrades, and leave it to protocol users to
decide when they think which one has best probability of suceeding.

We should do that.

>* Can we move to a HTTP/3.0 in this scheme? If not its a non starter.

Agreed, 100%.

>* 2016 Latency: Performance after 80% of the network has been upgraded
>to support the new spec as fast as possible

Not agreed, see above.

>* 2020 Latency: Performance when the remaining legacy can be ignored
>as far as latency issues are concerned, people using 2012 gear in 2020
>are not going to be getting world class latency anyway.

Not agreed, I doubt HTTP/2.0 will have more than 40% market share
by 2020.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 07:03:25 2012
Return-Path: <ietf-http-wg-request@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 2D3EC21F8661 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 07:03:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.005
X-Spam-Level: 
X-Spam-Status: No, score=-9.005 tagged_above=-999 required=5 tests=[AWL=1.594, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YeX9TC9OHKDi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 07:03:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A098D21F8621 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 07:03:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3p1y-0003jG-Sh for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 14:02:06 +0000
Resent-Date: Tue, 21 Aug 2012 14:02:06 +0000
Resent-Message-Id: <E1T3p1y-0003jG-Sh@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T3p1j-0003fq-Tx for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 14:01:51 +0000
Received: from mail-gg0-f171.google.com ([209.85.161.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T3p1i-00070Q-Al for ietf-http-wg@w3.org; Tue, 21 Aug 2012 14:01:51 +0000
Received: by ggnp1 with SMTP id p1so5855771ggn.2 for <ietf-http-wg@w3.org>; Tue, 21 Aug 2012 07:01:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=yHykPsA87DMPCbhOh7hPc5mh3WFxrvqhaYl/VJun45o=; b=C8ZyyrUIGL0JP5BsrfXKinIa8i1I5B/bM0eRhWZBL2sBDByZvnymzw3VSW7fjHfKJt FSnWR0zKBC7N4zCNhvjtQBtEYqH2W/fOt++wBYP0aXqxjxpWuHNjKjwEb2Tl1LSp2om/ lvXVPD0bVHlIv32EWtXeifysa45XYWP+5qHFYMWe+OKxto3108HNteplWHTMcRtUOUU6 DToCoOTOu2dU7y5I1+0YghQqM5p1N6Gv7BtEW7eMfwbRYMxbNtJqvpg+cjzwK3bBqUH3 fqntNC9+aGMYxga5lqx/w6XPSwnwTPbOsAhDeWgfbxcQ8VacajZylD4i0P1vtVGdlSza CGcA==
MIME-Version: 1.0
Received: by 10.60.29.72 with SMTP id i8mr12887771oeh.26.1345557684330; Tue, 21 Aug 2012 07:01:24 -0700 (PDT)
Received: by 10.76.80.10 with HTTP; Tue, 21 Aug 2012 07:01:24 -0700 (PDT)
In-Reply-To: <83663.1345556194@critter.freebsd.dk>
References: <CAMm+LwjSVHzRQS3W4NLBQfe+Bmpk2c5ovuOtrNjOSx1EDBDG0g@mail.gmail.com> <83663.1345556194@critter.freebsd.dk>
Date: Tue, 21 Aug 2012 10:01:24 -0400
Message-ID: <CAMm+LwjUD4z4tjzSdMCOOFvOiYQD6y1mLQ1effK5w7KFDH6g_A@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.161.171; envelope-from=hallam@gmail.com; helo=mail-gg0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T3p1i-00070Q-Al fbcdcc4a03c55da12dfc3f0867575567
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/CAMm+LwjUD4z4tjzSdMCOOFvOiYQD6y1mLQ1effK5w7KFDH6g_A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15134
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 Tue, Aug 21, 2012 at 9:36 AM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> In message <CAMm+LwjSVHzRQS3W4NLBQfe+Bmpk2c5ovuOtrNjOSx1EDBDG0g@mail.gmail.com>
> , Phillip Hallam-Baker writes:
>
>>Unlike most protocol proposals, HTTP/2 is big enough to drive changes
>>in infrastructure. If HTTP/2 will go faster over a purple Internet
>>connection then pretty soon there will be purple connections being
>>installed.
>
> Provided, and this is a very big variable, that HTTP/2 brings enough
> benefits to pay for the purple internet.
>
> IPv6 should have taught everybody, that just because the IETF is
> in party mode, doesn't mean that wallets fly out of pockets.

IPv6 tried a different approach. They tried to block functionality.
Specifically they decided that if you wanted more than one computer at
home you had to demand IPv6 from your ISP.

Then when people started using NAT boxes instead they went on a foot
stomping rant trying to stamp them out. They botched IPSEC in the
process so that none of the companies I have worked for that have
IPSEC VPNs have been able to use them with the stock Windows or Mac
clients.

Only recently has it started to penetrate that NAT is the way to
deploy IPv6 and that people are not going to wait for an
infrastructure deployment to complete to get required functionality.


That is the important difference between 'purple is better' and
'purple is essential'.


> I would advocate a much more humble attitude, where we design
> and architect expecting few changes, but such that we can
> benefit from all we can cause to happen.

You are proposing to change the software running in about 4 billion
computers. There is nothing remotely humble about it.

I think we have to be realistic and not place too big a bet on purple.
But the critical thing is that we can decide what purple looks like.
We can probably get a fix to one piece of Internet infrastructure
here.

Fixing DNS at the LAN side is the biggest win we can hope for right now.


>>It is pretty clear to me that we are going to have to support some
>>form of in-band upgrade.
>
> This is actually one of the things users are asking for:  Upgrade
> from unsecure to secure connection without a new TCP.

I am pretty sure that it is impossible to do that in a way that is not
vulnerable to a downgrade attack. Encrypting the transport is of zero
security benefit unless you can be reasonably sure you are encrypting
under a key that the attacker does not know.

This was not a big concern when the threat model was bank fraud types
like the Russian Business Network. Now the threat comes from the
government that gives them safe harbor and from Iran and from various
other governments.


> A closer analysis shows that it would be even better if secured
> and unsecured requests could share a connection (think intermediary
> to server for instance.)

I think we need to stop talking about 'intermediaries' and specify
whether they are client-side or server side. It makes a very big
difference.


> Such a mixed mode might even allow oppotunistic negotiation of
> security, even before the user has pushed the "login" button.

That is actually a model I am working on in Omnibroker. I replace the
DNS client connection completely so that instead of taking DNS packets
from the local (likely mucked up) DNS resolver, I take them from a
trusted service that the user (or enterprise) chooses. This would be
likely something provided by Comodo or McAfee or Symantec as part of
their AV suite.

One big performance gain here is that there only needs to be one UDP
request/response rather than the six concurrent requests Google were
talking about. Instead of the IKEA approach of asking for connection
parts, the client just asks 'How to I get to DNS name X with protocol
Y' and back comes the IP address, port, transport security and key
authentication info.

This model is actually implicit in the traditional 'recursive
resolver' model. DNS is a pretty whacky protocol that very few
platforms even attempt to implement. They push the complexity onto the
resolver for a good reason - the protocol totally sux. Rather than fix
some obvious design oversights (e.g. how does a client resolve a
pointer to a DNS server that has a DNS name served by it) the
designers did kludges like glue records.


>>* 2016 Latency: Performance after 80% of the network has been upgraded
>>to support the new spec as fast as possible
>
> Not agreed, see above.

OK, can we agree if I stipulate that changes have to be modest and achievable?


>>* 2020 Latency: Performance when the remaining legacy can be ignored
>>as far as latency issues are concerned, people using 2012 gear in 2020
>>are not going to be getting world class latency anyway.
>
> Not agreed, I doubt HTTP/2.0 will have more than 40% market share
> by 2020.

Depends on how fast we implement.


-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 07:10:18 2012
Return-Path: <ietf-http-wg-request@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 5638021F86B4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 07:10:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.584
X-Spam-Level: 
X-Spam-Status: No, score=-10.584 tagged_above=-999 required=5 tests=[AWL=0.015, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R+qx2lqv7hyK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 07:10:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0303421F86A1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 07:10:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3p93-0005tI-Fm for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 14:09:25 +0000
Resent-Date: Tue, 21 Aug 2012 14:09:25 +0000
Resent-Message-Id: <E1T3p93-0005tI-Fm@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1T3p8m-0005rQ-GU for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 14:09:08 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1T3p8f-0007FY-Vz for ietf-http-wg@w3.org; Tue, 21 Aug 2012 14:09:08 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id B2A2A3B6B9; Tue, 21 Aug 2012 14:08:40 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q7LE8eLn083894; Tue, 21 Aug 2012 14:08:40 GMT (envelope-from phk@phk.freebsd.dk)
To: Phillip Hallam-Baker <hallam@gmail.com>
cc: ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 21 Aug 2012 10:01:24 -0400." <CAMm+LwjUD4z4tjzSdMCOOFvOiYQD6y1mLQ1effK5w7KFDH6g_A@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 21 Aug 2012 14:08:40 +0000
Message-ID: <83893.1345558120@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=1.8
X-W3C-Hub-Spam-Report: BAYES_80=2, RP_MATCHES_RCVD=-0.211
X-W3C-Scan-Sig: maggie.w3.org 1T3p8f-0007FY-Vz 14150d7399bc0e4c637b5596ad0aff30
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/83893.1345558120@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15135
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>

In message <CAMm+LwjUD4z4tjzSdMCOOFvOiYQD6y1mLQ1effK5w7KFDH6g_A@mail.gmail.com>
, Phillip Hallam-Baker writes:

>> Provided, and this is a very big variable, that HTTP/2 brings enough
>> benefits to pay for the purple internet.
>>
>> IPv6 should have taught everybody, that just because the IETF is
>> in party mode, doesn't mean that wallets fly out of pockets.
>
>IPv6 tried a different approach. 

The major mistake with IPv6 was to not deliver any improvement
worth the hazzle of migrating to the new protocol.

HTTP/2.0 could easily, even trivially, fall prey to the same problem,
in particular if the complexity of implementing HTTP/2.0 is too high
relative to HTTP/1.1.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 08:15:17 2012
Return-Path: <ietf-http-wg-request@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 41C6B21F8757 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 08:15:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.434
X-Spam-Level: 
X-Spam-Status: No, score=-10.434 tagged_above=-999 required=5 tests=[AWL=0.165, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id etLqRaHFx9Tm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 08:15:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 68FD521F8709 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 08:15:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3q9d-0001ta-7Z for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 15:14:05 +0000
Resent-Date: Tue, 21 Aug 2012 15:14:05 +0000
Resent-Message-Id: <E1T3q9d-0001ta-7Z@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1T3q9H-0001sM-MX for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 15:13:43 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1T3q9G-0000zQ-Af for ietf-http-wg@w3.org; Tue, 21 Aug 2012 15:13:43 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q7LFD9KD013998; Tue, 21 Aug 2012 18:13:09 +0300
X-CheckPoint: {5033A1F9-2-1B221DC2-4FFFF}
Received: from il-ex03.ad.checkpoint.com (194.29.34.71) by il-ex01.ad.checkpoint.com (194.29.34.26) with Microsoft SMTP Server (TLS) id 8.3.213.0; Tue, 21 Aug 2012 18:13:08 +0300
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex03.ad.checkpoint.com ([194.29.34.71]) with mapi; Tue, 21 Aug 2012 18:13:07 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
CC: Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Tue, 21 Aug 2012 18:13:29 +0300
Thread-Topic: Optimizations vs Functionality vs Architecture
Thread-Index: Ac1/r3ghQVw3M/jpS2W0vsg2+r9NaQ==
Message-ID: <4278A78A-6ADF-4114-AE62-8F07DEFB5EFF@checkpoint.com>
References: <83663.1345556194@critter.freebsd.dk>
In-Reply-To: <83663.1345556194@critter.freebsd.dk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
x-cpdlp: 113e1e6d70aee6bb6507919ca44f7d0ad53d46fe6f
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-KSE-AntiSpam-Interceptor-Info: protection disabled
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.211, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T3q9G-0000zQ-Af 66f1a09b0b3244a25d50d570c2e45567
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/4278A78A-6ADF-4114-AE62-8F07DEFB5EFF@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15136
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 Aug 21, 2012, at 4:36 PM, Poul-Henning Kamp wrote:

> In message <CAMm+LwjSVHzRQS3W4NLBQfe+Bmpk2c5ovuOtrNjOSx1EDBDG0g@mail.gmai=
l.com>
> , Phillip Hallam-Baker writes:
>=20
>> Unlike most protocol proposals, HTTP/2 is big enough to drive changes
>> in infrastructure. If HTTP/2 will go faster over a purple Internet
>> connection then pretty soon there will be purple connections being
>> installed.=20
>=20
> Provided, and this is a very big variable, that HTTP/2 brings enough
> benefits to pay for the purple internet.
>=20
> IPv6 should have taught everybody, that just because the IETF is
> in party mode, doesn't mean that wallets fly out of pockets.

Yup. While I agree that everyone would prefer the web to be faster, I am no=
t convinced that a lot of people are bothered enough by how slow the web is=
 to go through upgrade pains.

> I would advocate a much more humble attitude, where we design
> and architect expecting few changes, but such that we can
> benefit from all we can cause to happen.
>=20
>> It is pretty clear to me that we are going to have to support some
>> form of in-band upgrade.
>=20
> This is actually one of the things users are asking for:  Upgrade
> from unsecure to secure connection without a new TCP.

Really?  RFC 2817 has been around for over 12 years, and has seen very litt=
le use.

> A closer analysis shows that it would be even better if secured
> and unsecured requests could share a connection (think intermediary
> to server for instance.)

I'm not in the TLS-all-the-time camp, but why would you want to mix secure =
and insecure content? How would the user know what parts of the screen that=
 he sees are secure and what parts are not?

> Such a mixed mode might even allow oppotunistic negotiation of
> security, even before the user has pushed the "login" button.

I don't like opportunistic. Security is all about guarantees. Opportunistic=
 encryption doesn't give you any guarantees. A statement that there's a 95%=
 chance that you have 256-bit security is meaningless, while a statement th=
at you definitely have 64-bit security eliminates most attackers.

>> But even if that turns out to be the fastest
>> choice in 2012 deciding to only do in-band upgrade means that we are
>> permanently locked into a sub-optimal solution in perpetuity.
>=20
> No, thats not a given.
>=20
> Nothing prevents us from designing a procedure which allows for
> both upgrades and downgrades, and leave it to protocol users to
> decide when they think which one has best probability of suceeding.
>=20
> We should do that.

We should if it's possible. Suppose HTTP/2.0 looks much like the SPDY draft=
. How can you ever get a current HTTP/1 server to reply to this? The only w=
ay you can do that is if you make HTTP/2 at least at the start resemble HTT=
P/1. And then you have the in-band upgrade forever, just like Phillip said.

>> * Can we move to a HTTP/3.0 in this scheme? If not its a non starter.
>=20
> Agreed, 100%.
>=20
>> * 2016 Latency: Performance after 80% of the network has been upgraded
>> to support the new spec as fast as possible
>=20
> Not agreed, see above.
>=20
>> * 2020 Latency: Performance when the remaining legacy can be ignored
>> as far as latency issues are concerned, people using 2012 gear in 2020
>> are not going to be getting world class latency anyway.
>=20
> Not agreed, I doubt HTTP/2.0 will have more than 40% market share
> by 2020.

Depends of how you measure market share. By sheer number of servers (counti=
ng all those web configuration screens for home routers and toasters) - yes=
. But we are very likely to have support in the big websites that people us=
e a lot, so we could have a much higher number for percentage of requests.

Even now, Chrome + newer Firefox have together >50% share. Queries to Googl=
e services make up 6% of the web, so SPDY already has a market share of 3%.=
 If we also add big sites like Facebook and common implementations like Apa=
che, that percentage could go up really fast.

Yoav=


From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 08:27:02 2012
Return-Path: <ietf-http-wg-request@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 A657521F8505 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 08:27:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.284
X-Spam-Level: 
X-Spam-Status: No, score=-8.284 tagged_above=-999 required=5 tests=[AWL=0.248, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, RCVD_NUMERIC_HELO=2.067]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P2RY8oL88F31 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 08:26:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AB62A21F845F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 08:26:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3qL8-0003Si-KP for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 15:25:58 +0000
Resent-Date: Tue, 21 Aug 2012 15:25:58 +0000
Resent-Message-Id: <E1T3qL8-0003Si-KP@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <gix-ietf-http-wg@m.gmane.org>) id 1T3qKq-0003RW-IN for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 15:25:40 +0000
Received: from plane.gmane.org ([80.91.229.3]) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <gix-ietf-http-wg@m.gmane.org>) id 1T3qKl-0001Rk-1s for ietf-http-wg@w3.org; Tue, 21 Aug 2012 15:25:40 +0000
Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from <gix-ietf-http-wg@m.gmane.org>) id 1T3qKP-00088p-Au for ietf-http-wg@w3.org; Tue, 21 Aug 2012 17:25:13 +0200
Received: from 192.196.142.21 ([192.196.142.21]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-http-wg@w3.org>; Tue, 21 Aug 2012 17:25:13 +0200
Received: from nicolas.mailhot by 192.196.142.21 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-http-wg@w3.org>; Tue, 21 Aug 2012 17:25:13 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: ietf-http-wg@w3.org
From: Nicolas Mailhot <nicolas.mailhot@laposte.net>
Date: Tue, 21 Aug 2012 15:25:03 +0000 (UTC)
Lines: 18
Message-ID: <loom.20120821T172402-458@post.gmane.org>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@ger.gmane.org
X-Gmane-NNTP-Posting-Host: sea.gmane.org
User-Agent: Loom/3.14 (http://gmane.org/)
X-Loom-IP: 192.196.142.21 (Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0.1)
Received-SPF: pass client-ip=80.91.229.3; envelope-from=gix-ietf-http-wg@m.gmane.org; helo=plane.gmane.org
X-W3C-Hub-Spam-Status: No, score=3.0
X-W3C-Hub-Spam-Report: BAYES_80=2, FREEMAIL_FROM=0.001, RCVD_NUMERIC_HELO=1.164, RP_MATCHES_RCVD=-0.211, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T3qKl-0001Rk-1s afcbc597433847380b261cfdf0485cf6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/loom.20120821T172402-458@post.gmane.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15137
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>

Yoav Nir <ynir@...> writes:

> A related but orthogonal issue is finding out if the path between the client
> and the server supports HTTP/2.0. Fortunately, middleware does not tend to
> appear mid-path.

That depends what you call "mid-path". Middleware appears at network boundaries.
VPNs now enable easy stacking of multiple private networks, and the boundary the
middleware is deployed on can end up quite a long path away from the client.

> Client side middleware is either there or it's not. It's not likely to be
> present on-path to one generally available website while not being present
> for another.

If things were that simple no one would use PAC files. Their whole point is that
middleware is not a simple binary setting.





From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 08:38:04 2012
Return-Path: <ietf-http-wg-request@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 BA0EA21F8516 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 08:38:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.003
X-Spam-Level: 
X-Spam-Status: No, score=-9.003 tagged_above=-999 required=5 tests=[AWL=1.596, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QbKe1gFjaHdX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 08:38:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D3F1D21F8551 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 08:38:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3qVd-0001af-K1 for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 15:36:49 +0000
Resent-Date: Tue, 21 Aug 2012 15:36:49 +0000
Resent-Message-Id: <E1T3qVd-0001af-K1@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T3qVO-0001Wj-EJ for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 15:36:34 +0000
Received: from mail-gh0-f171.google.com ([209.85.160.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T3qVN-0001lG-CC for ietf-http-wg@w3.org; Tue, 21 Aug 2012 15:36:34 +0000
Received: by ghy16 with SMTP id 16so5995620ghy.2 for <ietf-http-wg@w3.org>; Tue, 21 Aug 2012 08:36:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=LfLdHjYlnVmvzMJgmqrIiE4XCq1/bQdzLshYfGZxPRM=; b=kzhpdiiaGX4HPEmiaePuU9VmBBzdZ/rl9JXeM2u6BX+P71ZlHEeiqxcqxdHL3fJz8M fCVYqgFRZkHqrMsm7nFsPYML3ndaPXFE1+folS5by89HYVW98aOPL8/isTAgniKew8HQ SZPswymNSDLgOBN/OZXwmtnkCfPK7N9176Kqx2QLNXEqxjup85/UbQYA915aWrOmlHJF qm8AiFqX37jAYcOoFYXc/Y3qPr968/SmXvN4hph1hyjmW5yIHms8SoiFyWmJgtZaFbmW 9+ekJoTixI74j7LmKXS3ACQQ8G8DxIaqBusEXnjrhNRdhyRE2Mvy0KRwFTE2rZer3aSo TBMA==
MIME-Version: 1.0
Received: by 10.60.29.72 with SMTP id i8mr13103237oeh.26.1345563367423; Tue, 21 Aug 2012 08:36:07 -0700 (PDT)
Received: by 10.76.80.10 with HTTP; Tue, 21 Aug 2012 08:36:07 -0700 (PDT)
In-Reply-To: <4278A78A-6ADF-4114-AE62-8F07DEFB5EFF@checkpoint.com>
References: <83663.1345556194@critter.freebsd.dk> <4278A78A-6ADF-4114-AE62-8F07DEFB5EFF@checkpoint.com>
Date: Tue, 21 Aug 2012 11:36:07 -0400
Message-ID: <CAMm+Lwi=BRgiFXrhdjwjdEDxiVjMn7Ah+62fe0B85Kq3dtGp8w@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Yoav Nir <ynir@checkpoint.com>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.160.171; envelope-from=hallam@gmail.com; helo=mail-gh0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T3qVN-0001lG-CC 4dbe1a8a9e871ce0f59b06e6f3949bf4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/CAMm+Lwi=BRgiFXrhdjwjdEDxiVjMn7Ah+62fe0B85Kq3dtGp8w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15138
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 Tue, Aug 21, 2012 at 11:13 AM, Yoav Nir <ynir@checkpoint.com> wrote:
>

>> A closer analysis shows that it would be even better if secured
>> and unsecured requests could share a connection (think intermediary
>> to server for instance.)
>
> I'm not in the TLS-all-the-time camp, but why would you want to mix secur=
e and insecure content? How would the user know what parts of the screen th=
at he sees are secure and what parts are not?

+1

The mixed content thing is a horror show.


>> Such a mixed mode might even allow oppotunistic negotiation of
>> security, even before the user has pushed the "login" button.
>
> I don't like opportunistic. Security is all about guarantees. Opportunist=
ic encryption doesn't give you any guarantees. A statement that there's a 9=
5% chance that you have 256-bit security is meaningless, while a statement =
that you definitely have 64-bit security eliminates most attackers.

I disagree, there is a value to increase the proportion of encrypted
traffic so that encryption is no longer such a red flag for traffic
analysis.

Security is all about risk management, not risk elimination. Back in
1995 we all got that wrong. Some of us came to our senses earlier than
others, hence the stand up row on the Concourse of RSA back in 2000 or
so.

Opportunistic encryption does actually raise the bar on attacks quite
substantially and in particular it increases costs and reduces scope.
An attack that will defeat 95% of the script kiddies but not protect
against the RBN is actually quite useful in practice.

It is not a solution I would like to see for credit card transactions
or anything that matters, but training wheels for crypto have their
uses.



>>> * 2020 Latency: Performance when the remaining legacy can be ignored
>>> as far as latency issues are concerned, people using 2012 gear in 2020
>>> are not going to be getting world class latency anyway.
>>
>> Not agreed, I doubt HTTP/2.0 will have more than 40% market share
>> by 2020.
>
> Depends of how you measure market share. By sheer number of servers (coun=
ting all those web configuration screens for home routers and toasters) - y=
es. But we are very likely to have support in the big websites that people =
use a lot, so we could have a much higher number for percentage of requests=
.

+1

What really matters is the 'expected pain index'.

I think that if the IETF ever told network equipment vendors what was
expected of middleboxes with clarity that the vendors would be only
too happy to comply. Instead we have a nonsense situation where the
NAT vendors were at best ignored, at worse actively sabotaged (IPSEC)
and left to make things work by trial and error.

Tell folk what to do to make things work and they are much more likely
to do it right.


> Even now, Chrome + newer Firefox have together >50% share. Queries to Goo=
gle services make up 6% of the web, so SPDY already has a market share of 3=
%. If we also add big sites like Facebook and common implementations like A=
pache, that percentage could go up really fast.

The question is what percentage of home routers, firewalls etc. would
get in the way of a solution that allowed SRV to be used for
signalling.

--=20
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 09:45:16 2012
Return-Path: <ietf-http-wg-request@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 77F0B21F8564 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 09:45:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.465
X-Spam-Level: 
X-Spam-Status: No, score=-9.465 tagged_above=-999 required=5 tests=[AWL=0.533, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_53=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xLH06q2-wDc4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 09:45:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 51A6021F8510 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 09:45:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3rYP-0001Ui-7J for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 16:43:45 +0000
Resent-Date: Tue, 21 Aug 2012 16:43:45 +0000
Resent-Message-Id: <E1T3rYP-0001Ui-7J@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1T3rY9-0001S5-La for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 16:43:29 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1T3rXu-0004Ix-Hs for ietf-http-wg@w3.org; Tue, 21 Aug 2012 16:43:29 +0000
Received: by wgbdq12 with SMTP id dq12so8081wgb.26 for <ietf-http-wg@w3.org>; Tue, 21 Aug 2012 09:42:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Xfmh0ZSmN/QPYnm+xNgY8NAIVl1MFo5D/baw18O0DDA=; b=rXZOPHOQQrF0BUCPX7BUUNbf7hbPKezn9Wm1AKL+JzHEAWHYBlQuwOcjb+gY+ikR5g aFUahOI5FiD7Y5dfGETQjPrQvXNZpXBHR5yhv9zF+bL17Pz+YpCWNeUvUZ6P8sNbDn53 tBY4taDgvMFYm7EcpGKcA5aGIH4TRwhB/NulH8VKB0xktaGreJdlX6OyAHvu/kFE8fxU M4jgmUWVH+UDjnZ+EEE48dz3p8d/x2n3kI438PiPZxN9cuLI/kmUGI+liQgEiGqNZM8X w8m87r/zXgPRSP3Wkd6UJyaSFAl+4NAa0/KdGzab9NPDiJW5GkazqgfSPt7CEXpVxZ8g nBbw==
Received: by 10.217.1.79 with SMTP id m57mr9074362wes.121.1345567368140; Tue, 21 Aug 2012 09:42:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.58.136 with HTTP; Tue, 21 Aug 2012 09:42:27 -0700 (PDT)
In-Reply-To: <503336EA.2030203@cisco.com>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <20120820084953.GB11752@1wt.eu> <CAMm+LwgGqDV0hEAjQGAi8kwCxRyFy4bH-wYbAKgFXdacxGSg-A@mail.gmail.com> <CAP+FsNd1ofBnkYXa6G4kxVy5ryxQ1n_Kr3JakXVz2o9w1U3eUQ@mail.gmail.com> <20120820103611.GF11752@1wt.eu> <CAP+FsNeQQoVMaCer_i2m0rhd-NA0V-H8OxmeRPg4SVUEVS1TxQ@mail.gmail.com> <20120820212714.GH11752@1wt.eu> <CAP+FsNfAQMJL9KpVCGz8SvBtEGfgBY6Wa1Y8BZY0eZF-ohKryA@mail.gmail.com> <9c2f75d324fde4837c8a510db2278631@treenet.co.nz> <CABP7Rbf0L8Dt5mAXVbfEQcF3cKhZok3z-Hq43L=_e35XO2C-0Q@mail.gmail.com> <503336EA.2030203@cisco.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 21 Aug 2012 09:42:27 -0700
Message-ID: <CABP7RbdMFY9O7Ssjm5X25TZoZ35PqdEMMyTc-AWZt62ktxTdAQ@mail.gmail.com>
To: Eliot Lear <lear@cisco.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=20cf302077dcffd92804c7c950c1
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T3rXu-0004Ix-Hs 4e368954453fc68429156b7e0a99264d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/CABP7RbdMFY9O7Ssjm5X25TZoZ35PqdEMMyTc-AWZt62ktxTdAQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15139
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>

--20cf302077dcffd92804c7c950c1
Content-Type: text/plain; charset=UTF-8

While I completely understand (and agree) with the various arguments in
favor of reusing port 80 for general HTTP traffic over existing Internet
infrastructure, there are countless perfectly valid cases where such
discovery simply is not even remotely necessary. My concern is just in
making sure that I won't have to do a bootstrap dance on every connection
that I make. Perhaps a http2 URL scheme would be appropriate as an
orthogonal component to the work on the basic 2.0 protocol; and certainly
whatever the bootstrapping/upgrade mechanism ends up being, it should be
entirely optional on the part of the client... especially in cases where I
know in advance that it's 2.0 all the way down the line.

- James

On Tue, Aug 21, 2012 at 12:21 AM, Eliot Lear <lear@cisco.com> wrote:

>  James,
>
> IMHO upgrade discovery is an absolute requirement for anything using the
> http: scheme.  Otherwise how do you get to 2.0?  Also, nobody has proposed
> an alternate scheme, and I suspect such a proposal would be contentious, to
> say the least.
>
> Eliot
>
>
> On 8/21/12 6:59 AM, James M Snell wrote:
>
> So, I've been catching up on this thread and there's just one thing that I
> just want to clarify: the upgrade mechanism that's being discussed is not
> going to be a mandatory component of HTTP/2.0, correct? That is, I as an
> implementor am not going to be required to do this upgrade dance with every
> new connection, regardless of how it actually happens... right? I'm just
> saying because there are a vast array of use cases where such a dance is
> going to be wholly unnecessary... I would even argue that, in MANY cases,
> having something as simple as http2://www.example.com that operates on a
> different default port is going to be more than sufficient if the
> environment is fairly controlled and predictable on both ends. Throughout
> this discussion, there seems to be an implicit assumption that upgrade
> discoverability is an absolute requirement.
>
>  - James
>
> On Mon, Aug 20, 2012 at 9:23 PM, Amos Jeffries <squid3@treenet.co.nz>wrote:
>
>> On 21.08.2012 10:43, Roberto Peon wrote:
>>
>>>  On Mon, Aug 20, 2012 at 2:27 PM, Willy Tarreau <w@1wt.eu> wrote:
>>>
>>>   On Mon, Aug 20, 2012 at 01:55:46PM -0700, Roberto Peon wrote:
>>>> >
>>>>
>>>>  > For this to work, it also mandates some annoying interaction
>>>> between the
>>>> > HTTP/1.1 code and whatever follows it.
>>>>
>>>> Yes, that's what I find a bit annoying eventhough it's not terribly
>>>> complex as long as we support GET requests over URIs with the same
>>>> headers as the first one.
>>>>
>>>> > > > Having the data in DNS could short-circuit this, but shouldn't be
>>>> a
>>>> > > > dependency.
>>>> > >
>>>> > > The DNS requires a round trip anyway and it currently where time is
>>>> wasted
>>>> > > in mobile environments.
>>>> > >
>>>> >
>>>> > This is an unavoidable round-trip, though. If you don't know where to
>>>> go,
>>>> > one must figure that out.
>>>>
>>>> Not necessarily (eg: explicit proxies). Eventhough the proxy knows it
>>>> can
>>>> talk 2.0 with the server, how does the client know it can talk 2.0 to
>>>> the
>>>> proxy ?
>>>>
>>>>
>>> Good question. I'd assume proxy.pac or equivalent configuration would
>>> have
>>> to spell it out.
>>> In any case, the cost of getting it wrong with most explicit proxy setups
>>> is fairly small because the proxy is generally close.
>>> We need to worry about avoiding additional RTTs when RTTs are big, not so
>>> much when they're small.
>>>
>>
>> .. .for values of "small" which can reach more than 20 seconds:
>> http://www.potaroo.net/ispcol/2012-05/notquite.html
>>
>> Since a failed connection attempt is a full TCP handshake connection.
>> Doing one failure for HTTP/2 and a second attempt for HTTP/1 would be
>> worst-case around 45 seconds to *start* the request process.
>>
>>
>>
>>>
>>>> Also, you can still have /etc/hosts pre-filled with some of your
>>>> operator's
>>>> important services (login portal or whatever helps you troubleshoot your
>>>> connection settings). One might even imagine that common DNS entries
>>>> could
>>>> regularly be pushed in multicast to end users to save a few round
>>>> trips. Or
>>>> these entries might have been advertised in HTTP response headers as you
>>>> once
>>>> explained to me :-)
>>>>
>>>>
>>> Agreed, in the cases where you've replaced DNS, DNS is irrelevant. :)
>>>
>>>
>>  +1.
>>
>>
>>
>>>
>>>> In fact there are plenty of ways to access services over HTTP and I
>>>> tend to
>>>> find it akwards to increase dependency on DNS.
>>>>
>>>>
>>> The idea as I understood it wasn't to add any dependency-- merely a way
>>> of
>>> advertising what protocol can be spoken next during what is (for all but
>>> those who ignore DNS). In these cases, the client would attempt the new
>>> protocol first, likely get an error quickly, and downgrade immediately.
>>> With a local proxy, this should not at all be costly as, well, it has a
>>> small RTT to the user.
>>>
>>>
>>  Consider the pathway scenario, which is more common:
>>   A->B->C->D
>>
>> DNS can tell A what D's capabilities are. But A is not connecting there.
>> Depending on those capability advertisements when available would be a
>> costly mistake.
>>
>>
>>
>>
>>>
>>>> > > Maybe this could still be done over the established connection
>>>> using an
>>>> > > Upgrade ? However, I'd hope we avoid announcing IP and ports in
>>>> exchanges,
>>>> > > as it will cause the NAT mess we managed to avoid for years with
>>>> HTTP
>>>> and
>>>> > > which made other protocols disappear.
>>>> >
>>>> > I'm not understanding how this would cause NAT messes? I'd guess that
>>>> most
>>>> > external sites would just continue to use :80 and :443.
>>>>
>>>> There should be a single reliable way of getting a host IP and a port.
>>>> Right
>>>> now it works well. If you change your /etc/hosts to access your
>>>> development
>>>> site, you reach it without any issue and everything works well. If you
>>>> want
>>>> to install a reverse-proxy-cache in front of it, you can have this cache
>>>> use the hard-coded IP address and have it work fine.
>>>>
>>>
>>  Swap "host" with "recipient" and you have the requirements lined up
>> correctly. Final end-server in the chain does not matter in the
>> architecture like HTTP where proxy has  existence, the host being connected
>> to is all that matters. Any overlap between the two is just a convenience.
>>
>>
>>
>>
>>>> At the moment you start exchanging IP addresses in the protocol, you're
>>>> getting
>>>> into trouble. Sometimes the IP is valid, sometimes it doesn't mean
>>>> anything and
>>>> must be rewritten by *someone* along the chain, but most often, this
>>>> *someone*
>>>> doesn't care or is not the same as the one which translates the
>>>> address. I
>>>> guess
>>>> everyone here has already been involved in helping any admin to rewrite
>>>> Location
>>>> headers that were improperly set by a customer application that had no
>>>> clue
>>>> about the valid host name or IP from the outside. This is typically the
>>>> situation we should try to avoid.
>>>>
>>>>
>>> Everything which doesn't handle this already is significantly broken--
>>> sometimes links have IP addresses in 'em. This is expected and valid for
>>> the web...
>>>
>>>
>>>
>>>> In my opinion, once an IP address and a port are known, whatever the
>>>> means,
>>>> whether they're entered by hand in a URL bar of a browser, configured in
>>>> /etc/hosts, are specified in a config file as the address of a web
>>>> service
>>>> or as a next hop for a reverse-proxy, we shouldn't care how that address
>>>> was
>>>> learned, we should be able to use HTTP/2 over it if desired.
>>>>
>>>>
>>> Wouldn't the proxy be doing the DNS resolutions here to figure this out?
>>>
>>
>>  *sometimes*. There is a lack of MUT NOT clause in the specs to prevent
>> clients doing for example; same-origin validation.
>>
>>
>>  The client would likely have to do UPGRADE or alternate-protocol or NPN
>>> to
>>> the proxy to figure out what it'd be using, but that'd be normal...
>>>
>>
>>  Exactly why, IMHO, alternatives to those are a waste of time considering
>> unless they can provide the same guarantee for handling transit over
>> middleware (both explicit and interceptors) safely.
>>
>> SRV is a non-starter due to end-host servers not being aware of the
>> details to emit for intermediaries.
>>
>> I think we should be taking Upgrade: and defining ways to optimize it.
>> Willy had some proposals for merging multiple requests and defining
>> 1.1->2.0 mapping in the headers of request #1. Figuring out how much of
>> that is useful and where it could be improved would be a good way to
>> progress the bootstrapping.
>>
>>
>>
>>
>>>> > Some internal sites
>>>> > wouldn't, and the network there is controlled well enough that this
>>>> should
>>>> > cause no problem. In any case, sites are incented to be sure that
>>>> users
>>>> can
>>>> > connect to them, and will quickly decide to simply keep using :80 and
>>>> :443.
>>>> > When one has an inspecting intermediary, it probably won't like to see
>>>> the
>>>> > upgrade, but probably would be perfectly fine with a different
>>>> connection
>>>> > (e.g. TLS on :443). There is simply less complexity there, imho.
>>>>
>>>> Possibly, but this doesn't require relying on a side-band registry to
>>>> know
>>>> the address and ports. After all, you have enumerated the well-known
>>>> ports
>>>> above. It could be mandated that if an http connection to :80 fails, a
>>>> browser
>>>> should automatically retry on 443 for instance, without having to deal
>>>> with
>>>> registries such as DNS which are OK on the internet and never
>>>> maintainable
>>>> internally, nor with IP addresses advertised in headers.
>>>>
>>>>
>>> Agreed. I don't think anyone is yet suggesting *mandating* DNS schemes...
>>>
>>
>>
>>  I think we should be doing a twofold definition:
>> * port 80 Upgrade: from 1.x to 2.0
>>    - long term plans to obsolete HTTP/1.x
>>
>> * port 80 Upgrade: from HTTP to HTTPS/2
>>    - long term plans to obsolete port 443 usage and make the http://scheme TLS-enabled/secure whenever possible.
>>
>>
>> Amos
>>
>>
>
>

--20cf302077dcffd92804c7c950c1
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">While I completely understand (and agr=
ee) with the various arguments in favor of reusing port 80 for general HTTP=
 traffic over existing Internet infrastructure, there are countless perfect=
ly valid cases where such discovery simply is not even remotely necessary. =
My concern is just in making sure that I won&#39;t have to do a bootstrap d=
ance on every connection that I make. Perhaps a http2 URL scheme would be a=
ppropriate as an orthogonal component to the work on the basic 2.0 protocol=
; and certainly whatever the bootstrapping/upgrade mechanism ends up being,=
 it should be entirely optional on the part of the client... especially in =
cases where I know in advance that it&#39;s 2.0 all the way down the line.<=
/font><div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">- James<br></font><br><div class=3D"gmail_quote">On Tu=
e, Aug 21, 2012 at 12:21 AM, Eliot Lear <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:lear@cisco.com" target=3D"_blank">lear@cisco.com</a>&gt;</span> wrote:=
<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    James,<br>
    <br>
    IMHO upgrade discovery is an absolute requirement for anything using
    the http: scheme.=C2=A0 Otherwise how do you get to 2.0?=C2=A0 Also, no=
body
    has proposed an alternate scheme, and I suspect such a proposal
    would be contentious, to say the least.<span class=3D"HOEnZb"><font col=
or=3D"#888888"><br>
    <br>
    Eliot</font></span><div><div class=3D"h5"><br>
    <br>
    <div>On 8/21/12 6:59 AM, James M Snell
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
     =20
      <font face=3D"courier new,monospace">So, I&#39;ve been catching up on
        this thread and there&#39;s just one thing that I just want to
        clarify: the upgrade mechanism that&#39;s being discussed is not
        going to be a mandatory component of HTTP/2.0, correct? That is,
        I as an implementor am not going to be required to do this
        upgrade dance with every new connection, regardless of how it
        actually happens... right? I&#39;m just saying because there are a
        vast array of use cases where such a dance is going to be wholly
        unnecessary... I would even argue that, in MANY cases, having
        something as simple as http2://<a href=3D"http://www.example.com" t=
arget=3D"_blank">www.example.com</a> that
        operates on a different default port is going to be more than
        sufficient if the environment is fairly controlled and
        predictable on both ends. Throughout this discussion, there
        seems to be an implicit assumption that upgrade discoverability
        is an absolute requirement.</font>
      <div>
        <font face=3D"courier new,monospace"><br>
        </font></div>
      <div><font face=3D"courier new,monospace">- James<br>
        </font><br>
        <div class=3D"gmail_quote">On Mon, Aug 20, 2012 at 9:23 PM, Amos
          Jeffries <span dir=3D"ltr">&lt;<a href=3D"mailto:squid3@treenet.c=
o.nz" target=3D"_blank">squid3@treenet.co.nz</a>&gt;</span>
          wrote:<br>
          <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex">
            <div>On 21.08.2012 10:43, Roberto Peon wrote:<br>
            </div>
            <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">
              <div>
                On Mon, Aug 20, 2012 at 2:27 PM, Willy Tarreau &lt;<a href=
=3D"mailto:w@1wt.eu" target=3D"_blank">w@1wt.eu</a>&gt; wrote:<br>
                <br>
              </div>
              <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
                <div>
                  On Mon, Aug 20, 2012 at 01:55:46PM -0700, Roberto Peon
                  wrote:<br>
                  &gt;<br>
                  <br>
                </div>
                <div>
                  &gt; For this to work, it also mandates some annoying
                  interaction between the<br>
                  &gt; HTTP/1.1 code and whatever follows it.<br>
                  <br>
                  Yes, that&#39;s what I find a bit annoying eventhough it&=
#39;s
                  not terribly<br>
                  complex as long as we support GET requests over URIs
                  with the same<br>
                  headers as the first one.<br>
                  <br>
                  &gt; &gt; &gt; Having the data in DNS could
                  short-circuit this, but shouldn&#39;t be a<br>
                  &gt; &gt; &gt; dependency.<br>
                  &gt; &gt;<br>
                  &gt; &gt; The DNS requires a round trip anyway and it
                  currently where time is<br>
                  wasted<br>
                  &gt; &gt; in mobile environments.<br>
                  &gt; &gt;<br>
                  &gt;<br>
                  &gt; This is an unavoidable round-trip, though. If you
                  don&#39;t know where to go,<br>
                  &gt; one must figure that out.<br>
                  <br>
                  Not necessarily (eg: explicit proxies). Eventhough the
                  proxy knows it can<br>
                  talk 2.0 with the server, how does the client know it
                  can talk 2.0 to the<br>
                  proxy ?<br>
                  <br>
                </div>
              </blockquote>
              <div>
                <br>
                Good question. I&#39;d assume proxy.pac or equivalent
                configuration would have<br>
                to spell it out.<br>
                In any case, the cost of getting it wrong with most
                explicit proxy setups<br>
                is fairly small because the proxy is generally close.<br>
                We need to worry about avoiding additional RTTs when
                RTTs are big, not so<br>
                much when they&#39;re small.<br>
              </div>
            </blockquote>
            <br>
            .. .for values of &quot;small&quot; which can reach more than 2=
0
            seconds:<br>
            <a href=3D"http://www.potaroo.net/ispcol/2012-05/notquite.html"=
 target=3D"_blank">http://www.potaroo.net/ispcol/2012-05/notquite.html</a><=
br>
            <br>
            Since a failed connection attempt is a full TCP handshake
            connection. Doing one failure for HTTP/2 and a second
            attempt for HTTP/1 would be worst-case around 45 seconds to
            *start* the request process.
            <div><br>
              <br>
              <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
                <br>
                <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex">
                  <br>
                  Also, you can still have /etc/hosts pre-filled with
                  some of your operator&#39;s<br>
                  important services (login portal or whatever helps you
                  troubleshoot your<br>
                  connection settings). One might even imagine that
                  common DNS entries could<br>
                  regularly be pushed in multicast to end users to save
                  a few round trips. Or<br>
                  these entries might have been advertised in HTTP
                  response headers as you<br>
                  once<br>
                  explained to me :-)<br>
                  <br>
                </blockquote>
                <br>
                Agreed, in the cases where you&#39;ve replaced DNS, DNS is
                irrelevant. :)<br>
                <br>
              </blockquote>
              <br>
            </div>
            +1.
            <div><br>
              <br>
              <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
                <br>
                <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex">
                  <br>
                  In fact there are plenty of ways to access services
                  over HTTP and I tend to<br>
                  find it akwards to increase dependency on DNS.<br>
                  <br>
                </blockquote>
                <br>
                The idea as I understood it wasn&#39;t to add any
                dependency-- merely a way of<br>
                advertising what protocol can be spoken next during what
                is (for all but<br>
                those who ignore DNS). In these cases, the client would
                attempt the new<br>
                protocol first, likely get an error quickly, and
                downgrade immediately.<br>
                With a local proxy, this should not at all be costly as,
                well, it has a<br>
                small RTT to the user.<br>
                <br>
              </blockquote>
              <br>
            </div>
            Consider the pathway scenario, which is more common:<br>
            =C2=A0 A-&gt;B-&gt;C-&gt;D<br>
            <br>
            DNS can tell A what D&#39;s capabilities are. But A is not
            connecting there. Depending on those capability
            advertisements when available would be a costly mistake.
            <div><br>
              <br>
              <br>
              <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
                <br>
                <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex">
                  <br>
                  &gt; &gt; Maybe this could still be done over the
                  established connection using an<br>
                  &gt; &gt; Upgrade ? However, I&#39;d hope we avoid
                  announcing IP and ports in<br>
                  exchanges,<br>
                  &gt; &gt; as it will cause the NAT mess we managed to
                  avoid for years with HTTP<br>
                  and<br>
                  &gt; &gt; which made other protocols disappear.<br>
                  &gt;<br>
                  &gt; I&#39;m not understanding how this would cause NAT
                  messes? I&#39;d guess that<br>
                  most<br>
                  &gt; external sites would just continue to use :80 and
                  :443.<br>
                  <br>
                  There should be a single reliable way of getting a
                  host IP and a port.<br>
                  Right<br>
                  now it works well. If you change your /etc/hosts to
                  access your development<br>
                  site, you reach it without any issue and everything
                  works well. If you want<br>
                  to install a reverse-proxy-cache in front of it, you
                  can have this cache<br>
                  use the hard-coded IP address and have it work fine.<br>
                </blockquote>
              </blockquote>
              <br>
            </div>
            Swap &quot;host&quot; with &quot;recipient&quot; and you have t=
he requirements
            lined up correctly. Final end-server in the chain does not
            matter in the architecture like HTTP where proxy has
            =C2=A0existence, the host being connected to is all that matter=
s.
            Any overlap between the two is just a convenience.
            <div>
              <br>
              <br>
              <br>
              <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
                <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex">
                  <br>
                  At the moment you start exchanging IP addresses in the
                  protocol, you&#39;re<br>
                  getting<br>
                  into trouble. Sometimes the IP is valid, sometimes it
                  doesn&#39;t mean<br>
                  anything and<br>
                  must be rewritten by *someone* along the chain, but
                  most often, this<br>
                  *someone*<br>
                  doesn&#39;t care or is not the same as the one which
                  translates the address. I<br>
                  guess<br>
                  everyone here has already been involved in helping any
                  admin to rewrite<br>
                  Location<br>
                  headers that were improperly set by a customer
                  application that had no clue<br>
                  about the valid host name or IP from the outside. This
                  is typically the<br>
                  situation we should try to avoid.<br>
                  <br>
                </blockquote>
                <br>
                Everything which doesn&#39;t handle this already is
                significantly broken--<br>
                sometimes links have IP addresses in &#39;em. This is
                expected and valid for<br>
                the web...<br>
                <br>
                <br>
                <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex">
                  <br>
                  In my opinion, once an IP address and a port are
                  known, whatever the means,<br>
                  whether they&#39;re entered by hand in a URL bar of a
                  browser, configured in<br>
                  /etc/hosts, are specified in a config file as the
                  address of a web service<br>
                  or as a next hop for a reverse-proxy, we shouldn&#39;t
                  care how that address<br>
                  was<br>
                  learned, we should be able to use HTTP/2 over it if
                  desired.<br>
                  <br>
                </blockquote>
                <br>
                Wouldn&#39;t the proxy be doing the DNS resolutions here to
                figure this out?<br>
              </blockquote>
              <br>
            </div>
            *sometimes*. There is a lack of MUT NOT clause in the specs
            to prevent clients doing for example; same-origin
            validation.
            <div><br>
              <br>
              <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
                The client would likely have to do UPGRADE or
                alternate-protocol or NPN to<br>
                the proxy to figure out what it&#39;d be using, but that&#3=
9;d
                be normal...<br>
              </blockquote>
              <br>
            </div>
            Exactly why, IMHO, alternatives to those are a waste of time
            considering unless they can provide the same guarantee for
            handling transit over middleware (both explicit and
            interceptors) safely.<br>
            <br>
            SRV is a non-starter due to end-host servers not being aware
            of the details to emit for intermediaries.<br>
            <br>
            I think we should be taking Upgrade: and defining ways to
            optimize it. Willy had some proposals for merging multiple
            requests and defining 1.1-&gt;2.0 mapping in the headers of
            request #1. Figuring out how much of that is useful and
            where it could be improved would be a good way to progress
            the bootstrapping.
            <div>
              <br>
              <br>
              <br>
              <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
                <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex">
                  <br>
                  &gt; Some internal sites<br>
                  &gt; wouldn&#39;t, and the network there is controlled
                  well enough that this<br>
                  should<br>
                  &gt; cause no problem. In any case, sites are incented
                  to be sure that users<br>
                  can<br>
                  &gt; connect to them, and will quickly decide to
                  simply keep using :80 and<br>
                  :443.<br>
                  &gt; When one has an inspecting intermediary, it
                  probably won&#39;t like to see<br>
                  the<br>
                  &gt; upgrade, but probably would be perfectly fine
                  with a different connection<br>
                  &gt; (e.g. TLS on :443). There is simply less
                  complexity there, imho.<br>
                  <br>
                  Possibly, but this doesn&#39;t require relying on a
                  side-band registry to know<br>
                  the address and ports. After all, you have enumerated
                  the well-known ports<br>
                  above. It could be mandated that if an http connection
                  to :80 fails, a<br>
                  browser<br>
                  should automatically retry on 443 for instance,
                  without having to deal with<br>
                  registries such as DNS which are OK on the internet
                  and never maintainable<br>
                  internally, nor with IP addresses advertised in
                  headers.<br>
                  <br>
                </blockquote>
                <br>
                Agreed. I don&#39;t think anyone is yet suggesting
                *mandating* DNS schemes...<br>
              </blockquote>
              <br>
              <br>
            </div>
            I think we should be doing a twofold definition:<br>
            * port 80 Upgrade: from 1.x to 2.0<br>
            =C2=A0 =C2=A0- long term plans to obsolete HTTP/1.x<br>
            <br>
            * port 80 Upgrade: from HTTP to HTTPS/2<br>
            =C2=A0 =C2=A0- long term plans to obsolete port 443 usage and m=
ake the
            <a>http://</a> scheme TLS-enabled/secure whenever possible.<spa=
n><font color=3D"#888888"><br>
                <br>
                <br>
                Amos<br>
                <br>
              </font></span></blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>

--20cf302077dcffd92804c7c950c1--


From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 12:17:20 2012
Return-Path: <ietf-http-wg-request@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 D29E121F8712 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 12:17:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.584
X-Spam-Level: 
X-Spam-Status: No, score=-10.584 tagged_above=-999 required=5 tests=[AWL=0.015, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HsgfsApHS8oC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 12:17:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5503421F875A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 12:17:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3tvU-0007iX-0J for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 19:15:44 +0000
Resent-Date: Tue, 21 Aug 2012 19:15:44 +0000
Resent-Message-Id: <E1T3tvU-0007iX-0J@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1T3tv8-0007hL-4I for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 19:15:22 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1T3tv2-0006wQ-6L for ietf-http-wg@w3.org; Tue, 21 Aug 2012 19:15:22 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id A34AA3B763; Tue, 21 Aug 2012 19:14:54 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q7LJEpIQ050286; Tue, 21 Aug 2012 19:14:52 GMT (envelope-from phk@phk.freebsd.dk)
To: Yoav Nir <ynir@checkpoint.com>
cc: Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 21 Aug 2012 18:13:29 +0300." <4278A78A-6ADF-4114-AE62-8F07DEFB5EFF@checkpoint.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 21 Aug 2012 19:14:51 +0000
Message-ID: <50284.1345576491@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=1.3
X-W3C-Hub-Spam-Report: BAYES_60=1.5, RP_MATCHES_RCVD=-0.211
X-W3C-Scan-Sig: lisa.w3.org 1T3tv2-0006wQ-6L 195f26e5c52bb61149853052a4400bc2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/50284.1345576491@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15140
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>

In message <4278A78A-6ADF-4114-AE62-8F07DEFB5EFF@checkpoint.com>, Yoav Nir writ
es:

>> A closer analysis shows that it would be even better if secured
>> and unsecured requests could share a connection (think intermediary
>> to server for instance.)
>
>I'm not in the TLS-all-the-time camp, but why would you want to mix secure =
>and insecure content? How would the user know what parts of the screen that=
> he sees are secure and what parts are not?

It would (not need to) be different from today.

The point is that the client could open a TCP connection to the server,
and when the user decides to login, those requests/responses can be
secured, without opening another TCP connection as we do today.

If the site expects the user to login, it can start the negotiation
of security even before the user has hit login, shaving the X RTT's
it takes to exchange certificates and keys of the response time.

>We should if it's possible. Suppose HTTP/2.0 looks much like the SPDY draft.
>How can you ever get a current HTTP/1 server to reply to this? 

That's why I've been saying from the start that SPDY was an interesting
prototype, and now we should throw it away, and start from scratch, being
better informed by what SPDY taught us.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 12:17:25 2012
Return-Path: <ietf-http-wg-request@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 B458021F8754 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 12:17:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.584
X-Spam-Level: 
X-Spam-Status: No, score=-10.584 tagged_above=-999 required=5 tests=[AWL=0.015, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id njIo7S0dohG7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 12:17:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CE50821F875A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 12:17:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3twS-0007pP-2Z for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 19:16:44 +0000
Resent-Date: Tue, 21 Aug 2012 19:16:44 +0000
Resent-Message-Id: <E1T3twS-0007pP-2Z@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1T3twE-0007nE-73 for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 19:16:30 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1T3twD-0000xB-FO for ietf-http-wg@w3.org; Tue, 21 Aug 2012 19:16:30 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id A3AB63B762; Tue, 21 Aug 2012 19:16:08 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q7LJG869051031; Tue, 21 Aug 2012 19:16:08 GMT (envelope-from phk@phk.freebsd.dk)
To: Phillip Hallam-Baker <hallam@gmail.com>
cc: Yoav Nir <ynir@checkpoint.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 21 Aug 2012 11:36:07 -0400." <CAMm+Lwi=BRgiFXrhdjwjdEDxiVjMn7Ah+62fe0B85Kq3dtGp8w@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 21 Aug 2012 19:16:08 +0000
Message-ID: <51030.1345576568@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=0.6
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RP_MATCHES_RCVD=-0.211
X-W3C-Scan-Sig: maggie.w3.org 1T3twD-0000xB-FO 0128742e5e9c87174bbd6efc24caf06e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/51030.1345576568@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15141
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>

In message <CAMm+Lwi=BRgiFXrhdjwjdEDxiVjMn7Ah+62fe0B85Kq3dtGp8w@mail.gmail.com>
, Phillip Hallam-Baker writes:

>The mixed content thing is a horror show.

But HTTP supports that on a connection between a multiplexing
intermediary and a server, so that boat is long since sailed.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 13:48:53 2012
Return-Path: <ietf-http-wg-request@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 D6E8811E80BF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 13:48:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.436
X-Spam-Level: 
X-Spam-Status: No, score=-10.436 tagged_above=-999 required=5 tests=[AWL=0.163, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id huhxr7BiezQC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 13:48:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 50F1621F8628 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 13:48:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3vMJ-0007cI-T9 for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 20:47:31 +0000
Resent-Date: Tue, 21 Aug 2012 20:47:31 +0000
Resent-Message-Id: <E1T3vMJ-0007cI-T9@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1T3vM6-0007az-0M for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 20:47:18 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1T3vM4-0001WP-SO for ietf-http-wg@w3.org; Tue, 21 Aug 2012 20:47:17 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q7LKkf60000808; Tue, 21 Aug 2012 23:46:42 +0300
X-CheckPoint: {5033F023-1-1B221DC2-4FFFF}
Received: from il-ex03.ad.checkpoint.com (194.29.34.71) by il-ex01.ad.checkpoint.com (194.29.34.26) with Microsoft SMTP Server (TLS) id 8.3.213.0; Tue, 21 Aug 2012 23:46:41 +0300
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex03.ad.checkpoint.com ([194.29.34.71]) with mapi; Tue, 21 Aug 2012 23:46:41 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
CC: Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Tue, 21 Aug 2012 23:47:03 +0300
Thread-Topic: Optimizations vs Functionality vs Architecture
Thread-Index: Ac1/3hAvA6VVB8LMTdmRjhVHznbU4Q==
Message-ID: <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com>
References: <50284.1345576491@critter.freebsd.dk>
In-Reply-To: <50284.1345576491@critter.freebsd.dk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
x-cpdlp: 116c2db0334c01823fcb7611ef35859896f8e0aea0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-KSE-AntiSpam-Interceptor-Info: protection disabled
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.211, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T3vM4-0001WP-SO fb3a616ed0845ba87addae47f6f5c422
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15142
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 Aug 21, 2012, at 10:14 PM, Poul-Henning Kamp wrote:
>> We should if it's possible. Suppose HTTP/2.0 looks much like the SPDY dr=
aft.
>> How can you ever get a current HTTP/1 server to reply to this?=20
>=20
> That's why I've been saying from the start that SPDY was an interesting
> prototype, and now we should throw it away, and start from scratch, being
> better informed by what SPDY taught us.

A requirement for downgrade creates too many restrictions, even if we throw=
 SPDY away. The beginning of a 2.0 connection would have to look enough lik=
e 1.x so as to fool existing servers.=20

I think we should live with upgrade only, as long as clients can cache the =
knowledge that a certain server supports 2.0, so that they can skip the upg=
rade the next time. The extra roundtrip on a first encounter is not that ba=
d.=


From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 13:56:13 2012
Return-Path: <ietf-http-wg-request@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 EE12411E80FB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 13:56:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.989
X-Spam-Level: 
X-Spam-Status: No, score=-8.989 tagged_above=-999 required=5 tests=[AWL=1.610, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id octmnRt+KG94 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 13:56:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0BD8511E80F7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 13:56:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3vTf-0002U3-QC for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 20:55:07 +0000
Resent-Date: Tue, 21 Aug 2012 20:55:07 +0000
Resent-Message-Id: <E1T3vTf-0002U3-QC@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T3vTR-0001E7-7D for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 20:54:53 +0000
Received: from mail-yx0-f171.google.com ([209.85.213.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T3vTN-0003uk-J4 for ietf-http-wg@w3.org; Tue, 21 Aug 2012 20:54:53 +0000
Received: by yenl4 with SMTP id l4so264479yen.2 for <ietf-http-wg@w3.org>; Tue, 21 Aug 2012 13:54:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CJ65UP9J968byP+TePDVQFrfCFBYHZA0vsnZZH48+o4=; b=G8mxOWo5k8u3iVsijLAxoeH8e0s5awRYxtFpRNdvqK2mXU490p5zFzoj5iGft4KqiZ rWniuhSpe2fuxH0I+KX89yPHlTK5bFIamM505UYYlvlMxbud9FV4Qr2ecshEBeQTv6sM TiZHYhSAo4PnAlsBzKOiTSO4EtuXzFU4Ji74o7RVm9xbILRYefMKXi5dSEfSQcKprrH7 sMTdgGBg5NLG8RnkJG3htL1G0kiIM0mNArqBMlwracpkAbxVFOWrJYBisbpg5Zp3267n kHvPsHJRLdfXK2x/FCzgUCsAN749qI0Fd8roj9Vb/ViCjrpU+9bYLeM3Y9ewlEEWsKW8 lPtg==
MIME-Version: 1.0
Received: by 10.60.28.202 with SMTP id d10mr13668786oeh.36.1345582463725; Tue, 21 Aug 2012 13:54:23 -0700 (PDT)
Received: by 10.76.80.10 with HTTP; Tue, 21 Aug 2012 13:54:23 -0700 (PDT)
In-Reply-To: <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com>
References: <50284.1345576491@critter.freebsd.dk> <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com>
Date: Tue, 21 Aug 2012 16:54:23 -0400
Message-ID: <CAMm+LwgQQ_79F57p8FRk2LWG822n9kOrnA5A+kUTbVBGeg01sg@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Yoav Nir <ynir@checkpoint.com>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.213.171; envelope-from=hallam@gmail.com; helo=mail-yx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T3vTN-0003uk-J4 3d12c4bc424b8932e249df2520ed91fd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/CAMm+LwgQQ_79F57p8FRk2LWG822n9kOrnA5A+kUTbVBGeg01sg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15143
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>

I think the same approach can be used for intermediaries and shows why
having both mechanisms is important.

A HTTP/2.0 connection can fail for two reasons:

1) The server does not support HTTP/2.0
2) An intermediary in the current path is blocking it.

Real machines move from one network to another so it is important to
be able to distinguish between the two modes if the information is
going to be cached. Otherwise we end up in a situation where the cache
is being corrupted by the intermediary.

If the reason HTTP 2.0 is failing is the intermediary blocks it then
the client should stop trying HTTP 2.0 altogether until the network
conditions change. It should certainly not attempt to remember the
effect of trying HTTP/2.0 at specific sites.

If the reason it failed is that the server only supports 1.1, that is
something that can and should be remembered for future use with some
form of reasonable expiry policy so that one failure in 2012 does not
continue to apply in 2020.



On Tue, Aug 21, 2012 at 4:47 PM, Yoav Nir <ynir@checkpoint.com> wrote:
>
> On Aug 21, 2012, at 10:14 PM, Poul-Henning Kamp wrote:
>>> We should if it's possible. Suppose HTTP/2.0 looks much like the SPDY draft.
>>> How can you ever get a current HTTP/1 server to reply to this?
>>
>> That's why I've been saying from the start that SPDY was an interesting
>> prototype, and now we should throw it away, and start from scratch, being
>> better informed by what SPDY taught us.
>
> A requirement for downgrade creates too many restrictions, even if we throw SPDY away. The beginning of a 2.0 connection would have to look enough like 1.x so as to fool existing servers.
>
> I think we should live with upgrade only, as long as clients can cache the knowledge that a certain server supports 2.0, so that they can skip the upgrade the next time. The extra roundtrip on a first encounter is not that bad.



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 14:32:01 2012
Return-Path: <ietf-http-wg-request@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 A277221F86B9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 14:32:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.584
X-Spam-Level: 
X-Spam-Status: No, score=-10.584 tagged_above=-999 required=5 tests=[AWL=0.015, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04lu5aqt7l1B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 14:32:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2555521F86C3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 14:32:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3w2d-0004bu-6g for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 21:31:15 +0000
Resent-Date: Tue, 21 Aug 2012 21:31:15 +0000
Resent-Message-Id: <E1T3w2d-0004bu-6g@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1T3w2O-0004ad-Fm for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 21:31:00 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1T3w2M-0002tL-Ux for ietf-http-wg@w3.org; Tue, 21 Aug 2012 21:31:00 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 795413B79E; Tue, 21 Aug 2012 21:30:37 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q7LLUZQF088239; Tue, 21 Aug 2012 21:30:36 GMT (envelope-from phk@phk.freebsd.dk)
To: Yoav Nir <ynir@checkpoint.com>
cc: Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 21 Aug 2012 23:47:03 +0300." <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 21 Aug 2012 21:30:35 +0000
Message-ID: <88238.1345584635@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=0.6
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RP_MATCHES_RCVD=-0.211
X-W3C-Scan-Sig: lisa.w3.org 1T3w2M-0002tL-Ux 75ef68f3e09317db8d01f0c55664219f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/88238.1345584635@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15144
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>

In message <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com>, Yoav Nir writ
es:

>A requirement for downgrade creates too many restrictions, even if we throw
> SPDY away. The beginning of a 2.0 connection would have to look enough like
>1.x so as to fool existing servers. 

Yes, and ?

Sending:

	HEAD / HTTP/1.1
	Upgrade: HTTP/2.0

as a preamble on a connection is not very expensive.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 15:02:47 2012
Return-Path: <ietf-http-wg-request@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 6008E21F85AF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 15:02:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.528
X-Spam-Level: 
X-Spam-Status: No, score=-10.528 tagged_above=-999 required=5 tests=[AWL=0.070, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LIcdod718Xec for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 15:02:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B2F4E21F85A8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 15:02:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3wVs-0002ZY-Er for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 22:01:28 +0000
Resent-Date: Tue, 21 Aug 2012 22:01:28 +0000
Resent-Message-Id: <E1T3wVs-0002ZY-Er@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1T3wVe-0002Y7-7j for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 22:01:14 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1T3wVc-0005rT-SA for ietf-http-wg@w3.org; Tue, 21 Aug 2012 22:01:14 +0000
Received: by weyx43 with SMTP id x43so202021wey.2 for <ietf-http-wg@w3.org>; Tue, 21 Aug 2012 15:00:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7e0OAp0t1KTh8nx3WWtGXiu/sg3uWMwCSU4bwwW2nWI=; b=ZWVAmC4074LrbAAJ/d5ZeFTwaVV6hZzqM2YGRRM6rVrkzDPrW9arY+XgeEtnKR7/vD q7UjCyeNufUa5AlECX8A86Qlx4BXtQxCLAGV9gqym9oiG4s8WvYJ5pNzAy8xKslXPqcZ u5erJoDCL1LuCmizEsnM7ZqJGbeSmbrT3QezUP8bDwHles/98nP6tWzicxZICaBGeSme pysS71EKBM2pa54qU2cb9HkgS7ErZU6ZAkUsuJU2TpEQ6RieoraoWtzJViq0MQdMkViI cd0fDe9Q3IdKjXvdOTVLgZK/8c0sjUiNek7Hje2DZvUbYcc6vJLYEX9kvHoj4wWsljzl lfDg==
MIME-Version: 1.0
Received: by 10.180.107.2 with SMTP id gy2mr283526wib.2.1345586446454; Tue, 21 Aug 2012 15:00:46 -0700 (PDT)
Received: by 10.194.26.138 with HTTP; Tue, 21 Aug 2012 15:00:46 -0700 (PDT)
In-Reply-To: <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com>
References: <50284.1345576491@critter.freebsd.dk> <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com>
Date: Tue, 21 Aug 2012 15:00:46 -0700
Message-ID: <CAP+FsNcNx2OcjPd5dwP4joMHHnd-Gk_-Hpv7tQyD5yP9uh+7sQ@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Yoav Nir <ynir@checkpoint.com>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, Phillip Hallam-Baker <hallam@gmail.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=e89a8f3b9f6527cf3204c7cdc23b
Received-SPF: pass client-ip=74.125.82.171; envelope-from=grmocg@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T3wVc-0005rT-SA 42be301ee69ad324baeb52268989bc0f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/CAP+FsNcNx2OcjPd5dwP4joMHHnd-Gk_-Hpv7tQyD5yP9uh+7sQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15145
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>

--e89a8f3b9f6527cf3204c7cdc23b
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Aug 21, 2012 at 1:47 PM, Yoav Nir <ynir@checkpoint.com> wrote:

>
> On Aug 21, 2012, at 10:14 PM, Poul-Henning Kamp wrote:
> >> We should if it's possible. Suppose HTTP/2.0 looks much like the SPDY
> draft.
> >> How can you ever get a current HTTP/1 server to reply to this?
> >
> > That's why I've been saying from the start that SPDY was an interesting
> > prototype, and now we should throw it away, and start from scratch, being
> > better informed by what SPDY taught us.
>
> A requirement for downgrade creates too many restrictions, even if we
> throw SPDY away. The beginning of a 2.0 connection would have to look
> enough like 1.x so as to fool existing servers.
>
>
Note that we'll always have to do downgrade-- perhaps someone deploys a
proxy which doesn't speak HTTP/2, or perhaps the site administrator deploys
a different server or load balancer that only speaks HTTP/1.1 when it used
to do HTTP/2.
These will happen and must be addressed.


> I think we should live with upgrade only, as long as clients can cache the
> knowledge that a certain server supports 2.0, so that they can skip the
> upgrade the next time. The extra roundtrip on a first encounter is not that
> bad.
>

I disagree-- I want the user to experience the lowest latency possible for
all sites possible whenever possible! :)

-=R

--e89a8f3b9f6527cf3204c7cdc23b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Aug 21, 2012 at 1:47 PM, Yoav Ni=
r <span dir=3D"ltr">&lt;<a href=3D"mailto:ynir@checkpoint.com" target=3D"_b=
lank">ynir@checkpoint.com</a>&gt;</span> wrote:<br><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex">
<div class=3D"im"><br>
On Aug 21, 2012, at 10:14 PM, Poul-Henning Kamp wrote:<br>
&gt;&gt; We should if it&#39;s possible. Suppose HTTP/2.0 looks much like t=
he SPDY draft.<br>
&gt;&gt; How can you ever get a current HTTP/1 server to reply to this?<br>
&gt;<br>
&gt; That&#39;s why I&#39;ve been saying from the start that SPDY was an in=
teresting<br>
&gt; prototype, and now we should throw it away, and start from scratch, be=
ing<br>
&gt; better informed by what SPDY taught us.<br>
<br>
</div>A requirement for downgrade creates too many restrictions, even if we=
 throw SPDY away. The beginning of a 2.0 connection would have to look enou=
gh like 1.x so as to fool existing servers.<br>
<br></blockquote><div><br></div><div><div>Note that we&#39;ll always have t=
o do downgrade-- perhaps someone deploys a proxy which doesn&#39;t speak HT=
TP/2, or perhaps the site administrator deploys a different server or load =
balancer that only speaks HTTP/1.1 when it used to do HTTP/2.</div>
<div>These will happen and must be addressed.</div></div><div>=A0</div><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #c=
cc solid;padding-left:1ex">
I think we should live with upgrade only, as long as clients can cache the =
knowledge that a certain server supports 2.0, so that they can skip the upg=
rade the next time. The extra roundtrip on a first encounter is not that ba=
d.<br>

</blockquote></div><div><br></div><div>I disagree-- I want the user to expe=
rience the lowest latency possible for all sites possible whenever possible=
! :)</div><div><br></div><div>-=3DR</div>

--e89a8f3b9f6527cf3204c7cdc23b--


From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 15:59:25 2012
Return-Path: <ietf-http-wg-request@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 4BB4721F8647 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 15:59:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.278
X-Spam-Level: 
X-Spam-Status: No, score=-10.278 tagged_above=-999 required=5 tests=[AWL=0.320, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UgYJHgWqlYDD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 15:59:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 16DC321F8645 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 15:59:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3xOn-0003Mx-Ns for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 22:58:13 +0000
Resent-Date: Tue, 21 Aug 2012 22:58:13 +0000
Resent-Message-Id: <E1T3xOn-0003Mx-Ns@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1T3xOR-0003M1-2e for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 22:57:51 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1T3xOP-0007Nf-0P for ietf-http-wg@w3.org; Tue, 21 Aug 2012 22:57:51 +0000
Received: by wibhq4 with SMTP id hq4so243804wib.8 for <ietf-http-wg@w3.org>; Tue, 21 Aug 2012 15:57:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=8NNf7iQaEiNot2WAQweDPVpisHmE+7VrGsUEepLdPOU=; b=MlgNYdilI7bZfrQaIkdnjKrsBwwo/jIFxG4anyYmoX56V4qnVBT4gspLFT6Eb3+37m YoasRPWpfn8Qo4XgyzZ6rHrzqAeUHC/Dqg9Jjx2EEeQowjHax4d04ZOKXOwR37mtYsOZ ysX1KvCNDljqQ37i5367PRqSKrF4bK3L8+anLTj4lfy8stC7zGb5S9bXo8Wo5AjqBPaQ vHVnEKZLDBKNB3Drte+FsA8ODxowimo+t5rrLYROZHBHjUwpQxNO0yADBqhPFvoLcLXD WqvlthyjsA2RBEYDQv2GQnILa859x88vjSHqZAIugG0NzWOjoR5r4gU3BjJ8HJi6wFpZ sfJQ==
Received: by 10.217.1.79 with SMTP id m57mr9515374wes.121.1345589842412; Tue, 21 Aug 2012 15:57:22 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.58.136 with HTTP; Tue, 21 Aug 2012 15:57:02 -0700 (PDT)
In-Reply-To: <CAMm+Lwi=BRgiFXrhdjwjdEDxiVjMn7Ah+62fe0B85Kq3dtGp8w@mail.gmail.com>
References: <83663.1345556194@critter.freebsd.dk> <4278A78A-6ADF-4114-AE62-8F07DEFB5EFF@checkpoint.com> <CAMm+Lwi=BRgiFXrhdjwjdEDxiVjMn7Ah+62fe0B85Kq3dtGp8w@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 21 Aug 2012 15:57:02 -0700
Message-ID: <CABP7RbeRsyGrw5GNmDHZacWho_Fn6WdzikJD-8Ub4oPLi_AKcQ@mail.gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: Yoav Nir <ynir@checkpoint.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf302077dc92047604c7ce8c15
Received-SPF: pass client-ip=209.85.212.179; envelope-from=jasnell@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T3xOP-0007Nf-0P 8d18c39793f53c5fba657cd2e7ee8a5a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/CABP7RbeRsyGrw5GNmDHZacWho_Fn6WdzikJD-8Ub4oPLi_AKcQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15146
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>

--20cf302077dc92047604c7ce8c15
Content-Type: text/plain; charset=UTF-8

On Tue, Aug 21, 2012 at 8:36 AM, Phillip Hallam-Baker <hallam@gmail.com>wrote:

> On Tue, Aug 21, 2012 at 11:13 AM, Yoav Nir <ynir@checkpoint.com> wrote:
> >
>
> >> A closer analysis shows that it would be even better if secured
> >> and unsecured requests could share a connection (think intermediary
> >> to server for instance.)
> >
> > I'm not in the TLS-all-the-time camp, but why would you want to mix
> secure and insecure content? How would the user know what parts of the
> screen that he sees are secure and what parts are not?
>
> +1
>
> The mixed content thing is a horror show.
>
>
Perhaps when all the traffic is from a single client originating from a
single user-agent within a single application context, I agree... but when
you're talking about traffic between an intermediary handling requests from
a broad diversity of user-agents communicating with an origin server that
legitimately offers both secure and insecure content, the ability to pass
insecure and secure traffic within a single TCP connection [1] could
realize some fairly significant benefits.

[1] http://tools.ietf.org/html/draft-snell-httpbis-keynego-00


>
> >> Such a mixed mode might even allow oppotunistic negotiation of
> >> security, even before the user has pushed the "login" button.
> >
> > I don't like opportunistic. Security is all about guarantees.
> Opportunistic encryption doesn't give you any guarantees. A statement that
> there's a 95% chance that you have 256-bit security is meaningless, while a
> statement that you definitely have 64-bit security eliminates most
> attackers.
>
>
Opportunistic does not mean "no guarantee" but then again, "opportunistic"
is a perhaps a poor word choice... I prefer "in session" or "on demand"
encryption, allowing the client and server to selectively apply privacy
protections as necessary without requiring the existing tcp/ip connection
to be re-established. Rules can be established, similar to the Same Origin
Policy, that define how various user agents are to best make use of those
mechanisms in specific contexts -- including when NOT to use mixed traffic
-- but the protocol itself does not suffer from the mixing of plain text
and encrypted content.

- James


> I disagree, there is a value to increase the proportion of encrypted
> traffic so that encryption is no longer such a red flag for traffic
> analysis.
>
> Security is all about risk management, not risk elimination. Back in
> 1995 we all got that wrong. Some of us came to our senses earlier than
> others, hence the stand up row on the Concourse of RSA back in 2000 or
> so.
>
> Opportunistic encryption does actually raise the bar on attacks quite
> substantially and in particular it increases costs and reduces scope.
> An attack that will defeat 95% of the script kiddies but not protect
> against the RBN is actually quite useful in practice.
>
> It is not a solution I would like to see for credit card transactions
> or anything that matters, but training wheels for crypto have their
> uses.
>
>
>
> >>> * 2020 Latency: Performance when the remaining legacy can be ignored
> >>> as far as latency issues are concerned, people using 2012 gear in 2020
> >>> are not going to be getting world class latency anyway.
> >>
> >> Not agreed, I doubt HTTP/2.0 will have more than 40% market share
> >> by 2020.
> >
> > Depends of how you measure market share. By sheer number of servers
> (counting all those web configuration screens for home routers and
> toasters) - yes. But we are very likely to have support in the big websites
> that people use a lot, so we could have a much higher number for percentage
> of requests.
>
> +1
>
> What really matters is the 'expected pain index'.
>
> I think that if the IETF ever told network equipment vendors what was
> expected of middleboxes with clarity that the vendors would be only
> too happy to comply. Instead we have a nonsense situation where the
> NAT vendors were at best ignored, at worse actively sabotaged (IPSEC)
> and left to make things work by trial and error.
>
> Tell folk what to do to make things work and they are much more likely
> to do it right.
>
>
> > Even now, Chrome + newer Firefox have together >50% share. Queries to
> Google services make up 6% of the web, so SPDY already has a market share
> of 3%. If we also add big sites like Facebook and common implementations
> like Apache, that percentage could go up really fast.
>
> The question is what percentage of home routers, firewalls etc. would
> get in the way of a solution that allowed SRV to be used for
> signalling.
>
> --
> Website: http://hallambaker.com/
>
>

--20cf302077dc92047604c7ce8c15
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Tue, Aug 21, 2012 at 8:36 AM, Phillip Hallam-Baker <span dir=3D"ltr"=
>&lt;<a href=3D"mailto:hallam@gmail.com" target=3D"_blank">hallam@gmail.com=
</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">On Tue, Aug 21, 2012 at 11=
:13 AM, Yoav Nir &lt;<a href=3D"mailto:ynir@checkpoint.com">ynir@checkpoint=
.com</a>&gt; wrote:<br>


&gt;<br>
<br>
&gt;&gt; A closer analysis shows that it would be even better if secured<br=
>
&gt;&gt; and unsecured requests could share a connection (think intermediar=
y<br>
&gt;&gt; to server for instance.)<br>
&gt;<br>
&gt; I&#39;m not in the TLS-all-the-time camp, but why would you want to mi=
x secure and insecure content? How would the user know what parts of the sc=
reen that he sees are secure and what parts are not?<br>
<br>
</div>+1<br>
<br>
The mixed content thing is a horror show.<br>
<div class=3D"im"><br></div></blockquote><div><br></div><div>Perhaps when a=
ll the traffic is from a single client originating from a single user-agent=
 within a single application context, I agree... but when you&#39;re talkin=
g about traffic between an intermediary handling requests from a broad dive=
rsity of user-agents communicating with an origin server that legitimately =
offers both secure and insecure content, the ability to pass insecure and s=
ecure traffic within a single TCP connection [1] could realize some fairly =
significant benefits.</div>

<div><br></div><div>[1]=C2=A0<a href=3D"http://tools.ietf.org/html/draft-sn=
ell-httpbis-keynego-00">http://tools.ietf.org/html/draft-snell-httpbis-keyn=
ego-00</a></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class=3D"im">
<br>
&gt;&gt; Such a mixed mode might even allow oppotunistic negotiation of<br>
&gt;&gt; security, even before the user has pushed the &quot;login&quot; bu=
tton.<br>
&gt;<br>
&gt; I don&#39;t like opportunistic. Security is all about guarantees. Oppo=
rtunistic encryption doesn&#39;t give you any guarantees. A statement that =
there&#39;s a 95% chance that you have 256-bit security is meaningless, whi=
le a statement that you definitely have 64-bit security eliminates most att=
ackers.<br>


<br></div></blockquote><div><br></div><div>Opportunistic does not mean &quo=
t;no guarantee&quot; but then again, &quot;opportunistic&quot; is a perhaps=
 a poor word choice... I prefer &quot;in session&quot; or &quot;on demand&q=
uot; encryption, allowing the client and server to selectively apply privac=
y protections as necessary without requiring the existing tcp/ip connection=
 to be re-established. Rules can be established, similar to the Same Origin=
 Policy, that define how various user agents are to best make use of those =
mechanisms in specific contexts -- including when NOT to use mixed traffic =
-- but the protocol itself does not suffer from the mixing of plain text an=
d encrypted content.</div>

<div><br></div><div>- James</div><div>=C2=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex"><div class=3D"im">
</div>I disagree, there is a value to increase the proportion of encrypted<=
br>
traffic so that encryption is no longer such a red flag for traffic<br>
analysis.<br>
<br>
Security is all about risk management, not risk elimination. Back in<br>
1995 we all got that wrong. Some of us came to our senses earlier than<br>
others, hence the stand up row on the Concourse of RSA back in 2000 or<br>
so.<br>
<br>
Opportunistic encryption does actually raise the bar on attacks quite<br>
substantially and in particular it increases costs and reduces scope.<br>
An attack that will defeat 95% of the script kiddies but not protect<br>
against the RBN is actually quite useful in practice.<br>
<br>
It is not a solution I would like to see for credit card transactions<br>
or anything that matters, but training wheels for crypto have their<br>
uses.<br>
<div class=3D"im"><br>
<br>
<br>
&gt;&gt;&gt; * 2020 Latency: Performance when the remaining legacy can be i=
gnored<br>
&gt;&gt;&gt; as far as latency issues are concerned, people using 2012 gear=
 in 2020<br>
&gt;&gt;&gt; are not going to be getting world class latency anyway.<br>
&gt;&gt;<br>
&gt;&gt; Not agreed, I doubt HTTP/2.0 will have more than 40% market share<=
br>
&gt;&gt; by 2020.<br>
&gt;<br>
&gt; Depends of how you measure market share. By sheer number of servers (c=
ounting all those web configuration screens for home routers and toasters) =
- yes. But we are very likely to have support in the big websites that peop=
le use a lot, so we could have a much higher number for percentage of reque=
sts.<br>


<br>
</div>+1<br>
<br>
What really matters is the &#39;expected pain index&#39;.<br>
<br>
I think that if the IETF ever told network equipment vendors what was<br>
expected of middleboxes with clarity that the vendors would be only<br>
too happy to comply. Instead we have a nonsense situation where the<br>
NAT vendors were at best ignored, at worse actively sabotaged (IPSEC)<br>
and left to make things work by trial and error.<br>
<br>
Tell folk what to do to make things work and they are much more likely<br>
to do it right.<br>
<div class=3D"im"><br>
<br>
&gt; Even now, Chrome + newer Firefox have together &gt;50% share. Queries =
to Google services make up 6% of the web, so SPDY already has a market shar=
e of 3%. If we also add big sites like Facebook and common implementations =
like Apache, that percentage could go up really fast.<br>


<br>
</div>The question is what percentage of home routers, firewalls etc. would=
<br>
get in the way of a solution that allowed SRV to be used for<br>
signalling.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
Website: <a href=3D"http://hallambaker.com/" target=3D"_blank">http://halla=
mbaker.com/</a><br>
<br>
</font></span></blockquote></div><br>

--20cf302077dc92047604c7ce8c15--


From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 16:26:37 2012
Return-Path: <ietf-http-wg-request@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 C4B2121F8604 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 16:26:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.774
X-Spam-Level: 
X-Spam-Status: No, score=-9.774 tagged_above=-999 required=5 tests=[AWL=0.824, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D92VpiJqqhs4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 16:26:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 253C421F859B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 16:26:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3xp7-0000zN-U9 for ietf-http-wg-dist@listhub.w3.org; Tue, 21 Aug 2012 23:25:25 +0000
Resent-Date: Tue, 21 Aug 2012 23:25:25 +0000
Resent-Message-Id: <E1T3xp7-0000zN-U9@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1T3xos-0000y3-MT for ietf-http-wg@listhub.w3.org; Tue, 21 Aug 2012 23:25:10 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1T3xor-00089F-Pu for ietf-http-wg@w3.org; Tue, 21 Aug 2012 23:25:10 +0000
Received: by wgbdq12 with SMTP id dq12so271747wgb.26 for <ietf-http-wg@w3.org>; Tue, 21 Aug 2012 16:24:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=VGt5lsIcANgDk1bBXsqcxiiXEiBQwxAdSf+JQdWS9qc=; b=iQsGIROihoV2IWm0/QMWsKQQnp0TG9mLE+MiD72dB3MRUeD7kRy94nQ+w3qdZfsxdV aQXXBcSx/rdoaX1GifQxmZlzLiOoXVCKGJ+4kZAh9ESl3zvkjw2mXJlYg5Dgw8Bygv5j ZA05M2Ya2FJ7SwbvYsUKn1tS4lEw0p2Sgu7WVF/r+3gxIBvyEMqcE9eN5O2BOb0/a680 JcA7Oxxi22xR4OaUhKZYJMJZ4uSbiF+tkmx9fUF5CR3i14mWt4WqBIkmnjDhImrcqYTX C3emVAp3JJfUMHYVpT6FJB1pf9pgagy4lUqIy6Sf6xJBbTI3nTWXcllO4y4BULXEFxn+ yyxQ==
Received: by 10.180.92.9 with SMTP id ci9mr643821wib.22.1345591483305; Tue, 21 Aug 2012 16:24:43 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.58.136 with HTTP; Tue, 21 Aug 2012 16:24:23 -0700 (PDT)
In-Reply-To: <88238.1345584635@critter.freebsd.dk>
References: <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com> <88238.1345584635@critter.freebsd.dk>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 21 Aug 2012 16:24:23 -0700
Message-ID: <CABP7RbdAW6ebpiA08dmp02pgPm9ZLBTPcjHHSkNvJ=D5iUS8-A@mail.gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Yoav Nir <ynir@checkpoint.com>, Phillip Hallam-Baker <hallam@gmail.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d043c8188600db904c7ceee3e
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T3xor-00089F-Pu fde2a75138f8d1f3933fcb358199433c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/CABP7RbdAW6ebpiA08dmp02pgPm9ZLBTPcjHHSkNvJ=D5iUS8-A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15147
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>

--f46d043c8188600db904c7ceee3e
Content-Type: text/plain; charset=UTF-8

On Tue, Aug 21, 2012 at 2:30 PM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

> In message <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com>, Yoav
> Nir writ
> es:
>
> >A requirement for downgrade creates too many restrictions, even if we
> throw
> > SPDY away. The beginning of a 2.0 connection would have to look enough
> like
> >1.x so as to fool existing servers.
>
> Yes, and ?
>
> Sending:
>
>         HEAD / HTTP/1.1
>         Upgrade: HTTP/2.0
>
> as a preamble on a connection is not very expensive.
>
>
Sending is not a problem... but handling it on the server side could be
depending on what work the server needs to do to generate the HEAD
response. As per the spec, "The metainformation contained in the HTTP
headers in response to a HEAD request SHOULD be identical to the
information sent in response to a GET request" .. calculating the Entity
Tag, Last-Modified Timestamp, Content-Length and Content-Type headers could
be rather more expensive than one may expect depending on what's on the end
of that request.

- James


> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>
>

--f46d043c8188600db904c7ceee3e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Tue, Aug 21, 2012 at 2:30 PM, Poul-Henning Kamp <span dir=3D"ltr">&l=
t;<a href=3D"mailto:phk@phk.freebsd.dk" target=3D"_blank">phk@phk.freebsd.d=
k</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">In message &lt;<a href=3D"mailto:2A8028EE-0E=
EC-4E42-89C4-347C33F60B90@checkpoint.com">2A8028EE-0EEC-4E42-89C4-347C33F60=
B90@checkpoint.com</a>&gt;, Yoav Nir writ<br>


es:<br>
<div class=3D"im"><br>
&gt;A requirement for downgrade creates too many restrictions, even if we t=
hrow<br>
&gt; SPDY away. The beginning of a 2.0 connection would have to look enough=
 like<br>
&gt;1.x so as to fool existing servers.<br>
<br>
</div>Yes, and ?<br>
<br>
Sending:<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 HEAD / HTTP/1.1<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Upgrade: HTTP/2.0<br>
<br>
as a preamble on a connection is not very expensive.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br></div></div></blockquote><div><=
br></div><div>Sending is not a problem... but handling it on the server sid=
e could be depending on what work the server needs to do to generate the HE=
AD response. As per the spec, &quot;The metainformation contained in the HT=
TP headers in response to a HEAD request SHOULD be identical to the informa=
tion sent in response to a GET request&quot; .. calculating the Entity Tag,=
 Last-Modified Timestamp, Content-Length and Content-Type headers could be =
rather more expensive than one may expect depending on what&#39;s on the en=
d of that request.</div>

<div>=C2=A0</div><div>- James</div><div><br></div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex"><div class=3D"HOEnZb"><div class=3D"h5">
<br>
--<br>
Poul-Henning Kamp =C2=A0 =C2=A0 =C2=A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =C2=A0 =C2=A0 =C2=A0 =C2=A0 | TCP/IP since RFC 956<br>
FreeBSD committer =C2=A0 =C2=A0 =C2=A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
<br>
</div></div></blockquote></div><br>

--f46d043c8188600db904c7ceee3e--


From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 17:55:16 2012
Return-Path: <ietf-http-wg-request@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 16CD511E8091 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 17:55:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.286
X-Spam-Level: 
X-Spam-Status: No, score=-10.286 tagged_above=-999 required=5 tests=[AWL=0.312, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mJfwfQ+vDh3u for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 17:55:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E740E11E808A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 17:55:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T3zCf-0007go-7S for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Aug 2012 00:53:49 +0000
Resent-Date: Wed, 22 Aug 2012 00:53:49 +0000
Resent-Message-Id: <E1T3zCf-0007go-7S@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1T3zCQ-0007fu-PV for ietf-http-wg@listhub.w3.org; Wed, 22 Aug 2012 00:53:34 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1T3zCM-0001vi-DW for ietf-http-wg@w3.org; Wed, 22 Aug 2012 00:53:34 +0000
Received: by wibhq4 with SMTP id hq4so294303wib.8 for <ietf-http-wg@w3.org>; Tue, 21 Aug 2012 17:53:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=6ycoQh/ze08pp8Zv7yXgcMkuYNxM49+fN0Qxh/dI2Ro=; b=thHqnILF2SGA8YiAwENs6I729deMPrSfWLx7sbswgMuerbLJpaF8weCmOGI/acj8Fe fvpAEyh9wz59JqofmO/9Sr+cPgHr4jbGVI2f/9U1ywHLj3FbcJAF55SKTAR3ikbTJsrB c16Mv22dGVHfF+4pWhDnL2k0xnt2dnZPvF6evI+NXqETiEBFQeldYiORmejqsncBTcxZ ARmeUxDI2LkRjQ1m7T/QMcab1znufmQZDyuUzdRCMwsoZS+0jLpKSLRjyGgUEFs2ciXD JL3aiuB65HJ8Tt9ljgGBgCW9SyI7mJ1Lfy7EakBB+hKK1JG515rc6Kc+eg0Wi5qSoD6j F6tg==
Received: by 10.180.91.228 with SMTP id ch4mr1266690wib.7.1345596783898; Tue, 21 Aug 2012 17:53:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.58.136 with HTTP; Tue, 21 Aug 2012 17:52:43 -0700 (PDT)
In-Reply-To: <CAP+FsNcNx2OcjPd5dwP4joMHHnd-Gk_-Hpv7tQyD5yP9uh+7sQ@mail.gmail.com>
References: <50284.1345576491@critter.freebsd.dk> <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com> <CAP+FsNcNx2OcjPd5dwP4joMHHnd-Gk_-Hpv7tQyD5yP9uh+7sQ@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 21 Aug 2012 17:52:43 -0700
Message-ID: <CABP7RbcMO3yL3D0vtnPmU63CNKgYLzMa+Eveo52edBVBK8m72Q@mail.gmail.com>
To: Roberto Peon <grmocg@gmail.com>
Cc: Yoav Nir <ynir@checkpoint.com>, Poul-Henning Kamp <phk@phk.freebsd.dk>,  Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d043c7fa250b20e04c7d02a3b
Received-SPF: pass client-ip=209.85.212.179; envelope-from=jasnell@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T3zCM-0001vi-DW 6c0d54443b0ae983fa02bb18529ef8bd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/CABP7RbcMO3yL3D0vtnPmU63CNKgYLzMa+Eveo52edBVBK8m72Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15148
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>

--f46d043c7fa250b20e04c7d02a3b
Content-Type: text/plain; charset=UTF-8

On Tue, Aug 21, 2012 at 3:00 PM, Roberto Peon <grmocg@gmail.com> wrote:

>
>
> On Tue, Aug 21, 2012 at 1:47 PM, Yoav Nir <ynir@checkpoint.com> wrote:
>
>>
>> On Aug 21, 2012, at 10:14 PM, Poul-Henning Kamp wrote:
>> >> We should if it's possible. Suppose HTTP/2.0 looks much like the SPDY
>> draft.
>> >> How can you ever get a current HTTP/1 server to reply to this?
>> >
>> > That's why I've been saying from the start that SPDY was an interesting
>> > prototype, and now we should throw it away, and start from scratch,
>> being
>> > better informed by what SPDY taught us.
>>
>> A requirement for downgrade creates too many restrictions, even if we
>> throw SPDY away. The beginning of a 2.0 connection would have to look
>> enough like 1.x so as to fool existing servers.
>>
>>
> Note that we'll always have to do downgrade-- perhaps someone deploys a
> proxy which doesn't speak HTTP/2, or perhaps the site administrator deploys
> a different server or load balancer that only speaks HTTP/1.1 when it used
> to do HTTP/2.
> These will happen and must be addressed.
>
>
>> I think we should live with upgrade only, as long as clients can cache
>> the knowledge that a certain server supports 2.0, so that they can skip the
>> upgrade the next time. The extra roundtrip on a first encounter is not that
>> bad.
>>
>
> I disagree-- I want the user to experience the lowest latency possible for
> all sites possible whenever possible! :)
>
>
The more I read through this conversation, the more I worry that all this
talk about zero-latency upgrade negotiation through multiple hops of
arbitrary 1.1 or 2.0 servers is going to lead to significantly more
complexity than originally hoped -- and not the acceptable good kind of
complexity that delivers real benefits in the end.

- James


> -=R
>

--f46d043c7fa250b20e04c7d02a3b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<br><div class=3D"gmail_quote">On Tue, Aug 21, 2012 at 3:00 PM, Roberto Peo=
n <span dir=3D"ltr">&lt;<a href=3D"mailto:grmocg@gmail.com" target=3D"_blan=
k">grmocg@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
>

<br><br><div class=3D"gmail_quote"><div class=3D"im">On Tue, Aug 21, 2012 a=
t 1:47 PM, Yoav Nir <span dir=3D"ltr">&lt;<a href=3D"mailto:ynir@checkpoint=
.com" target=3D"_blank">ynir@checkpoint.com</a>&gt;</span> wrote:<br></div>=
<div class=3D"im">

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<div><br>
On Aug 21, 2012, at 10:14 PM, Poul-Henning Kamp wrote:<br>
&gt;&gt; We should if it&#39;s possible. Suppose HTTP/2.0 looks much like t=
he SPDY draft.<br>
&gt;&gt; How can you ever get a current HTTP/1 server to reply to this?<br>
&gt;<br>
&gt; That&#39;s why I&#39;ve been saying from the start that SPDY was an in=
teresting<br>
&gt; prototype, and now we should throw it away, and start from scratch, be=
ing<br>
&gt; better informed by what SPDY taught us.<br>
<br>
</div>A requirement for downgrade creates too many restrictions, even if we=
 throw SPDY away. The beginning of a 2.0 connection would have to look enou=
gh like 1.x so as to fool existing servers.<br>
<br></blockquote><div><br></div></div><div><div>Note that we&#39;ll always =
have to do downgrade-- perhaps someone deploys a proxy which doesn&#39;t sp=
eak HTTP/2, or perhaps the site administrator deploys a different server or=
 load balancer that only speaks HTTP/1.1 when it used to do HTTP/2.</div>


<div>These will happen and must be addressed.</div></div><div class=3D"im">=
<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
I think we should live with upgrade only, as long as clients can cache the =
knowledge that a certain server supports 2.0, so that they can skip the upg=
rade the next time. The extra roundtrip on a first encounter is not that ba=
d.<br>



</blockquote></div></div><div><br></div><div>I disagree-- I want the user t=
o experience the lowest latency possible for all sites possible whenever po=
ssible! :)</div><span class=3D"HOEnZb"><font color=3D"#888888"><div><br></d=
iv>

</font></span></blockquote><div><br></div><div>The more I read through this=
 conversation, the more I worry that all this talk about zero-latency upgra=
de negotiation through multiple hops of arbitrary 1.1 or 2.0 servers is goi=
ng to lead to significantly more complexity than originally hoped -- and no=
t the acceptable good kind of complexity that delivers real benefits in the=
 end.</div>

<div><br></div><div>- James</div><div>=C2=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex"><span class=3D"HOEnZb"><font color=3D"#888888"><div></div><div>-=3DR<=
/div>
</font></span></blockquote></div><br>

--f46d043c7fa250b20e04c7d02a3b--


From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 19:46:07 2012
Return-Path: <ietf-http-wg-request@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 58DF711E80F6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 19:46:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.256
X-Spam-Level: 
X-Spam-Status: No, score=-10.256 tagged_above=-999 required=5 tests=[AWL=0.343, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HQHuINNWmSgF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 19:46:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2788F11E80DC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 19:46:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T40vW-0001jW-BQ for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Aug 2012 02:44:14 +0000
Resent-Date: Wed, 22 Aug 2012 02:44:14 +0000
Resent-Message-Id: <E1T40vW-0001jW-BQ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1T40vI-0001il-CL for ietf-http-wg@listhub.w3.org; Wed, 22 Aug 2012 02:44:00 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1T40vH-0003F7-34 for ietf-http-wg@w3.org; Wed, 22 Aug 2012 02:44:00 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 74DA9E6FE0; Wed, 22 Aug 2012 14:43:32 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 22 Aug 2012 14:43:31 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com>
References: <50284.1345576491@critter.freebsd.dk> <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com>
Message-ID: <17ce4099aa96be45437aeac0d168af11@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T40vH-0003F7-34 3e609532d65f6ff2f5d7575a025c6b4d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/17ce4099aa96be45437aeac0d168af11@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15149
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 22.08.2012 08:47, Yoav Nir wrote:
> On Aug 21, 2012, at 10:14 PM, Poul-Henning Kamp wrote:
>>> We should if it's possible. Suppose HTTP/2.0 looks much like the 
>>> SPDY draft.
>>> How can you ever get a current HTTP/1 server to reply to this?
>>
>> That's why I've been saying from the start that SPDY was an 
>> interesting
>> prototype, and now we should throw it away, and start from scratch, 
>> being
>> better informed by what SPDY taught us.
>
> A requirement for downgrade creates too many restrictions, even if we
> throw SPDY away. The beginning of a 2.0 connection would have to look
> enough like 1.x so as to fool existing servers.

Quite the opposite IMO. We want the 2.0 services to be able to detect 
the difference and auto-downgrade to 1.x, but we want the 1.x services 
to discard 2.0 attempts cleanly without corrupting the connection 
framing.

* An Upgrade: header amidst a 1.x frame allows this seamlessly. At cost 
of bandwidth on first request.

* A probe OPTIONS/SETTINGS query ahead of the main traffic pipeline 
allow sthis seamlessly. At cost of RTT plus some bandwidth. (ie worse 
than Upgrade:)

* a Happy-Eyeballs double TCP connection allows this on first request. 
At cost of doubling the TCP network load. In the presence of IPv4/IPv6 
happy eyeballs that means maybe 4x TCP connections. Is anyone able to 
show an overall benefit amongst that?

* DNS SRV records easily perform end-to-end detection. But HTTP 
requires next-hop detection. That is at best a useful optimization for 
the last-mile of connections IMO. Not useful at all for the main 
client->server/proxy architecture of HTTP.

>
> I think we should live with upgrade only, as long as clients can
> cache the knowledge that a certain server supports 2.0, so that they
> can skip the upgrade the next time. The extra roundtrip on a first
> encounter is not that bad.

I agree with this.

* it exists and is already well defined.
* it has existing implementations we can leverage.
* it operates on next-hop independent of any connection complexity and 
most legacy software.
* ANY hop can attempt to optimize/Upgrade.
* it has a safe failure mode resulting in 1.1 being used.
* worst-case cannot be worse than standard 1.1 performance (since 
failure ist to use 1.1).

The downside is all in the implementation code specifics. ie it is 
*our* problem to find easy implentation methods, not impacting the 
users.

Amos



From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 20:05:53 2012
Return-Path: <ietf-http-wg-request@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 CDA5011E80C5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 20:05:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.787
X-Spam-Level: 
X-Spam-Status: No, score=-9.787 tagged_above=-999 required=5 tests=[AWL=0.811, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nHV8ZW3D5L-a for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 20:05:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F304011E80A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 20:05:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T41FN-0002mF-0F for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Aug 2012 03:04:45 +0000
Resent-Date: Wed, 22 Aug 2012 03:04:45 +0000
Resent-Message-Id: <E1T41FN-0002mF-0F@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1T41F8-0002lU-N4 for ietf-http-wg@listhub.w3.org; Wed, 22 Aug 2012 03:04:30 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1T41F7-0005hY-OJ for ietf-http-wg@w3.org; Wed, 22 Aug 2012 03:04:30 +0000
Received: by wgbdq12 with SMTP id dq12so368152wgb.26 for <ietf-http-wg@w3.org>; Tue, 21 Aug 2012 20:04:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=LguWE2U8oOOCWpPRiYIQAzRw1C6jz9zp7vmExO2UP1c=; b=FQR+KiV306XJf6HuWUJ4oXmAkLom//FN52wXfZdPRZhmgcpuCzY5e5BrQ8PAzaz/Ge hfcW+9w32lnvghPWroD6Z8WJFPbnzzH6sil+r44kPoBxcm5QE1ElEURpHpYzj60MJ0Fn wNbJ4g7P5C3DHGy6cZe0ZojV0wNi8/NLeRfJ84xFYiWoAiFRKB7xpwpz5klI4POcYXO7 XHBhNFnCRVgzoBgGDRo1SANSrLz6zGq5zDug/S7zRLps/o/YUEVOS3qr8HXEykB7hZFx YDry/qs90jN7YLcdhrGst6XHkpRpVvfZrEJThT/cY3Ygnyw9IddUZ1fjiEnpDnqlv4Y+ k+rg==
Received: by 10.180.91.228 with SMTP id ch4mr2059697wib.7.1345604643297; Tue, 21 Aug 2012 20:04:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.58.136 with HTTP; Tue, 21 Aug 2012 20:03:43 -0700 (PDT)
In-Reply-To: <17ce4099aa96be45437aeac0d168af11@treenet.co.nz>
References: <50284.1345576491@critter.freebsd.dk> <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com> <17ce4099aa96be45437aeac0d168af11@treenet.co.nz>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 21 Aug 2012 20:03:43 -0700
Message-ID: <CABP7RbfGAb0dwmZdNtUVPfc9M7A9DuqZ8RxLvvbRxC84TZ=O9A@mail.gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d043c7fa2c59a3804c7d1fe53
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T41F7-0005hY-OJ dafe1ac284e6ee6a787e5a6099438ae2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/CABP7RbfGAb0dwmZdNtUVPfc9M7A9DuqZ8RxLvvbRxC84TZ=O9A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15150
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>

--f46d043c7fa2c59a3804c7d1fe53
Content-Type: text/plain; charset=UTF-8

On Tue, Aug 21, 2012 at 7:43 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:

> [snip]
> * it exists and is already well defined.
> * it has existing implementations we can leverage.
> * it operates on next-hop independent of any connection complexity and
> most legacy software.
> * ANY hop can attempt to optimize/Upgrade.
> * it has a safe failure mode resulting in 1.1 being used.
> * worst-case cannot be worse than standard 1.1 performance (since failure
> ist to use 1.1).
>
> The downside is all in the implementation code specifics. ie it is *our*
> problem to find easy implentation methods, not impacting the users.
>
>
Ok.. so how exactly would this work... suppose all I want to do is a simple
HTTP GET. Am I going to send a 1.1 GET request with an Upgrade header and
wait for the response to come back as HTTP/2.0 or do I send an HTTP 1.1
OPTIONS request with upgrade, check to see if 2.0 is supported, then send a
HTTP 2.0 GET request second? In the former case, assuming we are indeed
using SPDY, we won't have an established SPDY Stream yet within which to
send the response so I'm not quite sure how that's suppose to work. In the
latter case, we're wasting one RTT to upgrade the request (which,
thankfully, should only need to happen once per connection...).

- James


> Amos
>
>
>

--f46d043c7fa2c59a3804c7d1fe53
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><div class=3D"gmail_quote">=
On Tue, Aug 21, 2012 at 7:43 PM, Amos Jeffries <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:squid3@treenet.co.nz" target=3D"_blank">squid3@treenet.co.nz</a=
>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<div>[snip]</div>
* it exists and is already well defined.<br>
* it has existing implementations we can leverage.<br>
* it operates on next-hop independent of any connection complexity and most=
 legacy software.<br>
* ANY hop can attempt to optimize/Upgrade.<br>
* it has a safe failure mode resulting in 1.1 being used.<br>
* worst-case cannot be worse than standard 1.1 performance (since failure i=
st to use 1.1).<br>
<br>
The downside is all in the implementation code specifics. ie it is *our* pr=
oblem to find easy implentation methods, not impacting the users.<span><fon=
t color=3D"#888888"><br>
<br></font></span></blockquote><div><br></div><div>Ok.. so how exactly woul=
d this work... suppose all I want to do is a simple HTTP GET. Am I going to=
 send a 1.1 GET request with an Upgrade header and wait for the response to=
 come back as HTTP/2.0 or do I send an HTTP 1.1 OPTIONS request with upgrad=
e, check to see if 2.0 is supported, then send a HTTP 2.0 GET request secon=
d? In the former case, assuming we are indeed using SPDY, we won&#39;t have=
 an established SPDY Stream yet within which to send the response so I&#39;=
m not quite sure how that&#39;s suppose to work. In the latter case, we&#39=
;re wasting one RTT to upgrade the request (which, thankfully, should only =
need to happen once per connection...).=C2=A0</div>


<div><br></div><div>- James</div><div>=C2=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex"><span><font color=3D"#888888">
Amos<br>
<br>
<br>
</font></span></blockquote></div><br>

--f46d043c7fa2c59a3804c7d1fe53--


From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 20:09:12 2012
Return-Path: <ietf-http-wg-request@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 65A7F21F846F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 20:09:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.264
X-Spam-Level: 
X-Spam-Status: No, score=-10.264 tagged_above=-999 required=5 tests=[AWL=0.335, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X-uHhWiREHd3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 20:09:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C09A221F846C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 20:09:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T41J8-0004Ht-DW for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Aug 2012 03:08:38 +0000
Resent-Date: Wed, 22 Aug 2012 03:08:38 +0000
Resent-Message-Id: <E1T41J8-0004Ht-DW@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1T41Iu-0004H8-6c for ietf-http-wg@listhub.w3.org; Wed, 22 Aug 2012 03:08:24 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1T41Is-000425-Du for ietf-http-wg@w3.org; Wed, 22 Aug 2012 03:08:24 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 50420E6FE0; Wed, 22 Aug 2012 15:08:00 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 22 Aug 2012 15:07:59 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <CABP7RbcMO3yL3D0vtnPmU63CNKgYLzMa+Eveo52edBVBK8m72Q@mail.gmail.com>
References: <50284.1345576491@critter.freebsd.dk> <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com> <CAP+FsNcNx2OcjPd5dwP4joMHHnd-Gk_-Hpv7tQyD5yP9uh+7sQ@mail.gmail.com> <CABP7RbcMO3yL3D0vtnPmU63CNKgYLzMa+Eveo52edBVBK8m72Q@mail.gmail.com>
Message-ID: <2083422983f96d1d4ebf67be305c334a@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T41Is-000425-Du 863cf733a1a400a73fab67c5260095b2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/2083422983f96d1d4ebf67be305c334a@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15151
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 22.08.2012 12:52, James M Snell wrote:
> On Tue, Aug 21, 2012 at 3:00 PM, Roberto Peon <grmocg@gmail.com> 
> wrote:
>
>>
>>
>> On Tue, Aug 21, 2012 at 1:47 PM, Yoav Nir <ynir@checkpoint.com> 
>> wrote:
>>
>>>
>>> On Aug 21, 2012, at 10:14 PM, Poul-Henning Kamp wrote:
>>> >> We should if it's possible. Suppose HTTP/2.0 looks much like the 
>>> SPDY
>>> draft.
>>> >> How can you ever get a current HTTP/1 server to reply to this?
>>> >
>>> > That's why I've been saying from the start that SPDY was an 
>>> interesting
>>> > prototype, and now we should throw it away, and start from 
>>> scratch,
>>> being
>>> > better informed by what SPDY taught us.
>>>
>>> A requirement for downgrade creates too many restrictions, even if 
>>> we
>>> throw SPDY away. The beginning of a 2.0 connection would have to 
>>> look
>>> enough like 1.x so as to fool existing servers.
>>>
>>>
>> Note that we'll always have to do downgrade-- perhaps someone 
>> deploys a
>> proxy which doesn't speak HTTP/2, or perhaps the site administrator 
>> deploys
>> a different server or load balancer that only speaks HTTP/1.1 when 
>> it used
>> to do HTTP/2.
>> These will happen and must be addressed.
>>
>>
>>> I think we should live with upgrade only, as long as clients can 
>>> cache
>>> the knowledge that a certain server supports 2.0, so that they can 
>>> skip the
>>> upgrade the next time. The extra roundtrip on a first encounter is 
>>> not that
>>> bad.
>>>
>>
>> I disagree-- I want the user to experience the lowest latency 
>> possible for
>> all sites possible whenever possible! :)
>>
>>
> The more I read through this conversation, the more I worry that all 
> this
> talk about zero-latency upgrade negotiation through multiple hops of
> arbitrary 1.1 or 2.0 servers is going to lead to significantly more
> complexity than originally hoped -- and not the acceptable good kind 
> of
> complexity that delivers real benefits in the end.

I'm more positive. Many of these proposed mechanisms are non-starters 
for one reason or another. Meanwhile we are building a good list of 
requirements that the final solution(s) must meet in order to be useful 
adding to the spec.

Amos


From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 20:17:08 2012
Return-Path: <ietf-http-wg-request@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 4972B21F8598 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 20:17:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.272
X-Spam-Level: 
X-Spam-Status: No, score=-10.272 tagged_above=-999 required=5 tests=[AWL=0.327, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WLOZ2x4g+0bM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 20:17:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 882F821F8570 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 20:17:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T41Qa-0000FZ-UU for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Aug 2012 03:16:20 +0000
Resent-Date: Wed, 22 Aug 2012 03:16:20 +0000
Resent-Message-Id: <E1T41Qa-0000FZ-UU@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1T41QM-0000EI-A8 for ietf-http-wg@listhub.w3.org; Wed, 22 Aug 2012 03:16:06 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1T41QL-0004Jf-AT for ietf-http-wg@w3.org; Wed, 22 Aug 2012 03:16:06 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 31F80E6FE0; Wed, 22 Aug 2012 15:15:32 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 22 Aug 2012 15:15:31 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <CABP7RbdAW6ebpiA08dmp02pgPm9ZLBTPcjHHSkNvJ=D5iUS8-A@mail.gmail.com>
References: <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com> <88238.1345584635@critter.freebsd.dk> <CABP7RbdAW6ebpiA08dmp02pgPm9ZLBTPcjHHSkNvJ=D5iUS8-A@mail.gmail.com>
Message-ID: <748a920d78f72384312fbbeb78555b0a@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T41QL-0004Jf-AT d4814281d825ef5352b7ee84f93f2e82
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/748a920d78f72384312fbbeb78555b0a@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15152
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 22.08.2012 11:24, James M Snell wrote:
> On Tue, Aug 21, 2012 at 2:30 PM, Poul-Henning Kamp 
> <phk@phk.freebsd.dk>wrote:
>
>> In message <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com>, 
>> Yoav
>> Nir writ
>> es:
>>
>> >A requirement for downgrade creates too many restrictions, even if 
>> we
>> throw
>> > SPDY away. The beginning of a 2.0 connection would have to look 
>> enough
>> like
>> >1.x so as to fool existing servers.
>>
>> Yes, and ?
>>
>> Sending:
>>
>>         HEAD / HTTP/1.1
>>         Upgrade: HTTP/2.0
>>
>> as a preamble on a connection is not very expensive.
>>
>>
> Sending is not a problem... but handling it on the server side could 
> be
> depending on what work the server needs to do to generate the HEAD
> response. As per the spec, "The metainformation contained in the HTTP
> headers in response to a HEAD request SHOULD be identical to the
> information sent in response to a GET request" .. calculating the 
> Entity
> Tag, Last-Modified Timestamp, Content-Length and Content-Type headers 
> could
> be rather more expensive than one may expect depending on what's on 
> the end
> of that request.

That would be why HEAD is a bad choice.

We also have prefix request:

  OPTIONS * HTTP/1.1
  Max-Forwards: 0
  Upgrade: HTTP/2.0

Which can be replied to with:

  HTTP/1.1 101 Switching Protocols
  CRLF
  <HTTP/2.0 response frame with transport options/features available>

or,
  HTTP/1.1 200 OK
  <frame with 1.1 options>


Whether this is better or worse than just adding Upgrade: to the first 
GET depends on whether we do SPDY-style gzip compression on headers, or 
an adaptive dictionary style learning as per network-friendly.

Amos



From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 20:30:23 2012
Return-Path: <ietf-http-wg-request@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 29C5611E80A3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 20:30:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.28
X-Spam-Level: 
X-Spam-Status: No, score=-10.28 tagged_above=-999 required=5 tests=[AWL=0.319, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m8q79JfCKzmD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 20:30:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8B4A511E8091 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 20:30:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T41dB-0005GS-6q for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Aug 2012 03:29:21 +0000
Resent-Date: Wed, 22 Aug 2012 03:29:21 +0000
Resent-Message-Id: <E1T41dB-0005GS-6q@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1T41cx-0005Dt-79 for ietf-http-wg@listhub.w3.org; Wed, 22 Aug 2012 03:29:07 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1T41cw-00055g-68 for ietf-http-wg@w3.org; Wed, 22 Aug 2012 03:29:07 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 0CBEFE6FE0; Wed, 22 Aug 2012 15:28:39 +1200 (NZST)
To: James M Snell <jasnell@gmail.com>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 22 Aug 2012 15:28:39 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
Cc: <ietf-http-wg@w3.org>
In-Reply-To: <CABP7RbfGAb0dwmZdNtUVPfc9M7A9DuqZ8RxLvvbRxC84TZ=O9A@mail.gmail.com>
References: <50284.1345576491@critter.freebsd.dk> <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com> <17ce4099aa96be45437aeac0d168af11@treenet.co.nz> <CABP7RbfGAb0dwmZdNtUVPfc9M7A9DuqZ8RxLvvbRxC84TZ=O9A@mail.gmail.com>
Message-ID: <a50d10772a916465e844b6123082382b@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=1.5
X-W3C-Hub-Spam-Report: BAYES_60=1.5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T41cw-00055g-68 75f960b2c93f487e9da41ea63dd08fa5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/a50d10772a916465e844b6123082382b@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15153
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 22.08.2012 15:03, James M Snell wrote:
> On Tue, Aug 21, 2012 at 7:43 PM, Amos Jeffries wrote:
>
>> [snip]
>> * it exists and is already well defined.
>> * it has existing implementations we can leverage.
>> * it operates on next-hop independent of any connection complexity 
>> and
>> most legacy software.
>> * ANY hop can attempt to optimize/Upgrade.
>> * it has a safe failure mode resulting in 1.1 being used.
>> * worst-case cannot be worse than standard 1.1 performance (since 
>> failure
>> ist to use 1.1).
>>
>> The downside is all in the implementation code specifics. ie it is 
>> *our*
>> problem to find easy implentation methods, not impacting the users.
>>
>>
> Ok.. so how exactly would this work... suppose all I want to do is a 
> simple
> HTTP GET. Am I going to send a 1.1 GET request with an Upgrade header 
> and
> wait for the response to come back as HTTP/2.0 or do I send an HTTP 
> 1.1
> OPTIONS request with upgrade, check to see if 2.0 is supported, then 
> send a
> HTTP 2.0 GET request second?

(Just replied to this in response to the other email about HEAD 
requests.)

> In the former case, assuming we are indeed
> using SPDY, we won't have an established SPDY Stream yet within which 
> to
> send the response so I'm not quite sure how that's suppose to work. 
> In the
> latter case, we're wasting one RTT to upgrade the request (which,
> thankfully, should only need to happen once per connection...).

Which is reason #1 why server-initiated stateful sessions don't work on 
a pull architecture. SPDY session flow control needs to be thrown away 
and re-designed to use implicit instead of explicit setup. The 
network-friendly draft had implicit hop-by-hop session creation and 
teardown based on WebSockets - with the benefits described in mobility 
draft - it works more efficiently than SPDY stateful session handshake 
is capable of. We picked it per-request to keep teh 1-to-1 
request/response mapping of HTTP/1 but there is no technical reason taht 
cannot be extended to handle future server-push or client-push features.

Essentially a session can be created on client request receive, and 
persists as long as necessary with associated "state". 1 response or N 
responses it does not matter. But never mind that for now. I'll pull out 
the details when we get as far as flow control designs.

Amos


From ietf-http-wg-request@listhub.w3.org  Tue Aug 21 23:08:52 2012
Return-Path: <ietf-http-wg-request@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 2CC6121F8600 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 23:08:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.584
X-Spam-Level: 
X-Spam-Status: No, score=-10.584 tagged_above=-999 required=5 tests=[AWL=0.015, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D23AcKzaA6Cg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Aug 2012 23:08:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id ACFCF21F85DA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Aug 2012 23:08:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T445z-0004zE-Ew for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Aug 2012 06:07:15 +0000
Resent-Date: Wed, 22 Aug 2012 06:07:15 +0000
Resent-Message-Id: <E1T445z-0004zE-Ew@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1T445V-0004yF-Jg for ietf-http-wg@listhub.w3.org; Wed, 22 Aug 2012 06:06:45 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1T445P-0002PM-L3 for ietf-http-wg@w3.org; Wed, 22 Aug 2012 06:06:45 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 181C73B773; Wed, 22 Aug 2012 06:06:18 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q7M66GNP089829; Wed, 22 Aug 2012 06:06:16 GMT (envelope-from phk@phk.freebsd.dk)
To: James M Snell <jasnell@gmail.com>
cc: Roberto Peon <grmocg@gmail.com>, Yoav Nir <ynir@checkpoint.com>, Phillip Hallam-Baker <hallam@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 21 Aug 2012 17:52:43 MST." <CABP7RbcMO3yL3D0vtnPmU63CNKgYLzMa+Eveo52edBVBK8m72Q@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Wed, 22 Aug 2012 06:06:16 +0000
Message-ID: <89828.1345615576@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=3.3
X-W3C-Hub-Spam-Report: BAYES_99=3.5, RP_MATCHES_RCVD=-0.211
X-W3C-Scan-Sig: maggie.w3.org 1T445P-0002PM-L3 c8aa2d13a577012fda66382ccb3cf02a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/89828.1345615576@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15154
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>

In message <CABP7RbcMO3yL3D0vtnPmU63CNKgYLzMa+Eveo52edBVBK8m72Q@mail.gmail.com>
, James M Snell writes:

>The more I read through this conversation, the more I worry that all this
>talk about zero-latency upgrade negotiation through multiple hops of
>arbitrary 1.1 or 2.0 servers is going to lead to significantly more
>complexity than originally hoped -- and not the acceptable good kind of
>complexity that delivers real benefits in the end.

That's my conclusion too.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Wed Aug 22 08:07:05 2012
Return-Path: <ietf-http-wg-request@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 ED92021F858F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Aug 2012 08:07:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.527
X-Spam-Level: 
X-Spam-Status: No, score=-10.527 tagged_above=-999 required=5 tests=[AWL=0.072, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uLSgBU3ZmUfY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Aug 2012 08:07:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 58DE021F85AD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Aug 2012 08:07:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T4CTr-0001fy-J5 for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Aug 2012 15:04:27 +0000
Resent-Date: Wed, 22 Aug 2012 15:04:27 +0000
Resent-Message-Id: <E1T4CTr-0001fy-J5@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1T4CTU-0001c0-2c for ietf-http-wg@listhub.w3.org; Wed, 22 Aug 2012 15:04:04 +0000
Received: from ams-iport-2.cisco.com ([144.254.224.141]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1T4CTP-0003SL-Qh for ietf-http-wg@w3.org; Wed, 22 Aug 2012 15:04:04 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=lear@cisco.com; l=354; q=dns/txt; s=iport; t=1345647839; x=1346857439; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=TKPjua6zJd83nMse7wp/1Bx+WLghW3QtzKxj/cpDToQ=; b=HaX/AMKd7vvNguZtYgaCMNMBBbosQqV8/pS+aiAb6bOWrRktBzB5SXBC sYKYRcecaWsvZDWVAwc075RrfS/vjl9Coq7MfSNirj7tt/U+Pzi4kxMAX sKkNw08vo7qBqjctVbY4L9/z/FNtsY5GdaRTm69lYZZVuw3EiLQ3P+MnM E=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgAFAC/0NFCQ/khR/2dsb2JhbABFhgG0R4EHgiABAQEEEgEQVQEQCw4EBgICBRYLAgIJAwIBAgE3DgYNAQcBAR6Ha5h0jRiTNYEhj3GBEgOVUo4tgWaCZQ
X-IronPort-AV: E=Sophos;i="4.77,808,1336348800";  d="scan'208";a="76165600"
Received: from ams-core-1.cisco.com ([144.254.72.81]) by ams-iport-2.cisco.com with ESMTP; 22 Aug 2012 15:03:32 +0000
Received: from ams3-vpn-dhcp4896.cisco.com (ams3-vpn-dhcp4896.cisco.com [10.61.83.31]) by ams-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id q7MF3WkF006824 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 22 Aug 2012 15:03:32 GMT
Message-ID: <5034F4C4.4090000@cisco.com>
Date: Wed, 22 Aug 2012 17:03:32 +0200
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: Amos Jeffries <squid3@treenet.co.nz>
CC: ietf-http-wg@w3.org
References: <50284.1345576491@critter.freebsd.dk> <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com> <17ce4099aa96be45437aeac0d168af11@treenet.co.nz>
In-Reply-To: <17ce4099aa96be45437aeac0d168af11@treenet.co.nz>
X-Enigmail-Version: 1.4.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=144.254.224.141; envelope-from=lear@cisco.com; helo=ams-iport-2.cisco.com
X-W3C-Hub-Spam-Status: No, score=-12.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.166, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: maggie.w3.org 1T4CTP-0003SL-Qh 4ff4e4b68cfe74ad397e5a188144bf1f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/5034F4C4.4090000@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15155
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 8/22/12 4:43 AM, Amos Jeffries wrote:
> * DNS SRV records easily perform end-to-end detection. But HTTP
> requires next-hop detection.

Is that true for ports other than 80?  That is- if you have an
indication to use, say, port 880, and you're going right to SPDY, do you
need next-hop detection for purposes of versioning at least?

Eliot


From ietf-http-wg-request@listhub.w3.org  Wed Aug 22 08:13:27 2012
Return-Path: <ietf-http-wg-request@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 8BB5921F857A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Aug 2012 08:13:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.799
X-Spam-Level: 
X-Spam-Status: No, score=-9.799 tagged_above=-999 required=5 tests=[AWL=0.799, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XxFDf9ECjhVK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Aug 2012 08:13:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0499E21F8550 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Aug 2012 08:13:27 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T4Cbr-0004jh-9R for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Aug 2012 15:12:43 +0000
Resent-Date: Wed, 22 Aug 2012 15:12:43 +0000
Resent-Message-Id: <E1T4Cbr-0004jh-9R@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1T4Cbd-0004hW-4A for ietf-http-wg@listhub.w3.org; Wed, 22 Aug 2012 15:12:29 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1T4CbS-00020r-Qv for ietf-http-wg@w3.org; Wed, 22 Aug 2012 15:12:29 +0000
Received: by weyx43 with SMTP id x43so681703wey.2 for <ietf-http-wg@w3.org>; Wed, 22 Aug 2012 08:11:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=wf2LG92nsBlJS0XN26kVO5F4vgn0j9fF38w+bgFznJc=; b=n40YoaUPGrKWSNKCZtc4pahBWEKMWaqx4be4jNpkdnwAr9Owu/hofybSs1SZOzTGf8 4oXCsTmM/Mmsqa55JjxsGJxsalicXrPZT53Qt/UmxGRE/sC0bNkkbfoQjHAi5dUjF3kc BEm9OBQaEALNq82aRzEjMKawS+Uu7ZPLNpczmOa5ONNp13/WY+qdZ+GsHbAQmPFhtiRF LZmWydN5r8XpRzQsRsjnwOHLaa1MYqfUKfg9hBC1iM1GARKJ6xGvLp8YIW+Q6i3F5XKa DDACH1Uypin1Kszmege56uhRzia7SYBdqykNpw8fFDrRlYWINiJdYxEHkfdVcinxVvGa XbLA==
Received: by 10.180.77.34 with SMTP id p2mr6717354wiw.0.1345648312216; Wed, 22 Aug 2012 08:11:52 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.58.136 with HTTP; Wed, 22 Aug 2012 08:11:32 -0700 (PDT)
In-Reply-To: <5034F4C4.4090000@cisco.com>
References: <50284.1345576491@critter.freebsd.dk> <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com> <17ce4099aa96be45437aeac0d168af11@treenet.co.nz> <5034F4C4.4090000@cisco.com>
From: James M Snell <jasnell@gmail.com>
Date: Wed, 22 Aug 2012 08:11:32 -0700
Message-ID: <CABP7RbdAzeZ2TfFe6f=ZLyHAomVTRGzoA6YRXzcA2D1Y8dBggA@mail.gmail.com>
To: Eliot Lear <lear@cisco.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d043c7dd4a46bed04c7dc29b4
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T4CbS-00020r-Qv 7637d11ac01edfd52266b7141e5b55c1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/CABP7RbdAzeZ2TfFe6f=ZLyHAomVTRGzoA6YRXzcA2D1Y8dBggA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15156
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>

--f46d043c7dd4a46bed04c7dc29b4
Content-Type: text/plain; charset=UTF-8

I would say no. It's no different, for instance, than using any other
tcp-based protocol.. you wouldn't use http to determine if ftp is
supported, for instance. The upgrade path should only be required when we
try to use HTTP 2.0 on port 80.

On Wed, Aug 22, 2012 at 8:03 AM, Eliot Lear <lear@cisco.com> wrote:

>
> On 8/22/12 4:43 AM, Amos Jeffries wrote:
> > * DNS SRV records easily perform end-to-end detection. But HTTP
> > requires next-hop detection.
>
> Is that true for ports other than 80?  That is- if you have an
> indication to use, say, port 880, and you're going right to SPDY, do you
> need next-hop detection for purposes of versioning at least?
>
> Eliot
>
>

--f46d043c7dd4a46bed04c7dc29b4
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">I would say no. It&#39;s no different,=
 for instance, than using any other tcp-based protocol.. you wouldn&#39;t u=
se http to determine if ftp is supported, for instance. The upgrade path sh=
ould only be required when we try to use HTTP 2.0 on port 80.<br>

</font><br><div class=3D"gmail_quote">On Wed, Aug 22, 2012 at 8:03 AM, Elio=
t Lear <span dir=3D"ltr">&lt;<a href=3D"mailto:lear@cisco.com" target=3D"_b=
lank">lear@cisco.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
">

<div class=3D"im"><br>
On 8/22/12 4:43 AM, Amos Jeffries wrote:<br>
&gt; * DNS SRV records easily perform end-to-end detection. But HTTP<br>
&gt; requires next-hop detection.<br>
<br>
</div>Is that true for ports other than 80? =C2=A0That is- if you have an<b=
r>
indication to use, say, port 880, and you&#39;re going right to SPDY, do yo=
u<br>
need next-hop detection for purposes of versioning at least?<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Eliot<br>
<br>
</font></span></blockquote></div><br>

--f46d043c7dd4a46bed04c7dc29b4--


From ietf-http-wg-request@listhub.w3.org  Wed Aug 22 09:38:04 2012
Return-Path: <ietf-http-wg-request@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 0FE1521F8528 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Aug 2012 09:38:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[AWL=0.300, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jSbK8ugf980z for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Aug 2012 09:38:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 00D7621F851C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Aug 2012 09:38:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T4Dv5-0006Kl-19 for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Aug 2012 16:36:39 +0000
Resent-Date: Wed, 22 Aug 2012 16:36:39 +0000
Resent-Message-Id: <E1T4Dv5-0006Kl-19@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <atlunde@panix.com>) id 1T4Duq-0006Hl-SO for ietf-http-wg@listhub.w3.org; Wed, 22 Aug 2012 16:36:24 +0000
Received: from mailbackend.panix.com ([166.84.1.89]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <atlunde@panix.com>) id 1T4Duq-0004xa-0p for ietf-http-wg@w3.org; Wed, 22 Aug 2012 16:36:24 +0000
Received: from [129.105.233.63] (socrates.tss.northwestern.edu [129.105.233.63]) by mailbackend.panix.com (Postfix) with ESMTP id E72BF2829D; Wed, 22 Aug 2012 12:36:02 -0400 (EDT)
Message-ID: <50350A72.9060904@panix.com>
Date: Wed, 22 Aug 2012 11:36:02 -0500
From: Albert Lunde <atlunde@panix.com>
User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
To: James M Snell <jasnell@gmail.com>
CC: Eliot Lear <lear@cisco.com>, Amos Jeffries <squid3@treenet.co.nz>,  ietf-http-wg@w3.org
References: <50284.1345576491@critter.freebsd.dk> <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com> <17ce4099aa96be45437aeac0d168af11@treenet.co.nz> <5034F4C4.4090000@cisco.com> <CABP7RbdAzeZ2TfFe6f=ZLyHAomVTRGzoA6YRXzcA2D1Y8dBggA@mail.gmail.com>
In-Reply-To: <CABP7RbdAzeZ2TfFe6f=ZLyHAomVTRGzoA6YRXzcA2D1Y8dBggA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=166.84.1.89; envelope-from=atlunde@panix.com; helo=mailbackend.panix.com
X-W3C-Hub-Spam-Status: No, score=-1.7
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.166, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T4Duq-0004xa-0p eec20bb4819ae485fc2c8ca18470e3b7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/50350A72.9060904@panix.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15157
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 8/22/2012 10:11 AM, James M Snell wrote:
> I would say no. It's no different, for instance, than using any other
> tcp-based protocol.. you wouldn't use http to determine if ftp is
> supported, for instance. The upgrade path should only be required when
> we try to use HTTP 2.0 on port 80.
>
> On Wed, Aug 22, 2012 at 8:03 AM, Eliot Lear <lear@cisco.com
> <mailto:lear@cisco.com>> wrote:
>     On 8/22/12 4:43 AM, Amos Jeffries wrote:
>      > * DNS SRV records easily perform end-to-end detection. But HTTP
>      > requires next-hop detection.
>
>     Is that true for ports other than 80?  That is- if you have an
>     indication to use, say, port 880, and you're going right to SPDY, do you
>     need next-hop detection for purposes of versioning at least?

It's a bit like path-MTU detection, too. If you want to account for HTTP 
proxies (and more obscure intermediaries) in the path to the server, you 
may need to know something of what might be happening end to end. What 
is the least-common-denominator that is supported?

This is where DNS records like SRV or the proposed URI can't give the 
complete picture.

Another case is a gateway that does protocol conversion: say a phone 
provider wants all their phones to speak HTTP 2.0, and provides a 
gateway to downgrade to HTTP 1.1 or 1.0.

-- 
     Albert Lunde  albert-lunde@northwestern.edu
                   atlunde@panix.com  (address for personal mail)


From ietf-http-wg-request@listhub.w3.org  Wed Aug 22 10:54:15 2012
Return-Path: <ietf-http-wg-request@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 CD3DE21F860D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Aug 2012 10:54:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.811
X-Spam-Level: 
X-Spam-Status: No, score=-9.811 tagged_above=-999 required=5 tests=[AWL=0.787, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EkD0DznBcxcI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Aug 2012 10:54:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F042621F8569 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Aug 2012 10:54:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T4F6i-00044H-B1 for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Aug 2012 17:52:44 +0000
Resent-Date: Wed, 22 Aug 2012 17:52:44 +0000
Resent-Message-Id: <E1T4F6i-00044H-B1@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1T4F6T-00043Q-Tg for ietf-http-wg@listhub.w3.org; Wed, 22 Aug 2012 17:52:29 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1T4F6S-0008Du-UZ for ietf-http-wg@w3.org; Wed, 22 Aug 2012 17:52:29 +0000
Received: by wgbdq12 with SMTP id dq12so948704wgb.26 for <ietf-http-wg@w3.org>; Wed, 22 Aug 2012 10:52:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=4YH99Q00EG8bNzTDn0aQH8piMfOPZ4sXsHrZSJ3tXz8=; b=gb8JoU1KMSGkp5zsmq24qhbsTWLKYlw3ooQQ8micFagP3gOePo1iDMmUldEhEl2DF6 K3V+EyQpe/Dg9KneuFIiwlFNscSWAd6jyUK9hRAz6w/o9i+kbGB7kQdQ/HNeVcLSnEWS LcAUgGha/VFeQAEO7kuOGnqfwne9VBPBmTL1oneUBa3+vfhL5+y3irgVDUnc+UHJQQv6 cjlO54xilKlKAJAq9rWCuFbSRSE+zlo2pCpH8quGuz7XSj5tkcxJVdo78eFLBNNjXFah L35Q6auzF7T2hdSSSNt+n9KTv9TyNXE0QEdeyaHFW8XdM2nd0ukBoY02OHUgSOvbKnSI PLDw==
Received: by 10.180.91.228 with SMTP id ch4mr7724657wib.7.1345657922553; Wed, 22 Aug 2012 10:52:02 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.58.136 with HTTP; Wed, 22 Aug 2012 10:51:41 -0700 (PDT)
In-Reply-To: <50350A72.9060904@panix.com>
References: <50284.1345576491@critter.freebsd.dk> <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com> <17ce4099aa96be45437aeac0d168af11@treenet.co.nz> <5034F4C4.4090000@cisco.com> <CABP7RbdAzeZ2TfFe6f=ZLyHAomVTRGzoA6YRXzcA2D1Y8dBggA@mail.gmail.com> <50350A72.9060904@panix.com>
From: James M Snell <jasnell@gmail.com>
Date: Wed, 22 Aug 2012 10:51:41 -0700
Message-ID: <CABP7Rbehb4bgfcP1gf8jPANp3M6C9ukongFvmCf8xv=RjOgLVw@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d043c7fa276877a04c7de6688
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T4F6S-0008Du-UZ 12e759c9bcc156bb7c40607ad674854e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/CABP7Rbehb4bgfcP1gf8jPANp3M6C9ukongFvmCf8xv=RjOgLVw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15158
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>

--f46d043c7fa276877a04c7de6688
Content-Type: text/plain; charset=UTF-8

I've just been going back through all this... and I will be the first to
admit that my low level TCP Kung Foo is a bit rusty and I'm just pulling
this off the top of my head... but... could we not leverage the Options
field in the TCP ACK Headers for protocol version notification? Yes, I know
that there are very few stacks that actually surface that information up to
the higher levels, but it's there, it's extensible, and it allows us to
leverage an already existing RTT. Specifically... If an endpont supports
2.0 on a connection, it would include a specific Option in it's TCP SYN_ACK.

- James

On Wed, Aug 22, 2012 at 9:36 AM, Albert Lunde <atlunde@panix.com> wrote:

> On 8/22/2012 10:11 AM, James M Snell wrote:
>
>> I would say no. It's no different, for instance, than using any other
>> tcp-based protocol.. you wouldn't use http to determine if ftp is
>> supported, for instance. The upgrade path should only be required when
>> we try to use HTTP 2.0 on port 80.
>>
>> On Wed, Aug 22, 2012 at 8:03 AM, Eliot Lear <lear@cisco.com
>> <mailto:lear@cisco.com>> wrote:
>>     On 8/22/12 4:43 AM, Amos Jeffries wrote:
>>      > * DNS SRV records easily perform end-to-end detection. But HTTP
>>      > requires next-hop detection.
>>
>>     Is that true for ports other than 80?  That is- if you have an
>>     indication to use, say, port 880, and you're going right to SPDY, do
>> you
>>     need next-hop detection for purposes of versioning at least?
>>
>
> It's a bit like path-MTU detection, too. If you want to account for HTTP
> proxies (and more obscure intermediaries) in the path to the server, you
> may need to know something of what might be happening end to end. What is
> the least-common-denominator that is supported?
>
> This is where DNS records like SRV or the proposed URI can't give the
> complete picture.
>
> Another case is a gateway that does protocol conversion: say a phone
> provider wants all their phones to speak HTTP 2.0, and provides a gateway
> to downgrade to HTTP 1.1 or 1.0.
>
> --
>     Albert Lunde  albert-lunde@northwestern.edu
>                   atlunde@panix.com  (address for personal mail)
>

--f46d043c7fa276877a04c7de6688
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">I&#39;ve just been going back through =
all this... and I will be the first to admit that my low level TCP Kung Foo=
 is a bit rusty and I&#39;m just pulling this off the top of my head... but=
... could we not leverage the Options field in the TCP ACK Headers for prot=
ocol version notification? Yes, I know that there are very few stacks that =
actually surface that information up to the higher levels, but it&#39;s the=
re, it&#39;s extensible, and it allows us to leverage an already existing R=
TT. Specifically... If an endpont supports 2.0 on a connection, it would in=
clude a specific Option in it&#39;s TCP SYN_ACK.</font><div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">- James<br></font><br><div class=3D"gmail_quote">On We=
d, Aug 22, 2012 at 9:36 AM, Albert Lunde <span dir=3D"ltr">&lt;<a href=3D"m=
ailto:atlunde@panix.com" target=3D"_blank">atlunde@panix.com</a>&gt;</span>=
 wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">On 8/22/2012 10:11 AM, Jam=
es M Snell wrote:<br>
</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex"><div class=3D"im">
I would say no. It&#39;s no different, for instance, than using any other<b=
r>
tcp-based protocol.. you wouldn&#39;t use http to determine if ftp is<br>
supported, for instance. The upgrade path should only be required when<br>
we try to use HTTP 2.0 on port 80.<br>
<br>
On Wed, Aug 22, 2012 at 8:03 AM, Eliot Lear &lt;<a href=3D"mailto:lear@cisc=
o.com" target=3D"_blank">lear@cisco.com</a><br></div><div class=3D"im">
&lt;mailto:<a href=3D"mailto:lear@cisco.com" target=3D"_blank">lear@cisco.c=
om</a>&gt;&gt; wrote:<br>
=C2=A0 =C2=A0 On 8/22/12 4:43 AM, Amos Jeffries wrote:<br>
=C2=A0 =C2=A0 =C2=A0&gt; * DNS SRV records easily perform end-to-end detect=
ion. But HTTP<br>
=C2=A0 =C2=A0 =C2=A0&gt; requires next-hop detection.<br>
<br>
=C2=A0 =C2=A0 Is that true for ports other than 80? =C2=A0That is- if you h=
ave an<br>
=C2=A0 =C2=A0 indication to use, say, port 880, and you&#39;re going right =
to SPDY, do you<br>
=C2=A0 =C2=A0 need next-hop detection for purposes of versioning at least?<=
br>
</div></blockquote>
<br>
It&#39;s a bit like path-MTU detection, too. If you want to account for HTT=
P proxies (and more obscure intermediaries) in the path to the server, you =
may need to know something of what might be happening end to end. What is t=
he least-common-denominator that is supported?<br>


<br>
This is where DNS records like SRV or the proposed URI can&#39;t give the c=
omplete picture.<br>
<br>
Another case is a gateway that does protocol conversion: say a phone provid=
er wants all their phones to speak HTTP 2.0, and provides a gateway to down=
grade to HTTP 1.1 or 1.0.<span class=3D"HOEnZb"><font color=3D"#888888"><br=
>


<br>
-- <br>
=C2=A0 =C2=A0 Albert Lunde =C2=A0<a href=3D"mailto:albert-lunde@northwester=
n.edu" target=3D"_blank">albert-lunde@northwestern.edu</a><br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"m=
ailto:atlunde@panix.com" target=3D"_blank">atlunde@panix.com</a> =C2=A0(add=
ress for personal mail)<br>
</font></span></blockquote></div><br></div>

--f46d043c7fa276877a04c7de6688--


From ietf-http-wg-request@listhub.w3.org  Wed Aug 22 11:35:38 2012
Return-Path: <ietf-http-wg-request@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 DCDE621F849D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Aug 2012 11:35:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.987
X-Spam-Level: 
X-Spam-Status: No, score=-8.987 tagged_above=-999 required=5 tests=[AWL=1.612, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zREsLWwk9Cog for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Aug 2012 11:35:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id ECB5421F8498 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Aug 2012 11:35:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T4Fl6-00077M-CF for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Aug 2012 18:34:28 +0000
Resent-Date: Wed, 22 Aug 2012 18:34:28 +0000
Resent-Message-Id: <E1T4Fl6-00077M-CF@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T4Fks-00076B-Ev for ietf-http-wg@listhub.w3.org; Wed, 22 Aug 2012 18:34:14 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T4Fkr-0001dk-D9 for ietf-http-wg@w3.org; Wed, 22 Aug 2012 18:34:14 +0000
Received: by obqv19 with SMTP id v19so1869968obq.2 for <ietf-http-wg@w3.org>; Wed, 22 Aug 2012 11:33:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GksfXKghmwgXYGUtfERF03BiYQb4M6PA2WgWfhJhqcg=; b=PFOxsRBmL+nbwh9kEmIpHDn7nmB5gshcM6ES1Ib/PPyWHSlDkOjUBr3/6RyFaSzxhn QQtJFr7q6R4Zb3Xjl1uJPW4WlQPIdatVCtUIRrz6YOVS68gWOhwn3BenSNaDp1Wj/shP g9NRs/0gaw6CKMxh8jeZH8gdvX3xyVs3HipL6bl3nFSovpk/Gxut3ncLgBqPzFqVuFw1 bX5oFyaLSQ8NmM2JjbUSCI8Gs24Z2H3J53GxSe98z5MW4WNMzfHwPa+86LnibtnTxzRI bmnVlpZlO4F01jQpDXHUtMmj84emxZZAWw+d0HXxKjTXx6Xlgtk7imsQcGPGdeDbzdDT 8AAw==
MIME-Version: 1.0
Received: by 10.60.170.229 with SMTP id ap5mr16161412oec.101.1345660427435; Wed, 22 Aug 2012 11:33:47 -0700 (PDT)
Received: by 10.76.80.10 with HTTP; Wed, 22 Aug 2012 11:33:47 -0700 (PDT)
In-Reply-To: <CABP7Rbehb4bgfcP1gf8jPANp3M6C9ukongFvmCf8xv=RjOgLVw@mail.gmail.com>
References: <50284.1345576491@critter.freebsd.dk> <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com> <17ce4099aa96be45437aeac0d168af11@treenet.co.nz> <5034F4C4.4090000@cisco.com> <CABP7RbdAzeZ2TfFe6f=ZLyHAomVTRGzoA6YRXzcA2D1Y8dBggA@mail.gmail.com> <50350A72.9060904@panix.com> <CABP7Rbehb4bgfcP1gf8jPANp3M6C9ukongFvmCf8xv=RjOgLVw@mail.gmail.com>
Date: Wed, 22 Aug 2012 14:33:47 -0400
Message-ID: <CAMm+LwgHgtKHQw3O5q37BVXGXeS=DE+xp0nnfCPqoEubNLkekA@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T4Fkr-0001dk-D9 38ec061aef05e1c4afe7428be9ad0367
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/CAMm+LwgHgtKHQw3O5q37BVXGXeS=DE+xp0nnfCPqoEubNLkekA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15159
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 Wed, Aug 22, 2012 at 1:51 PM, James M Snell <jasnell@gmail.com> wrote:
> I've just been going back through all this... and I will be the first to
> admit that my low level TCP Kung Foo is a bit rusty and I'm just pulling
> this off the top of my head... but... could we not leverage the Options
> field in the TCP ACK Headers for protocol version notification? Yes, I know
> that there are very few stacks that actually surface that information up to
> the higher levels, but it's there, it's extensible, and it allows us to
> leverage an already existing RTT. Specifically... If an endpont supports 2.0
> on a connection, it would include a specific Option in it's TCP SYN_ACK.

No, you can't.

Extracting information from the TCP transport is a layer violation. It
is pretty much guaranteed to fail through pretty much every form of
middlebox and quite likely to fail through quite a lot that isn't.

Unlike the DNS situation where the network stacks conceal information
the application layer needs, the TCP stacks that conceal this
information have it right. That is what they are meant to do.


One other point here, people need to stop talking in terms of bytes
and instead focus on packets and round trips. Adding 50 bytes to a
packet has negligible performance impact. Sending two packets instead
of one is a much bigger hit. Sending a packet and waiting for a reply
before you send the next one is a major penalty.

-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Wed Aug 22 12:31:42 2012
Return-Path: <ietf-http-wg-request@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 A7E0121F867F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Aug 2012 12:31:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.823
X-Spam-Level: 
X-Spam-Status: No, score=-9.823 tagged_above=-999 required=5 tests=[AWL=0.775, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yBhW0tjvFzoK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Aug 2012 12:31:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B961C21F845E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Aug 2012 12:31:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T4GdN-0001AN-Hv for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Aug 2012 19:30:33 +0000
Resent-Date: Wed, 22 Aug 2012 19:30:33 +0000
Resent-Message-Id: <E1T4GdN-0001AN-Hv@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1T4Gd9-000195-Ey for ietf-http-wg@listhub.w3.org; Wed, 22 Aug 2012 19:30:19 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1T4Gd8-0002lo-9P for ietf-http-wg@w3.org; Wed, 22 Aug 2012 19:30:19 +0000
Received: by wgbdq12 with SMTP id dq12so1009171wgb.26 for <ietf-http-wg@w3.org>; Wed, 22 Aug 2012 12:29:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mdnzEsvvy2i/tvKd4eBpwc6XPTScC5Sl4OU+ld6dC8k=; b=ZupM0AsvKpvHnUVLLyB2yY2ppvPFOZM9ljqMuQun7yw4Kb66yX6FbbGP7lAhZzAAV2 K1KJ/8Vg9akaGQEBXa/eYXOLDzgY9IQtH4zWNgORNyWG7Z3H5G2T56vq6oM+9zm6tERa cSmCgNKsthsDJ51Y4U8voN7UHaJ6TiA9K1fjyd25j/JtyW6o5+Mo2LsbEVfzC53R40r7 CS5i21l4wg3nTs+It8xtMjObpowi4l7AICr8EEjXKjFcsMNDDY45ANEEky4W/LVXmnko eSSz4zDrqBtmr8ddfoh+XKZoX+KIlsAI5tDDchN2O4B6GD4OXBVhO4sJwzgqOrW/xhjC im/Q==
MIME-Version: 1.0
Received: by 10.216.237.161 with SMTP id y33mr11059154weq.62.1345663791918; Wed, 22 Aug 2012 12:29:51 -0700 (PDT)
Received: by 10.223.58.136 with HTTP; Wed, 22 Aug 2012 12:29:51 -0700 (PDT)
Received: by 10.223.58.136 with HTTP; Wed, 22 Aug 2012 12:29:51 -0700 (PDT)
In-Reply-To: <CAMm+LwgHgtKHQw3O5q37BVXGXeS=DE+xp0nnfCPqoEubNLkekA@mail.gmail.com>
References: <50284.1345576491@critter.freebsd.dk> <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com> <17ce4099aa96be45437aeac0d168af11@treenet.co.nz> <5034F4C4.4090000@cisco.com> <CABP7RbdAzeZ2TfFe6f=ZLyHAomVTRGzoA6YRXzcA2D1Y8dBggA@mail.gmail.com> <50350A72.9060904@panix.com> <CABP7Rbehb4bgfcP1gf8jPANp3M6C9ukongFvmCf8xv=RjOgLVw@mail.gmail.com> <CAMm+LwgHgtKHQw3O5q37BVXGXeS=DE+xp0nnfCPqoEubNLkekA@mail.gmail.com>
Date: Wed, 22 Aug 2012 12:29:51 -0700
Message-ID: <CABP7Rbc_KdTL7OfGBdvADTmyEmr7pp=XxuGHGR5Vxwe-AFBKow@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=00151757752c4dedfc04c7dfc4b4
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T4Gd8-0002lo-9P 6f2488f88408a2925b2e155133a3d9d9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/CABP7Rbc_KdTL7OfGBdvADTmyEmr7pp=XxuGHGR5Vxwe-AFBKow@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15160
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>

--00151757752c4dedfc04c7dfc4b4
Content-Type: text/plain; charset=UTF-8

On Aug 22, 2012 11:33 AM, "Phillip Hallam-Baker" <hallam@gmail.com> wrote:
>
> On Wed, Aug 22, 2012 at 1:51 PM, James M Snell <jasnell@gmail.com> wrote:
> > I've just been going back through all this... and I will be the first to
> > admit that my low level TCP Kung Foo is a bit rusty and I'm just pulling
> > this off the top of my head... but... could we not leverage the Options
> > field in the TCP ACK Headers for protocol version notification? Yes, I
know
> > that there are very few stacks that actually surface that information
up to
> > the higher levels, but it's there, it's extensible, and it allows us to
> > leverage an already existing RTT. Specifically... If an endpont
supports 2.0
> > on a connection, it would include a specific Option in it's TCP SYN_ACK.
>
> No, you can't.
>
> Extracting information from the TCP transport is a layer violation. It
> is pretty much guaranteed to fail through pretty much every form of
> middlebox and quite likely to fail through quite a lot that isn't.
>

That's what I suspected but wanted to at least surface the idea. Never
hurts to ask ;) ...

- James

> Unlike the DNS situation where the network stacks conceal information
> the application layer needs, the TCP stacks that conceal this
> information have it right. That is what they are meant to do.
>
>
> One other point here, people need to stop talking in terms of bytes
> and instead focus on packets and round trips. Adding 50 bytes to a
> packet has negligible performance impact. Sending two packets instead
> of one is a much bigger hit. Sending a packet and waiting for a reply
> before you send the next one is a major penalty.
>
> --
> Website: http://hallambaker.com/

--00151757752c4dedfc04c7dfc4b4
Content-Type: text/html; charset=UTF-8

<p dir="ltr"><br>
On Aug 22, 2012 11:33 AM, &quot;Phillip Hallam-Baker&quot; &lt;<a href="mailto:hallam@gmail.com">hallam@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On Wed, Aug 22, 2012 at 1:51 PM, James M Snell &lt;<a href="mailto:jasnell@gmail.com">jasnell@gmail.com</a>&gt; wrote:<br>
&gt; &gt; I&#39;ve just been going back through all this... and I will be the first to<br>
&gt; &gt; admit that my low level TCP Kung Foo is a bit rusty and I&#39;m just pulling<br>
&gt; &gt; this off the top of my head... but... could we not leverage the Options<br>
&gt; &gt; field in the TCP ACK Headers for protocol version notification? Yes, I know<br>
&gt; &gt; that there are very few stacks that actually surface that information up to<br>
&gt; &gt; the higher levels, but it&#39;s there, it&#39;s extensible, and it allows us to<br>
&gt; &gt; leverage an already existing RTT. Specifically... If an endpont supports 2.0<br>
&gt; &gt; on a connection, it would include a specific Option in it&#39;s TCP SYN_ACK.<br>
&gt;<br>
&gt; No, you can&#39;t.<br>
&gt;<br>
&gt; Extracting information from the TCP transport is a layer violation. It<br>
&gt; is pretty much guaranteed to fail through pretty much every form of<br>
&gt; middlebox and quite likely to fail through quite a lot that isn&#39;t.<br>
&gt;</p>
<p dir="ltr">That&#39;s what I suspected but wanted to at least surface the idea. Never hurts to ask ;) ... </p>
<p dir="ltr">- James<br><br></p>
<p dir="ltr">&gt; Unlike the DNS situation where the network stacks conceal information<br>
&gt; the application layer needs, the TCP stacks that conceal this<br>
&gt; information have it right. That is what they are meant to do.<br>
&gt;<br>
&gt;<br>
&gt; One other point here, people need to stop talking in terms of bytes<br>
&gt; and instead focus on packets and round trips. Adding 50 bytes to a<br>
&gt; packet has negligible performance impact. Sending two packets instead<br>
&gt; of one is a much bigger hit. Sending a packet and waiting for a reply<br>
&gt; before you send the next one is a major penalty.<br>
&gt;<br>
&gt; --<br>
&gt; Website: <a href="http://hallambaker.com/">http://hallambaker.com/</a><br>
</p>

--00151757752c4dedfc04c7dfc4b4--


From ietf-http-wg-request@listhub.w3.org  Wed Aug 22 17:13:32 2012
Return-Path: <ietf-http-wg-request@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 D318221F857D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Aug 2012 17:13:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.288
X-Spam-Level: 
X-Spam-Status: No, score=-10.288 tagged_above=-999 required=5 tests=[AWL=0.311, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DJUcEJ4TOwqk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Aug 2012 17:13:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 57E1B21F855A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Aug 2012 17:13:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T4L1i-0002mM-Bm for ietf-http-wg-dist@listhub.w3.org; Thu, 23 Aug 2012 00:11:58 +0000
Resent-Date: Thu, 23 Aug 2012 00:11:58 +0000
Resent-Message-Id: <E1T4L1i-0002mM-Bm@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1T4L1N-0002l9-Rk for ietf-http-wg@listhub.w3.org; Thu, 23 Aug 2012 00:11:37 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1T4L1M-0004pe-Kg for ietf-http-wg@w3.org; Thu, 23 Aug 2012 00:11:37 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 078F4E6FE1; Thu, 23 Aug 2012 12:11:11 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Thu, 23 Aug 2012 12:11:11 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <CABP7RbdAzeZ2TfFe6f=ZLyHAomVTRGzoA6YRXzcA2D1Y8dBggA@mail.gmail.com>
References: <50284.1345576491@critter.freebsd.dk> <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com> <17ce4099aa96be45437aeac0d168af11@treenet.co.nz> <5034F4C4.4090000@cisco.com> <CABP7RbdAzeZ2TfFe6f=ZLyHAomVTRGzoA6YRXzcA2D1Y8dBggA@mail.gmail.com>
Message-ID: <3febc957e28993c9c3ee452a95ce568e@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=0.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T4L1M-0004pe-Kg 6ffaae6c77aba78a932893fabd41e655
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/3febc957e28993c9c3ee452a95ce568e@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15161
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 23.08.2012 03:11, James M Snell wrote:
> I would say no. It's no different, for instance, than using any other
> tcp-based protocol.. you wouldn't use http to determine if ftp is
> supported, for instance. The upgrade path should only be required 
> when we
> try to use HTTP 2.0 on port 80.
>

Yes. agreed.

You would face the same upgrade issues if you were to attempt SPDY on 
port 80. But once you change the port you change the assumed protocol 
away from HTTP/1 and enable the NPN upgrade method to identify SPDY vs 
HTTP/1 vs HTTP/2 or whatever.

Our charter as proposed requires that HTTP/2 operate over existing web 
infrastructure. Which means port-80 for a vast majority of networks - 
where HTTP/1 is assumed by every hardware transistor along the way. I 
see the DNS and alternative as optimizations we *might* be able to use 
for faster setup, but cannot guarantee working.

Amos

> On Wed, Aug 22, 2012 at 8:03 AM, Eliot Lear wrote:
>
>>
>> On 8/22/12 4:43 AM, Amos Jeffries wrote:
>> > * DNS SRV records easily perform end-to-end detection. But HTTP
>> > requires next-hop detection.
>>
>> Is that true for ports other than 80?  That is- if you have an
>> indication to use, say, port 880, and you're going right to SPDY, do 
>> you
>> need next-hop detection for purposes of versioning at least?
>>
>> Eliot
>>
>>



From ietf-http-wg-request@listhub.w3.org  Thu Aug 23 03:01:05 2012
Return-Path: <ietf-http-wg-request@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 659AA21F8618 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Aug 2012 03:01:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.53
X-Spam-Level: 
X-Spam-Status: No, score=-10.53 tagged_above=-999 required=5 tests=[AWL=0.068, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O0O2+gv3r6vy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Aug 2012 03:01:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 76D0121F85F7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 23 Aug 2012 03:01:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T4UAS-0000zT-Ur for ietf-http-wg-dist@listhub.w3.org; Thu, 23 Aug 2012 09:57:36 +0000
Resent-Date: Thu, 23 Aug 2012 09:57:36 +0000
Resent-Message-Id: <E1T4UAS-0000zT-Ur@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1T4UAB-0000yH-Mv for ietf-http-wg@listhub.w3.org; Thu, 23 Aug 2012 09:57:19 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1T4UA5-0007XW-KU for ietf-http-wg@w3.org; Thu, 23 Aug 2012 09:57:19 +0000
Received: by weyx43 with SMTP id x43so302126wey.2 for <ietf-http-wg@w3.org>; Thu, 23 Aug 2012 02:56:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KE3gJZjKZ0ims5D3/kzzzAjIpPIyHKFMGYZ4mHewu6c=; b=C4FAMW0fU0dw1fskJgv3vhcPtULvDSTGWm9iB3jTTCLbSTKp4L+oobjHvJGSUv+pQN CjgKJOwok98GnmD6yaA63xP1SldMwn3WXeoc9U9ywHtfO24zrVKcvZOSugFQQjN+TVjX x4Iyzq1znFDOVNDhBNxmIqSeLxR3Pc5nFQEafv97DWkTu3TKi2UCpgS5W9S9LAqJCgXe svOzvHKKljpiPsDl1zHoUypHRhkeifNHhseKpCFD7BhIviNZvVlXIbgFAEW1rScCprFp O2zPLZbrdC3eXZ3vzoUt+6+mjZgYzFqV1ca+pHa4s19/+Rsq/Lode8OaRVexYyMnpsJ+ D6vQ==
MIME-Version: 1.0
Received: by 10.216.132.91 with SMTP id n69mr473834wei.178.1345715801469; Thu, 23 Aug 2012 02:56:41 -0700 (PDT)
Received: by 10.194.26.138 with HTTP; Thu, 23 Aug 2012 02:56:41 -0700 (PDT)
Received: by 10.194.26.138 with HTTP; Thu, 23 Aug 2012 02:56:41 -0700 (PDT)
In-Reply-To: <3febc957e28993c9c3ee452a95ce568e@treenet.co.nz>
References: <50284.1345576491@critter.freebsd.dk> <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com> <17ce4099aa96be45437aeac0d168af11@treenet.co.nz> <5034F4C4.4090000@cisco.com> <CABP7RbdAzeZ2TfFe6f=ZLyHAomVTRGzoA6YRXzcA2D1Y8dBggA@mail.gmail.com> <3febc957e28993c9c3ee452a95ce568e@treenet.co.nz>
Date: Thu, 23 Aug 2012 02:56:41 -0700
Message-ID: <CAP+FsNeU8y7rj4C9OuGrzyZ_7KBoPEfHSboaiqRLtkq1YoYMQQ@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=0016e6d7eede50b3de04c7ebe050
Received-SPF: pass client-ip=74.125.82.171; envelope-from=grmocg@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T4UA5-0007XW-KU f21bdbcbd26c7e2a7be4d1ad7db4b3c5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/CAP+FsNeU8y7rj4C9OuGrzyZ_7KBoPEfHSboaiqRLtkq1YoYMQQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15162
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>

--0016e6d7eede50b3de04c7ebe050
Content-Type: text/plain; charset=ISO-8859-1

On port 80, the only thing you can rely upon working is the most commonly
used subset of http/1.1.

Thus, user-agents and servers must handle both upgrade and downgrade as
necessary basically all the time.

-=R
On Aug 22, 2012 5:13 PM, "Amos Jeffries" <squid3@treenet.co.nz> wrote:

> On 23.08.2012 03:11, James M Snell wrote:
>
>> I would say no. It's no different, for instance, than using any other
>> tcp-based protocol.. you wouldn't use http to determine if ftp is
>> supported, for instance. The upgrade path should only be required when we
>> try to use HTTP 2.0 on port 80.
>>
>>
> Yes. agreed.
>
> You would face the same upgrade issues if you were to attempt SPDY on port
> 80. But once you change the port you change the assumed protocol away from
> HTTP/1 and enable the NPN upgrade method to identify SPDY vs HTTP/1 vs
> HTTP/2 or whatever.
>
> Our charter as proposed requires that HTTP/2 operate over existing web
> infrastructure. Which means port-80 for a vast majority of networks - where
> HTTP/1 is assumed by every hardware transistor along the way. I see the DNS
> and alternative as optimizations we *might* be able to use for faster
> setup, but cannot guarantee working.
>
> Amos
>
>  On Wed, Aug 22, 2012 at 8:03 AM, Eliot Lear wrote:
>>
>>
>>> On 8/22/12 4:43 AM, Amos Jeffries wrote:
>>> > * DNS SRV records easily perform end-to-end detection. But HTTP
>>> > requires next-hop detection.
>>>
>>> Is that true for ports other than 80?  That is- if you have an
>>> indication to use, say, port 880, and you're going right to SPDY, do you
>>> need next-hop detection for purposes of versioning at least?
>>>
>>> Eliot
>>>
>>>
>>>
>
>

--0016e6d7eede50b3de04c7ebe050
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">On port 80, the only thing you can rely upon working is the =
most commonly used subset of http/1.1.</p>
<p dir=3D"ltr">Thus, user-agents and servers must handle both upgrade and d=
owngrade as necessary basically all the time.</p>
<p dir=3D"ltr">-=3DR</p>
<div class=3D"gmail_quote">On Aug 22, 2012 5:13 PM, &quot;Amos Jeffries&quo=
t; &lt;<a href=3D"mailto:squid3@treenet.co.nz">squid3@treenet.co.nz</a>&gt;=
 wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 23.08.2012 03:11, James M Snell wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
I would say no. It&#39;s no different, for instance, than using any other<b=
r>
tcp-based protocol.. you wouldn&#39;t use http to determine if ftp is<br>
supported, for instance. The upgrade path should only be required when we<b=
r>
try to use HTTP 2.0 on port 80.<br>
<br>
</blockquote>
<br>
Yes. agreed.<br>
<br>
You would face the same upgrade issues if you were to attempt SPDY on port =
80. But once you change the port you change the assumed protocol away from =
HTTP/1 and enable the NPN upgrade method to identify SPDY vs HTTP/1 vs HTTP=
/2 or whatever.<br>

<br>
Our charter as proposed requires that HTTP/2 operate over existing web infr=
astructure. Which means port-80 for a vast majority of networks - where HTT=
P/1 is assumed by every hardware transistor along the way. I see the DNS an=
d alternative as optimizations we *might* be able to use for faster setup, =
but cannot guarantee working.<br>

<br>
Amos<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
On Wed, Aug 22, 2012 at 8:03 AM, Eliot Lear wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
On 8/22/12 4:43 AM, Amos Jeffries wrote:<br>
&gt; * DNS SRV records easily perform end-to-end detection. But HTTP<br>
&gt; requires next-hop detection.<br>
<br>
Is that true for ports other than 80? =A0That is- if you have an<br>
indication to use, say, port 880, and you&#39;re going right to SPDY, do yo=
u<br>
need next-hop detection for purposes of versioning at least?<br>
<br>
Eliot<br>
<br>
<br>
</blockquote></blockquote>
<br>
<br>
</blockquote></div>

--0016e6d7eede50b3de04c7ebe050--


From ietf-http-wg-request@listhub.w3.org  Thu Aug 23 04:47:11 2012
Return-Path: <ietf-http-wg-request@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 4B0EE21F85A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Aug 2012 04:47:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.997
X-Spam-Level: 
X-Spam-Status: No, score=-8.997 tagged_above=-999 required=5 tests=[AWL=1.602, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KNWnAHyazWg6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 23 Aug 2012 04:47:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 714B621F85F7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 23 Aug 2012 04:47:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T4VqK-0004oq-Sc for ietf-http-wg-dist@listhub.w3.org; Thu, 23 Aug 2012 11:44:56 +0000
Resent-Date: Thu, 23 Aug 2012 11:44:56 +0000
Resent-Message-Id: <E1T4VqK-0004oq-Sc@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T4Vq6-0004o5-Jj for ietf-http-wg@listhub.w3.org; Thu, 23 Aug 2012 11:44:42 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1T4Vq3-0002JK-DF for ietf-http-wg@w3.org; Thu, 23 Aug 2012 11:44:42 +0000
Received: by obqv19 with SMTP id v19so1357821obq.2 for <ietf-http-wg@w3.org>; Thu, 23 Aug 2012 04:44:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=wSIFyBem+KIlyewHqBY8DkTW2RGJHO8ZVyhu9w2daGw=; b=opqL+XU5tMJ2AHD8ocCb65S+2V8sU6upZrfS/9T9Uqoca8AXaCkJ6fOJWUbX51Uqpf YnKmgnKFmZC7tt/86R2PAVsQfhiaJTkIpvuKy2cCXjxGwLe6Xfc1cPPAONHH1T1vW2YY 0G9tBw6lHTI1PCJryVACJTG6ib1l8CX9dDXG/j00S7eYhiNE7t8jycpZIdks48dPpwzs 6OvyCMFT81E/cejxazV+pOAe3A/l+aa8AWVrFdc5X/JTQlJbfZMd/qCYSXgZhZBOjV7I VhhzCIQ4r6j2uA0ndf8ABLPpP1pQqw1MSt8ujORtxxBfLpLFvvqZWRAm0j5YAC5N2Uwd ul7A==
MIME-Version: 1.0
Received: by 10.182.75.33 with SMTP id z1mr850581obv.9.1345722252206; Thu, 23 Aug 2012 04:44:12 -0700 (PDT)
Received: by 10.76.80.10 with HTTP; Thu, 23 Aug 2012 04:44:12 -0700 (PDT)
In-Reply-To: <CAP+FsNeU8y7rj4C9OuGrzyZ_7KBoPEfHSboaiqRLtkq1YoYMQQ@mail.gmail.com>
References: <50284.1345576491@critter.freebsd.dk> <2A8028EE-0EEC-4E42-89C4-347C33F60B90@checkpoint.com> <17ce4099aa96be45437aeac0d168af11@treenet.co.nz> <5034F4C4.4090000@cisco.com> <CABP7RbdAzeZ2TfFe6f=ZLyHAomVTRGzoA6YRXzcA2D1Y8dBggA@mail.gmail.com> <3febc957e28993c9c3ee452a95ce568e@treenet.co.nz> <CAP+FsNeU8y7rj4C9OuGrzyZ_7KBoPEfHSboaiqRLtkq1YoYMQQ@mail.gmail.com>
Date: Thu, 23 Aug 2012 07:44:12 -0400
Message-ID: <CAMm+LwjdWbYtFLWVJ7eStGrq3ZP_kyHLhHPoHJdyzMENXDxGOw@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Roberto Peon <grmocg@gmail.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T4Vq3-0002JK-DF 848d85599dea39978ff36cec2c177ed4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Optimizations vs Functionality vs Architecture
Archived-At: <http://www.w3.org/mid/CAMm+LwjdWbYtFLWVJ7eStGrq3ZP_kyHLhHPoHJdyzMENXDxGOw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15163
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>

Which is one reason I like SRV, you can specify a different port.

I think we have to decide what we mean by make intermediaries work, do
we mean that the user gets the experience they expect or do we mean
that the deployer of the intermediary gets to control that experience?

I don't see that we really need to consider proxies as anything more
than a roadblock to get through.

On Thu, Aug 23, 2012 at 5:56 AM, Roberto Peon <grmocg@gmail.com> wrote:
> On port 80, the only thing you can rely upon working is the most commonly
> used subset of http/1.1.
>
> Thus, user-agents and servers must handle both upgrade and downgrade as
> necessary basically all the time.
>
> -=R
>
> On Aug 22, 2012 5:13 PM, "Amos Jeffries" <squid3@treenet.co.nz> wrote:
>>
>> On 23.08.2012 03:11, James M Snell wrote:
>>>
>>> I would say no. It's no different, for instance, than using any other
>>> tcp-based protocol.. you wouldn't use http to determine if ftp is
>>> supported, for instance. The upgrade path should only be required when we
>>> try to use HTTP 2.0 on port 80.
>>>
>>
>> Yes. agreed.
>>
>> You would face the same upgrade issues if you were to attempt SPDY on port
>> 80. But once you change the port you change the assumed protocol away from
>> HTTP/1 and enable the NPN upgrade method to identify SPDY vs HTTP/1 vs
>> HTTP/2 or whatever.
>>
>> Our charter as proposed requires that HTTP/2 operate over existing web
>> infrastructure. Which means port-80 for a vast majority of networks - where
>> HTTP/1 is assumed by every hardware transistor along the way. I see the DNS
>> and alternative as optimizations we *might* be able to use for faster setup,
>> but cannot guarantee working.
>>
>> Amos
>>
>>> On Wed, Aug 22, 2012 at 8:03 AM, Eliot Lear wrote:
>>>
>>>>
>>>> On 8/22/12 4:43 AM, Amos Jeffries wrote:
>>>> > * DNS SRV records easily perform end-to-end detection. But HTTP
>>>> > requires next-hop detection.
>>>>
>>>> Is that true for ports other than 80?  That is- if you have an
>>>> indication to use, say, port 880, and you're going right to SPDY, do you
>>>> need next-hop detection for purposes of versioning at least?
>>>>
>>>> Eliot
>>>>
>>>>
>>
>>
>



-- 
Website: http://hallambaker.com/


From ietf-http-wg-request@listhub.w3.org  Sat Aug 25 18:56:18 2012
Return-Path: <ietf-http-wg-request@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 0259421F8491 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Aug 2012 18:56:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.356
X-Spam-Level: 
X-Spam-Status: No, score=-6.356 tagged_above=-999 required=5 tests=[AWL=3.621, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3T-LqVvq0jf9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 25 Aug 2012 18:56:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7B11421F84A0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 25 Aug 2012 18:56:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T5S2O-0008Km-IG for ietf-http-wg-dist@listhub.w3.org; Sun, 26 Aug 2012 01:53:16 +0000
Resent-Date: Sun, 26 Aug 2012 01:53:16 +0000
Resent-Message-Id: <E1T5S2O-0008Km-IG@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ekr@rtfm.com>) id 1T5S24-0008Fp-TB for ietf-http-wg@listhub.w3.org; Sun, 26 Aug 2012 01:52:56 +0000
Received: from mail-ee0-f43.google.com ([74.125.83.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <ekr@rtfm.com>) id 1T5S22-0005eM-Ig for ietf-http-wg@w3.org; Sun, 26 Aug 2012 01:52:56 +0000
Received: by eekd4 with SMTP id d4so989324eek.2 for <ietf-http-wg@w3.org>; Sat, 25 Aug 2012 18:52:27 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:x-gm-message-state; bh=hNJs9gKmrDLNxIinPI+27/bT/E/+XfRGp6hvlEQes+8=; b=aspLOIKowwYddCgnfvTJfAeEPVDvPTbaGtznHWQs6sc+FVk3gd8VNOg8IMH3SX2MTv iY3yUq4AG48WB2kfVzEn7wOkelWp2OuHkLPr9gsDrR0GVKqQ1WrjBdkeoG5bpVJmpzpS NDFICf/IipxN4Krcm89xhsZSvi4NCQOJ+RjPGM72J1GI5JO8ry28LKMUJQqVeSudA3DY 194PsjTf35uBjBNNNtroInV1pqVGJp4MbQjYUhxCZE4hKSKXTNWt4MdOoTH1U9GBbP75 Ln+zLiC9PXgppiPDrRr4M7ARFLtMXSxeyGoVR3KUmElDo4ezogvwyyzF2P65Ar5dqjmr Rt5Q==
Received: by 10.14.181.132 with SMTP id l4mr12604224eem.17.1345945947273; Sat, 25 Aug 2012 18:52:27 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.14.187.10 with HTTP; Sat, 25 Aug 2012 18:51:46 -0700 (PDT)
X-Originating-IP: [74.95.2.169]
In-Reply-To: <em41c9c24e-0dfd-4d37-822b-96bfe2fb7ebb@bombed>
References: <0697836F-C4AD-4D89-AB5E-2C83B16A91AF@mnot.net> <em41c9c24e-0dfd-4d37-822b-96bfe2fb7ebb@bombed>
From: Eric Rescorla <ekr@rtfm.com>
Date: Sat, 25 Aug 2012 18:51:46 -0700
Message-ID: <CABcZeBMDLb4qb4zvCpKbc9i9Hfbo0HFwLxH3bpowr1wfO_AHTw@mail.gmail.com>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: Mark Nottingham <mnot@mnot.net>, Willy Tarreau <w@1wt.eu>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQnU3/ZH0r2iHwjg0drBB94C6np42sNQitRZVWk0OExPAYdWYSNS0Cwu7e3IPxRD+U+aZsBX
Received-SPF: none client-ip=74.125.83.43; envelope-from=ekr@rtfm.com; helo=mail-ee0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=0.1
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1T5S22-0005eM-Ig b2c675a8457e855a6b48ec285baac9ee
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Semantics of HTTPS
Archived-At: <http://www.w3.org/mid/CABcZeBMDLb4qb4zvCpKbc9i9Hfbo0HFwLxH3bpowr1wfO_AHTw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15164
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 Mon, Aug 6, 2012 at 3:39 PM, Adrien W. de Croy <adrien@qbik.com> wrote:
> Anyone here from the TLS WG able to comment on whether there are plans to
> combat MITM in this respect?  It's interesting to see the comment about
> recent TLS WG rejection of support for inspection.

As TLS WG Chair:
1. As Stephen says, the TLS WG saw a presentation about explicit support
for proxies and there was very little support in the room for that idea. This
isn't to say that some future version of this idea would not be accepted,
but there are no current plans in this area.

2. RFC 2818 was a TLS WG item, so any updates to that would really need
to be done by the TLS WG.

-Ekr


From ietf-http-wg-request@listhub.w3.org  Tue Aug 28 11:32:27 2012
Return-Path: <ietf-http-wg-request@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 2397B21F8602 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Aug 2012 11:32:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7xbM1K8szvKd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Aug 2012 11:32:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2EB7B21F85FC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Aug 2012 11:32:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T6QYE-0002jT-8l for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Aug 2012 18:30:10 +0000
Resent-Date: Tue, 28 Aug 2012 18:30:10 +0000
Resent-Message-Id: <E1T6QYE-0002jT-8l@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <karld@opera.com>) id 1T6QXt-00087g-1U for ietf-http-wg@listhub.w3.org; Tue, 28 Aug 2012 18:29:49 +0000
Received: from smtp.opera.com ([213.236.208.81]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <karld@opera.com>) id 1T6QXr-0005Ij-7B for ietf-http-wg@w3.org; Tue, 28 Aug 2012 18:29:48 +0000
Received: from [10.0.1.40] (p85-133.pixelweb.net [206.41.85.133] (may be forged)) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q7SITHxA031596 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for <ietf-http-wg@w3.org>; Tue, 28 Aug 2012 18:29:19 GMT
From: Karl Dubost <karld@opera.com>
Content-Type: text/plain; charset=windows-1252
Message-Id: <1515E10F-394D-4055-BA47-56BAB606BC25@opera.com>
Date: Tue, 28 Aug 2012 14:29:15 -0400
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=karld@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-1.7
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.207, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T6QXr-0005Ij-7B 3d6dc694ffdd23b4d2478dea5e1492a3
X-Original-To: ietf-http-wg@w3.org
Subject: Status Line Syntax production/parsing
Archived-At: <http://www.w3.org/mid/1515E10F-394D-4055-BA47-56BAB606BC25@opera.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15165
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>

Hi,

(a naive question)
The syntax for the status-line of an HTTP response message is

    status-line =3D HTTP-version SP status-code SP reason-phrase CRLF
    =97 =
http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-20#section-3.1.=
2

Then about the reason-phrase

   The reason-phrase element exists for the sole purpose of providing a
   textual description associated with the numeric status code, mostly
   out of deference to earlier Internet application protocols that were
   more frequently used with interactive text clients.  A client SHOULD
   ignore the reason-phrase content.

     reason-phrase  =3D *( HTAB / SP / VCHAR / obs-text )


I was wondering if there are any issues with status-line of the form:

    status-line =3D HTTP-version SP status-code SP

OR

    status-line =3D HTTP-version SP status-code



--=20
Karl Dubost - http://dev.opera.com/
Developer Relations, Opera Software



From ietf-http-wg-request@listhub.w3.org  Tue Aug 28 11:49:17 2012
Return-Path: <ietf-http-wg-request@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 ED45021F861E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Aug 2012 11:49:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y9MtXFq8m8aF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Aug 2012 11:49:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DA24521F8613 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Aug 2012 11:49:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T6Qpf-0004tA-CJ for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Aug 2012 18:48:11 +0000
Resent-Date: Tue, 28 Aug 2012 18:48:11 +0000
Resent-Message-Id: <E1T6Qpf-0004tA-CJ@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <derhoermi@gmx.net>) id 1T6QpR-0004sO-8j for ietf-http-wg@listhub.w3.org; Tue, 28 Aug 2012 18:47:57 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <derhoermi@gmx.net>) id 1T6QpP-0007Of-LH for ietf-http-wg@w3.org; Tue, 28 Aug 2012 18:47:57 +0000
Received: (qmail invoked by alias); 28 Aug 2012 18:47:28 -0000
Received: from p5B063A64.dip.t-dialin.net (EHLO netb.Speedport_W_700V) [91.6.58.100] by mail.gmx.net (mp032) with SMTP; 28 Aug 2012 20:47:28 +0200
X-Authenticated: #723575
X-Provags-ID: V01U2FsdGVkX1/ZjAkxHw/ZJEmdCtJwQyzSkCxZhOl9AjCQ/YCZfn MkXtXuQ4BY8hor
From: Bjoern Hoehrmann <derhoermi@gmx.net>
To: Karl Dubost <karld@opera.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Tue, 28 Aug 2012 20:47:29 +0200
Message-ID: <a54q385dngjcrgmvlncr277q3er8ntg5fl@hive.bjoern.hoehrmann.de>
References: <1515E10F-394D-4055-BA47-56BAB606BC25@opera.com>
In-Reply-To: <1515E10F-394D-4055-BA47-56BAB606BC25@opera.com>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=derhoermi@gmx.net; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=0.6
X-W3C-Hub-Spam-Report: BAYES_50=0.8, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.207, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T6QpP-0007Of-LH ce92c4a4dcb29040aef04e00be98d9f4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status Line Syntax production/parsing
Archived-At: <http://www.w3.org/mid/a54q385dngjcrgmvlncr277q3er8ntg5fl@hive.bjoern.hoehrmann.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15166
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>

* Karl Dubost wrote:
>The syntax for the status-line of an HTTP response message is
>
>    status-line = HTTP-version SP status-code SP reason-phrase CRLF
>    — http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-20#section-3.1.2

So there have to be two spaces, one before status-code and one after.

>     reason-phrase  = *( HTAB / SP / VCHAR / obs-text )

So a reason-phrase can be the empty string.

>I was wondering if there are any issues with status-line of the form:
>
>    status-line = HTTP-version SP status-code SP

It seems you are asking about, say,

  HTTP/1.1<sp>200<sp><crlf>

Which has the empty string as reason-phrase. That is fine.

>    status-line = HTTP-version SP status-code

If you are asking about something like

  HTTP/1.1<sp>200<crlf>

Without the <sp> after the status code, then no, that is not fine.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 


From ietf-http-wg-request@listhub.w3.org  Tue Aug 28 12:11:32 2012
Return-Path: <ietf-http-wg-request@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 7B1C721F8622 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Aug 2012 12:11:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pcqnYAg-r4eA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Aug 2012 12:11:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7FCBC21F861B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Aug 2012 12:11:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T6RBR-0007bE-4J for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Aug 2012 19:10:41 +0000
Resent-Date: Tue, 28 Aug 2012 19:10:41 +0000
Resent-Message-Id: <E1T6RBR-0007bE-4J@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <karld@opera.com>) id 1T6RBC-0007ZQ-OP for ietf-http-wg@listhub.w3.org; Tue, 28 Aug 2012 19:10:26 +0000
Received: from smtp.opera.com ([213.236.208.81]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <karld@opera.com>) id 1T6RBB-00086v-Es for ietf-http-wg@w3.org; Tue, 28 Aug 2012 19:10:26 +0000
Received: from [10.0.1.40] (p85-133.pixelweb.net [206.41.85.133] (may be forged)) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q7SJ9tYo008977 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 28 Aug 2012 19:09:57 GMT
References: <1515E10F-394D-4055-BA47-56BAB606BC25@opera.com> <a54q385dngjcrgmvlncr277q3er8ntg5fl@hive.bjoern.hoehrmann.de>
In-Reply-To: <a54q385dngjcrgmvlncr277q3er8ntg5fl@hive.bjoern.hoehrmann.de>
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
Message-Id: <52B37B32-4AC4-4EE9-94F1-8D29593A3FE8@opera.com>
Content-Transfer-Encoding: quoted-printable
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
From: Karl Dubost <karld@opera.com>
Date: Tue, 28 Aug 2012 15:09:53 -0400
To: Bjoern Hoehrmann <derhoermi@gmx.net>
X-Mailer: Apple Mail (2.1278)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=karld@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-1.7
X-W3C-Hub-Spam-Report: BAYES_50=0.8, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.207, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T6RBB-00086v-Es 7bdf273283907169da65ed9805fec4ec
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status Line Syntax production/parsing
Archived-At: <http://www.w3.org/mid/52B37B32-4AC4-4EE9-94F1-8D29593A3FE8@opera.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15167
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>

Bjoern,


Le 28 ao=FBt 2012 =E0 14:47, Bjoern Hoehrmann a =E9crit :
> If you are asking about something like
>=20
>  HTTP/1.1<sp>200<crlf>
>=20
> Without the <sp> after the status code, then no, that is not fine.

Yes, that was my reading too. Thanks for confirming.
I was wondering if it was intentional, because a meaningful trailing =
space is likely to create interoperability issues. Though I have nothing =
to backup that. It might not be a concern at all.

Basically I would have proposed something such as

    status-line =3D HTTP-version SP status-code (CRLF|SP reason-phrase =
CRLF)=20

so handling the case with no trailing space.=20


--=20
Karl Dubost - http://dev.opera.com/
Developer Relations, Opera Software



From ietf-http-wg-request@listhub.w3.org  Tue Aug 28 12:48:27 2012
Return-Path: <ietf-http-wg-request@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 1B53321F85F3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Aug 2012 12:48:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w3u6o3hT37uy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Aug 2012 12:48:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2645E21F85DA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Aug 2012 12:48:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T6Rkx-000657-DS for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Aug 2012 19:47:23 +0000
Resent-Date: Tue, 28 Aug 2012 19:47:23 +0000
Resent-Message-Id: <E1T6Rkx-000657-DS@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1T6Rkj-000620-3n for ietf-http-wg@listhub.w3.org; Tue, 28 Aug 2012 19:47:09 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1T6Rke-0000RG-7e for ietf-http-wg@w3.org; Tue, 28 Aug 2012 19:47:09 +0000
Received: (qmail invoked by alias); 28 Aug 2012 19:46:38 -0000
Received: from nat.corp.omniture.com (EHLO [10.12.56.140]) [64.0.193.22] by mail.gmx.net (mp010) with SMTP; 28 Aug 2012 21:46:38 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1938ERwFeV39EXgJSdyDPsa+koDrbljxgQ37SBIYv g8UdS8hkHe4ZeC
Message-ID: <503D201A.3050209@gmx.de>
Date: Tue, 28 Aug 2012 21:46:34 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0
MIME-Version: 1.0
To: Karl Dubost <karld@opera.com>
CC: Bjoern Hoehrmann <derhoermi@gmx.net>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <1515E10F-394D-4055-BA47-56BAB606BC25@opera.com> <a54q385dngjcrgmvlncr277q3er8ntg5fl@hive.bjoern.hoehrmann.de> <52B37B32-4AC4-4EE9-94F1-8D29593A3FE8@opera.com>
In-Reply-To: <52B37B32-4AC4-4EE9-94F1-8D29593A3FE8@opera.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=1.5
X-W3C-Hub-Spam-Report: BAYES_60=1.5, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T6Rke-0000RG-7e 734778b55730d2dc7d77502c7b7a147a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status Line Syntax production/parsing
Archived-At: <http://www.w3.org/mid/503D201A.3050209@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15168
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 2012-08-28 21:09, Karl Dubost wrote:
> Bjoern,
>
>
> Le 28 août 2012 à 14:47, Bjoern Hoehrmann a écrit :
>> If you are asking about something like
>>
>>   HTTP/1.1<sp>200<crlf>
>>
>> Without the <sp> after the status code, then no, that is not fine.
>
> Yes, that was my reading too. Thanks for confirming.
> I was wondering if it was intentional, because a meaningful trailing space is likely to create interoperability issues. Though I have nothing to backup that. It might not be a concern at all.
>
> Basically I would have proposed something such as
>
>      status-line = HTTP-version SP status-code (CRLF|SP reason-phrase CRLF)
>
> so handling the case with no trailing space.

Well,

	HTTP-version SP status-code [ SP reason-phrase ] CRLF

On the other hand, a ultra-simple syntax for the first line might sense; 
and there may be code out there relying on it.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Aug 28 13:04:00 2012
Return-Path: <ietf-http-wg-request@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 0CB5921F861A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Aug 2012 13:04:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.513
X-Spam-Level: 
X-Spam-Status: No, score=-10.513 tagged_above=-999 required=5 tests=[AWL=0.086, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h24WBb6i5RaH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Aug 2012 13:03:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 63F2621F8619 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Aug 2012 13:03:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T6Rzx-00070f-Lv for ietf-http-wg-dist@listhub.w3.org; Tue, 28 Aug 2012 20:02:53 +0000
Resent-Date: Tue, 28 Aug 2012 20:02:53 +0000
Resent-Message-Id: <E1T6Rzx-00070f-Lv@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1T6Rzi-0006zU-L2 for ietf-http-wg@listhub.w3.org; Tue, 28 Aug 2012 20:02:38 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1T6Rzh-0002OY-6E for ietf-http-wg@w3.org; Tue, 28 Aug 2012 20:02:38 +0000
Received: by vcdd16 with SMTP id d16so7095147vcd.2 for <ietf-http-wg@w3.org>; Tue, 28 Aug 2012 13:02:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=y44s0ASC7Gjw1lZVH1//NCSCYZiU+NkdCQS3e00Iurg=; b=qr5uEmzHOp/YicZOkxGQmWXcW+FDoitp9HBh5Tx6FCpoB5icXoTwDjXXdxjl0mNak4 /Jn9lOVbAk7R+LRcueuwHODcQyQirwHiIz1AA3n8fq9Cvy3jSswso4olMqFHcJUExFKI g9bhuL5wR2gCmuwxDQg9J2KNI4Xz2t6PuRj9dBTj689ULBhcvAv/ZE/qyfPcdTpkwpF8 TsF/OO1tL3JIKn1CRxpsT0aNxG9CvpNlOWwLJ1qf8MsTdcsjmfiiq8rGpueliweX+Mq5 +/gFrsoWhoTchTUrbyyCb/p8o0jYBegFpO+niBEinPhTVnuEfeTYl9WUvBX1eadBDdTL 3eHw==
MIME-Version: 1.0
Received: by 10.220.154.143 with SMTP id o15mr8082077vcw.37.1346184131152; Tue, 28 Aug 2012 13:02:11 -0700 (PDT)
Received: by 10.220.109.202 with HTTP; Tue, 28 Aug 2012 13:02:10 -0700 (PDT)
In-Reply-To: <1515E10F-394D-4055-BA47-56BAB606BC25@opera.com>
References: <1515E10F-394D-4055-BA47-56BAB606BC25@opera.com>
Date: Tue, 28 Aug 2012 15:02:10 -0500
Message-ID: <CACuKZqHsB1rBJXMdMbqX3_KMi220Fu4tOT7aB8isiWNLg1ZtKw@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Karl Dubost <karld@opera.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=2.7
X-W3C-Hub-Spam-Report: BAYES_99=3.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1T6Rzh-0002OY-6E 176fedab51c1d605260c965e58ce0628
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status Line Syntax production/parsing
Archived-At: <http://www.w3.org/mid/CACuKZqHsB1rBJXMdMbqX3_KMi220Fu4tOT7aB8isiWNLg1ZtKw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15169
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>

It's too late to change the syntax now. For interoperability it's
better to not produce any empty reason phrase. A status line

    HTTP/1.1 200

probably looks suspicious to most people.


On Tue, Aug 28, 2012 at 1:29 PM, Karl Dubost <karld@opera.com> wrote:
> Hi,
>
> (a naive question)
> The syntax for the status-line of an HTTP response message is
>
>     status-line =3D HTTP-version SP status-code SP reason-phrase CRLF
>     =97 http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-20#sec=
tion-3.1.2
>
> Then about the reason-phrase
>
>    The reason-phrase element exists for the sole purpose of providing a
>    textual description associated with the numeric status code, mostly
>    out of deference to earlier Internet application protocols that were
>    more frequently used with interactive text clients.  A client SHOULD
>    ignore the reason-phrase content.
>
>      reason-phrase  =3D *( HTAB / SP / VCHAR / obs-text )
>
>
> I was wondering if there are any issues with status-line of the form:
>
>     status-line =3D HTTP-version SP status-code SP
>
> OR
>
>     status-line =3D HTTP-version SP status-code
>
>
>
> --
> Karl Dubost - http://dev.opera.com/
> Developer Relations, Opera Software
>
>


From ietf-http-wg-request@listhub.w3.org  Tue Aug 28 18:01:27 2012
Return-Path: <ietf-http-wg-request@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 8377D21F854F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Aug 2012 18:01:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.691
X-Spam-Level: 
X-Spam-Status: No, score=-8.691 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_ILLEGAL_IP=1.908, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 93HLY54nSXxJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 Aug 2012 18:01:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D7B0A21F854B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 Aug 2012 18:01:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T6WdB-0008Q3-3S for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Aug 2012 00:59:41 +0000
Resent-Date: Wed, 29 Aug 2012 00:59:41 +0000
Resent-Message-Id: <E1T6WdB-0008Q3-3S@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1T6Wcq-0008PE-MA for ietf-http-wg@listhub.w3.org; Wed, 29 Aug 2012 00:59:20 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1T6Wcp-0001Hv-Jp for ietf-http-wg@w3.org; Wed, 29 Aug 2012 00:59:20 +0000
Received: from [192.168.0.100] (unknown [1.153.2.75]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id D4B3350A5D; Tue, 28 Aug 2012 20:58:55 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <503D201A.3050209@gmx.de>
Date: Wed, 29 Aug 2012 10:59:00 +1000
Cc: Karl Dubost <karld@opera.com>, Bjoern Hoehrmann <derhoermi@gmx.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <BC9F0CC5-E75E-4E86-AE9A-9D972146F6AE@mnot.net>
References: <1515E10F-394D-4055-BA47-56BAB606BC25@opera.com> <a54q385dngjcrgmvlncr277q3er8ntg5fl@hive.bjoern.hoehrmann.de> <52B37B32-4AC4-4EE9-94F1-8D29593A3FE8@opera.com> <503D201A.3050209@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1485)
Received-SPF: pass client-ip=216.86.168.183; envelope-from=mnot@mnot.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=3.5
X-W3C-Hub-Spam-Report: BAYES_99=3.5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T6Wcp-0001Hv-Jp eba13101d72104d0050a0282d397d911
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status Line Syntax production/parsing
Archived-At: <http://www.w3.org/mid/BC9F0CC5-E75E-4E86-AE9A-9D972146F6AE@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15170
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 29/08/2012, at 5:46 AM, Julian Reschke <julian.reschke@gmx.de> wrote:
>=20
> Well,
>=20
> 	HTTP-version SP status-code [ SP reason-phrase ] CRLF
>=20
> On the other hand, a ultra-simple syntax for the first line might =
sense; and there may be code out there relying on it.


Yes, that's the thing. If we were designing this from scratch, that'd =
make sense; however, we're not, and I'd say it's very likely some =
implementations depend upon this.

Cheers,

--
Mark Nottingham
http://www.mnot.net/






From ietf-http-wg-request@listhub.w3.org  Thu Aug 30 22:53:37 2012
Return-Path: <ietf-http-wg-request@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 8EBBD21F852A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 30 Aug 2012 22:53:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.497
X-Spam-Level: 
X-Spam-Status: No, score=-6.497 tagged_above=-999 required=5 tests=[AWL=3.480, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZoC+rZzc94+F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 30 Aug 2012 22:53:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DB00321F852B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 30 Aug 2012 22:53:36 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1T7K7z-0008G6-Ui for ietf-http-wg-dist@listhub.w3.org; Fri, 31 Aug 2012 05:50:47 +0000
Resent-Date: Fri, 31 Aug 2012 05:50:47 +0000
Resent-Message-Id: <E1T7K7z-0008G6-Ui@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <barryleiba@gmail.com>) id 1T7K7e-0008FH-Cg for ietf-http-wg@listhub.w3.org; Fri, 31 Aug 2012 05:50:26 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <barryleiba@gmail.com>) id 1T7K7d-0003sx-Ba for ietf-http-wg@w3.org; Fri, 31 Aug 2012 05:50:26 +0000
Received: by vbbfq11 with SMTP id fq11so3083022vbb.2 for <ietf-http-wg@w3.org>; Thu, 30 Aug 2012 22:49:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=UXBpqaO9eSjUeEXkiXSrSd35jasF9zpZF7ZsoLxB7Gc=; b=emGIvk5NSolcd58i3tj7jfgNnEeqd4zmVFF4QwznyCDUFm+d/8z3KHLNqkKJ94j3XB JC/XKS97mIXtrb6lUi975Lb1qHG3nAUDWP0J1QboisXx5Y4JEs0zQ84Oaw+4zKSqNiO8 QfZOQo+ZfDt/Z+kACJsLAmJGmwO1QKQqA/scJnHpvERq340xA9ws6w5cucJv4KLqsXpq Md8QGSz45Z9WOF0X74WDgv/N/4SA8EBk0D3pjzoqURE1d36KkJsIjjWzD60LETDCK9RW cjlvwuixHJpSK0UlRAHc2f8E+RchC1WPNZKKO2Ho744NAeSwqfXfy4mRBG3FHD1yP6ok U/lw==
MIME-Version: 1.0
Received: by 10.220.204.212 with SMTP id fn20mr5128263vcb.43.1346392199594; Thu, 30 Aug 2012 22:49:59 -0700 (PDT)
Sender: barryleiba@gmail.com
Received: by 10.58.58.41 with HTTP; Thu, 30 Aug 2012 22:49:59 -0700 (PDT)
Date: Fri, 31 Aug 2012 01:49:59 -0400
X-Google-Sender-Auth: MIfNuwbG8W8GXDwa5Uxdv4eey6A
Message-ID: <CALaySJLPNzx=WVWSkVQPV7pYZu2wHU88p9mu6gguu7QW5wXKGA@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
To: HTTPbis Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=barryleiba@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=2.8
X-W3C-Hub-Spam-Report: BAYES_99=3.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1T7K7d-0003sx-Ba b59a28f1ea98a776e4d0e712e0121733
X-Original-To: ietf-http-wg@w3.org
Subject: Status of draft-ietf-appsawg-http-forwarded
Archived-At: <http://www.w3.org/mid/CALaySJLPNzx=WVWSkVQPV7pYZu2wHU88p9mu6gguu7QW5wXKGA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15171
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>

I posted the following message to apps-discuss@ietf.org
If you respond to it, please do NOT respond here, on the HTTP mailing list.
Respond either directly to me or to the apps-discuss list *only*.  Thanks.
------------------------------------------------------------------------

The IESG discussed draft-ietf-appsawg-http-forwarded-07 on this week's
teleconference (Thursday).  The IESG evaluation record can be found
here: http://datatracker.ietf.org/doc/draft-ietf-appsawg-http-forwarded/ballot/

Stephen Farrell holds the main objections, but several other ADs agree
with him or with variants of his position.  The main two points are
these:
(1) This is NOT a good thing to standardize, and we shouldn't.
(2) This causes a serious privacy exposure, so *if* we do standardize
it, we have to address that.

After the telechat, Stephen switched his ballot from DISCUSS to
ABSTAIN.  There are two other ABSTAIN positions.  There also remain
three DISCUSS positions.  The document cannot progress unless all
three of those DISCUSS positions are cleared *and* at least one of
them moves to NO OBJECTION (well, *and* that assumes that both ADs who
are on vacation come back and ballot NO OBJECTION as well).

In short, this document is in serious trouble.

To continue discussion, the IESG intends to have a teleconference with
the document authors, and perhaps with other proponents.  If anyone
would like to actively participate in that discussion, please contact
me off list, and we'll see if we can add you -- we do need to keep it
small.  Then we'll see if we have a way forward.

Barry

