Re: [hybi] Last Call: <draft-ietf-hybi-thewebsocketprotocol-10.txt> (The WebSocket protocol) to Proposed Standard: request for max frame size

"Len Holgate" <> Wed, 13 July 2011 18:36 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id B76C722801E; Wed, 13 Jul 2011 11:36:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id vSZVWkfWLknk; Wed, 13 Jul 2011 11:36:11 -0700 (PDT)
Received: from ( []) by (Postfix) with ESMTP id DD7FA228017; Wed, 13 Jul 2011 11:36:07 -0700 (PDT)
Received: by wyj26 with SMTP id 26so358241wyj.31 for <multiple recipients>; Wed, 13 Jul 2011 11:36:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=from:to:cc:references:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:in-reply-to :thread-index:x-mimeole; bh=fBY+uDDFM/RE1yohLQP6nCAuEbVdUmKrFYJvN7gndrg=; b=inzVzIQ9Jn4OqY8ig0Qr8ty1rjrqmN8O+oD4sva5qrt7iJljL+qaLeKkjlMOPMEdV9 sIS3KObx+RZOBGq46/NwA2a6ugCMVRmeDbOFTc0PD7CYk9RC3659Aaetli4FpGFS9CdF ScObPFOeUxXR7QQUe7ul2If6QPMxr/D9fNgJo=
Received: by with SMTP id z22mr5470551wej.32.1310582165518; Wed, 13 Jul 2011 11:36:05 -0700 (PDT)
Received: from Venus ( []) by with ESMTPS id n17sm6885982wed.16.2011. (version=SSLv3 cipher=OTHER); Wed, 13 Jul 2011 11:36:04 -0700 (PDT)
From: "Len Holgate" <>
To: "'Francis Brosnan Blazquez'" <>
References: <> <> <1310480036.26452.329.camel@vulcan.aspl.local> <1bc701cc4135$efbf8540$0a00a8c0@Venus> <1310567252.26452.1396.camel@vulcan.aspl.local>
Date: Wed, 13 Jul 2011 19:35:53 -0000
Message-ID: <1cc601cc4194$153fcdd0$0a00a8c0@Venus>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <1310567252.26452.1396.camel@vulcan.aspl.local>
Thread-Index: AcxBaQZNU9OGEcHESiCXt+MvxSkd1AAKqeig
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3664
Cc: 'Hybi' <>,,
Subject: Re: [hybi] Last Call: <draft-ietf-hybi-thewebsocketprotocol-10.txt> (The WebSocket protocol) to Proposed Standard: request for max frame size
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Server-Initiated HTTP <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Wed, 13 Jul 2011 18:36:15 -0000


> Ok, It shouldn't be a negotiation but an indication to accommodate
> communication to each party.

Fair point.

> Ok, it is important to note the peer is limiting max frame 
> size not the
> message size which may be still infinite in practical terms (63
> bits)....and we have fragmentation support to deal with this.

I understand. I was just pointing out that in your example, if the client
instead decided to limit the size of messages that it sent then then nothing
could cause any frames to be larger than that limit when they arrived at the

> 1) Protocol problems should be solved on its layer, otherwise it will
>    cause next layer (application level in this case) to need to solve
>    them. It looks reasonable not forcing people to do so.


> 2) In general, it has lot of benefits to fragment bigger messages into
>    smaller pieces to avoid sick interactions. 


> 3) No matter API style provided by a websocket stack (frame indication
> or stream oriented), having framing running in the background 
> where the
> sending peer and intermediaries can coalesce frames without any
> indication of the upper level will cause problems that can't be solved
> in practical terms by a receiving side.