Re: [hybi] Multiple connections serialization and proxies

Greg Wilkins <gregw@webtide.com> Wed, 21 July 2010 22:51 UTC

Return-Path: <gregw@webtide.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 3EF103A68A3 for <hybi@core3.amsl.com>; Wed, 21 Jul 2010 15:51:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.705
X-Spam-Level:
X-Spam-Status: No, score=-1.705 tagged_above=-999 required=5 tests=[AWL=0.271, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
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 1wuQVZ9l25o5 for <hybi@core3.amsl.com>; Wed, 21 Jul 2010 15:51:13 -0700 (PDT)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by core3.amsl.com (Postfix) with ESMTP id 57AD63A659C for <hybi@ietf.org>; Wed, 21 Jul 2010 15:51:13 -0700 (PDT)
Received: by fxm1 with SMTP id 1so4338526fxm.31 for <hybi@ietf.org>; Wed, 21 Jul 2010 15:51:28 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.110.134 with SMTP id n6mr1001097fap.79.1279752688475; Wed, 21 Jul 2010 15:51:28 -0700 (PDT)
Received: by 10.223.112.129 with HTTP; Wed, 21 Jul 2010 15:51:28 -0700 (PDT)
In-Reply-To: <Pine.LNX.4.64.1007212217140.7242@ps20323.dreamhostps.com>
References: <4BCF4932.8040303@gmail.com> <4BD09A2C.6060506@gmail.com> <x2n557ae281004221224i2a9a46c0k6f6f684c94de255c@mail.gmail.com> <8B0A9FCBB9832F43971E38010638454F03E7D06DF7@SISPE7MB1.commscope.com> <20100422225448.GG13951@shareable.org> <8B0A9FCBB9832F43971E38010638454F03E7D06E00@SISPE7MB1.commscope.com> <20100422230957.GI13951@shareable.org> <8B0A9FCBB9832F43971E38010638454F03E7D06E06@SISPE7MB1.commscope.com> <20100423001858.GA22326@shareable.org> <8B0A9FCBB9832F43971E38010638454F03E7D06E28@SISPE7MB1.commscope.com> <20100423103715.GB32366@shareable.org> <Pine.LNX.4.64.1007202216350.7242@ps20323.dreamhostps.com> <AANLkTik-ZXv6VT3rZvzYxq5P=eGYirnTnwKD1qMcpTEp@mail.gmail.com> <Pine.LNX.4.64.1007212217140.7242@ps20323.dreamhostps.com>
Date: Thu, 22 Jul 2010 08:51:28 +1000
Message-ID: <AANLkTilTH4AFdKO4xgiiCSI9qTwHbsHhgn9p00dUy-EX@mail.gmail.com>
From: Greg Wilkins <gregw@webtide.com>
To: Ian Hickson <ian@hixie.ch>
Content-Type: multipart/alternative; boundary="001636c5bbe2659ce5048beda4ae"
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Multiple connections serialization and proxies
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, 21 Jul 2010 22:51:15 -0000

On 22 July 2010 08:28, Ian Hickson <ian@hixie.ch> wrote:

There's no lack of extensibility and negotiation, both are built into the
> protocol. Future versions of the protocol can simply define new option
> fields that the client can include to announce support and that the server
> can include to announce opt-in. For example, the client could say:
>
>   Sec-WebSocket-Compression: gzip bzip2
>
> ...and the server might then respond with:
>
>   Sec-WebSocket-Compression: gzip
>
>
Ian,

That will not work, because old versions of websocket are constrained by the
current standard to reject connections with unknown headers.     So if a
future version introduced such a header, it would immediately make new
client unable to interoperate with old servers.

If we do not allow arbitrary headers, then we will severely limit our
options for upgrading the protocol in the future.