Re: [hybi] An _idea_ on framing
Greg Wilkins <gregw@webtide.com> Mon, 16 August 2010 12:21 UTC
Return-Path: <gregw@webtide.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 205763A6358 for <hybi@core3.amsl.com>; Mon, 16 Aug 2010 05:21:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.757
X-Spam-Level:
X-Spam-Status: No, score=-1.757 tagged_above=-999 required=5 tests=[AWL=0.220, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
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 7jStsrHzgiBv for <hybi@core3.amsl.com>; Mon, 16 Aug 2010 05:21:47 -0700 (PDT)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by core3.amsl.com (Postfix) with ESMTP id CC1AF3A67DB for <hybi@ietf.org>; Mon, 16 Aug 2010 05:21:46 -0700 (PDT)
Received: by fxm18 with SMTP id 18so3336920fxm.31 for <hybi@ietf.org>; Mon, 16 Aug 2010 05:22:22 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.121.147 with SMTP id h19mr5071703far.76.1281961342366; Mon, 16 Aug 2010 05:22:22 -0700 (PDT)
Received: by 10.223.57.12 with HTTP; Mon, 16 Aug 2010 05:22:22 -0700 (PDT)
In-Reply-To: <4BBE31D0-4B7B-4B68-8299-B306F15845DE@brandedcode.com>
References: <4BBE31D0-4B7B-4B68-8299-B306F15845DE@brandedcode.com>
Date: Mon, 16 Aug 2010 22:22:22 +1000
Message-ID: <AANLkTimX99Um+Hh+q2m8ozqSFN1-PUDYP=U++qEOYXk1@mail.gmail.com>
From: Greg Wilkins <gregw@webtide.com>
To: Micheil Smith <micheil@brandedcode.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Cc: hybi@ietf.org
Subject: Re: [hybi] An _idea_ on framing
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, 16 Aug 2010 12:21:49 -0000
Michael, your idea is the basis of the recent proposal from Ian Fette (as well as some others). If we wish to have meta data per frame, then I think having a meta-data length within a total frame length is a good way of achieving that. However, I think we need to first agree that we need meta data per frame. cheers On 16 August 2010 18:27, Micheil Smith <micheil@brandedcode.com> wrote: > Hi All, > > I know that most of the framing for messages is starting to be set in some-what > fixed state, although, I had a thought last night that may possibly alleviate the > problems of having to allocate room for features X, Y, and Z in the initial framing > protocol. > > The proposal, as un-thought out as it is, is this: > > You have not just one content-length fragment, but two, say, two 8 bit integers. > The first of these is the meta-data length, the second is the actual content length. > > I'm not sure how these would be structured, perhaps something like: > > +-----------------+----------------------+--------------------+-------------------------+ > | 8 bits | meta-length bits | 8 bits | content-length bits | > +-----------------+----------------------+--------------------+-------------------------+ > | mete-length | meta data | content-length | content | > +-----------------+----------------------+--------------------+-------------------------+ > > This would allow us to later add or remove as much meta-data as we like, while staying > consistent the whole time. It'd also add the possibility the servers or clients may ignore > meta-data, but that's another issue all together. > > Take this as the view of an implementor of the protocol / an outsider to the process, this > is just a thought, I'm not trying to necessarily start an argument / reopen a closed case, > but it's just an idea nonetheless. > > Let me know what you think, > > Yours, > Micheil Smith > -- > BrandedCode.com > > _______________________________________________ > hybi mailing list > hybi@ietf.org > https://www.ietf.org/mailman/listinfo/hybi >
- Re: [hybi] An _idea_ on framing John Tamplin
- [hybi] An _idea_ on framing Micheil Smith
- Re: [hybi] An _idea_ on framing Greg Wilkins
- Re: [hybi] An _idea_ on framing Greg Wilkins
- Re: [hybi] An _idea_ on framing Micheil Smith