Re: [hybi] workability (or otherwise) of HTTP upgrade

Willy Tarreau <w@1wt.eu> Fri, 10 December 2010 09:49 UTC

Return-Path: <w@1wt.eu>
X-Original-To: hybi@core3.amsl.com
Delivered-To: hybi@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C0B1D28C136 for <hybi@core3.amsl.com>; Fri, 10 Dec 2010 01:49:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.312
X-Spam-Level:
X-Spam-Status: No, score=-2.312 tagged_above=-999 required=5 tests=[AWL=-0.269, BAYES_00=-2.599, HELO_IS_SMALL6=0.556]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id btEKcyFziY7O for <hybi@core3.amsl.com>; Fri, 10 Dec 2010 01:49:19 -0800 (PST)
Received: from 1wt.eu (1wt.eu [62.212.114.60]) by core3.amsl.com (Postfix) with ESMTP id 7A81A28C0D7 for <hybi@ietf.org>; Fri, 10 Dec 2010 01:49:18 -0800 (PST)
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id oBA9okkg015769; Fri, 10 Dec 2010 10:50:46 +0100
Date: Fri, 10 Dec 2010 10:50:46 +0100
From: Willy Tarreau <w@1wt.eu>
To: Greg Wilkins <gregw@webtide.com>
Message-ID: <20101210095046.GB15383@1wt.eu>
References: <4F2580A7-79C2-4B0A-BCE5-7FB6D9AA0ED7@apple.com> <BB31C4AB95A70042A256109D461991260583956C@XCH117CNC.rim.net> <EA41A6C7-971C-4EC8-AA6F-96363B7FDC4C@gmail.com> <73E53F19-E0E7-4ADB-B765-ABAF0B4A6736@mnot.net> <r2f0g6d7bj770kg0db5ptr027ninmckns8@hive.bjoern.hoehrmann.de> <20C2FBB9-901F-4235-AF23-EC8262585905@mnot.net> <1291905941.2315.2113.camel@ds9.ducksong.com> <4D011146.3080906@caucho.com> <AANLkTi=CKU8H5A2f7rSGZ9h5mrp=NZW0yLB9O6=MDW5i@mail.gmail.com> <AANLkTimk5ZzWKusxM7m2eQwTu+vnqa9S__EvLZJ47OSt@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <AANLkTimk5ZzWKusxM7m2eQwTu+vnqa9S__EvLZJ47OSt@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Cc: hybi <hybi@ietf.org>
Subject: Re: [hybi] workability (or otherwise) of HTTP upgrade
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Dec 2010 09:49:19 -0000

On Fri, Dec 10, 2010 at 10:39:51AM +0100, Greg Wilkins wrote:
> On 9 December 2010 20:42, Zhong Yu <zhong.j.yu@gmail.com> wrote:
> > I believe HTTP cookies shouldn't be included in WS, and I'll make that
> > case in time.
> 
> If WS starts with a normal HTTP request, then I think that request
> should fully respect the current state of the art with regards to
> cookies.  It is a HTTP request and will be routed and handled by
> existing HTTP mechanisms, many of which use Cookies as part of their
> security, routing or other value add. Whatever you think of cookies as
> a design, adding additional exceptions and provisions for special HTTP
> requests is just going to add to confusion and make worse designs.

Cookies are indeed important, they're very commonly used to provide
stickiness information, so that a user can stick to the same server
among a farm. For instance, a user will connect to a server for the
web part and will have to reconnect to the WS part on the same server
because of a shared context or such. Also some sites will probably
want to ensure that users who get disconnected due to timeouts or
any reason always reconnect to the same server.

Willy