Re: [hybi] new version hybi-requirements

Jamie Lokier <jamie@shareable.org> Wed, 17 March 2010 14:56 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 79D923A6C8E for <hybi@core3.amsl.com>; Wed, 17 Mar 2010 07:56:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.615
X-Spam-Level:
X-Spam-Status: No, score=-0.615 tagged_above=-999 required=5 tests=[AWL=-1.746, BAYES_50=0.001, DNS_FROM_OPENWHOIS=1.13]
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 QWGWPNHFOvp0 for <hybi@core3.amsl.com>; Wed, 17 Mar 2010 07:56:11 -0700 (PDT)
Received: from mail2.shareable.org (mail2.shareable.org [80.68.89.115]) by core3.amsl.com (Postfix) with ESMTP id 349EA28C0FA for <hybi@ietf.org>; Wed, 17 Mar 2010 07:47:51 -0700 (PDT)
Received: from jamie by mail2.shareable.org with local (Exim 4.63) (envelope-from <jamie@shareable.org>) id 1NruXN-0004Pg-L8; Wed, 17 Mar 2010 14:47:57 +0000
Date: Wed, 17 Mar 2010 14:47:57 +0000
From: Jamie Lokier <jamie@shareable.org>
To: Scott Ferguson <ferg@caucho.com>
Message-ID: <20100317144757.GB15235@shareable.org>
References: <4B9554A0.1000909@ericsson.com> <4B9563F7.6020706@caucho.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <4B9563F7.6020706@caucho.com>
User-Agent: Mutt/1.5.13 (2006-08-11)
Cc: Hybi <hybi@ietf.org>
Subject: Re: [hybi] new version hybi-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: Wed, 17 Mar 2010 14:56:12 -0000

Scott Ferguson wrote:
> So REQ 11 might have a corresponding server requirement, where the 
> server can reject the upgrade if the client's sub-protocol is missing 
> (and obviously allow the server to reject the connection if the 
> sub-protocol is wrong.)

When it does get rejected, it's highly desirable that the client can
try again with different parameters on the same connection.

Otherwise the only way for a client to negotiate a newer protocol and
be backward compatible with older servers will be to cache the
behaviour of a particular IP address and port - and hope it gets the
same server each time it connects.  Also, that's slow, and pushes NAT
connection limits.  (Trying again is also a bit slow but I don't
expect consensus on anything more sophisticated).

-- Jamie