Re: [hybi] CML

John Tamplin <jat@google.com> Mon, 23 August 2010 03:32 UTC

Return-Path: <jat@google.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 5064C3A697D for <hybi@core3.amsl.com>; Sun, 22 Aug 2010 20:32:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.875
X-Spam-Level:
X-Spam-Status: No, score=-105.875 tagged_above=-999 required=5 tests=[AWL=0.101, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 wlEDBZUQiLLN for <hybi@core3.amsl.com>; Sun, 22 Aug 2010 20:32:08 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by core3.amsl.com (Postfix) with ESMTP id AEF5F3A680A for <hybi@ietf.org>; Sun, 22 Aug 2010 20:32:07 -0700 (PDT)
Received: from kpbe12.cbf.corp.google.com (kpbe12.cbf.corp.google.com [172.25.105.76]) by smtp-out.google.com with ESMTP id o7N3We0u022280 for <hybi@ietf.org>; Sun, 22 Aug 2010 20:32:40 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1282534360; bh=/WdALMbKhbEK6wgFD1dhdchOKDs=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=vcQj71fqanQV9Aw04wgJf4EhuQikimava7UwM3vwH2N10FrprHCk7hldTfqyLnYla rvdpnHcWkoDeLtoWULhsw==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:from:date:message-id: subject:to:cc:content-type:x-system-of-record; b=H0FI6ji/OCAm+m09IKeDAH+r+iax3KpxDEopoSHmSzg7QveFpg/O5I2RRpZM/tFC8 tGhe3fK8lR4Ru/03pMZdw==
Received: from yxd39 (yxd39.prod.google.com [10.190.1.231]) by kpbe12.cbf.corp.google.com with ESMTP id o7N3Wdq5019885 for <hybi@ietf.org>; Sun, 22 Aug 2010 20:32:39 -0700
Received: by yxd39 with SMTP id 39so1631034yxd.30 for <hybi@ietf.org>; Sun, 22 Aug 2010 20:32:39 -0700 (PDT)
Received: by 10.150.147.20 with SMTP id u20mr4725003ybd.56.1282534359266; Sun, 22 Aug 2010 20:32:39 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.151.103.4 with HTTP; Sun, 22 Aug 2010 20:32:19 -0700 (PDT)
In-Reply-To: <8B0A9FCBB9832F43971E38010638454F03EF2669F2@SISPE7MB1.commscope.com>
References: <8B0A9FCBB9832F43971E38010638454F03EF2669F2@SISPE7MB1.commscope.com>
From: John Tamplin <jat@google.com>
Date: Sun, 22 Aug 2010 23:32:19 -0400
Message-ID: <AANLkTi=G-gZ1+7uoYE=fhiKFUXoziWacx5_k-HfxC-0z@mail.gmail.com>
To: "Thomson, Martin" <Martin.Thomson@andrew.com>
Content-Type: multipart/alternative; boundary="000e0cd515f4e57595048e754c1b"
X-System-Of-Record: true
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] CML
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, 23 Aug 2010 03:32:10 -0000

On Sun, Aug 22, 2010 at 11:27 PM, Thomson, Martin <Martin.Thomson@andrew.com
> wrote:

> CML, which I presume signifies "complete message length", has appeared in
> some of the later framing proposals.  Can anyone provide me with a succinct
> summary of the reasons for its inclusion?
>

There were objections to fragmentation without it, as the receiver would
then have to realloc/copy the buffer it will hand off the client code
without it.  Since fragmentation support is a requirement, even if a sender
writes a message in one large frame, an intermediary might choose to break
it up into multiple frames.  With CML, the  fragmenter can still indicate to
the ultimate receiver the size of the original message.

It is optional so that it is only included when it is useful and available,
and may be an estimate that is updated (which facilitates a UI for reporting
progress).

-- 
John A. Tamplin
Software Engineer (GWT), Google