Re: [hybi] Restarting IESG review on permessage-deflate

Joakim Erdfelt <joakim@intalio.com> Fri, 04 October 2013 16:26 UTC

Return-Path: <joakim@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 50FDA21F9E46 for <hybi@ietfa.amsl.com>; Fri, 4 Oct 2013 09:26:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level:
X-Spam-Status: No, score=-2.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]
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 J9CS8JVKc0zo for <hybi@ietfa.amsl.com>; Fri, 4 Oct 2013 09:26:01 -0700 (PDT)
Received: from mail-ee0-f53.google.com (mail-ee0-f53.google.com [74.125.83.53]) by ietfa.amsl.com (Postfix) with ESMTP id BFEF521F9E3A for <hybi@ietf.org>; Fri, 4 Oct 2013 09:25:57 -0700 (PDT)
Received: by mail-ee0-f53.google.com with SMTP id b15so1958846eek.12 for <hybi@ietf.org>; Fri, 04 Oct 2013 09:25:56 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=KSBYg3P9mxCcmaxPoZQ6hk5OtiUQTboJmsMfqsGmDiE=; b=URXiwz5tf2b1Ogo/EqIJQ/pcef+cYO0BowjcitYZrooONbOnhf5SZO9UcNpN3u+ors VGtppR9sBQh85QJOdlTtzy05w3WQV36zMGD58RudVUlXR+iouQa1d514cnRp2ii+3edQ fB7p8s6dXSPQBPZEL61DCM3rAJPmvn1T9Bp9ZOKtLtANArFZfA7qnrwLYg1sWHm+aghI QGE+QqCbOmw0Gw6X8M3Kst6h5S4UVpnc6fTy+Sg0UFs8aerjmRcaWx/4gbddin5u8k3q MjLMa/HLvh6hai9xzhzMTE/cAMYUCaVzV+AJvydqX18Wktla7KqZdyBCTLEOobSLDqL7 CNoQ==
X-Gm-Message-State: ALoCoQn7fzhPaUAmX8ZTzrsn1MAYnGb75XXKZG16nA8l/JkXDZr9LK8fnxN+iCaxLjY6IF8A6BCz
MIME-Version: 1.0
X-Received: by 10.15.102.71 with SMTP id bq47mr4153494eeb.66.1380903956617; Fri, 04 Oct 2013 09:25:56 -0700 (PDT)
Received: by 10.14.134.73 with HTTP; Fri, 4 Oct 2013 09:25:56 -0700 (PDT)
In-Reply-To: <634914A010D0B943A035D226786325D4446790BF87@EXVMBX020-12.exch020.serverdata.net>
References: <CAH9hSJbwd5qhMJw=3dwk3CDPua5ENRksd9=q2KDcyyma3uKzZg@mail.gmail.com> <CAG4zZZD8eq4w9kyQbX2AJcM1LA8=UyRO7txK7TvmYhSp=YU+9g@mail.gmail.com> <634914A010D0B943A035D226786325D4446790BF34@EXVMBX020-12.exch020.serverdata.net> <dmnt49hf1bbifiote81fumeamnk76vti1t@hive.bjoern.hoehrmann.de> <634914A010D0B943A035D226786325D4446790BF87@EXVMBX020-12.exch020.serverdata.net>
Date: Fri, 04 Oct 2013 09:25:56 -0700
Message-ID: <CAG4zZZDdcC5+cob715KE77uZiPYAo1Oz6M0StLA=vSp5iX_h7A@mail.gmail.com>
From: Joakim Erdfelt <joakim@intalio.com>
To: Tobias Oberstein <tobias.oberstein@tavendo.de>
Content-Type: multipart/alternative; boundary="089e016820f8cdcd3a04e7ecc19e"
Cc: "hybi@ietf.org" <hybi@ietf.org>, Bjoern Hoehrmann <derhoermi@gmx.net>
Subject: Re: [hybi] Restarting IESG review on permessage-deflate
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: Fri, 04 Oct 2013 16:26:05 -0000

On Fri, Oct 4, 2013 at 8:57 AM, Tobias Oberstein <
tobias.oberstein@tavendo.de> wrote:

> >>>We also find the nature of configuration parameters awkward (even if
> >>>Java supported these specific ones) The whole "s2c" and "c2s" prefix
> noise is unnecessary.
> >>
> >>No, it's not.
>
> >What is your reasoning?
>
> We need to differentiate between parameter offers and parameter accepts,
> and do that for both directions.
>
> If there is no prefix, both client and server would only be able to use
> the same parameters for both directions.
>
>
That's desired actually, and consistent with behavior of other protocols
and extensions (mux for example).
The websocket handshake is always client initiated to server.
The client always says what it desires on the handshake request.  (this is
the spec "c2s")
The server always says what it can do on the handshake response.  (this is
the spec "s2c")
Where does the need for the "s2c" and "c2s" prefixes come from?
Even the justification for them in the permessage-deflate spec is lacking.

To put it another way:

Handshake Request:
"c2s_no_context_takeover"
"c2s_max_window_bits"

Handshake Response:
"s2c_no_context_takeover"
"s2c_max_window_bits"

The spec use of these prefixes is unclear at best, and downright misleading
at worst.
If the spec is trying to say something like this ...

   Hi, I'm the client, I want to talk to you using 1 set of configurations,
and I want you to talk back to me on a different set of configurations.

... then this is not made clear in
http://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-12

And If this is the intention, make it clear, in the spec, that the whole
point of the prefixes is to have different configurations for incoming vs
outgoing frames. (and explain the pros and cons of this)

- Joakim