Re: [hybi] first draft of WS mux extension

John Tamplin <jat@google.com> Mon, 24 October 2011 07:52 UTC

Return-Path: <jat@google.com>
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 B534321F8C1B for <hybi@ietfa.amsl.com>; Mon, 24 Oct 2011 00:52:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.976
X-Spam-Level:
X-Spam-Status: No, score=-105.976 tagged_above=-999 required=5 tests=[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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X8xxEYU7YxpM for <hybi@ietfa.amsl.com>; Mon, 24 Oct 2011 00:52:52 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by ietfa.amsl.com (Postfix) with ESMTP id 102D321F8C1A for <hybi@ietf.org>; Mon, 24 Oct 2011 00:52:51 -0700 (PDT)
Received: from wpaz13.hot.corp.google.com (wpaz13.hot.corp.google.com [172.24.198.77]) by smtp-out.google.com with ESMTP id p9O7qpaT019755 for <hybi@ietf.org>; Mon, 24 Oct 2011 00:52:51 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1319442771; bh=orSIW7rmRFbwUQAVyP+T8fzKB68=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=aC3oBH9XWodLcxCPmCITSatojVDYZhZxucYenHrJL9Dw8pUbReww1PEn+U8nikvyA HH2XFiWmSQw4CGfHIRBbg==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=dkim-signature:mime-version:in-reply-to:references:from:date: message-id:subject:to:cc:content-type:x-system-of-record; b=LXPM07lI6XDwoIXyffLCxkS42lh5TzxFZ9GCinGLeaR9oocZhbLOIJS1iCzkAdl+S 48+U6NY9xuxsKzFPTyf7A==
Received: from ywm14 (ywm14.prod.google.com [10.192.13.14]) by wpaz13.hot.corp.google.com with ESMTP id p9O7pHmW002640 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for <hybi@ietf.org>; Mon, 24 Oct 2011 00:52:50 -0700
Received: by ywm14 with SMTP id 14so3819152ywm.7 for <hybi@ietf.org>; Mon, 24 Oct 2011 00:52:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-system-of-record; bh=fkzbBseH19IcPM6T4scY4OO6CB1CsTUkD8YYo8IQKxQ=; b=qnELXW83vIkjYNLq4kwkXQkk9lS0msfbU392t9KAkgcTViUlzs6aAcNftbAeOONCEp OrxeKcOjqBrvfpKspdhQ==
Received: by 10.229.37.207 with SMTP id y15mr4728244qcd.151.1319442770353; Mon, 24 Oct 2011 00:52:50 -0700 (PDT)
Received: by 10.229.37.207 with SMTP id y15mr4728235qcd.151.1319442770099; Mon, 24 Oct 2011 00:52:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.134.1 with HTTP; Mon, 24 Oct 2011 00:52:30 -0700 (PDT)
In-Reply-To: <21c201cc921f$bbd76a00$0a00a8c0@Venus>
References: <CABLsOLB3gqQgo0myNkHxGmvr5P55GeKqaUPnYP9RgnUsiVM++g@mail.gmail.com> <CALiegfmc=01Uw0eLZES=WGtWVBKPjQLz3itiPL4TPVwy5mZFmQ@mail.gmail.com> <CABLsOLDi-rXcDp9k_+bkMBrmswY-QbHkqXLKT+2wOQ7Y0ry0VQ@mail.gmail.com> <CALiegf=Tcbys=ekrg3=BdzToy7uw08UmtpmWzZh1ikDxww_4qQ@mail.gmail.com> <CALiegfnTiVLKh6Dvc_7U4oN2YOR5VgH7_YPc-O1WpygU8=gCbw@mail.gmail.com> <CABLsOLBH_b19CH8mfXF7mqE23YZ5skvprk77JD++dpW6DzfvJA@mail.gmail.com> <21c201cc921f$bbd76a00$0a00a8c0@Venus>
From: John Tamplin <jat@google.com>
Date: Mon, 24 Oct 2011 03:52:30 -0400
Message-ID: <CABLsOLAMoa4C6o3nT+NmsS97ifTFgxRSW6SWGXtZrZ7MiPOM8g@mail.gmail.com>
To: Len Holgate <len.holgate@gmail.com>
Content-Type: multipart/alternative; boundary="0016369fa10a9cfebc04b006b579"
X-System-Of-Record: true
Cc: Hybi <hybi@ietf.org>
Subject: Re: [hybi] first draft of WS mux extension
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: Mon, 24 Oct 2011 07:52:52 -0000

On Mon, Oct 24, 2011 at 3:37 AM, Len Holgate <len.holgate@gmail.com> wrote:

> This seems nice and clean and pretty easy to implement.
>
> Have you considered removing the "relaxation" of the fragmented frame rules
> from the base protocol (ie the changes that permit the example shown in 7).
>
> I would have thought that if all fragments on mux channels were sent as
> complete messages you could include the actual message's fin bit in the
> extension data of the mux frame and so not change the base protocol at all.
> This would mean that mux could be implemented on existing websocket
> implementations without changing the underlying implementation at all. The
> layer "above" could deal with all aspects of the muxing.
>

That would require an additional framing layer to allow that, and objections
to that is what led to the support in the base spec allowing extensions to
define interleaving behavior.

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