[hybi] masked frames

Justin Lee <jlee@antwerkz.com> Mon, 21 February 2011 22:22 UTC

Return-Path: <jlee@antwerkz.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 4CB4F3A717A for <hybi@core3.amsl.com>; Mon, 21 Feb 2011 14:22:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.996
X-Spam-Level:
X-Spam-Status: No, score=-1.996 tagged_above=-999 required=5 tests=[AWL=0.980, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 vqDlLXbGHqXx for <hybi@core3.amsl.com>; Mon, 21 Feb 2011 14:22:32 -0800 (PST)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by core3.amsl.com (Postfix) with ESMTP id ACFEF3A716D for <hybi@ietf.org>; Mon, 21 Feb 2011 14:22:31 -0800 (PST)
Received: by fxm15 with SMTP id 15so3001790fxm.31 for <hybi@ietf.org>; Mon, 21 Feb 2011 14:23:13 -0800 (PST)
MIME-Version: 1.0
Received: by 10.223.48.194 with SMTP id s2mr2475110faf.129.1298326993792; Mon, 21 Feb 2011 14:23:13 -0800 (PST)
Received: by 10.223.10.144 with HTTP; Mon, 21 Feb 2011 14:23:13 -0800 (PST)
Date: Mon, 21 Feb 2011 17:23:13 -0500
Message-ID: <AANLkTik9b6akTvBDiy-8DUMptevsMsOyLO78BgMPXq9L@mail.gmail.com>
From: Justin Lee <jlee@antwerkz.com>
To: hybi@ietf.org
Content-Type: multipart/alternative; boundary="00151747932a446e82049cd24fec"
Subject: [hybi] masked frames
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: Mon, 21 Feb 2011 22:22:33 -0000

When the client sends the frames it has to mask the data.  But is the whole
frame masked?  or just the payload/application data?  In the case of the
former then, we'd send the 4 bytes for the mask, then the XORed bytes of the
entire frame including all the opcodes and frame length bytes as well, yes?
 In this case, masked or not, the frame structure won't change, it will just
have a envelope, so to speak, wrapping it on the wire.  Is that correct?

-- 
You can find me on the net at:
http://antwerkz.com
http://www.linkedin.com/in/justinlee
http://www.twitter.com/evanchooly