Re: [hybi] short term requirements

Jamie Lokier <jamie@shareable.org> Sun, 18 October 2009 05:03 UTC

Return-Path: <jamie@shareable.org>
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 0690D3A680B for <hybi@core3.amsl.com>; Sat, 17 Oct 2009 22:03:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.338
X-Spam-Level:
X-Spam-Status: No, score=0.338 tagged_above=-999 required=5 tests=[AWL=-0.717, BAYES_40=-0.185, SARE_LWSHORTT=1.24]
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 4ZPlOuh2qPxR for <hybi@core3.amsl.com>; Sat, 17 Oct 2009 22:03:05 -0700 (PDT)
Received: from mail2.shareable.org (mail2.shareable.org [80.68.89.115]) by core3.amsl.com (Postfix) with ESMTP id 23CF63A67E7 for <hybi@ietf.org>; Sat, 17 Oct 2009 22:03:05 -0700 (PDT)
Received: from jamie by mail2.shareable.org with local (Exim 4.63) (envelope-from <jamie@shareable.org>) id 1MzNv9-0004l0-Ju; Sun, 18 Oct 2009 06:03:07 +0100
Date: Sun, 18 Oct 2009 06:03:07 +0100
From: Jamie Lokier <jamie@shareable.org>
To: Greg Wilkins <gregw@webtide.com>
Message-ID: <20091018050307.GL15656@shareable.org>
References: <4AD89C07.8060500@ericsson.com> <4ADAA05A.4050301@webtide.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <4ADAA05A.4050301@webtide.com>
User-Agent: Mutt/1.5.13 (2006-08-11)
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] short term requirements
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: Sun, 18 Oct 2009 05:03:06 -0000

Greg Wilkins wrote:
> Salvatore Loreto wrote:
> > This is a call to collect requirements that you think a Short Term
> > solution should meet.
> >
> > Req.   possibility for the intermediaries to access and modify it
> > Req.   it must be usable from multiple (existing) browser
> > Req.   it must be easily to use and accessible from different protocols
> > (e.g. Bayeux, Bosh etc)
> > Req.   it must be easy to deploy in the existing infrastructure
> > Req.   it has really improve the bi-directional communication (not just
> > push from a server to a client)
> > Req.   it has not introduce any security hole
> > 
> > please provide comments, opinions, suggestion.
> 
> 
> I would like to add
> 
> Req.   That there must be a standard way to indicate that a HTTP request is
>        being used for bidirectional purposes, preferably distinguishing
>        streaming and long polling uses.
> 
> This will allow HTTP implementations to avoid pitfalls such as
> pipelining behind long polls, and to warn if limited thread pools
> are exhausted by long held requests.

I agree with Greg, and would like to add that I'm not sure if
"Connection: close" is adequate for that purpose.  It's not as
descriptive, but is it (a) enough for all existing proxies and servers
to behave well; (b) is something more specific to streaming and long
polling useful?

-- Jamie