Re: [hybi] WS ABNF

Julian Reschke <julian.reschke@gmx.de> Tue, 16 February 2010 09:55 UTC

Return-Path: <julian.reschke@gmx.de>
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 A992C3A7C95 for <hybi@core3.amsl.com>; Tue, 16 Feb 2010 01:55:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.504
X-Spam-Level:
X-Spam-Status: No, score=-3.504 tagged_above=-999 required=5 tests=[AWL=-0.905, 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 uxjR8SprLVQx for <hybi@core3.amsl.com>; Tue, 16 Feb 2010 01:55:47 -0800 (PST)
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by core3.amsl.com (Postfix) with SMTP id 709543A7C06 for <hybi@ietf.org>; Tue, 16 Feb 2010 01:55:45 -0800 (PST)
Received: (qmail invoked by alias); 16 Feb 2010 09:57:15 -0000
Received: from p508FC18A.dip.t-dialin.net (EHLO [192.168.178.33]) [80.143.193.138] by mail.gmx.net (mp061) with SMTP; 16 Feb 2010 10:57:15 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19tdYNyVtRtJTjAmjgrwTuU+AaU+iTeud5ZFfyUJM chc+BXAH59Vw3N
Message-ID: <4B7A6BF5.5060408@gmx.de>
Date: Tue, 16 Feb 2010 10:57:09 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.4) Gecko/20060516 Thunderbird/1.5.0.4 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: Dave Cridland <dave@cridland.net>
References: <8B0A9FCBB9832F43971E38010638454F032E566DDF@SISPE7MB1.commscope.com> <18559.1266310165.853559@puncture> <4B7A5FD1.8090005@gmx.de> <18559.1266313683.441640@puncture>
In-Reply-To: <18559.1266313683.441640@puncture>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-FuHaFi: 0.59999999999999998
Cc: Server-Initiated HTTP <hybi@ietf.org>
Subject: Re: [hybi] WS ABNF
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: Tue, 16 Feb 2010 09:55:47 -0000

Dave Cridland wrote:
> On Tue Feb 16 09:05:21 2010, Julian Reschke wrote:
>> Dave Cridland wrote:
>>> ...
>>> But the chances of this making a measurable difference are very slim, 
>>> whereas the perils of decoding a new integer representation seem 
>>> extraordinarily high, especially given that it's a nicely unbounded 
>>> integer. IMAP implementations used to have enough trouble when asked 
>>> to allocate 4G for a literal, after all, but at least I'm unaware of 
>>> them having decoding difficulty. OTOH, with 5 octets, I can now setup 
>>> a frame length of 32G, and I can't see anything suggesting that this 
>>> is even a bad idea, let alone illegal protocol.
>>> ...
>>
>> It's not really new; something similar (or even the same thing?) is 
>> used in HTTP chunked encoding.
> 
> Chunked uses a (straightforward, if excitingly unique) ASCII hex 
> representation of the size of the following chunk, and chunked 
> terminates with an empty chunk (and the trailer).
> 
> I don't see that as similar in the slightest, I'm afraid.

Well, it is similar in that it's a variable length encoding.

But you are right (and before I didn't play close enough attention) that 
it's yet another new encoding, that people need to learn.

> ...

BR, Julian