Re: [hybi] I-D Action: draft-ietf-hybi-permessage-compression-07.txt

Dario Crivelli <dario.crivelli@lightstreamer.com> Thu, 04 April 2013 15:56 UTC

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 400E121F93AA for <hybi@ietfa.amsl.com>; Thu, 4 Apr 2013 08:56:38 -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 1EpXBLL4e4bP for <hybi@ietfa.amsl.com>; Thu, 4 Apr 2013 08:56:37 -0700 (PDT)
Received: from mail-we0-x231.google.com (mail-we0-x231.google.com [IPv6:2a00:1450:400c:c03::231]) by ietfa.amsl.com (Postfix) with ESMTP id 16C0921F93C5 for <hybi@ietf.org>; Thu, 4 Apr 2013 08:56:36 -0700 (PDT)
Received: by mail-we0-f177.google.com with SMTP id o45so2145558wer.36 for <hybi@ietf.org>; Thu, 04 Apr 2013 08:56:35 -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:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=zUM5JeUVh5AiPPorbD8QtKp9Dw1uzHcKSj7xPDYSawY=; b=Efcrb9G0FA5Kn8zDjp+5Kk5mb5Ytu8hTF8p/mJYB6LEubtb4OI9qCvE5O4nV6PdzBR mWDvSN+dxIjZiV/aSBuuHbS5f03HA9sMHxQjItjPsXSK1MY6ikAV4eEgjo0ZBcmoE9vw WRTDVrMOIkPjQU6R5fDXcC1i3+/ZDP9ReQcAg=
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=zUM5JeUVh5AiPPorbD8QtKp9Dw1uzHcKSj7xPDYSawY=; b=dDaCNvPMc0T93h3DUV/SzQG2OmHWMNIP+VWqoU5b0g+PS85jNwyvHwZFrgmx1zrK/i khV7VUY1i66IrhZVLGV/56ARByZB50YLNGIFdJoOZKb52GGYvyRFQq4Y6Pr/CpOeLEzM Nk3yZKwe9nZVuw5EL8EL4/oHATfvuI8yDgrnX3TqUHRL3ThLZBXUxDI6F2VeJDPigHJZ VF57dyZeEd6+fQ3aBZ8T5FVGoWh8x7dDmEMtIYUusxhZau5sJB2/1quB6AU9DiY48NeE 2MWz5cEX2qOowZ0HVIRJHU7a1ST/oiswfrcU05W44E/zCb7uKtlTd+Du8G229m2UzNNz sxYQ==
X-Received: by 10.180.188.3 with SMTP id fw3mr10149858wic.33.1365090995452; Thu, 04 Apr 2013 08:56:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.180.104.199 with HTTP; Thu, 4 Apr 2013 08:56:14 -0700 (PDT)
X-Originating-IP: [2.238.52.66]
In-Reply-To: <CAH9hSJZZtqV1oiAkBUM0zx4uOwiQi2YXdkc__M52Zu0AmTc7Sw@mail.gmail.com>
References: <CAPwYjp=0NZEbY7Feod7UeHiFaT5pfm85rkpV6KByjcsB72MxLw@mail.gmail.com> <CAH9hSJZZtqV1oiAkBUM0zx4uOwiQi2YXdkc__M52Zu0AmTc7Sw@mail.gmail.com>
From: Dario Crivelli <dario.crivelli@lightstreamer.com>
Date: Thu, 04 Apr 2013 17:56:14 +0200
Message-ID: <CAPwYjpnNqCyNv3f2Bfy449Cbb1Hsf+c2mdEQuo0u5iQS6CVKVw@mail.gmail.com>
To: Takeshi Yoshino <tyoshino@google.com>
Content-Type: multipart/alternative; boundary="001a11c37cdcded6ff04d98b038c"
X-Gm-Message-State: ALoCoQk6HK1v2iGIbW7jj0Ybu6vmBJNowFzV2Wp3IYsO1CZTQMjRoBrFapfDJeISJihL/gDXbH0U
Cc: "hybi@ietf.org" <hybi@ietf.org>
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, 04 Apr 2013 15:56:38 -0000

Hi Takeshi,

>From my viewpoint, the notes added in draft 08 make things clearer.
I will try to expand on some points of the previous email that don't have a
clear way out.
Then I will add other notes on the new draft 08 in the proper thread.



>> On the other hand, I think it is obvious to all of us that a PMCE should
>> only operate on the message payload
>>
>
> Yes. Added some text to state that.
>
>
>> 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.
>>
>
> Yes. Except for fragmentation change.
>

Consider that conflicts due to fragmentation only arise with extensions
that are supposed to be applied before the PMCE.
As the PMCE only operates on the payload, the incompatibility with any
previous extension operating on the frames, in my opinion, should be in
some way implicit (see below).


>
>
>>
>> I'm not sure if the current specification conveys this idea.
>>
>>
> Hmm, ... what kind of thing do you think we should say?
>

I'm not able to propose any solution, because there is nothing to lean upon.
However, I think that your reformulation of 5.1 and 5.2 in draft 08, where
you explicitly refer to extension chaining, is more prone to mutual
compatibility.

The job would be easier if RFC 6455 had put some more restrictions.
For instance, a statement that the encoding of a message is a two-phase
process, where:
- the first phase produces the message payload and its properties (in terms
of opcode and reserved bits, due to be set in the first frame);
- the second phase produces the frames, with any additional frame-level
opcodes and reserved bits (along with possible extension data and custom
control frames).
This would provide "inputs" and "outputs" for the extensions to operate on,
and also basic constraints on the chaining of extensions.

Do you think that imposing a similar restriction would cause possible
useful extensions to be ruled out?
By the way, I admit that I haven't managed to read the sibling proposal for
the Multiplexing extension yet, so maybe this restriction is already
unsuitable for that one.


>
>
>> 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.
>>
>>
> Yes. Extension specification in RFC 6455 is very brief. Shall we redefine
> it well here? Hmm
>

Do you think that expanding RFC 6455, in order to clarify how the extension
should be allowed to operate, would still be possible?
In fact, anything stated regarding extensions should have no impact on the
protocol itself;
moreover, since no extension has been registered yet, making changes on the
matter now would pose no cross-compatibility issues.
But I'm not familiar with the specification process and I acknowledge that
this may be unfeasible.



>
>>
>> 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
>>>
>>>
>