W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2012

Re: Rechartering HTTPbis

From: Patrick McManus <pmcmanus@mozilla.com>
Date: Thu, 26 Jan 2012 09:47:56 -0500
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Message-ID: <1327589276.2052.415.camel@ds9>
On Thu, 2012-01-26 at 08:39 +0000, Poul-Henning Kamp wrote:

> Second, we cannot know if the other end is HTTP/1.1 or HTTP/2.0 until
> we see its reply, so the first request would always be in HTTP/1.1 format.

That's a problem with HTTP/1 that needs to be fixed in HTTP/2. not only
do you not know the server protocol version until you see the first
response you aren't actually guaranteed that the version applies to
anything except that one response.

Due to LB and scripting gateways we see the server response version
change in between response headers on the same connection all the time.

In http/2 We need to define a version level for the connection
properties that does not change once the connection is established, and
probably still allow individual responses to define what level of the
spec they were created at for their non-connection oriented headers to
be interpreted correctly.

SPDY has this problem tackled too. The spdy vs http/1 negotiation is
done as part of the SSL handshake using NPN. The negotiation doesn't add
any new round trips to the handshake and it allows either a clear path
for spdy or a fall back to http/1 before any application protocol bytes
are sent down the pipe. New versions of the protocol would be selected
in the same way.

And yes, I believe mandatory security is a desirable property to be able
to rely on 100% of the time. Some will disagree.
Received on Thursday, 26 January 2012 14:48:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:11:00 UTC