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

Takeshi Yoshino <tyoshino@google.com> Mon, 01 April 2013 14:41 UTC

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 83F7511E80A6 for <hybi@ietfa.amsl.com>; Mon, 1 Apr 2013 07:41:28 -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, J_CHICKENPOX_52=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 VuVKr7ImnayS for <hybi@ietfa.amsl.com>; Mon, 1 Apr 2013 07:41:27 -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 31BA311E80A3 for <hybi@ietf.org>; Mon, 1 Apr 2013 07:41:26 -0700 (PDT)
Received: by mail-we0-f180.google.com with SMTP id r5so1753294wey.39 for <hybi@ietf.org>; Mon, 01 Apr 2013 07:41:26 -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=mm6bBzPF6VbAHb8867rt2LsPuGfPAeI+c4w5HYVM2Lo=; b=fVysD3Fwwi2dARlE+XUxm/M40CEOGl5Q7S3Q2k7EOnL+xzlw9LOlgqrarkI+DUB4gi 22IPt3f+X47g44qq+TOr8aKAfSJRBwWSli1qxFTPTyssMZKbcnVuOz6oKNTzr8AX2Jib OxttxHrqrkuQRjRxmwS6y8R1lc+LSFD+V+nEVD42Bp7aaMrAZ36nL9jvUbWHAMYPRnL8 Q/7X7taZ4HqeJqPfypIsgTvLjWwgR+cG1DBapzHbNb1rfYLpYXDnDLqmAWBIzL9K7VtZ MjyyR107CIxHMcxORilP0DBTCta9gRuDif/cZvPKaeLoV9IzxoHbjItF8yRQBZQsmyLW Sr7w==
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=mm6bBzPF6VbAHb8867rt2LsPuGfPAeI+c4w5HYVM2Lo=; b=CCrlmy3qCrruLFCHGLRkH5Z2J1dqXJLqgCG0IpEMn437ATq0cSHhlgHlHTZ0a86jQn Fms0h9VG2RWygDM5zMi+dEVnd3dcsXrY3QX696d1N7TWDXHlzsX13QUEWqEVCoTrqyor /KtS9UfxXo20VO0EDlMqFaC2W4bxWcJ/Jcsq/ZCmTDIvKYoFdWgwvN+qfU/Kf4T2neWv oKPVcvmWOl6AoHo/UAQBhfpgI4uLHFz+tBbM3pRMxUrRoMXqX2GHeA6zSsIbT2zDRSsk 0bAdBGNFkkkrMzajG6KCzRduV0TBPVk0ijBKPYInikhUJfGOtN7rr8Q5QLa15sfHbBMI v1Pg==
X-Received: by 10.194.171.74 with SMTP id as10mr16031164wjc.0.1364827285990; Mon, 01 Apr 2013 07:41:25 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.243.3 with HTTP; Mon, 1 Apr 2013 07:41:05 -0700 (PDT)
In-Reply-To: <CAPwYjp=0NZEbY7Feod7UeHiFaT5pfm85rkpV6KByjcsB72MxLw@mail.gmail.com>
References: <CAPwYjp=0NZEbY7Feod7UeHiFaT5pfm85rkpV6KByjcsB72MxLw@mail.gmail.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Mon, 01 Apr 2013 23:41:05 +0900
Message-ID: <CAH9hSJZZtqV1oiAkBUM0zx4uOwiQi2YXdkc__M52Zu0AmTc7Sw@mail.gmail.com>
To: Dario Crivelli <dario.crivelli@lightstreamer.com>
Content-Type: multipart/alternative; boundary="089e013c6c0e8fcc6004d94d9da6"
X-Gm-Message-State: ALoCoQmQ/IfLM9q8QUi8ZJ1974p4Mx6oa7WTveQYkq2ZHJt9cdCDeoNRJhcXyT3Dro+X/gRkxykfLSvW4BP3jRsRd4bkD3u14pyWT86nB8ED6DlzgnWWeoR4Adfz8PrN6hPsBi8zi6oXjVNDi9z8V0Jux21gS/I6eIa7JQ72+cFkxN/ASy10TgGq2NdZjFQgJBoyhaIei9Av
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: Mon, 01 Apr 2013 14:41:28 -0000

Hi Dario,

Thanks for review.

On Fri, Mar 29, 2013 at 1:41 AM, Dario Crivelli <
dario.crivelli@lightstreamer.com> wrote:

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

Added a sentence "The element doesn't need to exactly the same as one of
the received offers." and one example.


>  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'll introduce a term "agreed parameter" and use it there.


>
> 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.
>
>
Changed the text considering the case there're other extensions next to the
PMCE.

Maybe still need more work but for now.


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


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


> 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


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