Re: Upgrade status for impl draft 1

Roberto Peon <grmocg@gmail.com> Fri, 22 February 2013 13:42 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4338021F8E2E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Feb 2013 05:42:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.549
X-Spam-Level:
X-Spam-Status: No, score=-10.549 tagged_above=-999 required=5 tests=[AWL=0.049, 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 ndZLH0cI4rOr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Feb 2013 05:42:15 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7A1D621F8E2C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Feb 2013 05:42:15 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1U8ssu-0001S8-6e for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Feb 2013 13:41:56 +0000
Resent-Date: Fri, 22 Feb 2013 13:41:56 +0000
Resent-Message-Id: <E1U8ssu-0001S8-6e@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 1U8ssl-0001RJ-U9 for ietf-http-wg@listhub.w3.org; Fri, 22 Feb 2013 13:41:47 +0000
Received: from mail-oa0-f43.google.com ([209.85.219.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1U8ssl-0005tL-8R for ietf-http-wg@w3.org; Fri, 22 Feb 2013 13:41:47 +0000
Received: by mail-oa0-f43.google.com with SMTP id l10so602316oag.30 for <ietf-http-wg@w3.org>; Fri, 22 Feb 2013 05:41:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=eAI1D60t4M9k8tzUbexrThOVSWSYpJxHrVdJ/6969HQ=; b=PHEdtjjx28hij6kQ+c3MFIN5Di1/N+A1lzJa8S5s2QG2ass98g7ME8FkQinVvLk+0F mbDa4Otc40QFnUAaPT3BTw7aVmT7BsoJ+psMPU4CPTIrZvAjW29fP2PdyGSJ+DFnUJWz 948kix+lF0rT+RMNOKGiWhsi1OhZTFqWRo6kuN3A8FA10k0DowefkJ49Q0RZZ+dMhCdN 0DBh4tjaBhH4P3Lybjpb75sjZg1/FB1potguT7wGyog2TDJSpPKW4PisIrtpeTKCaNAV Esx1sR0uF/jk7LlJyJCUBwRRmqZtiWT/5XMcu+P0gCoZ+WKtWkC9HN5UUdOoOUR115++ bb0w==
MIME-Version: 1.0
X-Received: by 10.60.172.84 with SMTP id ba20mr795337oec.10.1361540481201; Fri, 22 Feb 2013 05:41:21 -0800 (PST)
Received: by 10.76.167.193 with HTTP; Fri, 22 Feb 2013 05:41:21 -0800 (PST)
In-Reply-To: <20130222133821.GB14696@1wt.eu>
References: <B0FC9D1E-08EF-4275-9851-C8F33F24FF00@mnot.net> <20130222070214.GA14218@1wt.eu> <CAP+FsNfsNV1Ra1U3KT9u7D5NxYTNO_CVaG4u90MELbwq2fUU-A@mail.gmail.com> <20130222133821.GB14696@1wt.eu>
Date: Fri, 22 Feb 2013 05:41:21 -0800
Message-ID: <CAP+FsNcXM0=4WTFidPupGO155qcNHJhjAdAHg2UFEOg_iKLyjg@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="bcaec55408acbab5c904d6505863"
Received-SPF: pass client-ip=209.85.219.43; envelope-from=grmocg@gmail.com; helo=mail-oa0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.621, 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 1U8ssl-0005tL-8R d84f30bf5823bd06343fd5f7d7087578
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Upgrade status for impl draft 1
Archived-At: <http://www.w3.org/mid/CAP+FsNcXM0=4WTFidPupGO155qcNHJhjAdAHg2UFEOg_iKLyjg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16758
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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're agreeing, then, pre-supposing that we're expecting an
HTTP/1.1 server on the other side.
-=R


On Fri, Feb 22, 2013 at 5:38 AM, Willy Tarreau <w@1wt.eu> wrote:

> On Fri, Feb 22, 2013 at 05:14:03AM -0800, Roberto Peon wrote:
> > Are you proposing following normal Upgrade semantics (that would add an
> RT,
> > bleh).
> > The magic which we have now is intended to make noncompliant
> intermediaries
> > barf. We know that Upgrade doesn't work particularly well for this from
> WS
> > experimentation, and a successful Upgrade (as viewed from the server's
> > perspective) doesn't necessarily mean that you're free-and-clear to talk
> in
> > the next protocol.
>
> I agree on this last point, but this probably is where the magic can help
> if
> placed at the proper location. In WS, we refrained from sending anything
> along
> with the handshake. However there is nothing that prevents us from sending
> the
> upgrade and the magic in the same packet to validate that the channel
> really
> is open :
>
>  > HEAD * HTTP/1.1
>  > Host: foo
>  > Upgrade: HTTP/2.0
>  > Connection: Upgrade
>  >
>  > MAGIC-request
>  (first frame etc...)
>
>  < HTTP/1.1 101 Switching
>  < Upgrade: HTTP/2.0
>  < Connection: Upgrade
>  <
>  < MAGIC-response
>
> And then it makes a lot of sense to have a MAGIC-request above that
> should cause an abort on most systems (as Mark has been experimenting
> with), because as long as intermediaries are 1.1-compliant, they will
> correctly forward 2.0 to the end point without breaking the connection.
> The ones broken will only be the non-compliant ones.
>
> Willy
>
>