Re: [hybi] WebSocket feedback

Ian Hickson <ian@hixie.ch> Thu, 04 March 2010 03:43 UTC

Return-Path: <ian@hixie.ch>
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 B43D33A859E for <hybi@core3.amsl.com>; Wed, 3 Mar 2010 19:43:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.577
X-Spam-Level:
X-Spam-Status: No, score=-2.577 tagged_above=-999 required=5 tests=[AWL=0.023, 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 vA94MpIMN6hu for <hybi@core3.amsl.com>; Wed, 3 Mar 2010 19:43:51 -0800 (PST)
Received: from looneymail-a1.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by core3.amsl.com (Postfix) with ESMTP id C87863A80F5 for <hybi@ietf.org>; Wed, 3 Mar 2010 19:43:51 -0800 (PST)
Received: from ps20323.dreamhostps.com (ps20323.dreamhost.com [69.163.222.251]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by looneymail-a1.g.dreamhost.com (Postfix) with ESMTP id D560515D57F; Wed, 3 Mar 2010 19:43:53 -0800 (PST)
Date: Thu, 04 Mar 2010 03:43:53 +0000
From: Ian Hickson <ian@hixie.ch>
To: "Thomson, Martin" <Martin.Thomson@andrew.com>
In-Reply-To: <8B0A9FCBB9832F43971E38010638454F03DF097D47@SISPE7MB1.commscope.com>
Message-ID: <Pine.LNX.4.64.1003040342210.29593@ps20323.dreamhostps.com>
References: <8B0A9FCBB9832F43971E38010638454F032E566DDF@SISPE7MB1.commscope.com> <Pine.LNX.4.64.1002150605580.29686@ps20323.dreamhostps.com> <8B0A9FCBB9832F43971E38010638454F03DF097D47@SISPE7MB1.commscope.com>
Content-Language: en-GB-hixie
Content-Style-Type: text/css
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
Cc: Hybi <hybi@ietf.org>
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:43:52 -0000

On Thu, 4 Mar 2010, Thomson, Martin wrote:
>
>    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.

Er, my bad. That was meant to be big endian. Fixed.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'