Re: [hybi] Framing take IV

Ian Hickson <ian@hixie.ch> Wed, 04 August 2010 01:35 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 2D8F33A68F2 for <hybi@core3.amsl.com>; Tue, 3 Aug 2010 18:35:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.504
X-Spam-Level:
X-Spam-Status: No, score=-2.504 tagged_above=-999 required=5 tests=[AWL=0.095, 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 Ix55-yMO9w81 for <hybi@core3.amsl.com>; Tue, 3 Aug 2010 18:34:32 -0700 (PDT)
Received: from homiemail-a51.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by core3.amsl.com (Postfix) with ESMTP id 01F033A6839 for <hybi@ietf.org>; Tue, 3 Aug 2010 18:34:10 -0700 (PDT)
Received: from homiemail-a51.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a51.g.dreamhost.com (Postfix) with ESMTP id BC9DF2E806D; Tue, 3 Aug 2010 18:32:33 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=hixie.ch; h=date:from:to:cc :subject:in-reply-to:message-id:references:mime-version: content-type; q=dns; s=hixie.ch; b=k+l8IuzOK8jpeneV4jcB36QVsVO4p qmecPx+IUAIa79/N+RS87Vp7z2Bt8AG9mGMZ/i62pz0o+9jGxzcLp6KdGFv6YrGq 2mi5VC/9VZG+WbXSu39RW68dye/8mZAME3OgqLK2EHH5eS70NtSkF6PLWEqBCUpL y2p+FrcmHDLNZg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=hixie.ch; h=date:from:to :cc:subject:in-reply-to:message-id:references:mime-version: content-type; s=hixie.ch; bh=W2+qDG15reNw6KzFPSP8nMNX7BU=; b=JGV tfTkHucQpu2dagP1nGplVY+383TMK5PI99kC3R1rD4Vo08Jvyp+AUbuySJ0UbR0a S/Ersdb5NAWU+XivECkOeS4Sxf9X7elVsRSaObFc8sefnOCMn6qd06FCdIBtRL00 8s+w8sCL93meg7hIR8Pz3Kt58JR46H+qEz8Jm91g=
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) (Authenticated sender: internal@index.hixie.ch) by homiemail-a51.g.dreamhost.com (Postfix) with ESMTPSA id B68B02E806A; Tue, 3 Aug 2010 18:32:33 -0700 (PDT)
Date: Wed, 04 Aug 2010 01:32:33 +0000
From: Ian Hickson <ian@hixie.ch>
To: Scott Ferguson <ferg@caucho.com>
In-Reply-To: <4C58C2F6.8050608@caucho.com>
Message-ID: <Pine.LNX.4.64.1008040132190.5947@ps20323.dreamhostps.com>
References: <AANLkTinyrDoG5d_Ur6HVRy=SgMPjLzJtpJ++Ye=1DQdj@mail.gmail.com> <Pine.LNX.4.64.1008040050040.5947@ps20323.dreamhostps.com> <28A6543A-5CA6-42B7-8D2E-F5511EE20008@apple.com> <4C58C2F6.8050608@caucho.com>
Content-Language: en-GB-hixie
Content-Style-Type: text/css
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
Cc: hybi@ietf.org
Subject: Re: [hybi] Framing take IV
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: Wed, 04 Aug 2010 01:35:25 -0000

On Tue, 3 Aug 2010, Scott Ferguson wrote:
> > 
> > I agree. I can't see any benefit to fragmentation over a variable-size 
> > length field for an initial version without multiplexing. If the 
> > variable-size length field is well-designed, then in the common case 
> > where the message size is small it will only cost one extra branch to 
> > read the length. In the rare case where the message size is large, a 
> > variable-size length is easier to deal with than reassembling 
> > fragments, and easier on the sending side too.
> 
> Some of us don't have infinite memory when sending messages.

Why do you need infinite memory?

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