Re: [hybi] Review of draft-ietf-hybi-thewebsocketprotocol-13

Iñaki Baz Castillo <ibc@aliax.net> Sat, 03 September 2011 10:20 UTC

Return-Path: <ibc@aliax.net>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F27BD21F8C11; Sat, 3 Sep 2011 03:20:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.645
X-Spam-Level:
X-Spam-Status: No, score=-2.645 tagged_above=-999 required=5 tests=[AWL=0.032, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3+Ntl0klvExG; Sat, 3 Sep 2011 03:20:28 -0700 (PDT)
Received: from mail-qy0-f179.google.com (mail-qy0-f179.google.com [209.85.216.179]) by ietfa.amsl.com (Postfix) with ESMTP id 52D3021F8B63; Sat, 3 Sep 2011 03:20:28 -0700 (PDT)
Received: by qyk35 with SMTP id 35so2255962qyk.10 for <multiple recipients>; Sat, 03 Sep 2011 03:22:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.61.142 with SMTP id t14mr113455qch.139.1315045325913; Sat, 03 Sep 2011 03:22:05 -0700 (PDT)
Received: by 10.229.79.207 with HTTP; Sat, 3 Sep 2011 03:22:05 -0700 (PDT)
In-Reply-To: <942CCA6B-B784-441B-96CA-3506FFC439E1@bbn.com>
References: <942CCA6B-B784-441B-96CA-3506FFC439E1@bbn.com>
Date: Sat, 03 Sep 2011 12:22:05 +0200
Message-ID: <CALiegfmyQ5h4S2FgBnrh2VLr8+q-h0sLiGsww7T+1VwYNRo4wQ@mail.gmail.com>
From: Iñaki Baz Castillo <ibc@aliax.net>
To: "Richard L. Barnes" <rbarnes@bbn.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Cc: General Area Review Team <gen-art@ietf.org>, hybi@ietf.org
Subject: Re: [hybi] Review of draft-ietf-hybi-thewebsocketprotocol-13
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Sat, 03 Sep 2011 10:20:29 -0000

2011/9/2 Richard L. Barnes <rbarnes@bbn.com>:
> Section 5.6, "Note that a particular text frame might include a partial UTF-8 sequence, however the whole message MUST contain valid UTF-8"
> This requirement is meaningless, since the concept of a "message" is not defined here.  Suggest going back to a requirement that a frame MUST contain valid UTF-8 (i.e., that it breaks at code-point boundaries).

No please. This has been already discussed.

Imagine I must send a very big WS UTF-8 message and due to max frame
size requeriments (still to know how such requiremente is
"negotiated") I need to split it in N frames. This feature would work
at the very transport core layer.

Probably I have a function that splits the whole WS message into
chunks of N bytes (I mean "bytes" because I do know the max frame size
in *bytes*), so such function just counts N bytes from the WS message
and generates a frame. Please don't force such function to be
Unicode/UTF-8 aware, no please.

-- 
Iñaki Baz Castillo
<ibc@aliax.net>