Re: [hybi] WebSocket feedback

"Thomson, Martin" <Martin.Thomson@andrew.com> Thu, 04 March 2010 03:37 UTC

Return-Path: <Martin.Thomson@andrew.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 BF6CE28C1B2 for <hybi@core3.amsl.com>; Wed, 3 Mar 2010 19:37:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599]
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 QS2t1xV4J5pP for <hybi@core3.amsl.com>; Wed, 3 Mar 2010 19:37:36 -0800 (PST)
Received: from csmailgw2.commscope.com (csmailgw2.commscope.com [198.135.207.242]) by core3.amsl.com (Postfix) with ESMTP id 02FFF28C150 for <hybi@ietf.org>; Wed, 3 Mar 2010 19:37:35 -0800 (PST)
Received: from [10.86.20.102] ([10.86.20.102]:58402 "EHLO ACDCE7HC1.commscope.com") by csmailgw2.commscope.com with ESMTP id S149892Ab0CDDhg (ORCPT <rfc822; hybi@ietf.org>); Wed, 3 Mar 2010 21:37:36 -0600
Received: from SISPE7HC2.commscope.com (10.97.4.13) by ACDCE7HC1.commscope.com (10.86.20.93) with Microsoft SMTP Server (TLS) id 8.1.393.1; Wed, 3 Mar 2010 21:37:35 -0600
Received: from SISPE7MB1.commscope.com ([fe80::9d82:a492:85e3:a293]) by SISPE7HC2.commscope.com ([fe80::58c3:2447:f977:57c3%10]) with mapi; Thu, 4 Mar 2010 11:37:34 +0800
From: "Thomson, Martin" <Martin.Thomson@andrew.com>
To: Ian Hickson <ian@hixie.ch>, Hybi <hybi@ietf.org>
Date: Thu, 04 Mar 2010 11:38:48 +0800
Thread-Topic: [hybi] WebSocket feedback
Thread-Index: Acq7SewJckXKNKeoQdSTA+hQ6LlOzAAAY3Cw
Message-ID: <8B0A9FCBB9832F43971E38010638454F03DF097D47@SISPE7MB1.commscope.com>
References: <8B0A9FCBB9832F43971E38010638454F032E566DDF@SISPE7MB1.commscope.com> <Pine.LNX.4.64.1002150605580.29686@ps20323.dreamhostps.com>
In-Reply-To: <Pine.LNX.4.64.1002150605580.29686@ps20323.dreamhostps.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-BCN: Meridius 1000 Version 3.4 on csmailgw2.commscope.com
X-BCN-Sender: Martin.Thomson@andrew.com
Subject: Re: [hybi] WebSocket feedback
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: Thu, 04 Mar 2010 03:37:38 -0000

   The concatenation of the number obtained from processing the |Sec-
   WebSocket-Key1| field, expressed as a little-endian 32 bit number,
   the number obtained from processing the |Sec-WebSocket-Key2| field,
   again expressed as a little-endian 32 bit number, and finally the
   eight bytes at the end of the handshake, form a 128 bit string whose
   MD5 sum is then used by the server to prove that it read the
   handshake.

Little-endian?

I'm from Blefuscu (i.e. the Internet), where we break our eggs on the big end.

This all seems a little complex and overcomplicated to me.