Re: [hybi] Resolutions for the issues of the compression spec reported during WGLC

Takeshi Yoshino <tyoshino@google.com> Mon, 07 January 2013 04:51 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 9723B21F8581 for <hybi@ietfa.amsl.com>; Sun, 6 Jan 2013 20:51:17 -0800 (PST)
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 ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jumD6tb0y59N for <hybi@ietfa.amsl.com>; Sun, 6 Jan 2013 20:51:17 -0800 (PST)
Received: from mail-vb0-f41.google.com (mail-vb0-f41.google.com [209.85.212.41]) by ietfa.amsl.com (Postfix) with ESMTP id CEDDB21F853C for <hybi@ietf.org>; Sun, 6 Jan 2013 20:51:16 -0800 (PST)
Received: by mail-vb0-f41.google.com with SMTP id l22so19033789vbn.28 for <hybi@ietf.org>; Sun, 06 Jan 2013 20:51:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ClV8iXOrTA8IWVysR2aRi4ig7nE3H2XEBXK2oE/jQvg=; b=J0MmycPPWKBquJqaUdYkBRWDV1X8hqXT7UwrUrbr8ClyRAzuRcQYrs4htLV5WLIk6X Wkv5YhAKM7NBu2gq/W5+2b3Q2SGSTe4FHqxsJyfqwYROz5nziVw1HjTpzhi02K/CpD0N ZIPGAXt/drFkESoOXg9oKPuXSKh30LFrmutCpikc/9V9O0HKPIUqXju2jLMTad4hWVaU 9PEJ/rcwje8CPCVLjhrtjzGpNAvVPGfTT9TXgJRFGN3xjm2HhBpV3oOHLK4OONEoQeuu J6pB9kMiX7Rt4LMexgSa4c99EOzSeQpaiVEbKJ7Q0ScWHIHzGBm8gljdH411yad7SIBr VIgQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=ClV8iXOrTA8IWVysR2aRi4ig7nE3H2XEBXK2oE/jQvg=; b=mzDpxW7HQkOVqmzH5LQsVo1l17kmjjUPAOBM729+1Wfluj0ZUlJ/TwEn21+OUIDR3Z L/YiPPLFEuEWziUIGfAaBLGKIBb2xk5ncLpiRC3Jt4XuSToegzu8QVoIXyl0zIji00mZ yAElXQJ8EGKofwHDiQOZcXuP/WEmW3xreCfpzusQfANrCxphbYxZnM2fO/Yj42XajiOd kax9qCTiFN9VzjxGrPFrnounj7aRLvmRlAvM104HpQ4nR3XU7ilmaPDySPdn7Ymzrsmu 8ru18uPDwkMeeO6KeO7mSTjscCD3NBny8SQA4In4EfUp6CNgtwM0Ystk891VoGa58kqC oTew==
Received: by 10.52.16.17 with SMTP id b17mr71325202vdd.86.1357534276022; Sun, 06 Jan 2013 20:51:16 -0800 (PST)
MIME-Version: 1.0
Received: by 10.58.255.226 with HTTP; Sun, 6 Jan 2013 20:50:55 -0800 (PST)
In-Reply-To: <50E6D88E.7030100@gmx.de>
References: <CAH9hSJYwuBuben2vRrG3Xb_aSpZjJhC9WynOeopfChpjqBh_7Q@mail.gmail.com> <50E6D88E.7030100@gmx.de>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Mon, 07 Jan 2013 13:50:55 +0900
Message-ID: <CAH9hSJbipHUqyt1oPHVNq_SjdPovTTb0DHVZrOz-6Rdm=9DOBQ@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Content-Type: multipart/alternative; boundary="bcaec50408e84aefe604d2ab9452"
X-Gm-Message-State: ALoCoQlNFklc1oE/8goYnABSrKBxTLeeZE59Dm50AWbl9lbC/+WnKJEx2pnMACZg1gs8cp0xhbaC9rpaww+mRu6qyCyp3rss1gVds/2JC2hVFMb+SBV2wR7CUV1r43GwA7SH4TtxCdLUkRibx01ZhfzrrP5Yz20y2MY5vgTD6x12k8lg25qiPtZi4jcztFot+FOcENnLuK7y
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Resolutions for the issues of the compression spec reported during WGLC
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, 07 Jan 2013 04:51:17 -0000

Thanks, Julian.

On Fri, Jan 4, 2013 at 10:26 PM, Julian Reschke <julian.reschke@gmx.de>wrote:

> I haven't followed the discussions that led to the current design, but
> this smells a bit like a case of an over-engineered extension point. Do you
> *really* expect that negotiation will have to happen on *paramaters*?


No. But see below, please.


> If this is not the case, it would be *much* simpler to simply define
> different tokens for the different schemes and be done. So, for instance:
>
>   Sec-WebSocket-Extensions: permessage-compress-deflate
>
> instead of
>
>   Sec-WebSocket-Extensions: permessage-compress; method=deflate
>
>
We've discussed that in this thread.
http://www.ietf.org/mail-archive/web/hybi/current/msg09605.html
and made a decision as announced in
http://www.ietf.org/mail-archive/web/hybi/current/msg09618.html

There was no strong opinion on either of them. We chose the current design
because:
- to simplify correspondence between a RSV bit and an ext.
- to ease extension list processing by grouping compression method
candidates into one ext.

Shall we go back to the old approach? I'm ok with it.

Comment please everyone.


> Keep in mind that if you extend quoted-string to essentially wrap other
> name/parameter pairs, you may end up with having to escape double quotes;
> and this is asking for trouble for something that really should be easy.