Re: [hybi] #1: HTTP Compliance

Roberto Peon <fenix@google.com> Wed, 19 May 2010 01:56 UTC

Return-Path: <fenix@google.com>
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 1949E3A6A77 for <hybi@core3.amsl.com>; Tue, 18 May 2010 18:56:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.024
X-Spam-Level:
X-Spam-Status: No, score=-104.024 tagged_above=-999 required=5 tests=[AWL=0.463, BAYES_05=-1.11, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 1sNGyGpMn5rT for <hybi@core3.amsl.com>; Tue, 18 May 2010 18:56:23 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by core3.amsl.com (Postfix) with ESMTP id 228AF3A67D9 for <hybi@ietf.org>; Tue, 18 May 2010 18:56:22 -0700 (PDT)
Received: from wpaz13.hot.corp.google.com (wpaz13.hot.corp.google.com [172.24.198.77]) by smtp-out.google.com with ESMTP id o4J1uAqG031341 for <hybi@ietf.org>; Tue, 18 May 2010 18:56:10 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1274234171; bh=PuOFGHg0KPy3qQRkzC10HXafd4o=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type; b=nzqJr22P2DHFBwqvDdyWKpteEJQydvxPFVGH8bLvt/h1KxyzfhuU97XzslHhNp6Vs nmGUhVd++XaO3F/tIWNmg==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:x-system-of-record; b=Tp55hdywV7UAd74a5fjfxihZNm39Q+XZ5Y6O3U5PI08OnIiyLDOXSKKmkozv6+Iy4 WtDGOVDaLmaBYwUZmEhQQ==
Received: from ywh14 (ywh14.prod.google.com [10.192.8.14]) by wpaz13.hot.corp.google.com with ESMTP id o4J1u9xv026741 for <hybi@ietf.org>; Tue, 18 May 2010 18:56:10 -0700
Received: by ywh14 with SMTP id 14so3757945ywh.25 for <hybi@ietf.org>; Tue, 18 May 2010 18:56:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.150.207.21 with SMTP id e21mr8361228ybg.416.1274234169135; Tue, 18 May 2010 18:56:09 -0700 (PDT)
Received: by 10.150.184.18 with HTTP; Tue, 18 May 2010 18:56:09 -0700 (PDT)
In-Reply-To: <20100519013535.GC2318@shareable.org>
References: <4BF11920.2080307@webtide.com> <4BF12FF1.2020101@webtide.com> <15307.1274106895.116423@Sputnik> <Pine.LNX.4.64.1005172259030.22838@ps20323.dreamhostps.com> <20100518003753.GP20356@shareable.org> <Pine.LNX.4.64.1005180229430.22838@ps20323.dreamhostps.com> <20100518121245.GR20356@shareable.org> <AANLkTiniCjBwm5T59as8jByM5xDhPMrea-GqZFpWPAVS@mail.gmail.com> <AANLkTilVEuXrEgWvUzh2H9Nqxrvk7FbTSahveU92ZfkP@mail.gmail.com> <20100519013535.GC2318@shareable.org>
Date: Tue, 18 May 2010 18:56:09 -0700
Message-ID: <AANLkTindDWqbru6wwf3kgtK39v73PkSC47_eg0BKz53V@mail.gmail.com>
From: Roberto Peon <fenix@google.com>
To: Jamie Lokier <jamie@shareable.org>
Content-Type: multipart/alternative; boundary="000e0cdf0ee40314170486e8c3f6"
X-System-Of-Record: true
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] #1: HTTP Compliance
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: Wed, 19 May 2010 01:56:24 -0000

On Tue, May 18, 2010 at 6:35 PM, Jamie Lokier <jamie@shareable.org> wrote:

> Roberto Peon wrote:
> >
> >    On Tue, May 18, 2010 at 5:31 AM, Greg Wilkins <[1]gregw@webtide.com>
> >    wrote:
> >
> >    On 18 May 2010 14:12, Jamie Lokier <[2]jamie@shareable.org> wrote:
> >    > I'm arguing that the second object should be able to reuse the
> >    > connection resulting from the first one's failure to negotiate on
> >    the
> >    > same port
> >
> >      Exactly!
> >      If the handshake is HTTP compliant, then the connection for a
> >      websocket handshake could be taken from the existing pool of
> >      idle connections to a host.  That would save the time needed to
> >      establish the connection.
> >      If the handshake is HTTP compliant, then a rejected websocket
> >      handshake could put the connection back into the idle pool to be
> >      available for subsequent handshakes or XHRs.
> >      If the handshake is not HTTP compliant, then the connection
> >      needs to be created on every handshake and disposed as
> >      untrusted after every rejection.
> >
> >    Which, to use the technical phrase, sucks.
>
> What do you mean?  I don't understand your point at all.
>
> Do you mean that the current design preventing reuse sucks, or that
> doing reuse would suck (even though you wouldn't have to if you didn't
> want to)?
>

Heh.

And in case I'm misunderstanding the joke when it was a serious question,
preventing reuse sucks...

-=R


>
> -- Jamie
>