
From scott@adligo.com  Fri Mar  8 16:29:39 2013
Return-Path: <scott@adligo.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 9B21B21F85B2 for <hybi@ietfa.amsl.com>; Fri,  8 Mar 2013 16:29:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.844
X-Spam-Level: 
X-Spam-Status: No, score=-2.844 tagged_above=-999 required=5 tests=[AWL=0.133,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 RL07ek6w-CHm for <hybi@ietfa.amsl.com>; Fri,  8 Mar 2013 16:29:38 -0800 (PST)
Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by ietfa.amsl.com (Postfix) with ESMTP id CD42E21F8569 for <hybi@ietf.org>; Fri,  8 Mar 2013 16:29:37 -0800 (PST)
Received: by mail-vc0-f175.google.com with SMTP id p1so1190862vcq.20 for <hybi@ietf.org>; Fri, 08 Mar 2013 16:29:37 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=+Gc3ZnQIHlUGc/JAm/WBaVz4Ay2g+/jRpYyV9yKouuY=; b=N+E0mzBU/QIQlDsbphmiFyM7muNvuP5yowOFWWV1iK/MT8SinWpg6lbC4oEX5DtaCC PV2rapiB+2+f8mOD68C6S+LAU+hNGRSfxyFeJfRHePmCrFFQ9wF21klNqR9xqjxFihp2 k12UGEvTcD1WTSP0WoPR3z4tFyDaspHyAY9yBjLquFgBSUWvPcVXHqNHNIxhn75xoqPx ZwOx0d/HDsa9U6e30M9qdvmdVb7nohEUHxjxlA3C8Z/fdjFLKNb/hjBMfmpxMFlRFhKc ZMW347Rd06//NboVSs7gVgmuD/Mkx8hYeUtg4aOWLokXZnpGbBnkEuH6AIx60OyUHZV8 yYCg==
MIME-Version: 1.0
X-Received: by 10.52.175.130 with SMTP id ca2mr1535703vdc.109.1362788977190; Fri, 08 Mar 2013 16:29:37 -0800 (PST)
Received: by 10.58.19.5 with HTTP; Fri, 8 Mar 2013 16:29:37 -0800 (PST)
Date: Fri, 8 Mar 2013 18:29:37 -0600
Message-ID: <CANEdHmhxYJu24c-E=YL16dksJURsLNc3zUiwFdu02Yq2b7MVxg@mail.gmail.com>
From: Scott Morgan <scott@adligo.com>
To: hybi@ietf.org
Content-Type: multipart/alternative; boundary=bcaec5014c1de3f10004d7730889
X-Gm-Message-State: ALoCoQm0RPSsN0xKA8kvnCRK360ZMXJtUkcaORmuRl/rviWg3tLg8P940nTvKBNpU8lC6apPpKdu
Subject: [hybi] RFC 6455 WebSockets Frame to Message assembly
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: Sat, 09 Mar 2013 00:29:39 -0000

--bcaec5014c1de3f10004d7730889
Content-Type: text/plain; charset=ISO-8859-1

Hi Again,

   Again I am sorry if these comments are in the wrong place (email list).

I have been reading;
http://webtide.intalio.com/2012/10/jetty-9-updated-websocket-api/

I have been wondering how multiple multiple frame messages would share a
connection and get reassembled.   The specification doen't seem to mention
this;
Ie
Fancy multithreaded Client Sends 2 messages over a single socket;
    Frame A, part One of 20,000 leagues under the sea
    Frame B, part One of The Hobbit
    Frame C, part Two of 20,000 leagues under the sea
    Frame D, part Two of the Hobbit yea

How should the frames be identified as belonging to the Hobbit?
I suggest we use the masking key as a id, however I am not sure if it would
be unique enough.


Cheers,
Scott

--bcaec5014c1de3f10004d7730889
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span style=3D"font-family:arial,sans-serif;font-size:13px=
">Hi Again,</span><div style=3D"font-family:arial,sans-serif;font-size:13px=
"><br></div><div style=3D"font-family:arial,sans-serif;font-size:13px">=A0 =
=A0Again I am sorry if these comments are in the wrong place (email list).<=
/div>
<div style=3D"font-family:arial,sans-serif;font-size:13px"><br></div><div s=
tyle=3D"font-family:arial,sans-serif;font-size:13px">I have been reading;</=
div><div style=3D"font-family:arial,sans-serif;font-size:13px"><a href=3D"h=
ttp://webtide.intalio.com/2012/10/jetty-9-updated-websocket-api/" target=3D=
"_blank">http://webtide.intalio.com/2012/10/jetty-9-updated-websocket-api/<=
/a><br>
</div><div style=3D"font-family:arial,sans-serif;font-size:13px"><br></div>=
<div style=3D"font-family:arial,sans-serif;font-size:13px">I have been wond=
ering how multiple multiple frame messages would share a connection and get=
 reassembled. =A0 The specification doen&#39;t seem to mention this;</div>
<div style=3D"font-family:arial,sans-serif;font-size:13px">Ie=A0</div><div =
style=3D"font-family:arial,sans-serif;font-size:13px">Fancy multithreaded C=
lient Sends 2 messages over a single socket;</div><div style=3D"font-family=
:arial,sans-serif;font-size:13px">
=A0 =A0 Frame A, part One of 20,000 leagues under the sea</div><div style=
=3D"font-family:arial,sans-serif;font-size:13px">=A0 =A0 Frame B, part One =
of The Hobbit</div><div style=3D"font-family:arial,sans-serif;font-size:13p=
x">=A0 =A0 Frame C, part Two of=A020,000 leagues under the sea</div>
<div style=3D"font-family:arial,sans-serif;font-size:13px">=A0 =A0 Frame D,=
 part Two of the Hobbit yea=A0</div><div style=3D"font-family:arial,sans-se=
rif;font-size:13px"><br></div><div style=3D"font-family:arial,sans-serif;fo=
nt-size:13px">
How should the frames be identified as belonging to the Hobbit?</div><div s=
tyle=3D"font-family:arial,sans-serif;font-size:13px">I suggest we use the m=
asking key as a id, however I am not sure if it would be unique enough. =A0=
=A0</div>
<div style=3D"font-family:arial,sans-serif;font-size:13px"><br></div><div s=
tyle=3D"font-family:arial,sans-serif;font-size:13px"><br></div><div style=
=3D"font-family:arial,sans-serif;font-size:13px">Cheers,</div><div style=3D=
"font-family:arial,sans-serif;font-size:13px">
Scott</div></div>

--bcaec5014c1de3f10004d7730889--

From joakim@intalio.com  Fri Mar  8 16:35:42 2013
Return-Path: <joakim@intalio.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 971D121F8621 for <hybi@ietfa.amsl.com>; Fri,  8 Mar 2013 16:35:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level: 
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 DHlpeQUezTpP for <hybi@ietfa.amsl.com>; Fri,  8 Mar 2013 16:35:40 -0800 (PST)
Received: from mail-ee0-f51.google.com (mail-ee0-f51.google.com [74.125.83.51]) by ietfa.amsl.com (Postfix) with ESMTP id 5F1DD21F861F for <hybi@ietf.org>; Fri,  8 Mar 2013 16:35:40 -0800 (PST)
Received: by mail-ee0-f51.google.com with SMTP id d17so1311163eek.38 for <hybi@ietf.org>; Fri, 08 Mar 2013 16:35:39 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=Vldcx9YjstsnbzdCEcGQojAmGfsgL7hq852gkjoqYw8=; b=XcFjwzby2SH/uExrIZEjxZq54iv31DwROH9uxLNUie9SSnZZG2RKv+y5h4edLr13Q7 17zBuOUyD8BsRq/XBeFHKouROfeerRCM1TYlvqWcWeeuGZC4RQU/sSlhrq9QPT9ov0+g NOfQbxE4X3J1X0Vw2JlwSgYO2JX40yawEz/UbpykqOY76p6pK5fJQlDTI/79sMwa2WBY OWf4DtsQcVI4LLYR7FlvekSiipix+54VjL+1gCFpM+vA935e98bb9QefSOdyQDfG1G8L t2huzZZPoYsBjvDEtFwbHFyAvQ/FAP4I9At/VoULo4tyM1Hr+s/1gacWTB1fxctwR9LU 3DOg==
MIME-Version: 1.0
X-Received: by 10.14.210.8 with SMTP id t8mr10895618eeo.35.1362789339459; Fri, 08 Mar 2013 16:35:39 -0800 (PST)
Received: by 10.14.99.4 with HTTP; Fri, 8 Mar 2013 16:35:39 -0800 (PST)
In-Reply-To: <CANEdHmhxYJu24c-E=YL16dksJURsLNc3zUiwFdu02Yq2b7MVxg@mail.gmail.com>
References: <CANEdHmhxYJu24c-E=YL16dksJURsLNc3zUiwFdu02Yq2b7MVxg@mail.gmail.com>
Date: Fri, 8 Mar 2013 17:35:39 -0700
Message-ID: <CAG4zZZAu4q0VXXatZDLs58ZPMNZ04=ydjeW_YYnUL9V6-MBFrQ@mail.gmail.com>
From: Joakim Erdfelt <joakim@intalio.com>
To: Scott Morgan <scott@adligo.com>
Content-Type: multipart/alternative; boundary=047d7b603fe27baebe04d7731e10
X-Gm-Message-State: ALoCoQlSdUpQu5/KkNaG2s89q+Uv+B4iKNXpqNQaG4G6z+EsQT/f82VwppylU91L+6UT8xernuFc
Cc: hybi@ietf.org
Subject: Re: [hybi] RFC 6455 WebSockets Frame to Message assembly
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: Sat, 09 Mar 2013 00:35:42 -0000

--047d7b603fe27baebe04d7731e10
Content-Type: text/plain; charset=ISO-8859-1

You can't interleave websocket messages like that over a single websocket
connection.

You have to finish all the frames for one websocket message before you can
start another websocket message.

--
Joakim Erdfelt <joakim@intalio.com>
webtide.com <http://www.webtide.com/>
Developer advice, services and support
from the Jetty & CometD experts
eclipse.org/jetty - cometd.org


On Fri, Mar 8, 2013 at 5:29 PM, Scott Morgan <scott@adligo.com> wrote:

> Hi Again,
>
>    Again I am sorry if these comments are in the wrong place (email list).
>
> I have been reading;
> http://webtide.intalio.com/2012/10/jetty-9-updated-websocket-api/
>
> I have been wondering how multiple multiple frame messages would share a
> connection and get reassembled.   The specification doen't seem to mention
> this;
> Ie
> Fancy multithreaded Client Sends 2 messages over a single socket;
>     Frame A, part One of 20,000 leagues under the sea
>     Frame B, part One of The Hobbit
>     Frame C, part Two of 20,000 leagues under the sea
>     Frame D, part Two of the Hobbit yea
>
> How should the frames be identified as belonging to the Hobbit?
> I suggest we use the masking key as a id, however I am not sure if it
> would be unique enough.
>
>
> Cheers,
> Scott
>
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>
>

--047d7b603fe27baebe04d7731e10
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

You can&#39;t interleave websocket messages like that over a single websock=
et connection.<div><br></div><div>You have to finish all the frames for one=
 websocket message before you can start another websocket message.</div>
<div><br clear=3D"all"><div><div>--</div><div>Joakim Erdfelt &lt;<a href=3D=
"mailto:joakim@intalio.com" target=3D"_blank">joakim@intalio.com</a>&gt;</d=
iv><div><a href=3D"http://www.webtide.com/" target=3D"_blank">webtide.com</=
a></div>
<div><span>Developer advice, services and support</span><br><span>from the =
Jetty &amp; CometD experts</span></div><div><a href=3D"http://eclipse.org/j=
etty/" target=3D"_blank">eclipse.org/jetty</a>=A0-=A0<a href=3D"http://come=
td.org/" target=3D"_blank">cometd.org</a></div>
</div>
<br><br><div class=3D"gmail_quote">On Fri, Mar 8, 2013 at 5:29 PM, Scott Mo=
rgan <span dir=3D"ltr">&lt;<a href=3D"mailto:scott@adligo.com" target=3D"_b=
lank">scott@adligo.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex">
<div dir=3D"ltr"><span style=3D"font-family:arial,sans-serif;font-size:13px=
">Hi Again,</span><div style=3D"font-family:arial,sans-serif;font-size:13px=
"><br></div><div style=3D"font-family:arial,sans-serif;font-size:13px">=A0 =
=A0Again I am sorry if these comments are in the wrong place (email list).<=
/div>

<div style=3D"font-family:arial,sans-serif;font-size:13px"><br></div><div s=
tyle=3D"font-family:arial,sans-serif;font-size:13px">I have been reading;</=
div><div style=3D"font-family:arial,sans-serif;font-size:13px"><a href=3D"h=
ttp://webtide.intalio.com/2012/10/jetty-9-updated-websocket-api/" target=3D=
"_blank">http://webtide.intalio.com/2012/10/jetty-9-updated-websocket-api/<=
/a><br>

</div><div style=3D"font-family:arial,sans-serif;font-size:13px"><br></div>=
<div style=3D"font-family:arial,sans-serif;font-size:13px">I have been wond=
ering how multiple multiple frame messages would share a connection and get=
 reassembled. =A0 The specification doen&#39;t seem to mention this;</div>

<div style=3D"font-family:arial,sans-serif;font-size:13px">Ie=A0</div><div =
style=3D"font-family:arial,sans-serif;font-size:13px">Fancy multithreaded C=
lient Sends 2 messages over a single socket;</div><div style=3D"font-family=
:arial,sans-serif;font-size:13px">

=A0 =A0 Frame A, part One of 20,000 leagues under the sea</div><div style=
=3D"font-family:arial,sans-serif;font-size:13px">=A0 =A0 Frame B, part One =
of The Hobbit</div><div style=3D"font-family:arial,sans-serif;font-size:13p=
x">=A0 =A0 Frame C, part Two of=A020,000 leagues under the sea</div>

<div style=3D"font-family:arial,sans-serif;font-size:13px">=A0 =A0 Frame D,=
 part Two of the Hobbit yea=A0</div><div style=3D"font-family:arial,sans-se=
rif;font-size:13px"><br></div><div style=3D"font-family:arial,sans-serif;fo=
nt-size:13px">

How should the frames be identified as belonging to the Hobbit?</div><div s=
tyle=3D"font-family:arial,sans-serif;font-size:13px">I suggest we use the m=
asking key as a id, however I am not sure if it would be unique enough. =A0=
=A0</div>

<div style=3D"font-family:arial,sans-serif;font-size:13px"><br></div><div s=
tyle=3D"font-family:arial,sans-serif;font-size:13px"><br></div><div style=
=3D"font-family:arial,sans-serif;font-size:13px">Cheers,</div><div style=3D=
"font-family:arial,sans-serif;font-size:13px">

Scott</div></div>
<br>_______________________________________________<br>
hybi mailing list<br>
<a href=3D"mailto:hybi@ietf.org">hybi@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/hybi" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/hybi</a><br>
<br></blockquote></div><br></div>

--047d7b603fe27baebe04d7731e10--

From jat@jaet.org  Fri Mar  8 17:18:18 2013
Return-Path: <jat@jaet.org>
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 5A88E21F8552 for <hybi@ietfa.amsl.com>; Fri,  8 Mar 2013 17:18:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.425
X-Spam-Level: 
X-Spam-Status: No, score=-0.425 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FH_RELAY_NODNS=1.451, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RDNS_NONE=0.1]
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 WtrH6bwM0frk for <hybi@ietfa.amsl.com>; Fri,  8 Mar 2013 17:18:17 -0800 (PST)
Received: from mail-ie0-x22c.google.com (mail-ie0-x22c.google.com [IPv6:2607:f8b0:4001:c03::22c]) by ietfa.amsl.com (Postfix) with ESMTP id 3BBE521F8595 for <hybi@ietf.org>; Fri,  8 Mar 2013 17:18:17 -0800 (PST)
Received: by mail-ie0-f172.google.com with SMTP id c10so2834731ieb.3 for <hybi@ietf.org>; Fri, 08 Mar 2013 17:18:16 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-originating-ip:in-reply-to:references :from:date:message-id:subject:to:cc:content-type:x-gm-message-state; bh=yDqZUkJN0WaxHr6MxK+VKb2gQQsIZHXd28j3S52jwhs=; b=P15+0Om+OKpQG4O9Lm5wW22elxfSJWWW1CfcP1lOJcycIfD4fwH1APbpAofmXhgkVC D6KeyFCg2UNFnGNgt2HFVVsCyhM+RIfxn4BzTZtvrUc0tcJR/WvYKjzFCtJjQpII4Ve5 IYp7MxJ/2DS6NajO+Ndtueamw4sqBpbeSh2/+alTo4EvfANqnpDXGwZWmykCZBZ2z54f qLPMLBsNQWMUCWDDKXrjQSq2OHmy/CKT0vn+RLMzG7soW72JYNGSFQalz/GcmbJSgqC1 Uv6g65XNVMbM1Ub4ASFqbGxE03UuRFrBXPmP9gxEPW2Yyi+7dF96P9mGhCZz5v2gCDMb xmKQ==
X-Received: by 10.50.2.101 with SMTP id 5mr1027353igt.29.1362791896696; Fri, 08 Mar 2013 17:18:16 -0800 (PST)
MIME-Version: 1.0
Received: by 10.50.42.163 with HTTP; Fri, 8 Mar 2013 17:17:56 -0800 (PST)
X-Originating-IP: [207.67.64.142]
In-Reply-To: <CANEdHmhxYJu24c-E=YL16dksJURsLNc3zUiwFdu02Yq2b7MVxg@mail.gmail.com>
References: <CANEdHmhxYJu24c-E=YL16dksJURsLNc3zUiwFdu02Yq2b7MVxg@mail.gmail.com>
From: "John A. Tamplin" <jat@jaet.org>
Date: Fri, 8 Mar 2013 20:17:56 -0500
Message-ID: <CAM5k6X8ZU7zAVwz+WrftSV729urz1xbh=QT8aW7znup5VWHfbA@mail.gmail.com>
To: Scott Morgan <scott@adligo.com>
Content-Type: multipart/alternative; boundary=089e0118235ee834d204d773b6d9
X-Gm-Message-State: ALoCoQkr1WctkghYJ8EwGfT5H9l5a8anXs71EXafcT8REzxPlcsOfeKjm4Y08z5jMTqUB4KzF17g
Cc: hybi@ietf.org
Subject: Re: [hybi] RFC 6455 WebSockets Frame to Message assembly
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: Sat, 09 Mar 2013 01:18:18 -0000

--089e0118235ee834d204d773b6d9
Content-Type: text/plain; charset=UTF-8

On Fri, Mar 8, 2013 at 7:29 PM, Scott Morgan <scott@adligo.com> wrote:

>    Again I am sorry if these comments are in the wrong place (email list).
>
> I have been reading;
> http://webtide.intalio.com/2012/10/jetty-9-updated-websocket-api/
>
> I have been wondering how multiple multiple frame messages would share a
> connection and get reassembled.   The specification doen't seem to mention
> this;
> Ie
> Fancy multithreaded Client Sends 2 messages over a single socket;
>     Frame A, part One of 20,000 leagues under the sea
>     Frame B, part One of The Hobbit
>     Frame C, part Two of 20,000 leagues under the sea
>     Frame D, part Two of the Hobbit yea
>
> How should the frames be identified as belonging to the Hobbit?
> I suggest we use the masking key as a id, however I am not sure if it
> would be unique enough.
>

You would need to add your own message layer above WebSocket, or use the
mux extension which is under development.

-- 
John A. Tamplin

--089e0118235ee834d204d773b6d9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Fri, Mar 8, 2013 at 7:29 PM, Scott Morgan <span dir=3D"ltr">&lt;<a href=
=3D"mailto:scott@adligo.com" target=3D"_blank">scott@adligo.com</a>&gt;</sp=
an> wrote:<br><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir=3D"ltr"><div style=3D"font-family:arial,sans-serif;font-size:13px"=
>=C2=A0 =C2=A0Again I am sorry if these comments are in the wrong place (em=
ail list).</div>
<div style=3D"font-family:arial,sans-serif;font-size:13px"><br></div><div s=
tyle=3D"font-family:arial,sans-serif;font-size:13px">I have been reading;</=
div><div style=3D"font-family:arial,sans-serif;font-size:13px"><a href=3D"h=
ttp://webtide.intalio.com/2012/10/jetty-9-updated-websocket-api/" target=3D=
"_blank">http://webtide.intalio.com/2012/10/jetty-9-updated-websocket-api/<=
/a><br>


</div><div style=3D"font-family:arial,sans-serif;font-size:13px"><br></div>=
<div style=3D"font-family:arial,sans-serif;font-size:13px">I have been wond=
ering how multiple multiple frame messages would share a connection and get=
 reassembled. =C2=A0 The specification doen&#39;t seem to mention this;</di=
v>


<div style=3D"font-family:arial,sans-serif;font-size:13px">Ie=C2=A0</div><d=
iv style=3D"font-family:arial,sans-serif;font-size:13px">Fancy multithreade=
d Client Sends 2 messages over a single socket;</div><div style=3D"font-fam=
ily:arial,sans-serif;font-size:13px">


=C2=A0 =C2=A0 Frame A, part One of 20,000 leagues under the sea</div><div s=
tyle=3D"font-family:arial,sans-serif;font-size:13px">=C2=A0 =C2=A0 Frame B,=
 part One of The Hobbit</div><div style=3D"font-family:arial,sans-serif;fon=
t-size:13px">=C2=A0 =C2=A0 Frame C, part Two of=C2=A020,000 leagues under t=
he sea</div>


<div style=3D"font-family:arial,sans-serif;font-size:13px">=C2=A0 =C2=A0 Fr=
ame D, part Two of the Hobbit yea=C2=A0</div><div style=3D"font-family:aria=
l,sans-serif;font-size:13px"><br></div><div style=3D"font-family:arial,sans=
-serif;font-size:13px">


How should the frames be identified as belonging to the Hobbit?</div><div s=
tyle=3D"font-family:arial,sans-serif;font-size:13px">I suggest we use the m=
asking key as a id, however I am not sure if it would be unique enough. =C2=
=A0=C2=A0</div>

</div></blockquote></div><div><br></div>You would need to add your own mess=
age layer above WebSocket, or use the mux extension which is under developm=
ent.<br clear=3D"all"><div><br></div>-- <br>John A. Tamplin

--089e0118235ee834d204d773b6d9--

From dario.crivelli@lightstreamer.com  Mon Mar 11 02:56:20 2013
Return-Path: <dario.crivelli@lightstreamer.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 E846221F86B1 for <hybi@ietfa.amsl.com>; Mon, 11 Mar 2013 02:56:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.468
X-Spam-Level: 
X-Spam-Status: No, score=-0.468 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_64=0.6, RCVD_ILLEGAL_IP=1.908, RCVD_IN_DNSWL_LOW=-1]
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 3em7J6wPDQFy for <hybi@ietfa.amsl.com>; Mon, 11 Mar 2013 02:56:19 -0700 (PDT)
Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by ietfa.amsl.com (Postfix) with ESMTP id 9E5E621F86A8 for <hybi@ietf.org>; Mon, 11 Mar 2013 02:56:18 -0700 (PDT)
Received: by mail-wg0-f50.google.com with SMTP id es5so4794486wgb.29 for <hybi@ietf.org>; Mon, 11 Mar 2013 02:56:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lightstreamer.com; s=google; h=x-received:mime-version:x-originating-ip:from:date:message-id :subject:to:content-type; bh=eq2t20atr3WLIc1wgULFJx4RwL9KNBvJaBg02aVVEQ8=; b=eSJXWX4sbYV/P2Jgf7j/KJIepFeDZ1EZzZH2Kz6BugxOGtr7SzRTmzGA3Gcm9sVka5 fBGQSA3BJkYa5gHUfSoSfCJgiay3l+naYEGpuOguO0W+tgPpSyauOHo3GH7l/H9+2odA PvcjvUY1kH1JNboecV2ymL6edXOkBMozg04z8=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-originating-ip:from:date:message-id :subject:to:content-type:x-gm-message-state; bh=eq2t20atr3WLIc1wgULFJx4RwL9KNBvJaBg02aVVEQ8=; b=nD0gRdoKQ7EXmvVXRuKZBFEJTwFJPSu8fjpgaNnI+n6wAH6V2pMXVXk+F3Cyfe69jc N7iKwHCzxDte1nasFZ+P23CpAy7SpNnq/d+09rkYZ76/NPZuQ2iDp3RkieHMCPVfxcDN /D4vAL+J/Y0wltgxLXYjyDRj2usLn1cVjZaRMNxgHIHs5K10ccEsDFV94x4ju+UP/hIH Ys7yKZNH/TIEfTKCT82953RNKk5xD1PHt3oK/+84agw+SrO251I1AM/au/UJWyNykSj4 preL4CNSd0RVU30//auM7x1o67G81TIAwNNGuN0Ba+WMpBKPIH2yCCUEXyzOuKPMRg+q Q1WA==
X-Received: by 10.180.83.10 with SMTP id m10mr11176753wiy.5.1362995777799; Mon, 11 Mar 2013 02:56:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.180.77.134 with HTTP; Mon, 11 Mar 2013 02:55:57 -0700 (PDT)
X-Originating-IP: [2.238.52.66]
From: Dario Crivelli <dario.crivelli@lightstreamer.com>
Date: Mon, 11 Mar 2013 10:55:57 +0100
Message-ID: <CAPwYjpne9FNYEZv3rVCUk4jGMfWwC81vzn1-q_gH7Lbf9FFYQQ@mail.gmail.com>
To: hybi@ietf.org
Content-Type: multipart/alternative; boundary=f46d04428eb62aa61e04d7a32f22
X-Gm-Message-State: ALoCoQmaHhs+0c9LL75dHFLW8Rvkqz06I8rpUYFzkvcHva8Ts5iLfhz703LF057yXC3X1Z8zKZjj
Subject: [hybi] More feedback on draft-ietf-hybi-permessage-compression-05
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, 11 Mar 2013 09:56:20 -0000

--f46d04428eb62aa61e04d7a32f22
Content-Type: text/plain; charset=ISO-8859-1

Hi,

I would like to contribute to the discussion by sending feedback on my
reading of the specification draft, as a potential implementor.



A) permessage-deflate


As far as the "permessage-deflate" extension to the WebSocket protocol is
concerned, it seems to me that the description is complete, although I have
not tried to implement the extension support yet.

For the handshake negotiation part, I acknowledge that the alternative text
proposed by Barry Leiba is clearer, though it does not mention the
requirements on the extension parameters in the response.


In paragraph 5.1.2, I found it difficult to read the sentence:
    Otherwise, the server MUST NOT accept the request with a response with
the parameter.
I suppose it is equivalent to:
    Otherwise, if accepting the request, the server MUST NOT include this
parameter in the response.


The example in paragraph 3.1 reports the "Hello World" parameter value,
with a space in the middle.
Wasn't that unallowed, as also discussed in
http://www.ietf.org/mail-archive/web/hybi/current/msg09904.html ?


I see from the example in paragraph 5.2.3.1 that a compressed text message
still retains the opcode=text flag, so that, after decompression, it will
still be subject to UTF-8 compliance.
This rule may probably be inferred from the context; yet it is not so
obvious, because the "application data" in the resulting frames is not
UTF-8.
Hence, I think it's worth clarifying explicitly, in paragraphs 4.1/4.2,
that the opcode will not change.
In fact, honestly, I'm not able to find, in RFC6455, where it is stated
that the constraints in paragraph 5.6 do not apply to extensions.



B) Per-message Compression Extensions


On the other hand, I cannot understand the scope of the definition of the
"Per-message Compression Extensions" framework concept.
I assume that by "Per-message Compression Extensions" we mean a subset of
extensions to the WebSocket protocol, and that what's being defined is the
common part that any extension definition has to share, in order for its
inclusion in this subset to be claimed.
In this regard, I suggest including a reference to paragraph 9 (or 5.8) of
RFC6455, where the "extension" concept is introduced.


In my opinion, the definition of the boundaries of this subset is not clear.
The WebSocket specification leaves many degrees of freedom to extension
definitions, in terms of reserved bits, opcodes, extension data,
fragmentation, status codes, handshake tokens, and perhaps even more.
The extensions belonging to the "Per-message Compression Extensions" subset
will take advantage of some of these degrees of freedom;
but it is not stated what they will not be allowed to take advantage of.
For instance: can a future extension belonging to this set also reserve the
RSV2 bit?
This would affect whether or not the compatibility rules and other
implementation aspects regarding all extensions in the "Per-message
Compression Extensions" subset could be handled by the same code.


About the compatibility rules, I understand that,
- since compression requires that the whole payload is modified first, and
only then are the frames cast,
- as a consequence, the compression cannot be applied after another
extension which imposes its own requirements on the framing.
But how can I ensure that my implementation will comply with this
constraint?

The proposed specification says:
    Per-message Compression Extensions MUST NOT be used after any extension
for which frame boundary needs to be preserved.
    Per-message Compression Extensions MUST NOT be used after any extension
that uses "Extension data" field or any of the reserved bits on the
WebSocket header as per-frame attribute.

This assumes that any extension can be evaluated as to whether:
- frame boundary needs to be preserved;
- "Extension data" field is used as per-frame attribute;
- any of the reserved bits on the WebSocket header is used as per-frame
attribute.

Should I expect the evaluation of the above predicates to be indicated
somewhere in the specifications of all future extensions?
Or will I be supposed to evaluate these predicates myself from the
extension specification text alone?



Regards
Dario Crivelli

--f46d04428eb62aa61e04d7a32f22
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>Hi,</div><div><br></div><div>I would like to contribute to the discuss=
ion by sending feedback on my reading of the specification draft, as a pote=
ntial implementor.</div><div><br></div><div><br></div><div><br></div><div>

A) permessage-deflate</div><div><br></div><div><br></div><div>As far as the=
 &quot;permessage-deflate&quot; extension to the WebSocket protocol is conc=
erned, it seems to me that the description is complete, although I have not=
 tried to implement the extension support yet.</div>

<div><br></div><div>For the handshake negotiation part, I acknowledge that =
the alternative text proposed by Barry Leiba is clearer, though it does not=
 mention the requirements on the extension parameters in the response.=A0</=
div>

<div><br></div><div><br></div><div>In paragraph 5.1.2, I found it difficult=
 to read the sentence:</div><div>=A0 =A0=A0Otherwise, the server MUST NOT a=
ccept the request with a response with the parameter.</div><div>I suppose i=
t is equivalent to:</div>

<div>=A0 =A0=A0Otherwise, if accepting the request, the server MUST NOT inc=
lude this parameter in the response.</div><div><br></div><div><br></div><di=
v>The example in paragraph 3.1 reports the &quot;Hello World&quot; paramete=
r value, with a space in the middle.</div>

<div>Wasn&#39;t that unallowed, as also discussed in <a href=3D"http://www.=
ietf.org/mail-archive/web/hybi/current/msg09904.html">http://www.ietf.org/m=
ail-archive/web/hybi/current/msg09904.html</a> ?</div><div><br></div><div>

<br></div><div>I see from the example in paragraph 5.2.3.1 that a compresse=
d text message still retains the opcode=3Dtext flag, so that, after decompr=
ession, it will still be subject to UTF-8 compliance.</div><div>This rule m=
ay probably be inferred from the context; yet it is not so obvious, because=
 the &quot;application data&quot; in the resulting frames is not UTF-8.</di=
v>

<div>Hence, I think it&#39;s worth clarifying explicitly, in paragraphs 4.1=
/4.2, that the opcode will not change.=A0</div><div>In fact, honestly, I&#3=
9;m not able to find, in RFC6455, where it is stated that the constraints i=
n paragraph 5.6 do not apply to extensions.</div>

<div><br></div><div><br></div><div><br></div><div>B) Per-message Compressio=
n Extensions</div><div><br></div><div><br></div><div>On the other hand, I c=
annot understand the scope of the definition of the &quot;Per-message Compr=
ession Extensions&quot; framework concept.</div>

<div>I assume that by &quot;Per-message Compression Extensions&quot; we mea=
n a subset of extensions to the WebSocket protocol, and that what&#39;s bei=
ng defined is the common part that any extension definition has to share, i=
n order for its inclusion in this subset to be claimed.</div>

<div>In this regard, I suggest including a reference to paragraph 9 (or 5.8=
) of RFC6455, where the &quot;extension&quot; concept is introduced.</div><=
div><br></div><div><br></div><div>In my opinion, the definition of the boun=
daries of this subset is not clear.</div>

<div>The WebSocket specification leaves many degrees of freedom to extensio=
n definitions, in terms of reserved bits, opcodes, extension data, fragment=
ation, status codes, handshake tokens, and perhaps even more.</div><div>

The extensions belonging to the &quot;Per-message Compression Extensions&qu=
ot; subset will take advantage of some of these degrees of freedom;</div><d=
iv>but it is not stated what they will not be allowed to take advantage of.=
</div>

<div>For instance: can a future extension belonging to this set also reserv=
e the RSV2 bit?</div><div>This would affect whether or not the compatibilit=
y rules and other implementation aspects regarding all extensions in the &q=
uot;Per-message Compression Extensions&quot; subset could be handled by the=
 same code.</div>

<div><br></div><div><br></div><div>About the compatibility rules, I underst=
and that,</div><div>- since compression requires that the whole payload is =
modified first, and only then are the frames cast,</div><div>- as a consequ=
ence, the compression cannot be applied after another extension which impos=
es its own requirements on the framing.</div>

<div>But how can I ensure that my implementation will comply with this cons=
traint?</div><div><br></div><div>The proposed specification says:</div><div=
>=A0 =A0=A0Per-message Compression Extensions MUST NOT be used after any ex=
tension for which frame boundary needs to be preserved.</div>

<div>=A0 =A0=A0Per-message Compression Extensions MUST NOT be used after an=
y extension that uses &quot;Extension data&quot; field or any of the reserv=
ed bits on the WebSocket header as per-frame attribute.</div><div><br></div=
>
<div>
This assumes that any extension can be evaluated as to whether:</div><div>-=
=A0frame boundary needs to be preserved;</div><div>-=A0&quot;Extension data=
&quot; field is used as per-frame attribute;</div><div>-=A0any of the reser=
ved bits on the WebSocket header is used as per-frame attribute.</div>

<div><br></div><div>Should I expect the evaluation of the above predicates =
to be indicated somewhere in the specifications of all future extensions?</=
div><div>Or will I be supposed to evaluate these predicates myself from the=
 extension specification text alone?</div>

<div><br></div><div><br></div><div><br></div><div>Regards</div><div>Dario C=
rivelli</div><div><br></div>

--f46d04428eb62aa61e04d7a32f22--

From tyoshino@google.com  Tue Mar 12 01:23:41 2013
Return-Path: <tyoshino@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 2456221F86AE for <hybi@ietfa.amsl.com>; Tue, 12 Mar 2013 01:23:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.377
X-Spam-Level: 
X-Spam-Status: No, score=-101.377 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_64=0.6, NO_RELAYS=-0.001, 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 1EYbvX-OEaTX for <hybi@ietfa.amsl.com>; Tue, 12 Mar 2013 01:23:40 -0700 (PDT)
Received: from mail-we0-x22b.google.com (mail-we0-x22b.google.com [IPv6:2a00:1450:400c:c03::22b]) by ietfa.amsl.com (Postfix) with ESMTP id 551EF21F86D9 for <hybi@ietf.org>; Tue, 12 Mar 2013 01:23:39 -0700 (PDT)
Received: by mail-we0-f171.google.com with SMTP id u54so4515135wey.16 for <hybi@ietf.org>; Tue, 12 Mar 2013 01:23:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=2c0nAi2oYZwrf6zMLT56SdlfDhL6BXqZXlifY6WIc3E=; b=cFFG3+doBqdyxRUz0+o0dfGtG+UBKSAZIoogHUb7GzEKbrsq/dOQvkcJ95GnN7g8No qs156d1A9MDYJiQYCl9Ghi6d5l3AD2sy7CLrhsnFKiWYGrBFISanWRnqvgrFzxdV3T7/ HOx1N3WQgJT+U3Tir9Vd9kpQoWZryg2kXGrIUVxvU2fNZUIrkGGURrl6U4vLb09mCdnf Z6UOAcTKYzgzrUvBtNuxbjqZS9PDdMbUfdj6lR7qGy7cjr9iqZ0pMG6WwgfXwzLEU9Ep pFpVDpff4jvSL1gxuYT0M3/wHTfzOdwCsBOHEJ0m4aGKbe34HeW1Bq+czA37thU9+Mt+ w3wg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=2c0nAi2oYZwrf6zMLT56SdlfDhL6BXqZXlifY6WIc3E=; b=eoFGqUEa7yc0fiuT+hE5vUj7lDqwHNoCtKojHueXOMAx/jdbPu3ahX3TpavnznXwRm yR5Rz8ZFccjI87vrDlXRLTqIVgYwkybqBDgq+EwlLWOVlryPd+DpFlKGJwjPjRW1SN89 13oNxTlBVNsTsmOM65bl3ldyp4URjhR5PzN5RMFBoNAzoHRa3PasMBTKq3EQHIi/6sfM KKgkX7Oq0cDJWis7eloSWR08I2qZrJclIh+59xN1j7YbXhIs+meKs6rGRYIrzKd1SMCV UpQUZD4yS5rtkLxjiihTHrdt7UDS/AW9TKUTrSQrAZcQbRFMNfJ9uJBTsCTXbpCnvL77 Tfow==
X-Received: by 10.194.82.34 with SMTP id f2mr24604557wjy.25.1363076618301; Tue, 12 Mar 2013 01:23:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.234.198 with HTTP; Tue, 12 Mar 2013 01:23:18 -0700 (PDT)
In-Reply-To: <CAPwYjpne9FNYEZv3rVCUk4jGMfWwC81vzn1-q_gH7Lbf9FFYQQ@mail.gmail.com>
References: <CAPwYjpne9FNYEZv3rVCUk4jGMfWwC81vzn1-q_gH7Lbf9FFYQQ@mail.gmail.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Tue, 12 Mar 2013 17:23:18 +0900
Message-ID: <CAH9hSJZc4axp=Xs9BL1TVRg4FcYxa+SYK+cszQAQ2eHnOn=v6w@mail.gmail.com>
To: Dario Crivelli <dario.crivelli@lightstreamer.com>
Content-Type: multipart/alternative; boundary=047d7beb95c0a2ca8f04d7b60126
X-Gm-Message-State: ALoCoQlNfZDihSqYmpXpo4MLqT2Ut9M/mcfn4xmgRV9HUsXqJNpRlK/lohkNYQ7WbsqXkFHhxsEjc39Nhxvew9KOWDX+jfrioUrzuvvUmQF6M5aJvl1zzJskaIDujJuGkgxr/D4FVOEjwaxBRkBUgMernkV1WoQqqSif6jO0DpbkoAWZOqD7ICmLK3gi6r+NF8laKKSBLgyf
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] More feedback on draft-ietf-hybi-permessage-compression-05
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: Tue, 12 Mar 2013 08:23:41 -0000

--047d7beb95c0a2ca8f04d7b60126
Content-Type: text/plain; charset=ISO-8859-1

Hi Dario,

Thanks for the feedback.

On Mon, Mar 11, 2013 at 6:55 PM, Dario Crivelli <
dario.crivelli@lightstreamer.com> wrote:

> A) permessage-deflate
>
> As far as the "permessage-deflate" extension to the WebSocket protocol is
> concerned, it seems to me that the description is complete, although I have
> not tried to implement the extension support yet.
>
> For the handshake negotiation part, I acknowledge that the alternative
> text proposed by Barry Leiba is clearer, though it does not mention the
> requirements on the extension parameters in the response.
>
> In paragraph 5.1.2, I found it difficult to read the sentence:
>     Otherwise, the server MUST NOT accept the request with a response with
> the parameter.
> I suppose it is equivalent to:
>     Otherwise, if accepting the request, the server MUST NOT include this
> parameter in the response.
>
>
OK. I've rewritten the whole text for clarification. Please take a look
again when I publish the revised one. I-D submission is closed now for f2f
meeting.


>
> The example in paragraph 3.1 reports the "Hello World" parameter value,
> with a space in the middle.
> Wasn't that unallowed, as also discussed in
> http://www.ietf.org/mail-archive/web/hybi/current/msg09904.html ?
>
>
Oh, right. Fixed.


>
> I see from the example in paragraph 5.2.3.1 that a compressed text message
> still retains the opcode=text flag, so that, after decompression, it will
> still be subject to UTF-8 compliance.
> This rule may probably be inferred from the context; yet it is not so
> obvious, because the "application data" in the resulting frames is not
> UTF-8.
> Hence, I think it's worth clarifying explicitly, in paragraphs 4.1/4.2,
> that the opcode will not change.
>

Done.


> In fact, honestly, I'm not able to find, in RFC6455, where it is stated
> that the constraints in paragraph 5.6 do not apply to extensions.
>
>
I agree that it's not clarified in the RFC.


>
>
> B) Per-message Compression Extensions
>
>
> On the other hand, I cannot understand the scope of the definition of the
> "Per-message Compression Extensions" framework concept.
> I assume that by "Per-message Compression Extensions" we mean a subset of
> extensions to the WebSocket protocol, and that what's being defined is the
> common part that any extension definition has to share, in order for its
> inclusion in this subset to be claimed.
> In this regard, I suggest including a reference to paragraph 9 (or 5.8) of
> RFC6455, where the "extension" concept is introduced.
>

Done.


>
>
> In my opinion, the definition of the boundaries of this subset is not
> clear.
> The WebSocket specification leaves many degrees of freedom to extension
> definitions, in terms of reserved bits, opcodes, extension data,
> fragmentation, status codes, handshake tokens, and perhaps even more.
> The extensions belonging to the "Per-message Compression Extensions"
> subset will take advantage of some of these degrees of freedom;
> but it is not stated what they will not be allowed to take advantage of.
>

The concept doesn't require/allow/prohibit anything other than the RSV1 bit.


> For instance: can a future extension belonging to this set also reserve
> the RSV2 bit?
>

It may though it needs to be discussed and registered with the registry.


> This would affect whether or not the compatibility rules and other
> implementation aspects regarding all extensions in the "Per-message
> Compression Extensions" subset could be handled by the same code.
>
>
It's not easy to have flexible code to resolve dependency/incompatibility
between offered extensions. Yes.


>
> About the compatibility rules, I understand that,
> - since compression requires that the whole payload is modified first, and
> only then are the frames cast,
> - as a consequence, the compression cannot be applied after another
> extension which imposes its own requirements on the framing.
>

Right


> But how can I ensure that my implementation will comply with this
> constraint?
>
>
I think even the RFC left many degrees of freedom to extension design,
we'll use small subset of combination/order of extensions, and the code for
resolve/integrate extensions support only such a small subset.


> The proposed specification says:
>     Per-message Compression Extensions MUST NOT be used after any
> extension for which frame boundary needs to be preserved.
>     Per-message Compression Extensions MUST NOT be used after any
> extension that uses "Extension data" field or any of the reserved bits on
> the WebSocket header as per-frame attribute.
>
>  This assumes that any extension can be evaluated as to whether:
> - frame boundary needs to be preserved;
> - "Extension data" field is used as per-frame attribute;
> - any of the reserved bits on the WebSocket header is used as per-frame
> attribute.
>
> Should I expect the evaluation of the above predicates to be indicated
> somewhere in the specifications of all future extensions?
> Or will I be supposed to evaluate these predicates myself from the
> extension specification text alone?
>
>
Good point. Maybe to evolve WebSocket with lots of extensions and
combination between them, we need to define and maintain some list of
characteristics like them, and suggest that people writing extension specs
to check yes/no for each of them.

It's burden, and that's one of the reasons why RFC6455 was published with
only general concept of extension.

Takeshi

--047d7beb95c0a2ca8f04d7b60126
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Dario,<div><br></div><div>Thanks for the feedback.<br><=
div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Mon, Mar 11, 20=
13 at 6:55 PM, Dario Crivelli <span dir=3D"ltr">&lt;<a href=3D"mailto:dario=
.crivelli@lightstreamer.com" target=3D"_blank">dario.crivelli@lightstreamer=
.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div>A) permessage-deflate<br></div><div><br=
></div><div>As far as the &quot;permessage-deflate&quot; extension to the W=
ebSocket protocol is concerned, it seems to me that the description is comp=
lete, although I have not tried to implement the extension support yet.</di=
v>



<div><br></div><div>For the handshake negotiation part, I acknowledge that =
the alternative text proposed by Barry Leiba is clearer, though it does not=
 mention the requirements on the extension parameters in the response.=A0</=
div>



<div><br></div><div>In paragraph 5.1.2, I found it difficult to read the se=
ntence:</div><div>=A0 =A0=A0Otherwise, the server MUST NOT accept the reque=
st with a response with the parameter.</div><div>I suppose it is equivalent=
 to:</div>



<div>=A0 =A0=A0Otherwise, if accepting the request, the server MUST NOT inc=
lude this parameter in the response.</div><div><br></div></blockquote><div>=
<br></div><div style>OK. I&#39;ve rewritten the whole text for clarificatio=
n. Please take a look again when I publish the revised one. I-D submission =
is closed now for f2f meeting.</div>

<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><div></div><div><br></div><div=
>The example in paragraph 3.1 reports the &quot;Hello World&quot; parameter=
 value, with a space in the middle.</div>



<div>Wasn&#39;t that unallowed, as also discussed in <a href=3D"http://www.=
ietf.org/mail-archive/web/hybi/current/msg09904.html" target=3D"_blank">htt=
p://www.ietf.org/mail-archive/web/hybi/current/msg09904.html</a> ?</div><di=
v>

<br></div></blockquote><div><br></div><div style>Oh, right. Fixed.</div><di=
v>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bor=
der-left:1px #ccc solid;padding-left:1ex"><div></div><div>

<br></div><div>I see from the example in paragraph 5.2.3.1 that a compresse=
d text message still retains the opcode=3Dtext flag, so that, after decompr=
ession, it will still be subject to UTF-8 compliance.</div><div>This rule m=
ay probably be inferred from the context; yet it is not so obvious, because=
 the &quot;application data&quot; in the resulting frames is not UTF-8.</di=
v>



<div>Hence, I think it&#39;s worth clarifying explicitly, in paragraphs 4.1=
/4.2, that the opcode will not change.=A0</div></blockquote><div><br></div>=
<div style>Done.</div><div>=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>In fact, honestly, I&#39;m not able to find, in RFC6455, where it is s=
tated that the constraints in paragraph 5.6 do not apply to extensions.</di=
v>

<div><br></div></blockquote><div><br></div><div style>I agree that it&#39;s=
 not clarified in the RFC.</div><div>=A0</div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
">

<div></div><div><br></div><div><br></div><div>B) Per-message Compression Ex=
tensions</div><div><br></div><div><br></div><div>On the other hand, I canno=
t understand the scope of the definition of the &quot;Per-message Compressi=
on Extensions&quot; framework concept.</div>



<div>I assume that by &quot;Per-message Compression Extensions&quot; we mea=
n a subset of extensions to the WebSocket protocol, and that what&#39;s bei=
ng defined is the common part that any extension definition has to share, i=
n order for its inclusion in this subset to be claimed.</div>



<div>In this regard, I suggest including a reference to paragraph 9 (or 5.8=
) of RFC6455, where the &quot;extension&quot; concept is introduced.</div><=
/blockquote><div><br></div><div style>Done.</div><div>=A0</div><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex">

<div><br></div><div><br></div><div>In my opinion, the definition of the bou=
ndaries of this subset is not clear.</div>

<div>The WebSocket specification leaves many degrees of freedom to extensio=
n definitions, in terms of reserved bits, opcodes, extension data, fragment=
ation, status codes, handshake tokens, and perhaps even more.</div><div>



The extensions belonging to the &quot;Per-message Compression Extensions&qu=
ot; subset will take advantage of some of these degrees of freedom;</div><d=
iv>but it is not stated what they will not be allowed to take advantage of.=
</div>

</blockquote><div><br></div><div style>The concept doesn&#39;t require/allo=
w/prohibit anything other than the RSV1 bit.</div><div>=A0</div><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex">



<div>For instance: can a future extension belonging to this set also reserv=
e the RSV2 bit?</div></blockquote><div><br></div><div style>It may though i=
t needs to be discussed and registered with the registry.</div><div>=A0</di=
v>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div>This would affect whether or not the co=
mpatibility rules and other implementation aspects regarding all extensions=
 in the &quot;Per-message Compression Extensions&quot; subset could be hand=
led by the same code.</div>



<div><br></div></blockquote><div><br></div><div style>It&#39;s not easy to =
have flexible code to resolve dependency/incompatibility between offered ex=
tensions. Yes.</div><div>=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div></div><div><br></div><div>About the compatibility rules, I understand =
that,</div><div>- since compression requires that the whole payload is modi=
fied first, and only then are the frames cast,</div><div>- as a consequence=
, the compression cannot be applied after another extension which imposes i=
ts own requirements on the framing.</div>

</blockquote><div><br></div><div style>Right</div><div>=A0</div><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex">

<div>But how can I ensure that my implementation will comply with this cons=
traint?</div><div><br></div></blockquote><div><br></div><div style>I think =
even the RFC left many degrees of freedom to extension design, we&#39;ll us=
e small subset of combination/order of extensions, and the code for resolve=
/integrate extensions support only such a small subset.</div>

<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><div></div><div>The proposed s=
pecification says:</div><div>=A0 =A0=A0Per-message Compression Extensions M=
UST NOT be used after any extension for which frame boundary needs to be pr=
eserved.</div>



<div>=A0 =A0=A0Per-message Compression Extensions MUST NOT be used after an=
y extension that uses &quot;Extension data&quot; field or any of the reserv=
ed bits on the WebSocket header as per-frame attribute.</div><div><br></div=
>


<div>
This assumes that any extension can be evaluated as to whether:</div><div>-=
=A0frame boundary needs to be preserved;</div><div>-=A0&quot;Extension data=
&quot; field is used as per-frame attribute;</div><div>-=A0any of the reser=
ved bits on the WebSocket header is used as per-frame attribute.</div>



<div><br></div><div>Should I expect the evaluation of the above predicates =
to be indicated somewhere in the specifications of all future extensions?</=
div><div>Or will I be supposed to evaluate these predicates myself from the=
 extension specification text alone?</div>



<div><br></div></blockquote><div><br></div><div style>Good point. Maybe to =
evolve WebSocket with lots of extensions and combination between them, we n=
eed to define and maintain some list of characteristics like them, and sugg=
est that people writing extension specs to check yes/no for each of them.</=
div>

<div><br></div><div style>It&#39;s burden, and that&#39;s one of the reason=
s why RFC6455 was published with only general concept of extension.</div><d=
iv><br></div><div style>Takeshi</div></div></div></div></div>

--047d7beb95c0a2ca8f04d7b60126--

From tyoshino@google.com  Tue Mar 12 05:13:30 2013
Return-Path: <tyoshino@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 4E07421F8A06 for <hybi@ietfa.amsl.com>; Tue, 12 Mar 2013 05:13:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.377
X-Spam-Level: 
X-Spam-Status: No, score=-101.377 tagged_above=-999 required=5 tests=[AWL=-0.001, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_64=0.6, NORMAL_HTTP_TO_IP=0.001, NO_RELAYS=-0.001, 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 clfLdEKqG4G5 for <hybi@ietfa.amsl.com>; Tue, 12 Mar 2013 05:13:29 -0700 (PDT)
Received: from mail-wg0-x22a.google.com (mail-wg0-x22a.google.com [IPv6:2a00:1450:400c:c00::22a]) by ietfa.amsl.com (Postfix) with ESMTP id 88ED621F89E2 for <hybi@ietf.org>; Tue, 12 Mar 2013 05:13:28 -0700 (PDT)
Received: by mail-wg0-f42.google.com with SMTP id 12so3174521wgh.3 for <hybi@ietf.org>; Tue, 12 Mar 2013 05:13:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=0GcwOfszatRmI56k8jpSXj44ypYtTUfg4QVmDJHKEpM=; b=pHv2LUd/0g6K8IjG0jHhdmwbyjqo0GzSn/bd70OIQ2PGrhJ/wSc9m8S6HxL+gz5MO1 j+VU+qLMJlXlY0Sxp5V63d9P/zLB4UWiTmCnZs2a/lO4t5HbafIx0Xsyqo2oPwBoCmMU BanjNH6iKsmTVX7+rXtshSeg/6jZGcs5fCyNITWCV+IstCTo2jCon7WUU9iwBV2PrjPz owYjsF0l/f1hIbqmOo4bwhXazydcubec/Uch9EQk/b7RQiLtR1sOVY7cU4Dq2tByKaeN LhfQmzTFGWUIFCaCqbAZtUM2qA3IMO0gv51GJbfUUicyrAehDFK17ZFbap8CWEyh5Fqc lSlQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=0GcwOfszatRmI56k8jpSXj44ypYtTUfg4QVmDJHKEpM=; b=XSLBJdSe5xnHfzOuh7FQTAsZAA1Rpw5DZZ8Uzokqs67B4yN2oVNURwTOhL9S/oDhRT T9rmmRrI3708Pd5scNP71hGFaxz8pQNiXPfDWOEZJmleO6pD/cmKdyrzkn1/kISbgOsK Vcfyssr49rOu50zchhLHV0ApsBP1x8lV9wmS9/qsY8Fo6GDjJYdTzQOpQYUA/+caKbxo kMTTYYa5Ogu8HltAQZcHcsD6N1uvlpUFbXfZ3XV4R1f+lSn0gDNHTI5BUL5pAizdsLua oQWAL2wdf7D3woVEkkKl/gxL0l+vFut64yIgLCjvDh59zrsmNaqvBGanypBZmN8qi4FF PMDw==
X-Received: by 10.194.82.34 with SMTP id f2mr26132990wjy.25.1363090407356; Tue, 12 Mar 2013 05:13:27 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.234.198 with HTTP; Tue, 12 Mar 2013 05:13:07 -0700 (PDT)
In-Reply-To: <6.2.5.6.2.20130223175715.094d8508@elandnews.com>
References: <6.2.5.6.2.20130223175715.094d8508@elandnews.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Tue, 12 Mar 2013 21:13:07 +0900
Message-ID: <CAH9hSJZT6-5szxCoHPROujqKZSXumLmi8TKqN11w6oEfcOOpXg@mail.gmail.com>
To: SM <sm@resistor.net>
Content-Type: multipart/alternative; boundary=047d7beb95c087164704d7b9374a
X-Gm-Message-State: ALoCoQm2GRi2QlPwVxxC0Zr3dALX+4YwSoiKyT7UNBlDz62/yQqdZqNTnvvM4XJiUPeVplb9+3rv4b0jNgwEVR/yYOA5Lvhggwwg4Fl7pKo5nPn5IOuYXjXOefIXFym0npcu7O3hjJS6iAbgXu3n7MpqGm8OPk5nklSumxhjhMwHPTqZkzkxft+6cC0IF0JiSiiOxkL6FZQF
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Comments on draft-ietf-hybi-permessage-compression-05
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: Tue, 12 Mar 2013 12:13:30 -0000

--047d7beb95c087164704d7b9374a
Content-Type: text/plain; charset=ISO-8859-1

On Sun, Feb 24, 2013 at 11:59 AM, SM <sm@resistor.net> wrote:

> Hi Takeshi,
>
> This is an individual comment on draft-ietf-hybi-permessage-**compression-05.
>  I did not cover all the issues.  Sorry for not providing ample explanation.
>
>
Thank you so much. It's fine but let me ask you to elaborate some of them.


> In Section 1:
>
>  "_This section is non-normative._"
>
> This style is unusual for IETF Stream documents.  I suggest switching back
> to the usual style.
>

Yes. I've removed them.


>
>   "As well as other communication protocols, the WebSocket Protocol
>    [RFC6455] can benefit from compression technology."
>
> The sentence would benefit from a rewrite.  It could alternatively be
> dropped.
>

Dropped.


>
> I suggest first specifying the framework and then go into the details.  I
> would look at the Introduction Section in terms of providing an
> introduction to the topic and after that a view of what to expect in the
> other sections so that there is a "logical" flow.  Sorry for not describing
> this in better terms.
>
>
Yes. I've revised overall organization of the document.


> In Section 3:
>
>   'Extensions build based on this framework are collectively
>    called "Per-message Compression Extensions".'
>
> Where is there an explanation for the framework?
>
>
Added.


>   'To request use of a Per-message Compression Extension, a client
>    MUST include an element with its extension token in the
>    "Sec-WebSocket-Extensions" header in its opening handshake.'
>
> What is "element" and what is "extension token"?
>

I tried to point "extension" in the ABNF for the Sec-WebSocket-Extensions,
but there's no good name (such as extension descriptor, extension
definition, maybe) given for that part in RFC 6455.

"Sec-WebSocket-Extensions header element" might be shortest description.
Otherwise, we need to write clauses for each occurrence of element or
define our own alias for it.

Regarding introduction section, I just removed the detail.


>
>   "A client MAY list multiple Per-message Compression Extensions
>    with the same name to offer use of the same algorithm with
>    different configurations."
>
> Why is this a MAY?
>

It's intended to clarify it's ok to send multiple offers with the same
name. I've rewritten the sentence using the text suggested by Barry.


>
>   "The parameters MUST be derived from the parameters sent by the
>    client and the server's capability."
>
> What is the meaning of "the parameters must be derived"?
>

Erased during addressing Barry's comments.


>
>   'To reject use of a Per-message Compression Extension, a server MUST
>    simply ignore the element in the "Sec-WebSocket-Extensions" header in
>    the client's opening handshake.'
>
> This is not clear.
>

Erased during addressing Barry's comments.


>
>   "If a client doesn't support the extension and its parameters replied
>    from the server, the client MUST _Fail the WebSocket Connection_."
>
> What is the meaning of "MUST _Fail"?
>

It's commonly used in RFC 6455. Maybe you meant that I should cite RFC 6455
and define the term in this document. Done.

Done too for _the WebSocket Connection is established_ event.


>
>   "Otherwise, once _the WebSocket Connection is established_, both
>    endpoints MUST use the algorithm described in Section 4 to exchange
>    messages."
>
> This comes out as IF requirement1 ELSE requirement2.
>
> I suggest explaining how the protocol should work.  Error handling could
> be part of that.
>
> In Section 4.1:
>
>   "To send a compressed message, an endpoint MUST use the following
>    algorithm."
>
> I only need to know the format to use to send the compressed message.  I
> suggest looking at it from that angle instead of specifying an algorithm.
>
> In Section 5.2.1:
>
>   "The ABNF [RFC5234] for the value of this parameter is 1*DIGIT."
>
> I suggest following the usual practices for ABNF (see existing RFCs for
> examples).
>
>
Not sure which is the most supported format...

Rewrote referring to httpbis documents. I.e.

  c2s_max_window_bits = 1*DIGIT

and added a section about terminology and cited RFC 5234 in it.


> Each section seems like a standalone part of the draft.  In Section
> 5.3.2.1:
>
>   "The first 2 octets are the WebSocket protocol's overhead (FIN=1,
>    RSV1=1, RSV2=0, RSV3=0, opcode=text, MASK=0, Payload length=7)."
>
> I suggest using ASCII art for illustration.
>

Basically I feel like it's too much. But yes, it's good to show an example
of a diagram with the RSV1 is set once.

Done.


>
>   "To send it after fragmentation, split the compressed payload and
>    build frames for each of split data as well as fragmentation process
>    done when the compression extension is not used."
>
> I suggest avoiding the tutorial approach.  I would look at this as what
> goes on the wire.
>

Sorry I couldn't get what you mean.

Using "To A do B" format is bad?


> In Section 6:
>
>   "There are no security concerns for now."
>
> This is going to flag this as an issue.  I suggest thinking about the
> security considerations.  There must be something which could go wrong.
>

Added one concern (citing CRIME attack).


>
> The basic idea is there.  It is a matter of having text to explain that.
>  I suggest avoiding sentences like 'Then, a block containing "llo"
> follows.' as it will create more work for the RFC Editor.


Which part of the sentence is bad for the RFC Editor?


>  The draft unfortunately has to be rewritten.  It is better not to make
> liberal use of RFC 2119 key words.  I suggest using them for
> interoperability.


Could you please point a sentence which is considered to be making liberal
use of the key worlds? I tried to remove inappropriate use but couldn't
find so many.


>  RFC 6709 discusses about design considerations for extensions.  It could
> be used as guidance.  I suggest looking at some other RFCs discussing about
> extensions to get an idea of the possible styles and then choosing one.
>
> Regards,
> -sm
>
>
>
>
Takeshi

--047d7beb95c087164704d7b9374a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Sun, Feb 24, 2013 at 11:59 AM, SM <span dir=3D"ltr">&lt=
;<a href=3D"mailto:sm@resistor.net" target=3D"_blank">sm@resistor.net</a>&g=
t;</span> wrote:<br><div class=3D"gmail_extra"><div class=3D"gmail_quote"><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex">

Hi Takeshi,<br>
<br>
This is an individual comment on draft-ietf-hybi-permessage-<u></u>compress=
ion-05. =A0I did not cover all the issues. =A0Sorry for not providing ample=
 explanation.<br>
<br></blockquote><div><br></div><div style>Thank you so much. It&#39;s fine=
 but let me ask you to elaborate some of them.</div><div>=A0</div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so=
lid;padding-left:1ex">


In Section 1:<br>
<br>
=A0&quot;_This section is non-normative._&quot;<br>
<br>
This style is unusual for IETF Stream documents. =A0I suggest switching bac=
k to the usual style.<br></blockquote><div><br></div><div style>Yes. I&#39;=
ve removed them.</div><div>=A0</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>
=A0 &quot;As well as other communication protocols, the WebSocket Protocol<=
br>
=A0 =A0[RFC6455] can benefit from compression technology.&quot;<br>
<br>
The sentence would benefit from a rewrite. =A0It could alternatively be dro=
pped.<br></blockquote><div><br></div><div style>Dropped.</div><div>=A0</div=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex">


<br>
I suggest first specifying the framework and then go into the details. =A0I=
 would look at the Introduction Section in terms of providing an introducti=
on to the topic and after that a view of what to expect in the other sectio=
ns so that there is a &quot;logical&quot; flow. =A0Sorry for not describing=
 this in better terms.<br>


<br></blockquote><div><br></div><div style>Yes. I&#39;ve revised overall or=
ganization of the document.</div><div>=A0</div><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x">


In Section 3:<br>
<br>
=A0 &#39;Extensions build based on this framework are collectively<br>
=A0 =A0called &quot;Per-message Compression Extensions&quot;.&#39;<br>
<br>
Where is there an explanation for the framework?<br>
<br></blockquote><div><br></div><div style>Added.</div><div>=A0</div><block=
quote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc=
 solid;padding-left:1ex">
=A0 &#39;To request use of a Per-message Compression Extension, a client<br=
>
=A0 =A0MUST include an element with its extension token in the<br>
=A0 =A0&quot;Sec-WebSocket-Extensions&quot; header in its opening handshake=
.&#39;<br>
<br>
What is &quot;element&quot; and what is &quot;extension token&quot;?<br></b=
lockquote><div><br></div><div>I tried to point &quot;extension&quot; in the=
 ABNF for the Sec-WebSocket-Extensions, but there&#39;s no good name (such =
as extension descriptor, extension definition, maybe) given for that part i=
n RFC 6455.</div>

<div><br></div><div style>&quot;Sec-WebSocket-Extensions header element&quo=
t; might be shortest description. Otherwise, we need to write clauses for e=
ach occurrence of element or define our own alias for it.</div><div style>

<br></div><div style>Regarding introduction section, I just removed the det=
ail.</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
=A0 &quot;A client MAY list multiple Per-message Compression Extensions<br>
=A0 =A0with the same name to offer use of the same algorithm with<br>
=A0 =A0different configurations.&quot;<br>
<br>
Why is this a MAY?<br></blockquote><div><br></div><div style>It&#39;s inten=
ded to clarify it&#39;s ok to send multiple offers with the same name. I&#3=
9;ve rewritten the sentence using the text suggested by Barry.</div><div>

=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">
<br>
=A0 &quot;The parameters MUST be derived from the parameters sent by the<br=
>
=A0 =A0client and the server&#39;s capability.&quot;<br>
<br>
What is the meaning of &quot;the parameters must be derived&quot;?<br></blo=
ckquote><div><br></div><div style>Erased during addressing Barry&#39;s comm=
ents.</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>
=A0 &#39;To reject use of a Per-message Compression Extension, a server MUS=
T<br>
=A0 =A0simply ignore the element in the &quot;Sec-WebSocket-Extensions&quot=
; header in<br>
=A0 =A0the client&#39;s opening handshake.&#39;<br>
<br>
This is not clear.<br></blockquote><div><br></div><div style>Erased during =
addressing Barry&#39;s comments.</div><div>=A0</div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">


<br>
=A0 &quot;If a client doesn&#39;t support the extension and its parameters =
replied<br>
=A0 =A0from the server, the client MUST _Fail the WebSocket Connection_.&qu=
ot;<br>
<br>
What is the meaning of &quot;MUST _Fail&quot;?<br></blockquote><div><br></d=
iv><div style>It&#39;s commonly used in RFC 6455. Maybe you meant that I sh=
ould cite RFC 6455 and define the term in this document. Done.</div><div st=
yle>

<br></div><div style>Done too for _the WebSocket Connection is established_=
 event.</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
=A0 &quot;Otherwise, once _the WebSocket Connection is established_, both<b=
r>
=A0 =A0endpoints MUST use the algorithm described in Section 4 to exchange<=
br>
=A0 =A0messages.&quot;<br>
<br>
This comes out as IF requirement1 ELSE requirement2.<br>
<br>
I suggest explaining how the protocol should work. =A0Error handling could =
be part of that.<br>
<br>
In Section 4.1:<br>
<br>
=A0 &quot;To send a compressed message, an endpoint MUST use the following<=
br>
=A0 =A0algorithm.&quot;<br>
<br>
I only need to know the format to use to send the compressed message. =A0I =
suggest looking at it from that angle instead of specifying an algorithm.<b=
r>
<br>
In Section 5.2.1:<br>
<br>
=A0 &quot;The ABNF [RFC5234] for the value of this parameter is 1*DIGIT.&qu=
ot;<br>
<br>
I suggest following the usual practices for ABNF (see existing RFCs for exa=
mples).<br>
<br></blockquote><div><br></div><div style>Not sure which is the most suppo=
rted format...</div><div style><br></div><div style>Rewrote referring to ht=
tpbis documents. I.e.</div><div style><br></div><div style>=A0 c2s_max_wind=
ow_bits =3D 1*DIGIT</div>

<div style><br></div><div style>and added a section about terminology and c=
ited RFC 5234 in it.</div><div>=A0</div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Each section seems like a standalone part of the draft. =A0In Section <a hr=
ef=3D"http://5.3.2.1" target=3D"_blank">5.3.2.1</a>:<br>
<br>
=A0 &quot;The first 2 octets are the WebSocket protocol&#39;s overhead (FIN=
=3D1,<br>
=A0 =A0RSV1=3D1, RSV2=3D0, RSV3=3D0, opcode=3Dtext, MASK=3D0, Payload lengt=
h=3D7).&quot;<br>
<br>
I suggest using ASCII art for illustration.<br></blockquote><div><br></div>=
<div style>Basically I feel like it&#39;s too much. But yes, it&#39;s good =
to show an example of a diagram with the RSV1 is set once.</div><div style>

<br></div><div style>Done.</div><div>=A0</div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
">
<br>
=A0 &quot;To send it after fragmentation, split the compressed payload and<=
br>
=A0 =A0build frames for each of split data as well as fragmentation process=
<br>
=A0 =A0done when the compression extension is not used.&quot;<br>
<br>
I suggest avoiding the tutorial approach. =A0I would look at this as what g=
oes on the wire.<br></blockquote><div><br></div><div style>Sorry I couldn&#=
39;t get what you mean.</div><div style><br></div><div style>Using &quot;To=
 A do B&quot; format is bad?</div>

<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
In Section 6:<br>
<br>
=A0 &quot;There are no security concerns for now.&quot;<br>
<br>
This is going to flag this as an issue. =A0I suggest thinking about the sec=
urity considerations. =A0There must be something which could go wrong.<br><=
/blockquote><div><br></div><div style>Added one concern (citing CRIME attac=
k).</div>

<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<br>
The basic idea is there. =A0It is a matter of having text to explain that. =
=A0I suggest avoiding sentences like &#39;Then, a block containing &quot;ll=
o&quot; follows.&#39; as it will create more work for the RFC Editor.</bloc=
kquote>

<div><br></div><div style>Which part of the sentence is bad for the RFC Edi=
tor?</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> =A0The draft unfort=
unately has to be rewritten. =A0It is better not to make liberal use of RFC=
 2119 key words. =A0I suggest using them for interoperability.</blockquote>

<div><br></div><div style>Could you please point a sentence which is consid=
ered to be making liberal use of the key worlds? I tried to remove inapprop=
riate use but couldn&#39;t find so many.</div><div>=A0</div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa=
dding-left:1ex">

 =A0RFC 6709 discusses about design considerations for extensions. =A0It co=
uld be used as guidance. =A0I suggest looking at some other RFCs discussing=
 about extensions to get an idea of the possible styles and then choosing o=
ne.<br>


<br>
Regards,<br>
-sm<br>
<br>
<br>
<br>
</blockquote></div><br></div><div class=3D"gmail_extra" style>Takeshi</div>=
</div>

--047d7beb95c087164704d7b9374a--

From tyoshino@google.com  Tue Mar 12 05:26:21 2013
Return-Path: <tyoshino@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 CC59321F88F7 for <hybi@ietfa.amsl.com>; Tue, 12 Mar 2013 05:26:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.677
X-Spam-Level: 
X-Spam-Status: No, score=-101.677 tagged_above=-999 required=5 tests=[AWL=0.300, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001, 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 6cLeVZcCF5dD for <hybi@ietfa.amsl.com>; Tue, 12 Mar 2013 05:26:20 -0700 (PDT)
Received: from mail-we0-x234.google.com (mail-we0-x234.google.com [IPv6:2a00:1450:400c:c03::234]) by ietfa.amsl.com (Postfix) with ESMTP id 19BC121F889C for <hybi@ietf.org>; Tue, 12 Mar 2013 05:26:19 -0700 (PDT)
Received: by mail-we0-f180.google.com with SMTP id k14so4543524wer.39 for <hybi@ietf.org>; Tue, 12 Mar 2013 05:26:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=hu+lkmCd01F+sTQjlav93oGYYSwljH0frLHlzP+Ld+g=; b=H24RyIiecbMVbgJCY00mm1BYd+pZJxXDCSPUFkMVlB7DxXITAdrA9UeHz+snzwr7A6 uoOCzvIuzQ5Ql6uxVx8HOsHjhShFf+VJMu1fiotJiN1BOeZmryhXIDna3Nu/32to9vbJ /DSKKba/DoED6Z/ED7pl0FxxKos2rhzd9LSbzZcRbG6PhtotHQ2RB4YRkGVnbBHNoe45 PgL4m7vXD8H5K8/cjtsXxJnaJJ2kEW+lFGVFsALt8BgERh/TbD6OzHLNA5HhAfuZSWgZ fjeG+JBjtndvCNYNMFmUH7T50MFYwFmvmzY2lRz9VoCg4/vrJmb+BHe/dLPxMQwUf5Us oJww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=hu+lkmCd01F+sTQjlav93oGYYSwljH0frLHlzP+Ld+g=; b=If1Zr149FEhclXDZbShmx6Ah041qNylJcAR5QNUPuRuPf8l484UD28LRM52V2lwava c8MMdIumHTAsolnQFPuVk+IC7OXTlwEI2CbmueMGv/J0B7pqtUkxPNSNCd5TiccvUDrB AjBAVVNbPtpCBXAKSuQVj2XISBUjTQKcUf7MSc2AcqXsaMwPWVxZUBUbZxuzTddb8+sW Y+PsVCet661ZC0XX5LCbM+wg7Hp9LQpDOnwxqQ8yYMeDEeZVvhTfjdXUkgywHoveCU4t hsoS+TFGngApT1lV2BvExk18D096p2DnCa8q16DPaqU6L3LLKdu5E6oYaW2Tpd6G5mO5 M2yg==
X-Received: by 10.180.90.2 with SMTP id bs2mr24686158wib.0.1363091177985; Tue, 12 Mar 2013 05:26:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.234.198 with HTTP; Tue, 12 Mar 2013 05:25:57 -0700 (PDT)
In-Reply-To: <CAC4RtVB33Fm9KpC6QPB_=LRvMRx_fR7vMNp5nFP3HqPTbfouqA@mail.gmail.com>
References: <5124943C.4080503@ericsson.com> <5124CF8E.2000406@ericsson.com> <CAC4RtVB33Fm9KpC6QPB_=LRvMRx_fR7vMNp5nFP3HqPTbfouqA@mail.gmail.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Tue, 12 Mar 2013 21:25:57 +0900
Message-ID: <CAH9hSJYrms4NjATbBrqhkb48o5n1xtau0=kU90hR1Wmy28nA-Q@mail.gmail.com>
To: Barry Leiba <barryleiba@computer.org>
Content-Type: multipart/alternative; boundary=f46d043be19c75f1de04d7b96504
X-Gm-Message-State: ALoCoQkk45vpSiA3OZegDUb7hXNJ6wJQqr/3ClE+r8aZ7Dah8oM7lZMOumxrH/SaRgdNoVgv7jS5WgbwMZ6MGVDz/V/qEoLBnQnDohdL8FmoQ4uvBGVCnoagu4MPgE+AW954bD7gproSx3hRWM1TrUTBxgkX+xHBpYR6eTharpTLr4THTLIl3R+iY6Gn841Jb3fBniWP+f9K
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Fwd: publication request: draft-ietf-hybi-permessage-compression-05
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: Tue, 12 Mar 2013 12:26:21 -0000

--f46d043be19c75f1de04d7b96504
Content-Type: text/plain; charset=ISO-8859-1

Thanks for review.

On Fri, Feb 22, 2013 at 7:42 AM, Barry Leiba <barryleiba@computer.org>wrote:

>
>    [in various places...}
>    _This section is non-normative._
>
>    2. Conformance Requirements
>    Everything in this specification except for sections explicitly
>    marked non-normative is normative.
>
> I understand that all of this corresponds to the same text in the
> WebSockets document.  I can't tell you how much I dislike this style,
> and I ask (but not demand) that you please consider removing it.  I'm
> happy to discuss this.
>
>
Yes. Removed.


> I believe you need to be clear from the language you use (and I don't
> just mean MUST and SHOULD) when something is not normative.  Calling
> things "examples" already conveys this.  Section titles such as
> "Introduction" conveys this.  Most documents manage without this sort
> of thing.  Why does WebSockets (and its successor documents, such as
> this one) need it?
>
> -- Introduction --
>
>    The simplest "Sec-WebSocket-Extensions" header in the client's
>    opening handshake to request permessage-deflate is the following:
>
>        Sec-WebSocket-Extensions: permessage-deflate
>
>    The simplest header from the server to accept this extension is the
>    same.
>
> Why is this in the Introduction?  It seems seriously out of place there.
>
>
Moved it out.


> -- Section 3 --
>
> I find the organization of this to be awkward.  The first paragraph
> doesn't make much sense to me, for one thing.  I suggest two things to
> start with:
>
> 1. Change the overall document title:
>
> OLD
> WebSocket Per-message Compression
>
> NEW
> WebSocket Per-message Compression Extension Framework
>
> That better explains what the document is specifying (the abbreviated
> title can remain "WebSocket Per-message Compression"), and means that
> the last sentence of the first paragraph of Section 3 can be removed.
> For the rest of the paragraph, how about this (I'm also pulling up
> something from the paragraphs below)?:
>
> NEW
>    Per-Message Compression Extensions (PMCEs) are individually
>    defined, and are registered in the WebSocket Extension Name
>    Registry.  One such extension is defined in Section 5 of this
>    document and is registered in Section 7.1.  Other PMCEs may
>    be defined in other documents.  Each PMCE defines the content
>    of its extension token, including any applicable extension
>    parameters.
> END
>
> Note that you now have an abbreviation (PMCE) that you can use freely.
>
>
Thanks. Took the idea.


> Second paragraph:
>
>    To request use of a Per-message Compression Extension, a client MUST
>    include an element with its extension token in the
>    "Sec-WebSocket-Extensions" header in its opening handshake.
>
> You should avoid a lot of "it"s, unless the antecedent is quite clear.
>  Here, the antecedents are not clear.  It looks like "its extension
> token" means "the client's extension token," and it looks like "its
> opening handshake" means "the S-WS-E header's opening handshake," or
> perhaps "the token's opening handshake."
>

OK. I'll fix them.


>
> Also, is the client "requesting" use of one particular PMCE, or
> "offering" a list of PMCEs?  It seems to me that it's the latter:


The language in RFC 6455 was "request/accept" (
http://tools.ietf.org/html/rfc6455#section-9), so, I used it.


> the
> client offers a list, and the server selects zero or one from the list
> and sends it in the response.  Yes?
>

Yes. The server can decline the offer.

I don't stick to "request", but am not so sure how odd and why "request"
sounds so.


>
>    The
>    element contains extension parameters as specified by the
>    specification of the extension.
>
> This loops around in a circle, and is hard to make sense of.
>
>
Removed


>    A client MAY list multiple Per-
>    message Compression Extensions with the same name to offer use of the
>    same algorithm with different configurations.
>
> May a client also list multiple extensions with *different* names?
>

Yes. It may.


>
> How about this for the whole paragraph?:
>
> NEW
>    To offer use of a PMCE, a client MUST include an element with the
>    offered extension's token in the "Sec-WebSocket-Extensions" header
>    in the opening handshake of the WebSocket connection.  A client
>    offers multiple PMCE choices to the server by including multiple
>    tokens, one for each PMCE offered.  The set of tokens MAY include
>    multiple PMCEs with the same name to offer use of the same
>    algorithm with different configurations.
> END
>
>
Thanks. I took it with some modification.


> Please look for other "it" occurrences, and make sure they're similarly
> clear.
>
>
OK


> Similarly, for the third paragraph, maybe this?:
>
> NEW
>    To accept use of a PMCE, a server MUST include an element with the
>    accepted extension token in the "Sec-WebSocket-Extensions" header in
>    the opening handshake of the WebSocket connection.  The accepted
>    token MUST be one of those offered by the client during the opening
>    handshake, and MUST represent a PMCE that is fully supported by the
>    server.  The server rejects all offered PMCEs by not including any
>    PMCE tokens, in which case the connection proceeds without
>    per-message compression.
> END
>
>
Thanks. Made some rewrite and replaced.


> Fourth paragraph:
>
>    If a client doesn't support the extension and its parameters replied
>    from the server, the client MUST _Fail the WebSocket Connection_.
>    Otherwise, once _the WebSocket Connection is established_, both
>    endpoints MUST use the algorithm described in Section 4 to exchange
>    messages.
>
> Why would a server respond with an extension/parameters that the
> client doesn't support?  The client already sent a list of what it's
> willing to use.  In the re-writes I've done above, that's made clear,
>

Yes, great.


> and this paragraph is, if anything, just specifying how to handle a
> server response that's in violation of the protocol.  You also refer
> to the Section 4 algorithm, but say nothing about what compression
> mechanism will be used.  So maybe this?:
>
> NEW
>    * If the server responds with no PMCE tokens, once _the WebSocket
>    Connection is established_ it proceeds without per-message
>    compression.
>
>    * If the server gives an invalid response, such as accepting a
>    PMCE that the client did not offer, the client MUST _Fail the
>    WebSocket Connection_.
>
>    * Otherwise, once _the WebSocket Connection is established_, both
>    endpoints MUST use the algorithm described in Section 4 to exchange
>    messages, using the PMCE returned by the server.
> OLD
>
> By my reckoning, this has just re-written the entire Section 3.  This
> bothers me, because it makes me question the level of review and
> editing that the document has gone through.  As I look at Section 3.1,
> I see that it appears to be inadequate: it is *not* a "negotiation
> example"; it is a series of out-of-context examples of isolated header
> field values.  This actually *would* benefit from a full example of an
> opening handshake that uses this, where a client offers a few PMCEs
> (perhaps two with the same name and a third with another name), and
> showing how the server responds.
> ========================================
>

Sorry about the prematureness. I'm revising organization of the document
now.


> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>

--f46d043be19c75f1de04d7b96504
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Thanks for review.</div><div><br></div>On Fri, Feb 22=
, 2013 at 7:42 AM, Barry Leiba <span dir=3D"ltr">&lt;<a href=3D"mailto:barr=
yleiba@computer.org" target=3D"_blank">barryleiba@computer.org</a>&gt;</spa=
n> wrote:<br>


<div class=3D"gmail_extra"><div class=3D"gmail_quote"><blockquote class=3D"=
gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border=
-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div=
>
<br></div>
=A0 =A0[in various places...}<br>
=A0 =A0_This section is non-normative._<br>
<br>
=A0 =A02. Conformance Requirements<br>
=A0 =A0Everything in this specification except for sections explicitly<br>
=A0 =A0marked non-normative is normative.<br>
<br>
I understand that all of this corresponds to the same text in the<br>
WebSockets document. =A0I can&#39;t tell you how much I dislike this style,=
<br>
and I ask (but not demand) that you please consider removing it. =A0I&#39;m=
<br>
happy to discuss this.<br>
<br></blockquote><div><br></div><div style>Yes. Removed.</div><div>=A0</div=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;=
padding-left:1ex">


I believe you need to be clear from the language you use (and I don&#39;t<b=
r>
just mean MUST and SHOULD) when something is not normative. =A0Calling<br>
things &quot;examples&quot; already conveys this. =A0Section titles such as=
<br>
&quot;Introduction&quot; conveys this. =A0Most documents manage without thi=
s sort<br>
of thing. =A0Why does WebSockets (and its successor documents, such as<br>
this one) need it?<br>
<br>
-- Introduction --<br>
<br>
=A0 =A0The simplest &quot;Sec-WebSocket-Extensions&quot; header in the clie=
nt&#39;s<br>
=A0 =A0opening handshake to request permessage-deflate is the following:<br=
>
<br>
=A0 =A0 =A0 =A0Sec-WebSocket-Extensions: permessage-deflate<br>
<br>
=A0 =A0The simplest header from the server to accept this extension is the<=
br>
=A0 =A0same.<br>
<br>
Why is this in the Introduction? =A0It seems seriously out of place there.<=
br>
<br></blockquote><div><br></div><div style>Moved it out.<br></div><div>=A0<=
/div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo=
rder-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:so=
lid;padding-left:1ex">


-- Section 3 --<br>
<br>
I find the organization of this to be awkward. =A0The first paragraph<br>
doesn&#39;t make much sense to me, for one thing. =A0I suggest two things t=
o<br>
start with:<br>
<br>
1. Change the overall document title:<br>
<br>
OLD<br>
WebSocket Per-message Compression<br>
<br>
NEW<br>
WebSocket Per-message Compression Extension Framework<br>
<br>
That better explains what the document is specifying (the abbreviated<br>
title can remain &quot;WebSocket Per-message Compression&quot;), and means =
that<br>
the last sentence of the first paragraph of Section 3 can be removed.<br>
For the rest of the paragraph, how about this (I&#39;m also pulling up<br>
something from the paragraphs below)?:<br>
<br>
NEW<br>
=A0 =A0Per-Message Compression Extensions (PMCEs) are individually<br>
=A0 =A0defined, and are registered in the WebSocket Extension Name<br>
=A0 =A0Registry. =A0One such extension is defined in Section 5 of this<br>
=A0 =A0document and is registered in Section 7.1. =A0Other PMCEs may<br>
=A0 =A0be defined in other documents. =A0Each PMCE defines the content<br>
=A0 =A0of its extension token, including any applicable extension<br>
=A0 =A0parameters.<br>
END<br>
<br>
Note that you now have an abbreviation (PMCE) that you can use freely.<br>
<br></blockquote><div><br></div><div style>Thanks. Took the idea.</div><div=
>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-sty=
le:solid;padding-left:1ex">


Second paragraph:<br>
<br>
=A0 =A0To request use of a Per-message Compression Extension, a client MUST=
<br>
=A0 =A0include an element with its extension token in the<br>
=A0 =A0&quot;Sec-WebSocket-Extensions&quot; header in its opening handshake=
.<br>
<br>
You should avoid a lot of &quot;it&quot;s, unless the antecedent is quite c=
lear.<br>
=A0Here, the antecedents are not clear. =A0It looks like &quot;its extensio=
n<br>
token&quot; means &quot;the client&#39;s extension token,&quot; and it look=
s like &quot;its<br>
opening handshake&quot; means &quot;the S-WS-E header&#39;s opening handsha=
ke,&quot; or<br>
perhaps &quot;the token&#39;s opening handshake.&quot;<br></blockquote><div=
><br></div><div>OK. I&#39;ll fix them.</div><div>=A0<br></div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1p=
x;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1=
ex">


<br>
Also, is the client &quot;requesting&quot; use of one particular PMCE, or<b=
r>
&quot;offering&quot; a list of PMCEs? =A0It seems to me that it&#39;s the l=
atter:</blockquote><div><br></div><div><div>The language in RFC 6455 was &q=
uot;request/accept&quot; (<a href=3D"http://tools.ietf.org/html/rfc6455#sec=
tion-9" target=3D"_blank">http://tools.ietf.org/html/rfc6455#section-9</a>)=
, so, I used it.</div>


</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0=
px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);borde=
r-left-style:solid;padding-left:1ex"> the<br>
client offers a list, and the server selects zero or one from the list<br>
and sends it in the response. =A0Yes?<br></blockquote><div><br></div><div>Y=
es. The server can decline the offer.</div><div><br></div><div>I don&#39;t =
stick to &quot;request&quot;, but am not so sure how odd and why &quot;requ=
est&quot; sounds so.</div>


<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex">
<br>
=A0 =A0The<br>
=A0 =A0element contains extension parameters as specified by the<br>
=A0 =A0specification of the extension.<br>
<br>
This loops around in a circle, and is hard to make sense of.<br>
<br></blockquote><div><br></div><div style>Removed</div><div>=A0</div><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-=
width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;paddin=
g-left:1ex">


=A0 =A0A client MAY list multiple Per-<br>
=A0 =A0message Compression Extensions with the same name to offer use of th=
e<br>
=A0 =A0same algorithm with different configurations.<br>
<br>
May a client also list multiple extensions with *different* names?<br></blo=
ckquote><div><br></div><div style>Yes. It may.</div><div>=A0</div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-widt=
h:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-le=
ft:1ex">


<br>
How about this for the whole paragraph?:<br>
<br>
NEW<br>
=A0 =A0To offer use of a PMCE, a client MUST include an element with the<br=
>
=A0 =A0offered extension&#39;s token in the &quot;Sec-WebSocket-Extensions&=
quot; header<br>
=A0 =A0in the opening handshake of the WebSocket connection. =A0A client<br=
>
=A0 =A0offers multiple PMCE choices to the server by including multiple<br>
=A0 =A0tokens, one for each PMCE offered. =A0The set of tokens MAY include<=
br>
=A0 =A0multiple PMCEs with the same name to offer use of the same<br>
=A0 =A0algorithm with different configurations.<br>
END<br>
<br></blockquote><div><br></div><div style>Thanks. I took it with some modi=
fication.</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,2=
04);border-left-style:solid;padding-left:1ex">


Please look for other &quot;it&quot; occurrences, and make sure they&#39;re=
 similarly clear.<br>
<br></blockquote><div><br></div><div style>OK</div><div>=A0</div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width=
:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-lef=
t:1ex">


Similarly, for the third paragraph, maybe this?:<br>
<br>
NEW<br>
=A0 =A0To accept use of a PMCE, a server MUST include an element with the<b=
r>
=A0 =A0accepted extension token in the &quot;Sec-WebSocket-Extensions&quot;=
 header in<br>
=A0 =A0the opening handshake of the WebSocket connection. =A0The accepted<b=
r>
=A0 =A0token MUST be one of those offered by the client during the opening<=
br>
=A0 =A0handshake, and MUST represent a PMCE that is fully supported by the<=
br>
=A0 =A0server. =A0The server rejects all offered PMCEs by not including any=
<br>
=A0 =A0PMCE tokens, in which case the connection proceeds without<br>
=A0 =A0per-message compression.<br>
END<br>
<br></blockquote><div><br></div><div style>Thanks. Made some rewrite and re=
placed.</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204=
);border-left-style:solid;padding-left:1ex">


Fourth paragraph:<br>
<br>
=A0 =A0If a client doesn&#39;t support the extension and its parameters rep=
lied<br>
=A0 =A0from the server, the client MUST _Fail the WebSocket Connection_.<br=
>
=A0 =A0Otherwise, once _the WebSocket Connection is established_, both<br>
=A0 =A0endpoints MUST use the algorithm described in Section 4 to exchange<=
br>
=A0 =A0messages.<br>
<br>
Why would a server respond with an extension/parameters that the<br>
client doesn&#39;t support? =A0The client already sent a list of what it&#3=
9;s<br>
willing to use. =A0In the re-writes I&#39;ve done above, that&#39;s made cl=
ear,<br></blockquote><div><br></div><div style>Yes, great.</div><div>=A0</d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:soli=
d;padding-left:1ex">


and this paragraph is, if anything, just specifying how to handle a<br>
server response that&#39;s in violation of the protocol. =A0You also refer<=
br>
to the Section 4 algorithm, but say nothing about what compression<br>
mechanism will be used. =A0So maybe this?:<br>
<br>
NEW<br>
=A0 =A0* If the server responds with no PMCE tokens, once _the WebSocket<br=
>
=A0 =A0Connection is established_ it proceeds without per-message<br>
=A0 =A0compression.<br>
<br>
=A0 =A0* If the server gives an invalid response, such as accepting a<br>
=A0 =A0PMCE that the client did not offer, the client MUST _Fail the<br>
=A0 =A0WebSocket Connection_.<br>
<br>
=A0 =A0* Otherwise, once _the WebSocket Connection is established_, both<br=
>
=A0 =A0endpoints MUST use the algorithm described in Section 4 to exchange<=
br>
=A0 =A0messages, using the PMCE returned by the server.<br>
OLD<br>
<br>
By my reckoning, this has just re-written the entire Section 3. =A0This<br>
bothers me, because it makes me question the level of review and<br>
editing that the document has gone through. =A0As I look at Section 3.1,<br=
>
I see that it appears to be inadequate: it is *not* a &quot;negotiation<br>
example&quot;; it is a series of out-of-context examples of isolated header=
<br>
field values. =A0This actually *would* benefit from a full example of an<br=
>
opening handshake that uses this, where a client offers a few PMCEs<br>
(perhaps two with the same name and a third with another name), and<br>
showing how the server responds.<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br></blockquote><div><br></di=
v><div style>Sorry about the prematureness. I&#39;m revising organization o=
f the document now.</div><div>=A0</div><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb=
(204,204,204);border-left-style:solid;padding-left:1ex">


_______________________________________________<br>
hybi mailing list<br>
<a href=3D"mailto:hybi@ietf.org" target=3D"_blank">hybi@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/hybi" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/hybi</a><br>
</blockquote></div><br></div></div>

--f46d043be19c75f1de04d7b96504--

From tyoshino@google.com  Tue Mar 12 05:34:58 2013
Return-Path: <tyoshino@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 4480521F8460 for <hybi@ietfa.amsl.com>; Tue, 12 Mar 2013 05:34:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.777
X-Spam-Level: 
X-Spam-Status: No, score=-101.777 tagged_above=-999 required=5 tests=[AWL=0.200, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001, 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 M2Quon0ZaxoR for <hybi@ietfa.amsl.com>; Tue, 12 Mar 2013 05:34:57 -0700 (PDT)
Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) by ietfa.amsl.com (Postfix) with ESMTP id 7A43C21F8A38 for <hybi@ietf.org>; Tue, 12 Mar 2013 05:34:53 -0700 (PDT)
Received: by mail-wi0-f171.google.com with SMTP id hn17so1775720wib.10 for <hybi@ietf.org>; Tue, 12 Mar 2013 05:34:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=B/32tfXM6ivB3Gta9NTA5kKJPrjyA8g1N/IjJLUEP30=; b=E9OCSaZcby6Ohn+yiETOChkOweyFnd7SJiCM8ypdWS2eOzNqjHq4LvuqliXHOqAqGJ rWyMSNyr4cchO8uAKk0r+Kp9AzGSTCH012iYyzDDxwdbAitX2thD8Xpskp8Ss0xgUjNg yZQUMCo3z0uAUe1ZCGNUhaKCK/zNum+nfCMcKWK/ZyKvhyyKQ3Pt5dfuEAF+Ov/oJSry EggWrqNgBcHgnLCoxFLYMwFZne45qqSgcFZ1VO9xU8gG7gi1rA7aSgbEKwlMwalZGXFd RJwLX3LvCIdK/mqBD9JwOrdelw7t+crYF77LxhOUkkF9ch9S7CEDfkPCwPSo7jq0p+UR LsHw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=B/32tfXM6ivB3Gta9NTA5kKJPrjyA8g1N/IjJLUEP30=; b=IVeM7BXM/VXtTaYk43L4R6bFMhXBOLtlNAGygc2GOGIo+5IpgIfGbMqXtNggzRoMB/ APmxKK2lmtvy/KCS2t3esUS4EU6uuKI9Uhb7y8cHGjVtQ+ybkU2UOVQ3ycoVR5wbZZFc Q+dZ69mAygE+DX67S6xyYiv3WU0UPIOdEFsJPBMZc37cycngNITOw79AsXmlkjquumm6 8SSJ4nKXSuNy3kN2BgB24Mx/cc/HaSKctFG0feSk8B0shrghGl0rSbqycyXMiqUqLFVC y+1FZJ3Icr02kmVNwG63bSGtjVGf/K6huJthDMP7ibF5XBbeD9RUxUp7I7aVuC+W2Z/8 fUWg==
X-Received: by 10.194.93.97 with SMTP id ct1mr26187446wjb.48.1363091689556; Tue, 12 Mar 2013 05:34:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.234.198 with HTTP; Tue, 12 Mar 2013 05:34:29 -0700 (PDT)
In-Reply-To: <o6adi8l6vq2cjc0pvn6035culrouskjdq4@hive.bjoern.hoehrmann.de>
References: <5124943C.4080503@ericsson.com> <5124CF8E.2000406@ericsson.com> <CAC4RtVB33Fm9KpC6QPB_=LRvMRx_fR7vMNp5nFP3HqPTbfouqA@mail.gmail.com> <o6adi8l6vq2cjc0pvn6035culrouskjdq4@hive.bjoern.hoehrmann.de>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Tue, 12 Mar 2013 21:34:29 +0900
Message-ID: <CAH9hSJZ3FH034=OexF1nTyg4_2XbEB2XxpZ_q+wFfc3we3fR-Q@mail.gmail.com>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Content-Type: multipart/alternative; boundary=047d7bf0c332f3e62104d7b98389
X-Gm-Message-State: ALoCoQkCIr3WRqphQiVHJVzIMq9LKaBNDnKMYmd61UNAsbglGWpFKAV0PsPmq2li94dbXM8moc0eMziCEWnbm55UFxCn2EokNqoZJ1A3R2LHrCk8Ox00CYYgbyPIdCXWV1gs0u1fkLu2QNsHYPb13sGL5FeJ2QszQyjEzGgq2zTv4rZ42nHr0p32sYbBx/GaltKq7+DZcs54
Cc: "hybi@ietf.org" <hybi@ietf.org>, Barry Leiba <barryleiba@computer.org>
Subject: Re: [hybi] Fwd: publication request: draft-ietf-hybi-permessage-compression-05
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: Tue, 12 Mar 2013 12:34:58 -0000

--047d7bf0c332f3e62104d7b98389
Content-Type: text/plain; charset=ISO-8859-1

On Fri, Feb 22, 2013 at 8:36 AM, Bjoern Hoehrmann <derhoermi@gmx.net> wrote:

> I think "Extension Framework" is overdoing it, but the idea seems good.
>
Perhaps "WebSocket Per-message Compression Extensions" would be better.
>

Yes. I'd like to use that.

It looks like we need even shorter name for I-D title.

--047d7bf0c332f3e62104d7b98389
Content-Type: text/html; charset=ISO-8859-1

<div dir="ltr">On Fri, Feb 22, 2013 at 8:36 AM, Bjoern Hoehrmann <span dir="ltr">&lt;<a href="mailto:derhoermi@gmx.net" target="_blank">derhoermi@gmx.net</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><span style="color:rgb(34,34,34)">I think &quot;Extension Framework&quot; is overdoing it, but the idea seems good.</span><br>

</div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Perhaps &quot;WebSocket Per-message Compression Extensions&quot; would be better.<br></blockquote><div><br></div><div style>Yes. I&#39;d like to use that.</div><div style><br></div><div style>It looks like we need even shorter name for I-D title.</div>

</div></div></div>

--047d7bf0c332f3e62104d7b98389--

From internet-drafts@ietf.org  Tue Mar 12 09:12:40 2013
Return-Path: <internet-drafts@ietf.org>
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 BD46F21F8B9F; Tue, 12 Mar 2013 09:12:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.565
X-Spam-Level: 
X-Spam-Status: No, score=-102.565 tagged_above=-999 required=5 tests=[AWL=0.035, BAYES_00=-2.599, NO_RELAYS=-0.001, 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 qJsRUQP1711a; Tue, 12 Mar 2013 09:12:40 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 7F4AA21F8BCC; Tue, 12 Mar 2013 09:12:39 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.42
Message-ID: <20130312161239.7628.87675.idtracker@ietfa.amsl.com>
Date: Tue, 12 Mar 2013 09:12:39 -0700
Cc: hybi@ietf.org
Subject: [hybi] I-D Action: draft-ietf-hybi-permessage-compression-06.txt
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: Tue, 12 Mar 2013 16:12:40 -0000

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the BiDirectional or Server-Initiated HTTP Wo=
rking Group of the IETF.

	Title           : Compression Extensions for WebSocket
	Author(s)       : Takeshi Yoshino
	Filename        : draft-ietf-hybi-permessage-compression-06.txt
	Pages           : 22
	Date            : 2013-03-12

Abstract:
   This document specifies a framework for creating WebSocket extensions
   that add compression functionality to the WebSocket Protocol.
   Extensions based on this framework compress the payload data portion
   of non-control WebSocket messages on per-message basis using a
   specified compression algorithm.  One reserved bit RSV1 in the
   WebSocket frame header is allocated to control application of
   compression for each message.  This document also specifies one
   specific compression extension using the DEFLATE algorithm.

   Please send feedback to the hybi@ietf.org mailing list.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-hybi-permessage-compression

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-06

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-hybi-permessage-compression-06


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From tyoshino@google.com  Wed Mar 13 01:33:24 2013
Return-Path: <tyoshino@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 EB81921F8D11 for <hybi@ietfa.amsl.com>; Wed, 13 Mar 2013 01:33:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.326
X-Spam-Level: 
X-Spam-Status: No, score=-102.326 tagged_above=-999 required=5 tests=[AWL=0.650, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, 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 UlzsSG-hsWAq for <hybi@ietfa.amsl.com>; Wed, 13 Mar 2013 01:33:22 -0700 (PDT)
Received: from mail-ee0-f48.google.com (mail-ee0-f48.google.com [74.125.83.48]) by ietfa.amsl.com (Postfix) with ESMTP id 7839E21F8D0E for <hybi@ietf.org>; Wed, 13 Mar 2013 01:33:22 -0700 (PDT)
Received: by mail-ee0-f48.google.com with SMTP id t10so315090eei.21 for <hybi@ietf.org>; Wed, 13 Mar 2013 01:33:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=nBeIkOVNjv+AB1E8eI7uxX9Fn/bZ1N+b4OJUorasQOw=; b=j0EnOhGm6kHNZ94WZ7wInWRkUvmxnvH0FN9GaNmasjYsTvnfN8pc/hVF9RWrygDLFD /2EACHJeAFcdAbBi17YmX+pa9yZ/WoT6JRzSw29hOIUfb2RDqZv/s12LehIkBCj7IDxo fPQIvtax8ly433/yq+yeRSM/VQ36rqO9vfeMzgLpDM7vTE6FmJHXgWwrrX1ZpN+LGisl dvUInJ8IueKwokgQPDp7O0NaC7KCtWfW+0W/4yCoKogYQmxODuu3LYS/eKkXcIO4t3kR MkJ2Ij9Sj+O3H2ucL0omAfoZXoVP4JZAdQULV5vHFWzjcNVM6e8nJpKujWXHv6qX2dNH mc/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type:x-gm-message-state; bh=nBeIkOVNjv+AB1E8eI7uxX9Fn/bZ1N+b4OJUorasQOw=; b=ey4ibbeKWTqmrVbn/4kSkammQc9/0f4Iu10othbjP8PYk0aQRzElw95LvhzZk/uWLr VGAOsdvYXrLFhEj2ExaG3EsmMldyns7Qzm/RPN76UqRkmwpaEz/XxKetL1XmfJ6PheaW OkogSHpo3jWvThdXyM9SNb6/LHjCsitN9IJtR2zjw8CFkiiMW89oy6sYsP5UKFmaS1Nl z7KQlnXrwQu+t+In2pfV6IEgOHZKjh8IAHdOqPKbWvdA/jaAgwputzDxcahEAdkEFLmi aLVlURMVT80fkNFgmvjQcl5asEqVVN/PktjtFrWJEoBM69z8ajhi+ilFrhn6NbR0XXCT rd6A==
X-Received: by 10.14.211.65 with SMTP id v41mr56669649eeo.33.1363163601355; Wed, 13 Mar 2013 01:33:21 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.144.77 with HTTP; Wed, 13 Mar 2013 01:33:01 -0700 (PDT)
In-Reply-To: <20130312161239.7628.87675.idtracker@ietfa.amsl.com>
References: <20130312161239.7628.87675.idtracker@ietfa.amsl.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Wed, 13 Mar 2013 17:33:01 +0900
Message-ID: <CAH9hSJYQv_Ms0Pg3FuN-QrtobmoMkrP7wC5+VrDGZg=QydpoAA@mail.gmail.com>
To: "hybi@ietf.org" <hybi@ietf.org>
Content-Type: multipart/alternative; boundary=047d7b621e9c3b0b0604d7ca4220
X-Gm-Message-State: ALoCoQkzo9N455rLLMsXn3dB8PUKJJBWfvowiUDoSy09mYKEa+8iLrTn3qmOtK5f8w/KC2tBixhXow7sVoiG/xoPXvhhAi1eoQfj7o/Y9VqyeWLN0tpzrCHZaLL7oz1ZMhtEauDgniAhyB2X8r1AeR21Gum4pvL/FbOA2q3X+q/D/6mVqB/1Ojkb55+o5llOhMf68cROb5Jd
Subject: Re: [hybi] I-D Action: draft-ietf-hybi-permessage-compression-06.txt
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: Wed, 13 Mar 2013 08:33:25 -0000

--047d7b621e9c3b0b0604d7ca4220
Content-Type: text/plain; charset=ISO-8859-1

Half way done.
No semantic change made. Just trying to resolve issues pointed out by
Barry, Bjoern, SM, Dario

Takeshi


On Wed, Mar 13, 2013 at 1:12 AM, <internet-drafts@ietf.org> wrote:

>
> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
>  This draft is a work item of the BiDirectional or Server-Initiated HTTP
> Working Group of the IETF.
>
>         Title           : Compression Extensions for WebSocket
>         Author(s)       : Takeshi Yoshino
>         Filename        : draft-ietf-hybi-permessage-compression-06.txt
>         Pages           : 22
>         Date            : 2013-03-12
>
> Abstract:
>    This document specifies a framework for creating WebSocket extensions
>    that add compression functionality to the WebSocket Protocol.
>    Extensions based on this framework compress the payload data portion
>    of non-control WebSocket messages on per-message basis using a
>    specified compression algorithm.  One reserved bit RSV1 in the
>    WebSocket frame header is allocated to control application of
>    compression for each message.  This document also specifies one
>    specific compression extension using the DEFLATE algorithm.
>
>    Please send feedback to the hybi@ietf.org mailing list.
>
>
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-hybi-permessage-compression
>
> There's also a htmlized version available at:
> http://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-06
>
> A diff from the previous version is available at:
> http://www.ietf.org/rfcdiff?url2=draft-ietf-hybi-permessage-compression-06
>
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>

--047d7b621e9c3b0b0604d7ca4220
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Half way done.<div style>No semantic change made. Just try=
ing to resolve issues pointed out by Barry, Bjoern, SM, Dario</div></div><d=
iv class=3D"gmail_extra"><br clear=3D"all"><div>Takeshi</div>
<br><br><div class=3D"gmail_quote">On Wed, Mar 13, 2013 at 1:12 AM,  <span =
dir=3D"ltr">&lt;<a href=3D"mailto:internet-drafts@ietf.org" target=3D"_blan=
k">internet-drafts@ietf.org</a>&gt;</span> wrote:<br><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">

<br>
A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.<br>
=A0This draft is a work item of the BiDirectional or Server-Initiated HTTP =
Working Group of the IETF.<br>
<br>
=A0 =A0 =A0 =A0 Title =A0 =A0 =A0 =A0 =A0 : Compression Extensions for WebS=
ocket<br>
=A0 =A0 =A0 =A0 Author(s) =A0 =A0 =A0 : Takeshi Yoshino<br>
=A0 =A0 =A0 =A0 Filename =A0 =A0 =A0 =A0: draft-ietf-hybi-permessage-compre=
ssion-06.txt<br>
=A0 =A0 =A0 =A0 Pages =A0 =A0 =A0 =A0 =A0 : 22<br>
=A0 =A0 =A0 =A0 Date =A0 =A0 =A0 =A0 =A0 =A0: 2013-03-12<br>
<br>
Abstract:<br>
=A0 =A0This document specifies a framework for creating WebSocket extension=
s<br>
=A0 =A0that add compression functionality to the WebSocket Protocol.<br>
=A0 =A0Extensions based on this framework compress the payload data portion=
<br>
=A0 =A0of non-control WebSocket messages on per-message basis using a<br>
=A0 =A0specified compression algorithm. =A0One reserved bit RSV1 in the<br>
=A0 =A0WebSocket frame header is allocated to control application of<br>
=A0 =A0compression for each message. =A0This document also specifies one<br=
>
=A0 =A0specific compression extension using the DEFLATE algorithm.<br>
<br>
=A0 =A0Please send feedback to the <a href=3D"mailto:hybi@ietf.org">hybi@ie=
tf.org</a> mailing list.<br>
<br>
<br>
The IETF datatracker status page for this draft is:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-ietf-hybi-permessage-comp=
ression" target=3D"_blank">https://datatracker.ietf.org/doc/draft-ietf-hybi=
-permessage-compression</a><br>
<br>
There&#39;s also a htmlized version available at:<br>
<a href=3D"http://tools.ietf.org/html/draft-ietf-hybi-permessage-compressio=
n-06" target=3D"_blank">http://tools.ietf.org/html/draft-ietf-hybi-permessa=
ge-compression-06</a><br>
<br>
A diff from the previous version is available at:<br>
<a href=3D"http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-hybi-permessage-co=
mpression-06" target=3D"_blank">http://www.ietf.org/rfcdiff?url2=3Ddraft-ie=
tf-hybi-permessage-compression-06</a><br>
<br>
<br>
Internet-Drafts are also available by anonymous FTP at:<br>
<a href=3D"ftp://ftp.ietf.org/internet-drafts/" target=3D"_blank">ftp://ftp=
.ietf.org/internet-drafts/</a><br>
<br>
_______________________________________________<br>
hybi mailing list<br>
<a href=3D"mailto:hybi@ietf.org">hybi@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/hybi" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/hybi</a><br>
</blockquote></div><br></div>

--047d7b621e9c3b0b0604d7ca4220--

From zhong.j.yu@gmail.com  Thu Mar 14 18:34:40 2013
Return-Path: <zhong.j.yu@gmail.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 BC0D011E80F4 for <hybi@ietfa.amsl.com>; Thu, 14 Mar 2013 18:34:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, NO_RELAYS=-0.001]
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 QC8Upj53e-uR for <hybi@ietfa.amsl.com>; Thu, 14 Mar 2013 18:34:40 -0700 (PDT)
Received: from mail-ob0-x22a.google.com (mail-ob0-x22a.google.com [IPv6:2607:f8b0:4003:c01::22a]) by ietfa.amsl.com (Postfix) with ESMTP id 4BD9F11E80D5 for <hybi@ietf.org>; Thu, 14 Mar 2013 18:34:40 -0700 (PDT)
Received: by mail-ob0-f170.google.com with SMTP id wc20so2801065obb.29 for <hybi@ietf.org>; Thu, 14 Mar 2013 18:34:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=YHd8SfJF7gvGbUIT1W0KJEFZGPsab9ihNHB2fyjjqL4=; b=bM1QrUJ15Fxq2rhYobLK25IMxaT/sdMljJ7lsRz18fTD6kWB1TLdpk0DUaGtdMNwgl SqL1z6nMQ6WBvf6mt8i7Q91fDN0anSsv5xsbvAYgp8mhPEWeucp24G0DjroabmP1rmb/ 1rqieABgIhKOkGfAGoSfT7sqLlZ5T2I/b/X5pQwJDX4ect3hjl0f8c3i9IJkMbQ9bs0b SSBFV03+DebJPDeRuADMOOMwW+SvklgYWq7K3sQDRXVZAbzqdofqqc4DR18dfYHcTMiZ UNdhRouht/b42TuKVYX9gBpxXOPidZRcG/bahdGM9+SZ6lkeaHXXUA2Lp/l3UO2XWJ1W lB9A==
MIME-Version: 1.0
X-Received: by 10.60.37.229 with SMTP id b5mr2318107oek.21.1363311279657; Thu, 14 Mar 2013 18:34:39 -0700 (PDT)
Received: by 10.76.22.130 with HTTP; Thu, 14 Mar 2013 18:34:39 -0700 (PDT)
Date: Thu, 14 Mar 2013 20:34:39 -0500
Message-ID: <CACuKZqHvd64ZfPNNK2Ov=QqXRqbgN5YaWYiBO6Ka-JWg2N5tzw@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: hybi@ietf.org
Content-Type: text/plain; charset=ISO-8859-1
Subject: [hybi] Multiplexing - closing a logical channel
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: Fri, 15 Mar 2013 01:34:40 -0000

Hi,

A vanilla WebSocket connection can be half-closed, i.e.

    X sends a close frame to Y,
    then continues to read frames from Y.

    Y receives a close frame from X,
    but continues to send data frames to X.

However the multiplexing draft seems to require that a logical channel
cannot do that - a logical channel is either active or inactive, as
soon as it becomes inactive, by sending or receiving DropChannel, the
channel cannot be used further, on either direction.

If my understanding is correct, then I wonder what's the reason for
this behavior? Why don't we allow close frames exchanged on a logical
channel so that the closing process of a logical channel is consistent
with that of a vanilla WebSocket connection?

Thanks,
Zhong Yu

From tyoshino@google.com  Fri Mar 15 01:51:02 2013
Return-Path: <tyoshino@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 35C5721F9098 for <hybi@ietfa.amsl.com>; Fri, 15 Mar 2013 01:51:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.976
X-Spam-Level: 
X-Spam-Status: No, score=-102.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, 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 i81hF77vdolR for <hybi@ietfa.amsl.com>; Fri, 15 Mar 2013 01:51:01 -0700 (PDT)
Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by ietfa.amsl.com (Postfix) with ESMTP id 2007321F9097 for <hybi@ietf.org>; Fri, 15 Mar 2013 01:51:00 -0700 (PDT)
Received: by mail-wg0-f43.google.com with SMTP id e12so2534395wge.22 for <hybi@ietf.org>; Fri, 15 Mar 2013 01:51:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=5uRPb5mMMz+1KMO8oMlXIrCAQnw1yHoXGTsNGEIpREc=; b=V58Ihct46eApyVKAXrfWREv6C6p9vrDZvlNimZLBkE1/NEThUq9JTEmWIXg2ea8Gib tM9CjTq911bD3zCrXzXf1xA5JJsZsTu0il1nTf2XBMZQh5LGGOa0rmhtgppCyeemD+WJ TwIsJOZVoSAWWz90U20Gfx2D7xfk+vNX7EmJidIidDVbELn9M88NNuXjhB+yeuIPNVXB 8jr+S3g4+nhOWqphI5Hl+bVtPWil5+5ViZZ7QkRpOYcKYniiJHCmcWgYtS0kDcl7uduQ vOuSDToxldE4kEjuVepnTC4vvFaK9fsLkpnqjGW6zuhbZ3Tinbj4aZn5KuQr648+itG3 OjIA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=5uRPb5mMMz+1KMO8oMlXIrCAQnw1yHoXGTsNGEIpREc=; b=EmZR35JQdAm5IpdqHhshvjqcXAlUPwCXcOWjXjqML2QJOXpoyriLquoDxiWc0DvhXJ hbQVAX2KzwyJGUy7mAcr5uXtRsoNZCX1kKRycHmKmH1krGk6Ficz8+XJIFzw5tWX1gmS zCMClQBPvJ9QKeRcdEdCmUQMqkdqSZNALdl2IEr0KK1DJApoq2BTAbbvwoKM3igGz8+i EkQ4YS2ZtdR29AbAoJRBFG1dR9kEInhj6YZpjrcbJ7750gv65gKCifIyLX6HcwYSoBMy nR13avOtWwfkstAN1BWA5whNaG/L3QjU6wHTW5JnMvaoJBphFsI6HHXNrI2P6NVFoVDl nULw==
X-Received: by 10.194.93.97 with SMTP id ct1mr9150813wjb.48.1363337460145; Fri, 15 Mar 2013 01:51:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.234.198 with HTTP; Fri, 15 Mar 2013 01:50:40 -0700 (PDT)
In-Reply-To: <CACuKZqHvd64ZfPNNK2Ov=QqXRqbgN5YaWYiBO6Ka-JWg2N5tzw@mail.gmail.com>
References: <CACuKZqHvd64ZfPNNK2Ov=QqXRqbgN5YaWYiBO6Ka-JWg2N5tzw@mail.gmail.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Fri, 15 Mar 2013 17:50:40 +0900
Message-ID: <CAH9hSJbP-774Jg4HjJr_3FqxAy+yjZznOME-jk8BS7CYjJqFxQ@mail.gmail.com>
To: Zhong Yu <zhong.j.yu@gmail.com>
Content-Type: multipart/alternative; boundary=047d7bf0c3320578f504d7f2bd05
X-Gm-Message-State: ALoCoQmIEJt+9mGAiNJ5hOXojZneXmGGi7oc8kDqAZgMtBfK8Ac/kT0oOfj3E16woyjndTAmyg4U3sqDMn6UtRja34+/Emy+5AoYccD/RWVhPafklb9RVwg6Ami+mJ9Fbvd98ESkXo0SsMvkPHFrHHd5/tGn+rDuuEJ9OzLReDU4A4kyNbtgZEn1o5qn1yFKTdnjhkyvtH7d
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Multiplexing - closing a logical channel
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: Fri, 15 Mar 2013 08:51:02 -0000

--047d7bf0c3320578f504d7f2bd05
Content-Type: text/plain; charset=ISO-8859-1

Hi

On Fri, Mar 15, 2013 at 10:34 AM, Zhong Yu <zhong.j.yu@gmail.com> wrote:

> A vanilla WebSocket connection can be half-closed, i.e.
>
>     X sends a close frame to Y,
>     then continues to read frames from Y.
>
>     Y receives a close frame from X,
>     but continues to send data frames to X.
>
> However the multiplexing draft seems to require that a logical channel
> cannot do that - a logical channel is either active or inactive, as
> soon as it becomes inactive, by sending or receiving DropChannel, the
> channel cannot be used further, on either direction.
>

Sending a DropChannel corresponds to TCP closure ("Close the WebSocket
Connection" operation in RFC 6455).

WebSocket endpoints can make their connections half-closed even on mux.

See
http://tools.ietf.org/html/draft-ietf-hybi-websocket-multiplexing-09#section-19
.


> If my understanding is correct, then I wonder what's the reason for
> this behavior? Why don't we allow close frames exchanged on a logical
> channel so that the closing process of a logical channel is consistent
> with that of a vanilla WebSocket connection?
>

Thanks
Takeshi

--047d7bf0c3320578f504d7f2bd05
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div style>Hi</div><div><br></div>On Fri, Mar 15, 2013 at =
10:34 AM, Zhong Yu <span dir=3D"ltr">&lt;<a href=3D"mailto:zhong.j.yu@gmail=
.com" target=3D"_blank">zhong.j.yu@gmail.com</a>&gt;</span> wrote:<br><div =
class=3D"gmail_extra">

<div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margi=
n:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204=
);border-left-style:solid;padding-left:1ex">A vanilla WebSocket connection =
can be half-closed, i.e.<br>


<br>
=A0 =A0 X sends a close frame to Y,<br>
=A0 =A0 then continues to read frames from Y.<br>
<br>
=A0 =A0 Y receives a close frame from X,<br>
=A0 =A0 but continues to send data frames to X.<br>
<br>
However the multiplexing draft seems to require that a logical channel<br>
cannot do that - a logical channel is either active or inactive, as<br>
soon as it becomes inactive, by sending or receiving DropChannel, the<br>
channel cannot be used further, on either direction.<br></blockquote><div><=
br></div><div style>Sending a DropChannel corresponds to TCP closure (&quot=
;Close the WebSocket Connection&quot; operation in RFC 6455).</div><div sty=
le>

<br></div><div style>WebSocket endpoints can make their connections half-cl=
osed even on mux.</div><div style><br></div><div style>See=A0<a href=3D"htt=
p://tools.ietf.org/html/draft-ietf-hybi-websocket-multiplexing-09#section-1=
9">http://tools.ietf.org/html/draft-ietf-hybi-websocket-multiplexing-09#sec=
tion-19</a>.</div>

<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex">
If my understanding is correct, then I wonder what&#39;s the reason for<br>
this behavior? Why don&#39;t we allow close frames exchanged on a logical<b=
r>
channel so that the closing process of a logical channel is consistent<br>
with that of a vanilla WebSocket connection?<br></blockquote><div><br></div=
><div style>Thanks</div><div style>Takeshi=A0</div></div></div></div>

--047d7bf0c3320578f504d7f2bd05--

From zhong.j.yu@gmail.com  Fri Mar 15 08:42:21 2013
Return-Path: <zhong.j.yu@gmail.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 51B9321F8835 for <hybi@ietfa.amsl.com>; Fri, 15 Mar 2013 08:42:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.099
X-Spam-Level: 
X-Spam-Status: No, score=-3.099 tagged_above=-999 required=5 tests=[AWL=0.500,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 If3GrTzGZQHL for <hybi@ietfa.amsl.com>; Fri, 15 Mar 2013 08:42:20 -0700 (PDT)
Received: from mail-oa0-f49.google.com (mail-oa0-f49.google.com [209.85.219.49]) by ietfa.amsl.com (Postfix) with ESMTP id 9422221F8838 for <hybi@ietf.org>; Fri, 15 Mar 2013 08:42:20 -0700 (PDT)
Received: by mail-oa0-f49.google.com with SMTP id j6so3590792oag.36 for <hybi@ietf.org>; Fri, 15 Mar 2013 08:42:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=E76B4lHPfNX+TKF8ELj2m/lRgbHZJy98gAVSzOUcr1k=; b=AYLJ5mePVBbXCMWodyHgwvYh3Bd8x5CREP6fsyiOxr6nqkLYQRDaSMxs/azAjNPyTG kwVrY0EA3J9H5dhSoOdK0rQsVDwcvOySVEPpTWHggxC2Y675kiWyOB7uskIK9tMCM1hM Xn5D393NdkN1GSc2nwHeTFOGpL9txRPdHZkGaHmRrs0bODMzK+9DuiNczg4dyEX43OKY JwDnvFYhYJWx+lymJ2ErkejaKbukz/tFFagT+JHxJGpcUALH7dd0Le4m3biy+ovYxNsn Mwjplc3sitf6oeMz3I+6VrZB627h+qdu/vnJP1/OVWy9/R7eqQm+X5yW6gZ1CXjwkI6k pvaA==
MIME-Version: 1.0
X-Received: by 10.60.170.20 with SMTP id ai20mr3219923oec.33.1363362140177; Fri, 15 Mar 2013 08:42:20 -0700 (PDT)
Received: by 10.76.22.130 with HTTP; Fri, 15 Mar 2013 08:42:19 -0700 (PDT)
In-Reply-To: <CAH9hSJbP-774Jg4HjJr_3FqxAy+yjZznOME-jk8BS7CYjJqFxQ@mail.gmail.com>
References: <CACuKZqHvd64ZfPNNK2Ov=QqXRqbgN5YaWYiBO6Ka-JWg2N5tzw@mail.gmail.com> <CAH9hSJbP-774Jg4HjJr_3FqxAy+yjZznOME-jk8BS7CYjJqFxQ@mail.gmail.com>
Date: Fri, 15 Mar 2013 10:42:19 -0500
Message-ID: <CACuKZqEhSD6DEY=N9Qo=f-9QdM5miCBad3Qc6WVGqdK2=NHBRA@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Takeshi Yoshino <tyoshino@google.com>
Content-Type: text/plain; charset=ISO-8859-1
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Multiplexing - closing a logical channel
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: Fri, 15 Mar 2013 15:42:21 -0000

Got it, thanks.

Another question,
http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-17#section-5.5.1

5.5.1. Close
   The application MUST NOT send any more data frames after sending a
   close frame.

doe it imply that more control frames may be sent after a close frame?

Zhong Yu

On Fri, Mar 15, 2013 at 3:50 AM, Takeshi Yoshino <tyoshino@google.com> wrote:
> Hi
>
> On Fri, Mar 15, 2013 at 10:34 AM, Zhong Yu <zhong.j.yu@gmail.com> wrote:
>>
>> A vanilla WebSocket connection can be half-closed, i.e.
>>
>>     X sends a close frame to Y,
>>     then continues to read frames from Y.
>>
>>     Y receives a close frame from X,
>>     but continues to send data frames to X.
>>
>> However the multiplexing draft seems to require that a logical channel
>> cannot do that - a logical channel is either active or inactive, as
>> soon as it becomes inactive, by sending or receiving DropChannel, the
>> channel cannot be used further, on either direction.
>
>
> Sending a DropChannel corresponds to TCP closure ("Close the WebSocket
> Connection" operation in RFC 6455).
>
> WebSocket endpoints can make their connections half-closed even on mux.
>
> See
> http://tools.ietf.org/html/draft-ietf-hybi-websocket-multiplexing-09#section-19.
>
>>
>> If my understanding is correct, then I wonder what's the reason for
>> this behavior? Why don't we allow close frames exchanged on a logical
>> channel so that the closing process of a logical channel is consistent
>> with that of a vanilla WebSocket connection?
>
>
> Thanks
> Takeshi

From tyoshino@google.com  Sun Mar 17 23:15:16 2013
Return-Path: <tyoshino@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 9B6AC21F866F for <hybi@ietfa.amsl.com>; Sun, 17 Mar 2013 23:15:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.977
X-Spam-Level: 
X-Spam-Status: No, score=-101.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001, 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 Klj6VULOU0aL for <hybi@ietfa.amsl.com>; Sun, 17 Mar 2013 23:15:16 -0700 (PDT)
Received: from mail-we0-x234.google.com (mail-we0-x234.google.com [IPv6:2a00:1450:400c:c03::234]) by ietfa.amsl.com (Postfix) with ESMTP id 9DC6021F8621 for <hybi@ietf.org>; Sun, 17 Mar 2013 23:15:15 -0700 (PDT)
Received: by mail-we0-f180.google.com with SMTP id k14so4417363wer.25 for <hybi@ietf.org>; Sun, 17 Mar 2013 23:15:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=PzKSu+h2Sow8wdUPQ92ZzXjUNffzMmBTfPTsex2+Q+8=; b=Em5fNNT14fWYUfydzGYiJD7zAyOLX9gw47UvaqbZjKW8VqhxTrFmr+zWYWOYJlQzWb 5/Qe7FzbrheHR87bu3zobIJ5gppXTopy68WLIMSK/F4+SWLGRiTlOmx9k8Pz6ENFSX7W AMGudYMTQ8lOhSZ86FfuaBjSht6TTF/5grO/q3Iiu1PNFZLIS0KJb7W1KDL4RQKt68cw krh3WlgNBQ8V0q+XsYoo0TsiGww0gMsOhBW51EaErOwk/mBHS+7XkfSp/4RcrtBVxeTI /W0NX2J3OIOYWxLafQZuh4BQFc1WbrKNvEXJHlFcJ4ZjYi9SBEw6gDPGIrHvJep0ghkE C5qQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=PzKSu+h2Sow8wdUPQ92ZzXjUNffzMmBTfPTsex2+Q+8=; b=VoUjrvai0eSowhMM2H+SqDE6P+xLUc+MupJpY9DSGDpA7RjgQrJ+3fuGK0lpLKcPOX Rd5YZkoa9s6RYGBoog1RBJMiTqjv5fAchL3CHGS0Z9yjIWMZfKMKpjnLfD9AYW0EwAfD J5NqkqK+n+CvUFnYzVeGzzHwK+z9uwpSdcHZ5OmGAvOYw6dk5nDqOHX2kliDJ/71Ri5n BwrXo9KHMx2jt5JlRPpymsKozKI8Kwehp3ed2w6v6bym0XoTEiT16qijTm2RvoW8RTSm 11slf9W7GVKVaOguo9V9+MxPlyxd0TieelTN4QFxGsYK0DO0Lsx6sxPxIs3hnsCtUCzV dq/w==
X-Received: by 10.180.94.135 with SMTP id dc7mr8352447wib.11.1363587314518; Sun, 17 Mar 2013 23:15:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.234.198 with HTTP; Sun, 17 Mar 2013 23:14:54 -0700 (PDT)
In-Reply-To: <CACuKZqEhSD6DEY=N9Qo=f-9QdM5miCBad3Qc6WVGqdK2=NHBRA@mail.gmail.com>
References: <CACuKZqHvd64ZfPNNK2Ov=QqXRqbgN5YaWYiBO6Ka-JWg2N5tzw@mail.gmail.com> <CAH9hSJbP-774Jg4HjJr_3FqxAy+yjZznOME-jk8BS7CYjJqFxQ@mail.gmail.com> <CACuKZqEhSD6DEY=N9Qo=f-9QdM5miCBad3Qc6WVGqdK2=NHBRA@mail.gmail.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Mon, 18 Mar 2013 15:14:54 +0900
Message-ID: <CAH9hSJZ5LZOufSaevvh-Qy6TpM+O_B6oDtWcgK7L=8eRmAEGbg@mail.gmail.com>
To: Zhong Yu <zhong.j.yu@gmail.com>
Content-Type: multipart/alternative; boundary=f46d04462e7a80a1c104d82ce98d
X-Gm-Message-State: ALoCoQnJSas4GDVwYKP0eRvHj+K5Hu5GmOQIfmBc/h2cjOg9ypSbNMf0tXTvldbCFBZjtJkiN5X4muZqe8TpEPaAh2tCrKKliP6Ne0ZLTNT8JJVYKCI9Y9LfFB7ke7A3u0+AEJKvk53XRV3NjmPEGjJNUNBMZ547EzOZ5POpwPHRcM0R1J6yWac/mdMphixbbvMdkPaUM120
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Multiplexing - closing a logical channel
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, 18 Mar 2013 06:15:16 -0000

--f46d04462e7a80a1c104d82ce98d
Content-Type: text/plain; charset=ISO-8859-1

I don't remember if it was intentionally made to be "data ...".

But,

One of the reason why we exchange close frames is that
- some TCP stacks send an RST when a socket is closed without fully reading
received data from it
- some TCP stacks throw away received data when received an RST
- so, to close a socket without impeding the peer from reading all of
successfully received data, an endpoint needs to know that there's no data
left in its socket

If TCP FIN (EoF) works well, we can use it. But it's not always available
and reliable. So, closing frame was introduced as a reliable method to
signal the end of data on WebSocket layer.

To realize this goal, control frames also may not be sent.


On Sat, Mar 16, 2013 at 12:42 AM, Zhong Yu <zhong.j.yu@gmail.com> wrote:

> Got it, thanks.
>
> Another question,
>
> http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-17#section-5.5.1
>
> 5.5.1. Close
>    The application MUST NOT send any more data frames after sending a
>    close frame.
>
> doe it imply that more control frames may be sent after a close frame?

--f46d04462e7a80a1c104d82ce98d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I don&#39;t remember if it was intentionally made to =
be &quot;data ...&quot;.</div><div><br></div><div>But,</div><div><br></div>=
One of the reason why we exchange close frames is that<div>
- some TCP stacks send an RST when a socket is closed without fully reading=
 received data from it</div><div>- some TCP stacks throw away received data=
 when received an RST</div><div>- so, to close a socket without impeding th=
e peer from reading all of successfully received data, an endpoint needs to=
 know that there&#39;s no data left in its socket</div>


<div><br></div><div>If TCP FIN (EoF) works well, we can use it. But it&#39;=
s not always available and reliable. So, closing frame was introduced as a =
reliable method to signal the end of data on WebSocket layer.</div>
<div><br></div><div>To realize this goal, control frames also may not be se=
nt.</div><div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extr=
a"><br><div class=3D"gmail_quote">On Sat, Mar 16, 2013 at 12:42 AM, Zhong Y=
u <span dir=3D"ltr">&lt;<a href=3D"mailto:zhong.j.yu@gmail.com" target=3D"_=
blank">zhong.j.yu@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Got it, thanks.<br>
<br>
Another question,<br>
<a href=3D"http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-=
17#section-5.5.1" target=3D"_blank">http://tools.ietf.org/html/draft-ietf-h=
ybi-thewebsocketprotocol-17#section-5.5.1</a><br>
<br>
5.5.1. Close<br>
=A0 =A0The application MUST NOT send any more data frames after sending a<b=
r>
=A0 =A0close frame.<br>
<br>
doe it imply that more control frames may be sent after a close frame?</blo=
ckquote></div></div></div></div>

--f46d04462e7a80a1c104d82ce98d--

From internet-drafts@ietf.org  Tue Mar 19 01:30:48 2013
Return-Path: <internet-drafts@ietf.org>
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 BB71F21F8782; Tue, 19 Mar 2013 01:30:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.6
X-Spam-Level: 
X-Spam-Status: No, score=-102.6 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, NO_RELAYS=-0.001, 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 jJDTxF1VOAEO; Tue, 19 Mar 2013 01:30:48 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id CA02F21F87AB; Tue, 19 Mar 2013 01:30:47 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.43
Message-ID: <20130319083047.27920.61377.idtracker@ietfa.amsl.com>
Date: Tue, 19 Mar 2013 01:30:47 -0700
Cc: hybi@ietf.org
Subject: [hybi] I-D Action: draft-ietf-hybi-permessage-compression-07.txt
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: Tue, 19 Mar 2013 08:30:48 -0000

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the BiDirectional or Server-Initiated HTTP Wo=
rking Group of the IETF.

	Title           : Compression Extensions for WebSocket
	Author(s)       : Takeshi Yoshino
	Filename        : draft-ietf-hybi-permessage-compression-07.txt
	Pages           : 23
	Date            : 2013-03-19

Abstract:
   This document specifies a framework for creating WebSocket extensions
   that add compression functionality to the WebSocket Protocol.  An
   extension based on this framework compresses the payload data portion
   of non-control WebSocket messages on per-message basis using
   parameters negotiated during the opening handshake.  This framework
   provides a general method to apply a compression algorithm to the
   contents of WebSocket messages.  For each compression algorithm, an
   extension is defined by specifying parameter negotiation and
   compression algorithm in detail.  This document also specifies one
   specific compression extension using the DEFLATE algorithm.

   Please send feedback to the hybi@ietf.org mailing list.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-hybi-permessage-compression

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-07

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-hybi-permessage-compression-07


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From tyoshino@google.com  Tue Mar 19 01:37:10 2013
Return-Path: <tyoshino@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 DA18F21F889D for <hybi@ietfa.amsl.com>; Tue, 19 Mar 2013 01:37:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.977
X-Spam-Level: 
X-Spam-Status: No, score=-101.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001, 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 FpJrW7moheY9 for <hybi@ietfa.amsl.com>; Tue, 19 Mar 2013 01:37:10 -0700 (PDT)
Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) by ietfa.amsl.com (Postfix) with ESMTP id E051521F8896 for <hybi@ietf.org>; Tue, 19 Mar 2013 01:37:09 -0700 (PDT)
Received: by mail-wi0-f176.google.com with SMTP id hm14so3606873wib.3 for <hybi@ietf.org>; Tue, 19 Mar 2013 01:37:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=BPcT8nnysHCXVuqcZFjRxe24vA6XoH0e3FkRnxUn7b4=; b=a1LPbuUO4tEjhbY3yf/Pd8YL/lYnYwvPLKI5JKafeo75zQnPQK6ma8u7TgQccwDj/R w9hGff6pdyQnhTZem/1sBs7Ba6mBt+ai/i7bLqQ4uksYU0rlJ0qtW/neZLDeuB5X+3cZ mFpjeGMhib/I//Qjbi925DtUhnxGv3spUm/5EqWWt1uPaxEh01FQrs09wXe3lmEz60wS ZG6xUXBZRlUlEvDl0x7Uzm/Ql6kugEiqOGU03wUdiyUHUlHLtItzy/bgV8hfHb1MP9jy YX3WUr/OOE39AkWAL6nJ8/7Cc2Y2XUlcBRSmh+/plLc7bqHaDyxWQj57Joj5X9XuZrPW crvQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type:x-gm-message-state; bh=BPcT8nnysHCXVuqcZFjRxe24vA6XoH0e3FkRnxUn7b4=; b=i2nRCfJXLJRGZgG/Z+zQ0mu0+l0awjim0N5B6uiWf7Ci8EcA1vKJ3Za7QzlczDoDLF 5DBLwm5QTaGU/oIueiIFEJeSGKCu3cw7wD2wW5rg7mPvUy7H3DHiXETV3ZXmVzAF99Ug BufEHs3/VjkDejPPXgoLirHTRVhQ1M7ohsBoLb6IGWNFf7KqS/4oeBJjAPW/NNoePDs+ uCnD2cfpPcbAnV+HJ6dKdG1ckW8vGw+r4VpuNkz1ff5RP56Si0xehfrCXGZrV8YeeiHC cdytpyv4gAJHHJJoIFo3OUTp2alhylIdpZ8oWpkmg+YeIO7ik7C2WFSU/NG3mWKGY5fF snJA==
X-Received: by 10.194.120.169 with SMTP id ld9mr1517838wjb.24.1363682228901; Tue, 19 Mar 2013 01:37:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.234.198 with HTTP; Tue, 19 Mar 2013 01:36:48 -0700 (PDT)
In-Reply-To: <20130319083047.27920.61377.idtracker@ietfa.amsl.com>
References: <20130319083047.27920.61377.idtracker@ietfa.amsl.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Tue, 19 Mar 2013 17:36:48 +0900
Message-ID: <CAH9hSJZCFZpvQPjVsRXDGeLD8BNSttoEHVU6PNupjv4F548a0A@mail.gmail.com>
To: "hybi@ietf.org" <hybi@ietf.org>
Content-Type: multipart/alternative; boundary=e89a8f642c14d737a804d8430279
X-Gm-Message-State: ALoCoQmXrM3Yv4YWG1O+aFAOfzEoIYuEH52zOzub3iPaPoKqqT2FGZSt0r7sTpQ7Hxl9DrlQEedOtva/lTq9PG4P7Np5/98T+5y9oPzg6amLzXHParl87rykUSaN3T57cF416KGvGG2r4DP8ROojxqAWgbFfQcceAQszbDs9SBx6hMrP16VZrMYHQobjhKbRcCla/95ChBz1
Subject: Re: [hybi] I-D Action: draft-ietf-hybi-permessage-compression-07.txt
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: Tue, 19 Mar 2013 08:37:11 -0000

--e89a8f642c14d737a804d8430279
Content-Type: text/plain; charset=ISO-8859-1

Reorganization, rephrasing, grammar correction.

I'm happy if someone could take a look.

Takeshi


On Tue, Mar 19, 2013 at 5:30 PM, <internet-drafts@ietf.org> wrote:

>
> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
>  This draft is a work item of the BiDirectional or Server-Initiated HTTP
> Working Group of the IETF.
>
>         Title           : Compression Extensions for WebSocket
>         Author(s)       : Takeshi Yoshino
>         Filename        : draft-ietf-hybi-permessage-compression-07.txt
>         Pages           : 23
>         Date            : 2013-03-19
>
> Abstract:
>    This document specifies a framework for creating WebSocket extensions
>    that add compression functionality to the WebSocket Protocol.  An
>    extension based on this framework compresses the payload data portion
>    of non-control WebSocket messages on per-message basis using
>    parameters negotiated during the opening handshake.  This framework
>    provides a general method to apply a compression algorithm to the
>    contents of WebSocket messages.  For each compression algorithm, an
>    extension is defined by specifying parameter negotiation and
>    compression algorithm in detail.  This document also specifies one
>    specific compression extension using the DEFLATE algorithm.
>
>    Please send feedback to the hybi@ietf.org mailing list.
>
>
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-hybi-permessage-compression
>
> There's also a htmlized version available at:
> http://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-07
>
> A diff from the previous version is available at:
> http://www.ietf.org/rfcdiff?url2=draft-ietf-hybi-permessage-compression-07
>
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>

--e89a8f642c14d737a804d8430279
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Reorganization, rephrasing, grammar correction.<div><br></=
div><div style>I&#39;m happy if someone could take a look.</div></div><div =
class=3D"gmail_extra"><br clear=3D"all"><div>Takeshi</div>
<br><br><div class=3D"gmail_quote">On Tue, Mar 19, 2013 at 5:30 PM,  <span =
dir=3D"ltr">&lt;<a href=3D"mailto:internet-drafts@ietf.org" target=3D"_blan=
k">internet-drafts@ietf.org</a>&gt;</span> wrote:<br><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex">

<br>
A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.<br>
=A0This draft is a work item of the BiDirectional or Server-Initiated HTTP =
Working Group of the IETF.<br>
<br>
=A0 =A0 =A0 =A0 Title =A0 =A0 =A0 =A0 =A0 : Compression Extensions for WebS=
ocket<br>
=A0 =A0 =A0 =A0 Author(s) =A0 =A0 =A0 : Takeshi Yoshino<br>
=A0 =A0 =A0 =A0 Filename =A0 =A0 =A0 =A0: draft-ietf-hybi-permessage-compre=
ssion-07.txt<br>
=A0 =A0 =A0 =A0 Pages =A0 =A0 =A0 =A0 =A0 : 23<br>
=A0 =A0 =A0 =A0 Date =A0 =A0 =A0 =A0 =A0 =A0: 2013-03-19<br>
<br>
Abstract:<br>
=A0 =A0This document specifies a framework for creating WebSocket extension=
s<br>
=A0 =A0that add compression functionality to the WebSocket Protocol. =A0An<=
br>
=A0 =A0extension based on this framework compresses the payload data portio=
n<br>
=A0 =A0of non-control WebSocket messages on per-message basis using<br>
=A0 =A0parameters negotiated during the opening handshake. =A0This framewor=
k<br>
=A0 =A0provides a general method to apply a compression algorithm to the<br=
>
=A0 =A0contents of WebSocket messages. =A0For each compression algorithm, a=
n<br>
=A0 =A0extension is defined by specifying parameter negotiation and<br>
=A0 =A0compression algorithm in detail. =A0This document also specifies one=
<br>
=A0 =A0specific compression extension using the DEFLATE algorithm.<br>
<br>
=A0 =A0Please send feedback to the <a href=3D"mailto:hybi@ietf.org">hybi@ie=
tf.org</a> mailing list.<br>
<br>
<br>
The IETF datatracker status page for this draft is:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-ietf-hybi-permessage-comp=
ression" target=3D"_blank">https://datatracker.ietf.org/doc/draft-ietf-hybi=
-permessage-compression</a><br>
<br>
There&#39;s also a htmlized version available at:<br>
<a href=3D"http://tools.ietf.org/html/draft-ietf-hybi-permessage-compressio=
n-07" target=3D"_blank">http://tools.ietf.org/html/draft-ietf-hybi-permessa=
ge-compression-07</a><br>
<br>
A diff from the previous version is available at:<br>
<a href=3D"http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-hybi-permessage-co=
mpression-07" target=3D"_blank">http://www.ietf.org/rfcdiff?url2=3Ddraft-ie=
tf-hybi-permessage-compression-07</a><br>
<br>
<br>
Internet-Drafts are also available by anonymous FTP at:<br>
<a href=3D"ftp://ftp.ietf.org/internet-drafts/" target=3D"_blank">ftp://ftp=
.ietf.org/internet-drafts/</a><br>
<br>
_______________________________________________<br>
hybi mailing list<br>
<a href=3D"mailto:hybi@ietf.org">hybi@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/hybi" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/hybi</a><br>
</blockquote></div><br></div>

--e89a8f642c14d737a804d8430279--

From arazzy77@gmail.com  Fri Mar 22 00:07:58 2013
Return-Path: <arazzy77@gmail.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 A600D11E80C5 for <hybi@ietfa.amsl.com>; Fri, 22 Mar 2013 00:07:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
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 r1R90-qOAIQq for <hybi@ietfa.amsl.com>; Fri, 22 Mar 2013 00:07:58 -0700 (PDT)
Received: from mail-ie0-x22d.google.com (mail-ie0-x22d.google.com [IPv6:2607:f8b0:4001:c03::22d]) by ietfa.amsl.com (Postfix) with ESMTP id 43A1821F8A47 for <hybi@ietf.org>; Fri, 22 Mar 2013 00:07:58 -0700 (PDT)
Received: by mail-ie0-f173.google.com with SMTP id 9so4494333iec.18 for <hybi@ietf.org>; Fri, 22 Mar 2013 00:07:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type; bh=MFkzuwSL5iJ4gIXJAPP9L7gHpVGZZOZrk1+rJnqBYfA=; b=ldwH+zWHPrcAVElUU2kESKqcGLWQct/SsrpRwCG6C/+PaF6lBJDlYZBdoF+nPhX/fk nYGEse9nxWzIJ8DCv6VAEwkPs968I0PiUh/HwECEdauIlpltncVng35NehJqaA+m+rHg ZBK4CSCLtqM53OyZoc5pGnBVToA3XWVB6hWP6BQMDWUnXVBTP4ZPJwz7yhrtngGybSgI KnfWtrGO54mfsdOZhFkCvgHcfjMdfeq8JlpRDP2II13b13jAU+PEWlR2LfaP06+RvjBw hGk6es9z2KTnrDH3Uj4cOevMW3uWeP1GDbDN3+Ltu9OF3zl9l4ivR39UAhTSPgkUxFHx QQIQ==
MIME-Version: 1.0
X-Received: by 10.50.237.70 with SMTP id va6mr452256igc.66.1363936077938; Fri, 22 Mar 2013 00:07:57 -0700 (PDT)
Sender: arazzy77@gmail.com
Received: by 10.64.15.170 with HTTP; Fri, 22 Mar 2013 00:07:57 -0700 (PDT)
Date: Fri, 22 Mar 2013 00:07:57 -0700
X-Google-Sender-Auth: kWAzECmErVPAWnQ7uqDSWkdMZ3E
Message-ID: <CADkjLSKUwcY-m2CZEoDAjuONOAri=_KXizy0_b-0E9b1F3TKDA@mail.gmail.com>
From: Andrew Rasmussen <arasmussen@katworks.com>
To: hybi@ietf.org
Content-Type: multipart/alternative; boundary=f46d044786f36c0adb04d87e1d3b
Subject: [hybi] UDP WebSockets?
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: Fri, 22 Mar 2013 07:09:45 -0000

--f46d044786f36c0adb04d87e1d3b
Content-Type: text/plain; charset=ISO-8859-1

Hi,

Has the hybi had any discussions regarding adding support for UDP sockets
to the WebSocket protocol?

Thanks,
Andrew Rasmussen

--f46d044786f36c0adb04d87e1d3b
Content-Type: text/html; charset=ISO-8859-1

<div dir="ltr">Hi,<div><br></div><div>Has the hybi had any discussions regarding adding support for UDP sockets to the WebSocket protocol?</div><div><br></div><div style>Thanks,</div><div style>Andrew Rasmussen</div></div>

--f46d044786f36c0adb04d87e1d3b--

From tyoshino@google.com  Fri Mar 22 00:34:27 2013
Return-Path: <tyoshino@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 2925F21F901D for <hybi@ietfa.amsl.com>; Fri, 22 Mar 2013 00:34:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.977
X-Spam-Level: 
X-Spam-Status: No, score=-101.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001, 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 2j5R9ByrLxGa for <hybi@ietfa.amsl.com>; Fri, 22 Mar 2013 00:34:26 -0700 (PDT)
Received: from mail-we0-x22b.google.com (mail-we0-x22b.google.com [IPv6:2a00:1450:400c:c03::22b]) by ietfa.amsl.com (Postfix) with ESMTP id 7F43E21F901C for <hybi@ietf.org>; Fri, 22 Mar 2013 00:34:26 -0700 (PDT)
Received: by mail-we0-f171.google.com with SMTP id d46so1062864wer.2 for <hybi@ietf.org>; Fri, 22 Mar 2013 00:34:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=a+OypKMFEfZ+Znd16+mN18kYQX5e8t5Au6KVKYAEd9M=; b=Lx4AhArVeA6AsIqitie+cpek/1HEx1NoUxS33pnRLSebdSe7ThKQSSY0+mZ8X1ETqv TGG8g3IDsoW4Zn1eC3MPfGfD5t479viUArIk1eHSTe93ypbtkWp5jmOib9EAnry7diRg Xh3ZQdJrpLUVMsrKKTAjBaMBfibZnRIba2VHWrj1xML8L9BjXTWRTla4WFkM3r9Yf/tE oW5ukXGra/baNUUoEkuNEYoIbHeMzUMhXxaq+P+MEyUGxC7Dz40cni7nTk8nNvCA5FP/ nT2XMDyWUrhLjsuJdM0ViGhJg9gNIAjoH4ZVPAjat9tyZpjjyKUEGadr2kkmp25DAr2Q k8LA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=a+OypKMFEfZ+Znd16+mN18kYQX5e8t5Au6KVKYAEd9M=; b=CpKo7RbPXqRgjV7vqznuVoEwYVo7lZ43SLRIzJ/HnrF61Yq9gVo0clIUcEGeiQ6zaw MG4uZW6s/acH/o7sDwobCLHJsRPCf6IUuAxbo/GEHvmaiMXua2CDx21YZw8ZoSqhUwmd /47dCOp6F6kPirI+8mJEbpo2RtBh+gJkPHSwsTUvkFAbwvQfPaKAfv09ddEkXqWcQGEa 1PrIkimQ2RcEh0plSh9Rp4k97mHHn2CIlG/EGRGviFkoxNoOhQIRpKNxr4JSMhdhIXLt oEATLJI2pqQ3h5W0KD1JCjRWXZgwTMk44yK7WqiL3wc+XAqLAxMmtr//qE4Pno79LzsT tp0A==
X-Received: by 10.194.82.34 with SMTP id f2mr1116496wjy.25.1363937665697; Fri, 22 Mar 2013 00:34:25 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.234.198 with HTTP; Fri, 22 Mar 2013 00:34:04 -0700 (PDT)
In-Reply-To: <CADkjLSKUwcY-m2CZEoDAjuONOAri=_KXizy0_b-0E9b1F3TKDA@mail.gmail.com>
References: <CADkjLSKUwcY-m2CZEoDAjuONOAri=_KXizy0_b-0E9b1F3TKDA@mail.gmail.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Fri, 22 Mar 2013 16:34:04 +0900
Message-ID: <CAH9hSJbd6eDiAje3BKt2YYi997NnYH55_NoYQ8xbK1-9fGiS4w@mail.gmail.com>
To: Andrew Rasmussen <arasmussen@katworks.com>
Content-Type: multipart/alternative; boundary=047d7beb95c00f633f04d87e7c70
X-Gm-Message-State: ALoCoQlOQrxmGCZAI766LJ/3sCnD/0uDp2AxuAP3plREJ6inKr0B0fzYRJE0GkXpsNElEVrAbRodnWwjXjM4eh8s/KomchuJVkKWfJ8FwJs4yMtW/dFUKT1G1YFBQPXiFAmsL+ur6LvVP4BU88n9b2PGNQljS4Kwo11XlIRzdx7oyFwtZG18NnZ9M8KUTJeyNqgML/yG5Hpr
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] UDP WebSockets?
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: Fri, 22 Mar 2013 07:34:27 -0000

--047d7beb95c00f633f04d87e7c70
Content-Type: text/plain; charset=ISO-8859-1

Yes, we had. http://www.ietf.org/mail-archive/web/hybi/current/msg02100.html
.

For now, I don't know anyone implementing or designing such a protocol
seriously.

The WebSocket Protocol is designed assuming underlying transport provides
reliability. A protocol over UDP that supports the WebSocket API would be
substantially different than RFC 6455.

Thanks

--047d7beb95c00f633f04d87e7c70
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div style>Yes, we had. <a href=3D"http://www.ietf.org/mai=
l-archive/web/hybi/current/msg02100.html">http://www.ietf.org/mail-archive/=
web/hybi/current/msg02100.html</a>.</div><div style><br></div><div style><d=
iv>

For now, I don&#39;t know anyone implementing or designing such a protocol =
seriously.</div><div><br></div></div><div style>The WebSocket Protocol is d=
esigned assuming underlying transport provides reliability. A protocol over=
 UDP that supports the WebSocket API would be substantially different than =
RFC 6455.</div>

<div class=3D"gmail_extra"><div style><br></div><div style>Thanks</div></di=
v></div>

--047d7beb95c00f633f04d87e7c70--

From zhong.j.yu@gmail.com  Fri Mar 22 04:03:29 2013
Return-Path: <zhong.j.yu@gmail.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 7939E21F90DA for <hybi@ietfa.amsl.com>; Fri, 22 Mar 2013 04:03:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, NO_RELAYS=-0.001]
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 l6cI1OHaRRjD for <hybi@ietfa.amsl.com>; Fri, 22 Mar 2013 04:03:28 -0700 (PDT)
Received: from mail-ob0-x232.google.com (mail-ob0-x232.google.com [IPv6:2607:f8b0:4003:c01::232]) by ietfa.amsl.com (Postfix) with ESMTP id C807E21F89CB for <hybi@ietf.org>; Fri, 22 Mar 2013 04:03:28 -0700 (PDT)
Received: by mail-ob0-f178.google.com with SMTP id wd20so3887799obb.9 for <hybi@ietf.org>; Fri, 22 Mar 2013 04:03:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=HF97z6iCObUrU5YZJJH08TxRCCH8JIR7szJW4pSx3Uw=; b=IILPUDPVql8JLfTBcRl1GwQ/FmfM6hrigIBtgDSYrMt/iGikE+nY9W48mUN1maTGhF Pae8YSBLMmaCNAX5kxvnluT+yVY3q6MxhLbG/kbJIvam3lAt4NBPmOynlUTa5T88ZNFt A8RG8TgWDS3qabin6MCcdIXNR46cuoiy39ikSbebncmiwlu4n2GN7f8h5ar0vjOV4s3t gLaA9ClL9DZOfQQ3IyM393qnpsBzNOY+fQeFS44fumjAcCP082SBROWiPYdKMz5k+gg9 ikMbT9PHZ1SArvRC/X5uAWQxhCRy3YwuPjjsHte91vSr/Iyd3kMXnVOU/8Fpi6QFVh8T QJeA==
MIME-Version: 1.0
X-Received: by 10.60.172.131 with SMTP id bc3mr1258839oec.79.1363950208350; Fri, 22 Mar 2013 04:03:28 -0700 (PDT)
Received: by 10.76.22.130 with HTTP; Fri, 22 Mar 2013 04:03:28 -0700 (PDT)
In-Reply-To: <CADkjLSKUwcY-m2CZEoDAjuONOAri=_KXizy0_b-0E9b1F3TKDA@mail.gmail.com>
References: <CADkjLSKUwcY-m2CZEoDAjuONOAri=_KXizy0_b-0E9b1F3TKDA@mail.gmail.com>
Date: Fri, 22 Mar 2013 06:03:28 -0500
Message-ID: <CACuKZqF2XfWpZj5TFTOh-b7-s03wkoDRk21xgdENBgWh3KFUBQ@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Andrew Rasmussen <arasmussen@katworks.com>
Content-Type: text/plain; charset=ISO-8859-1
Cc: hybi@ietf.org
Subject: Re: [hybi] UDP WebSockets?
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: Fri, 22 Mar 2013 11:03:29 -0000

I wouldn't even say that WebSocket is built on top of TCP. From
application's point of view, WebSocket is pretty close to TCP socket.
If WebSocket is a protocol on top of TCP to simulate TCP... who needs
that for?

The crux of WebSocket is that there is an HTTP pathway between the
client and the server, but there is not necessarily an unconstrained
TCP pathway. The job of WebSocket is to sneak non-HTTP full-duplex
data on this HTTP pathway without causing problems. If that's the
defining characteristic of WebSocket, then whatever-protocol over UDP
will have nothing to do with WebSocket as we know it, since it's not
on an HTTP pathway.

(note: an unconstrained TCP pathway is also an HTTP pathway)

Zhong Yu

On Fri, Mar 22, 2013 at 2:07 AM, Andrew Rasmussen
<arasmussen@katworks.com> wrote:
> Hi,
>
> Has the hybi had any discussions regarding adding support for UDP sockets to
> the WebSocket protocol?
>
> Thanks,
> Andrew Rasmussen
>
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>

From sm@resistor.net  Sat Mar 23 00:32:45 2013
Return-Path: <sm@resistor.net>
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 2F79921F841D for <hybi@ietfa.amsl.com>; Sat, 23 Mar 2013 00:32:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, 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 dUqYFZBNnCzN for <hybi@ietfa.amsl.com>; Sat, 23 Mar 2013 00:32:44 -0700 (PDT)
Received: from mx.ipv6.elandsys.com (mx.ipv6.elandsys.com [IPv6:2001:470:f329:1::1]) by ietfa.amsl.com (Postfix) with ESMTP id 5A71921F8414 for <hybi@ietf.org>; Sat, 23 Mar 2013 00:32:44 -0700 (PDT)
Received: from SUBMAN.resistor.net (IDENT:sm@localhost [127.0.0.1]) (authenticated bits=0) by mx.elandsys.com (8.14.5/8.14.5) with ESMTP id r2N7WUpE028319; Sat, 23 Mar 2013 00:32:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=opendkim.org; s=mail2010; t=1364023956; bh=kGhQnY0ECbET6C4pzKfxzirfmh6ynx5B7dyrMstf3nY=; h=Date:To:From:Subject:Cc:In-Reply-To:References; b=1vbWhxdV19FNmDtP9DUiLylwXkE+DIU5Wh7r6U2Hm3J8u3J77xaBq/GuTLRn6bK1L AAkRhb3XPdt01anJ7S13xYrZma5tEgywKvaNRMPVLHVMO0H1yZi5D0ytTVbE/ZZYho 86THjAJMIyExpRCV6FZU1/xBv/ryiCdF608HfvEo=
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=resistor.net; s=mail; t=1364023956; i=@resistor.net; bh=kGhQnY0ECbET6C4pzKfxzirfmh6ynx5B7dyrMstf3nY=; h=Date:To:From:Subject:Cc:In-Reply-To:References; b=ByexkW8pUnpHZ599kswR8LbrhPik/PTPz1xhp9vMJi73k+UWKtL0CS7vnfnvqbzA4 8mal3pOFs0U9g8+oAAuYjeJsHt/86uxy+fAB753Pp+aQelsNhKHEuMP+CRKWYokGPh sroFxzJF7ENsw1Me6l+xk7Nv/GjnuLp+fRHOONiw=
Message-Id: <6.2.5.6.2.20130322234602.0bf66450@resistor.net>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6
Date: Sat, 23 Mar 2013 00:23:33 -0700
To: Takeshi Yoshino <tyoshino@google.com>
From: SM <sm@resistor.net>
In-Reply-To: <CAH9hSJZT6-5szxCoHPROujqKZSXumLmi8TKqN11w6oEfcOOpXg@mail.g mail.com>
References: <6.2.5.6.2.20130223175715.094d8508@elandnews.com> <CAH9hSJZT6-5szxCoHPROujqKZSXumLmi8TKqN11w6oEfcOOpXg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Cc: hybi@ietf.org
Subject: Re: [hybi] Comments on draft-ietf-hybi-permessage-compression-05
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: Sat, 23 Mar 2013 07:32:45 -0000

Hi Takeshi,
At 05:13 12-03-2013, Takeshi Yoshino wrote:

>It's commonly used in RFC 6455. Maybe you meant that I should cite 
>RFC 6455 and define the term in this document. Done.

Yes.  What I meant was what the implementer would have to do as 
"fail" does not specify specific behavior, e.g. return a specific 
error condition.

>Not sure which is the most supported format...

It is a matter of personal preference. :-)  Pick something you find 
better and people can review and comment.

>Basically I feel like it's too much. But yes, it's good to show an 
>example of a diagram with the RSV1 is set once.

Ok.

>Sorry I couldn't get what you mean.

What I meant was not to get into all the details of how to 
implement.  It is better in my opinion to explain what is being 
sent.  Please let me know if I did not explain it well.

>Added one concern (citing CRIME attack).

Ok.

>Which part of the sentence is bad for the RFC Editor?

I don't really know how to explain this.  I would say that the 
sentence looks more like pseudo code instead of one written in English.


>Could you please point a sentence which is considered to be making 
>liberal use of the key worlds? I tried to remove inappropriate use 
>but couldn't find so many.

I'll comment using an example from draft-ietf-hybi-permessage-compression-07:

   'A server MAY attach the "c2s_no_context_takeover" extension parameter
    to disallow the client to use the LZ77 sliding window used to build
    frames for the last message the client sent to build frames for the
    next message to send.  The "c2s_no_context_takeover" extension
    parameter has no value.  Clients SHOULD be able to accept the
    "c2s_no_context_takeover" parameter.  A client that received this
    parameter MUST reset its LZ77 sliding window for sending to empty for
    each message.'

There are three RFC 2119 key words in the above, i.e. MAY, SHOULD, 
MUST.  The client "SHOULD be able to accept" is an assumption.  The 
"MUST reset" is what the client must do.   I could write it in terms 
of what "c2s_no_context_takeover" means and what the client must do 
when it receives the parameter.

Regards,
-sm 


From dario.crivelli@lightstreamer.com  Thu Mar 28 09:41:27 2013
Return-Path: <dario.crivelli@lightstreamer.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 648CF21F8FC4 for <hybi@ietfa.amsl.com>; Thu, 28 Mar 2013 09:41:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.483
X-Spam-Level: *
X-Spam-Status: No, score=1.483 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FH_RELAY_NODNS=1.451, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_ILLEGAL_IP=1.908, RDNS_NONE=0.1]
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 lsHTlg8W55Cd for <hybi@ietfa.amsl.com>; Thu, 28 Mar 2013 09:41:25 -0700 (PDT)
Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) by ietfa.amsl.com (Postfix) with ESMTP id 4274521F8EEC for <hybi@ietf.org>; Thu, 28 Mar 2013 09:41:24 -0700 (PDT)
Received: by mail-wi0-f171.google.com with SMTP id hn17so3500640wib.16 for <hybi@ietf.org>; Thu, 28 Mar 2013 09:41:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lightstreamer.com; s=google; h=x-received:mime-version:x-originating-ip:from:date:message-id :subject:to:content-type; bh=3Px9nVreRYqvAYioiyGTQaiMDpsOGuLYtXwkDOlwVPQ=; b=TXrdlh4YOWQY53FnacHQ8gWGghiPeSoVcvEOiCV96NNu20G479mzLR/yEClihWhq/t zlFWPq8vEFeVhr2eolRHeQIbwDJYL5LjEO1z+DXFA0bEw5gGgzrhvLTUmhEnnQi7DuzC eybFdbOX/yGBh7Qdf5Pr2fpU5zZlNXXzwb+PA=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-originating-ip:from:date:message-id :subject:to:content-type:x-gm-message-state; bh=3Px9nVreRYqvAYioiyGTQaiMDpsOGuLYtXwkDOlwVPQ=; b=jAryijwZrHxAbEKcqppaldXWqiVerHAG4QSrOJBZe9GccpmhgHE8l8/QR5sv5SsJUp xC7mD0osdZKEMFFwLSS/c9r/QpSDfwxuOdX25lgq4gtTaNDMAnYXiSwMHyOFqlLo2foj WGMPRrEAIq828qX8pcz/JQLTSdBDb8IRnTvH0+EQrgVyAHVezSSjaYVMsxe9YABmTdn1 J3A1Mjb0iaLlxxv+zjvpVkx9z/ZB8me2ugRenOgZcIeM++xzJsmV5ge6jk3QdMiTpoXA hJXyM5kq+cT4stCHyit4LzxMVQGT1R8j/ppZEO7iI/66t2LoVGmddCgIdwSQUYrDN2IU OIkw==
X-Received: by 10.194.235.196 with SMTP id uo4mr39490082wjc.30.1364488884209;  Thu, 28 Mar 2013 09:41:24 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.180.104.199 with HTTP; Thu, 28 Mar 2013 09:41:04 -0700 (PDT)
X-Originating-IP: [2.238.52.66]
From: Dario Crivelli <dario.crivelli@lightstreamer.com>
Date: Thu, 28 Mar 2013 17:41:04 +0100
Message-ID: <CAPwYjp=0NZEbY7Feod7UeHiFaT5pfm85rkpV6KByjcsB72MxLw@mail.gmail.com>
To: hybi@ietf.org, Takeshi Yoshino <tyoshino@google.com>
Content-Type: multipart/alternative; boundary=089e01419d7c3e645104d8fed3d8
X-Gm-Message-State: ALoCoQk7wEnELl6dTVJDhr/TZd2sd6aCqghY7ddFCsOUP4v4lj+RBZrk2auDd0mLFi7F8wUNNOya
Subject: Re: [hybi] I-D Action: draft-ietf-hybi-permessage-compression-07.txt
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: Thu, 28 Mar 2013 16:41:27 -0000

--089e01419d7c3e645104d8fed3d8
Content-Type: text/plain; charset=ISO-8859-1

Hi Takeshi,


Regarding the observations I expressed about version 05 of the draft, I
confirm that the new text, along with your answers by email, do clarify my
doubts.

In the new version, I found just a few unclear points.

We know from RFC4655 (and also from the permessage-deflate extension case)
that when a server accepts a PMCE offer, it can use, in the response,
parameters different from those used in the offer;
as a consequence, the extension specification should determine when the
response parameters are legal with respect to the offer.
In the description of the general negotiation mechanism, in paragraph 4, as
far as I can see, this is not restated explicitly.
I suggest restating that, though redundantly, because the description of
the offering/acceptance mechanism may be misleading.
In fact, the mechanism allows the client to include multiple offers of the
same PMCE with different parameters;
so, this may deceive one into thinking that the acceptance only consists in
the server choosing one of the offerings as is, with no further freedom to
use different parameters in the response.

In paragraph 6.2 the following form is used several times:
"If a server accepts an offer with ..."
I think that the concept of "accepting an offer" should only pertain to
paragraph 6.1.
In paragraph 6.2 we are referring to the configuration parameters already
agreed-upon.
I see that in paragraph 4 there is a mention to
"the configuration parameters of the PMCE to use in detail"
which would be a better reference point, although it is not formally
defined.
Do you think that introducing a concept similar to the _Extensions In Use_
of RFC6455 would be worthwhile?


I'm still concerned about how multiple extensions can coexist and how this
specification can interoperate with specifications of other extensions.
With reference to paragraph 5.1, as far as this specification is meant as a
specialization of RFC6455, it is clear how the indicated steps should
replace the corresponding base steps in RFC6455
(even though RFC6455 was not expressed in terms of steps).
However, the specification in paragraph 5.1 replaces the base steps from
the "payload data portion of the original message" to the frames being sent.
It seems to me that this formulation excludes in advance the cooperation
with any other extension, otherwise conflicts in the two specifications
would arise and it might not be obvious how the two specifications should
merge.

On the other hand, I think it is obvious to all of us that a PMCE should
only operate on the message payload and should not interfere with any
extension to be applied subsequently (operating either on the payload or on
the frames), provided that it doesn't conflict on the use of the RSV1 bit.
I'm not sure if the current specification conveys this idea.

By the way, in paragraph 4 it is said that an extension can be "applied to
output of" another extension;
however, in RFC6455 I can only find the concept of an "order of operations"
(in 9.1), which seems to me a broader one.


Regards
Dario Crivelli





> Message: 2
> Date: Tue, 19 Mar 2013 17:36:48 +0900
> From: Takeshi Yoshino <tyoshino@google.com>
> To: "hybi@ietf.org" <hybi@ietf.org>
> Subject: Re: [hybi] I-D Action:
>         draft-ietf-hybi-permessage-compression-07.txt
> Message-ID:
>         <
> CAH9hSJZCFZpvQPjVsRXDGeLD8BNSttoEHVU6PNupjv4F548a0A@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Reorganization, rephrasing, grammar correction.
>
> I'm happy if someone could take a look.
>
> Takeshi
>
>

--089e01419d7c3e645104d8fed3d8
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div><div><div>Hi Takeshi,</div><div><br></div><div><br></div><div>Regardin=
g the observations I expressed about version 05 of the draft, I confirm tha=
t the new text, along with your answers by email, do clarify my doubts.</di=
v>

<div><br></div><div>In the new version, I found just a few unclear points.<=
/div><div><br></div><div>We know from RFC4655 (and also from the permessage=
-deflate extension case) that when a server accepts a PMCE offer, it can us=
e, in the response, parameters different from those used in the offer;</div=
>

<div>as a consequence, the extension specification should determine when th=
e response parameters are legal with respect to the offer.</div><div>In the=
 description of the general negotiation mechanism, in paragraph 4, as far a=
s I can see, this is not restated explicitly.</div>

<div>I suggest restating that, though redundantly, because the description =
of the offering/acceptance mechanism may be misleading.</div><div>In fact, =
the mechanism allows the client to include multiple offers of the same PMCE=
 with different parameters;</div>

<div>so, this may deceive one into thinking that the acceptance only consis=
ts in the server choosing one of the offerings as is, with no further freed=
om to use different parameters in the response.</div><div><br></div><div>

In paragraph 6.2 the following form is used several times:</div><div><span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>&quot;If a serve=
r accepts an offer with ...&quot;</div><div>I think that the concept of &qu=
ot;accepting an offer&quot; should only pertain to paragraph 6.1.</div>

<div>In paragraph 6.2 we are referring to the configuration parameters alre=
ady agreed-upon.</div><div>I see that in paragraph 4 there is a mention to<=
/div><div><span class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>=
&quot;the configuration parameters of the PMCE to use in detail&quot;</div>

<div>which would be a better reference point, although it is not formally d=
efined.</div><div>Do you think that introducing a concept similar to the _E=
xtensions In Use_ of RFC6455 would be worthwhile?</div><div><br></div>
<div>
<br></div><div>I&#39;m still concerned about how multiple extensions can co=
exist and how this specification can interoperate with specifications of ot=
her extensions.</div><div>With reference to paragraph 5.1, as far as this s=
pecification is meant as a specialization of RFC6455, it is clear how the i=
ndicated steps should replace the corresponding base steps in RFC6455</div>

<div>(even though RFC6455 was not expressed in terms of steps).</div><div>H=
owever, the specification in paragraph 5.1 replaces the base steps from the=
 &quot;payload data portion of the original message&quot; to the frames bei=
ng sent.</div>

<div>It seems to me that this formulation excludes in advance the cooperati=
on with any other extension, otherwise conflicts in the two specifications =
would arise and it might not be obvious how the two specifications should m=
erge.</div>

<div><br></div><div>On the other hand, I think it is obvious to all of us t=
hat a PMCE should only operate on the message payload and should not interf=
ere with any extension to be applied subsequently (operating either on the =
payload or on the frames), provided that it doesn&#39;t conflict on the use=
 of the RSV1 bit.</div>

<div>I&#39;m not sure if the current specification conveys this idea.</div>=
<div><br></div><div>By the way, in paragraph 4 it is said that an extension=
 can be &quot;applied to output of&quot; another extension;</div><div>
however, in RFC6455 I can only find the concept of an &quot;order of operat=
ions&quot; (in 9.1), which seems to me a broader one.</div>
<div><br></div><div><br></div><div>Regards</div><div>Dario Crivelli</div></=
div></div><div><br></div><div><br></div><div><br></div><div><br></div><div =
class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Message: 2<br>
Date: Tue, 19 Mar 2013 17:36:48 +0900<br>
From: Takeshi Yoshino &lt;<a href=3D"mailto:tyoshino@google.com">tyoshino@g=
oogle.com</a>&gt;<br>
To: &quot;<a href=3D"mailto:hybi@ietf.org">hybi@ietf.org</a>&quot; &lt;<a h=
ref=3D"mailto:hybi@ietf.org">hybi@ietf.org</a>&gt;<br>
Subject: Re: [hybi] I-D Action:<br>
=A0 =A0 =A0 =A0 draft-ietf-hybi-permessage-compression-07.txt<br>
Message-ID:<br>
=A0 =A0 =A0 =A0 &lt;<a href=3D"mailto:CAH9hSJZCFZpvQPjVsRXDGeLD8BNSttoEHVU6=
PNupjv4F548a0A@mail.gmail.com">CAH9hSJZCFZpvQPjVsRXDGeLD8BNSttoEHVU6PNupjv4=
F548a0A@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=3D&quot;iso-8859-1&quot;<br>
<br>
Reorganization, rephrasing, grammar correction.<br>
<br>
I&#39;m happy if someone could take a look.<br>
<br>
Takeshi<br>
<br></blockquote></div>

--089e01419d7c3e645104d8fed3d8--

From joakim@intalio.com  Thu Mar 28 10:18:24 2013
Return-Path: <joakim@intalio.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 B54EA21F8CCD for <hybi@ietfa.amsl.com>; Thu, 28 Mar 2013 10:18:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level: 
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 TK0dzLiHNv1N for <hybi@ietfa.amsl.com>; Thu, 28 Mar 2013 10:18:22 -0700 (PDT)
Received: from mail-ee0-f42.google.com (mail-ee0-f42.google.com [74.125.83.42]) by ietfa.amsl.com (Postfix) with ESMTP id 8BC5821F8B49 for <hybi@ietf.org>; Thu, 28 Mar 2013 10:18:22 -0700 (PDT)
Received: by mail-ee0-f42.google.com with SMTP id b47so5129785eek.29 for <hybi@ietf.org>; Thu, 28 Mar 2013 10:18:21 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=0z+YMCNHLRjXHBkCB3OyI5KvLLfzT+AjjWtXUwnfIxE=; b=VKfT0zTBzZfzJ2hsfyyeLsw9043vso75ZGbnyHeRPg6f3KJWzn5tflEJnZ2QOm8xhh pY3RmH47i0V4lTWPem+rcU1ETcO6iJTfPugx7hCQdJKfbqZMQXOTX5NTmHeZZKpo4f8V wDq4t4U/7NO8OoHhFIm9/UI4/vIL7bmTDqyuRilpTJCu/bzG87fWRfI097IdhgVR6fJW RXEQGsE3j1jGkiwCgJi/VaoFuQcUWLu7BZIeK4jQUNujA2FVVKuugdUwPT34N9l3tJfn rwVJr7ctgg6/9zFho81nYjMZ0pLAhdO8aOBUSmNGRqiY98P1DK0jT4hfrOP0b60imOX3 W6uw==
MIME-Version: 1.0
X-Received: by 10.14.179.5 with SMTP id g5mr69065737eem.41.1364491101516; Thu, 28 Mar 2013 10:18:21 -0700 (PDT)
Received: by 10.14.139.17 with HTTP; Thu, 28 Mar 2013 10:18:21 -0700 (PDT)
Date: Thu, 28 Mar 2013 10:18:21 -0700
Message-ID: <CAG4zZZB0AFMvfYjegrZ73mMeMwngUV5C7fKkqFNqwgnjD5jz=Q@mail.gmail.com>
From: Joakim Erdfelt <joakim@intalio.com>
To: hybi@ietf.org
Content-Type: multipart/alternative; boundary=047d7b603fe667f1b604d8ff5793
X-Gm-Message-State: ALoCoQlPjnH1xa4UF8zWjq7e7qiqw71wTTIGlqF0Eng90i7LQLJrreInRC+SfY6xLgZtop41iiHS
Subject: [hybi] Reference Implementation of draft-ietf-hybi-permessage-compression-07 ?
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: Thu, 28 Mar 2013 17:18:25 -0000

--047d7b603fe667f1b604d8ff5793
Content-Type: text/plain; charset=ISO-8859-1

Is there a reference implementation of this draft of permessage-compression?
I'd like to figure out what is wrong with our use of the Java built-in
deflate libraries (as we could never quite get x-deflate-frame to work with
chrome)

--
Joakim Erdfelt <joakim@intalio.com>
webtide.com <http://www.webtide.com/>
Developer advice, services and support
from the Jetty & CometD experts
eclipse.org/jetty - cometd.org

--047d7b603fe667f1b604d8ff5793
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>Is there a reference implementation of this draft of permessage-compre=
ssion?</div><div>I&#39;d like to figure out what is wrong with our use of t=
he Java built-in deflate libraries (as we could never quite get x-deflate-f=
rame to work with chrome)</div>
<br clear=3D"all"><div><div>--</div><div>Joakim Erdfelt &lt;<a href=3D"mail=
to:joakim@intalio.com" target=3D"_blank">joakim@intalio.com</a>&gt;</div><d=
iv><a href=3D"http://www.webtide.com/" target=3D"_blank">webtide.com</a></d=
iv><div>

<span>Developer advice, services and support</span><br><span>from the Jetty=
 &amp; CometD experts</span></div><div><a href=3D"http://eclipse.org/jetty/=
" target=3D"_blank">eclipse.org/jetty</a>=A0-=A0<a href=3D"http://cometd.or=
g/" target=3D"_blank">cometd.org</a></div>

</div>

--047d7b603fe667f1b604d8ff5793--
