Re: [hybi] Compression spec decoupling

Greg Wilkins <gregw@webtide.com> Thu, 26 April 2012 09:12 UTC

Return-Path: <gregw@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 9882621F87A2 for <hybi@ietfa.amsl.com>; Thu, 26 Apr 2012 02:12:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.977
X-Spam-Level:
X-Spam-Status: No, score=-2.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 Whz054qFCOhL for <hybi@ietfa.amsl.com>; Thu, 26 Apr 2012 02:12:42 -0700 (PDT)
Received: from mail-qc0-f172.google.com (mail-qc0-f172.google.com [209.85.216.172]) by ietfa.amsl.com (Postfix) with ESMTP id CC66221F879A for <hybi@ietf.org>; Thu, 26 Apr 2012 02:12:41 -0700 (PDT)
Received: by qcsq13 with SMTP id q13so652082qcs.31 for <hybi@ietf.org>; Thu, 26 Apr 2012 02:12:41 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=aIWCM90XsZvjwbISgpzigVVFQX3n7JAd69cYXWeZCfo=; b=aW/sbSUo9zBOAxpklWaXS7YkKUgynqmvj1az4RHgyNbKm19FteZT7ZZamngWo/APx4 BFborbGRRsUwQlG9tPYFAcrXYEt/09XDsnyDJXuwwXPfHNghmG4yHYy/bxqfPGen7Ey7 oQfGVskr7r4i6Rq/X+1I7ehR65R22MMWWDFht74KUbAluszx5SCJeb1DQSPbtwLJvwGs IovaTB6bgkWlDF7qxnke/Q1/QPaAXs+LAq2qqKPTRpCnZdwywWhzp3UJN6GA/MJJjADP a3QV6tqub1NkW/iCv9fCxNZDwCfPrmWLXlkYCl+DqKO2xEOzxb52Xx3bFfoee3yPE8Xw GfTA==
MIME-Version: 1.0
Received: by 10.229.135.10 with SMTP id l10mr1348102qct.6.1335431561249; Thu, 26 Apr 2012 02:12:41 -0700 (PDT)
Sender: gregw@intalio.com
Received: by 10.229.68.99 with HTTP; Thu, 26 Apr 2012 02:12:41 -0700 (PDT)
In-Reply-To: <002001cd238c$8d5a6e80$a80f4b80$@noemax.com>
References: <CAH9hSJbr1rXvda87NrHO91JMe5nhM_cHaRODAsSWW-io_9iZJw@mail.gmail.com> <002001cd238c$8d5a6e80$a80f4b80$@noemax.com>
Date: Thu, 26 Apr 2012 19:12:41 +1000
X-Google-Sender-Auth: sIzx_82b28JAltl95-bxFemFMew
Message-ID: <CAH_y2NG4as1DB7Egw6ae8Qg+Ru6jUGf+sd=MQ4n-2VpmY5180w@mail.gmail.com>
From: Greg Wilkins <gregw@webtide.com>
To: Arman Djusupov <arman@noemax.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQlvKuGkuWV8FXQ/fD9IKE79llcLXT+yNKsRzeNtfKBzu5LHVOq9lvUqEddvz9OABpvMcyA2
Cc: hybi@ietf.org
Subject: Re: [hybi] Compression spec decoupling
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, 26 Apr 2012 09:12:42 -0000

I prefer a) to b),  but don't strongly object to b)

cheers



On 26 April 2012 19:11, Arman Djusupov <arman@noemax.com> wrote:
> I’m also fine with both options.
>
>
>
> With best regards,
>
> Arman
>
>
>
> From: Takeshi Yoshino [mailto:tyoshino@google.com]
> Sent: Thursday, April 26, 2012 7:24 AM
> To: hybi@ietf.org; John Tamplin; Arman Djusupov; Greg Wilkins
> Subject: Compression spec decoupling
>
>
>
> As the target data is close, I'd like to list options with concrete examples
> and call for opinions to settle this topic.
>
>
>
> See also this
> thread: http://www.ietf.org/mail-archive/web/hybi/current/msg09469.html
>
>
>
> We have two options.
>
> (I saw slight objection to add a new handshake header to pass
> algorithm parameter in f2f meeting)
>
>
>
> a) One per-frame compression extension for all compression algorithm
>
>
>
> draft-ietf-hybi-websocket-perframe-compression defines
>
> - an extension "perframe-compress" and how it frames data including usage of
> RSV1
>
> - an extension parameter "algorithm" and its format
>
> - an algorithm parameter "deflate" and how it transforms data
>
>
>
> RSV1 is given to perframe-compress extension. It might make incompatible
> extension checking easier.
>
>
>
> There something does "per-frame compression" but needs framing beyond what
> we define in this spec might come in the future. Then, we need to choose
> either of break this 1:1 assignment or forbid it to use RSV1.
>
>
>
> Example:
>
> Sec-WebSocket-Extensions: perframe-compress; algorithm="foo; foo-param1=123,
> bar; bar-param1=abc"; general-param1=xyz", ...
>
>
>
> Example (with mux):
>
> Sec-WebSocket-Extensions: perframe-compress; algorithm="... (algorithms for
> pre-mux) ...", mux, perframe-compress; algorithm="... (algorithms for
> post-mux) ..."
>
>
>
> b) One extension for each per-frame compression algorithm
>
>
>
> draft-ietf-hybi-websocket-perframe-compression defines
>
> - a method how to frame data with per-frame compression including usage of
> RSV1
>
> - an extension "deflate-frame" which uses the framing method and how to
> transforms data
>
>
>
> RSV1 is given to any extension that does per-frame compression. Endpoints
> need to sort out mutually exclusive extensions.
>
>
>
> Any future per-frame compression extension may or may not refer to the
> framing method defined in draft-ietf-hybi-websocket-perframe-compression.
>
>
>
> Example:
>
> Sec-WebSocket-Extensions: foo-compress; foo-param1=123, bar-compress;
> bar-param-1=abc, ...
>
>
>
> Example (with mux):
>
> Sec-WebSocket-Extensions: ... (extensions for pre-mux) ...", mux, ...
> (extensions for post-mux) ..."
>
>