Re: [hybi] #1: HTTP Compliance

Roberto Peon <fenix@google.com> Tue, 18 May 2010 17:30 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 4174628C203 for <hybi@core3.amsl.com>; Tue, 18 May 2010 10:30:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.804
X-Spam-Level:
X-Spam-Status: No, score=-103.804 tagged_above=-999 required=5 tests=[AWL=0.313, BAYES_20=-0.74, 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 iiI4LTEXDVPm for <hybi@core3.amsl.com>; Tue, 18 May 2010 10:30:07 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by core3.amsl.com (Postfix) with ESMTP id 2459C3A6CAA for <hybi@ietf.org>; Tue, 18 May 2010 10:26:13 -0700 (PDT)
Received: from hpaq1.eem.corp.google.com (hpaq1.eem.corp.google.com [172.25.149.1]) by smtp-out.google.com with ESMTP id o4IHQ4mA026456 for <hybi@ietf.org>; Tue, 18 May 2010 10:26:04 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1274203565; bh=/eqryfx1afvcZggAXZRDGQ3jORY=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type; b=ZRfw+V79cBBDwWHxG8NQ2Y2TfLttsfEYF10MRy41cOc3ajJJ5ho9hzHbCQo1Ka3r5 DfycgWcqTf57wYIfMWv+A==
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=nHJBaxkqxmkP1McmGwVxyqKbuGWBZPUdOjibdKBZ49gOankZPq13luPmkQfiL/nf0 rAXHSBcoxT8rwKnc71S5A==
Received: from gwj18 (gwj18.prod.google.com [10.200.10.18]) by hpaq1.eem.corp.google.com with ESMTP id o4IHQ1WO004430 for <hybi@ietf.org>; Tue, 18 May 2010 10:26:03 -0700
Received: by gwj18 with SMTP id 18so5788157gwj.2 for <hybi@ietf.org>; Tue, 18 May 2010 10:26:01 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.150.159.21 with SMTP id h21mr8035428ybe.443.1274203561499; Tue, 18 May 2010 10:26:01 -0700 (PDT)
Received: by 10.150.184.18 with HTTP; Tue, 18 May 2010 10:26:01 -0700 (PDT)
In-Reply-To: <AANLkTiniCjBwm5T59as8jByM5xDhPMrea-GqZFpWPAVS@mail.gmail.com>
References: <068.d07026741c6694cd80652d2a7d34f236@tools.ietf.org> <4BF11920.2080307@webtide.com> <Pine.LNX.4.64.1005171039050.25609@ps20323.dreamhostps.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>
Date: Tue, 18 May 2010 10:26:01 -0700
Message-ID: <AANLkTilVEuXrEgWvUzh2H9Nqxrvk7FbTSahveU92ZfkP@mail.gmail.com>
From: Roberto Peon <fenix@google.com>
To: Greg Wilkins <gregw@webtide.com>
Content-Type: multipart/alternative; boundary="000e0cd731faa79c970486e1a2d2"
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: Tue, 18 May 2010 17:30:08 -0000

On Tue, May 18, 2010 at 5:31 AM, Greg Wilkins <gregw@webtide.com> wrote:

> On 18 May 2010 14:12, Jamie Lokier <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.

-=R


>
> regards
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>