Re: [hybi] Resolutions for the issues of the compression spec reported during WGLC
"Arman Djusupov" <arman@noemax.com> Thu, 10 January 2013 14:12 UTC
Return-Path: <SRS0+3ea0fdae24b2ad8a=LD=noemax.com=arman@noemax.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 417F721F849A for <hybi@ietfa.amsl.com>; Thu, 10 Jan 2013 06:12:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.489
X-Spam-Level:
X-Spam-Status: No, score=-2.489 tagged_above=-999 required=5 tests=[AWL=0.109, BAYES_00=-2.599, HTML_MESSAGE=0.001]
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 tfrAGQXEsMsK for <hybi@ietfa.amsl.com>; Thu, 10 Jan 2013 06:12:13 -0800 (PST)
Received: from mail.noemax.com (mail.noemax.com [64.34.201.8]) by ietfa.amsl.com (Postfix) with ESMTP id 114FD21F845A for <hybi@ietf.org>; Thu, 10 Jan 2013 06:12:12 -0800 (PST)
DKIM-Signature: a=rsa-sha1; t=1357827132; x=1358431932; s=m1024; d=noemax.com; c=relaxed/relaxed; v=1; bh=lD0o1g6ENq+fBovzdK/TphJRFvw=; h=From:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type:In-Reply-To:References; b=kh2KtgXr+kD4rTTfwQlFDjv5k126zog+fnQCvV1ZtfHN1P8nmS+d4ukS42Igb4Gc+gKqsEBsFm4VzQb44yk+uNfzuJWQpbFS1IzTkSWmtOeR5oJghKvMpIPQnhQu08vl5W1hSSp2gVnlquDXFHfzH3ttTAsnfhAQol1bhfnqFfU=
Received: from mail.noemax.com by mail.noemax.com (IceWarp 10.4.3) with ASMTP (SSL) id VPW57410; Thu, 10 Jan 2013 16:12:10 +0200
From: Arman Djusupov <arman@noemax.com>
To: 'Takeshi Yoshino' <tyoshino@google.com>, 'Julian Reschke' <julian.reschke@gmx.de>
References: <CAH9hSJYwuBuben2vRrG3Xb_aSpZjJhC9WynOeopfChpjqBh_7Q@mail.gmail.com> <50E6D88E.7030100@gmx.de> <CAH9hSJbipHUqyt1oPHVNq_SjdPovTTb0DHVZrOz-6Rdm=9DOBQ@mail.gmail.com>
In-Reply-To: <CAH9hSJbipHUqyt1oPHVNq_SjdPovTTb0DHVZrOz-6Rdm=9DOBQ@mail.gmail.com>
Date: Thu, 10 Jan 2013 16:12:02 +0200
Message-ID: <000c01cdef3c$79b2ce50$6d186af0$@noemax.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01CDEF4D.3D3B9E50"
X-Mailer: Microsoft Outlook 14.0
thread-index: AQJZ+5S3sJWLaGhJEwxhlbOtpQum6AESZVQ1AqAyEUuXDOySMA==
Content-Language: en-us
Cc: 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: Thu, 10 Jan 2013 15:36:31 -0000
For me it doesn't make a big difference, I'm OK with going back to the old way, but we have to remember the reason why we ended up with method parameter. We did so in order to make compression extensions mutually exclusive. Plus, the current specification defines the DEFLATE method as just one of several possible methods, theoretically there can be multiple methods . If we change to permessage-compress-deflate then the specification would have to define how the extension name is formed based on the format it uses. I personally don't mind going back to old way, but AFAIR Tobias was working on Autobahn's test suite for permessage-compress interoperability. If his work is already done then reverting the spec again will require re-testing interop once again. With best regards, Arman From: hybi-bounces@ietf.org [mailto:hybi-bounces@ietf.org] On Behalf Of Takeshi Yoshino Sent: Monday, January 07, 2013 6:51 AM To: Julian Reschke Cc: hybi@ietf.org Subject: Re: [hybi] Resolutions for the issues of the compression spec reported during WGLC 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.
- [hybi] Resolutions for the issues of the compress… Takeshi Yoshino
- Re: [hybi] Resolutions for the issues of the comp… Julian Reschke
- Re: [hybi] Resolutions for the issues of the comp… Takeshi Yoshino
- Re: [hybi] Resolutions for the issues of the comp… Takeshi Yoshino
- Re: [hybi] Resolutions for the issues of the comp… Arman Djusupov
- Re: [hybi] Resolutions for the issues of the comp… Takeshi Yoshino
- Re: [hybi] Resolutions for the issues of the comp… Arman Djusupov
- Re: [hybi] Resolutions for the issues of the comp… Peter Thorson