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

Takeshi Yoshino <tyoshino@google.com> Fri, 04 October 2013 19:17 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 752D521F9B86 for <hybi@ietfa.amsl.com>; Fri, 4 Oct 2013 12:17:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level:
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
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 9zMyvMfPqKhA for <hybi@ietfa.amsl.com>; Fri, 4 Oct 2013 12:17:49 -0700 (PDT)
Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) by ietfa.amsl.com (Postfix) with ESMTP id 6AAD321F9A97 for <hybi@ietf.org>; Fri, 4 Oct 2013 12:17:48 -0700 (PDT)
Received: by mail-wi0-f179.google.com with SMTP id hm2so2188513wib.6 for <hybi@ietf.org>; Fri, 04 Oct 2013 12:17:48 -0700 (PDT)
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=4m5Fsj3iI9DOGv8frmuONWU2poNzU9J7wu7serlzgvE=; b=Wr8igcMADLKuD4G93/zAFYvFLDZWbxbU73dEzse+QJTnFc3JPQTYn0YB7G7xAPi6bX kS/BSI35CNzrmLCd5I75aTIhnTUF/0KkIUIr9CJ/aoPfX+ab2PCosXEAa6P0rLZOLnI0 6JpR/y8Lt3onhTfTyAfMlFo7Kyv757l1rLAgATWtXUJ4ynEBnmi/qKdwAimcUjwwFNmU eo8G17HUMbOYThUxB1f2XUPLe5OCE4+uutQuPC3mhD3Ccjyeq+4m6ljqzY1hbwGn/jEW yb9TEGFYFF8QM5PZIxI8N1PlQgn7NVvUnfv4Cm23ItKYpH9RPGp/qAs7UgOJqrX/ekSv DN0A==
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:from:date :message-id:subject:to:cc:content-type; bh=4m5Fsj3iI9DOGv8frmuONWU2poNzU9J7wu7serlzgvE=; b=jUybz2twIYZZQwkjsxcemfzajyCAGOQqVsRlePtttTU78ALMllxUTH6tAmhufACSbw PNPU2dAusEYmGmMXamIPoN5UiBGG+TWVlTGPOASnOKV9tt1UpgC/6HGnzM0qRzaz7M+C A8DWTJmFK21FqEjteoqfwuA3hJBsgY2YkYZGpG0g8431dZN2/4U6l6uPXzfI/Jw5M2FH WMaKJr/gQTeEmOBmnMTpyatFrVGFMFHkvjKFVJAaQfb1uK7ttRNXhy9/++WYJdE2p6Lh 1Bx/BGFxZi2OmzNAypNHlJZ2UJbPWFzAU2KljZdqHN7wDoNeDVGCnhjxYRHSHBkqPQoi F9zA==
X-Gm-Message-State: ALoCoQli3F7wkVgbDILe3UXkDSt9DUVDlZJHmvdvFyGMR4om7mTA0z/t3qJ2STcEt8AgtpN1ylDoXdwSPk2fEE9OhmeDF5wzgUKpmm/XlOWFd+zTkn1x11L4SmKsrHwS8PWMdNDCm8HdsDmv22vuJj6Vgabi0Fk/5RiN/YmMsApBKvr98KVEwlQRL/dAC+kHB2xfKFzY0X3e
X-Received: by 10.194.10.193 with SMTP id k1mr3329083wjb.50.1380914267955; Fri, 04 Oct 2013 12:17:47 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.15.133 with HTTP; Fri, 4 Oct 2013 12:17:26 -0700 (PDT)
In-Reply-To: <CAG4zZZD8eq4w9kyQbX2AJcM1LA8=UyRO7txK7TvmYhSp=YU+9g@mail.gmail.com>
References: <CAH9hSJbwd5qhMJw=3dwk3CDPua5ENRksd9=q2KDcyyma3uKzZg@mail.gmail.com> <CAG4zZZD8eq4w9kyQbX2AJcM1LA8=UyRO7txK7TvmYhSp=YU+9g@mail.gmail.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Sat, 05 Oct 2013 04:17:26 +0900
Message-ID: <CAH9hSJY84nbzv62-b3v-rnJf58qc4MWi8uNJSWFGw24kWYyrSw@mail.gmail.com>
To: Joakim Erdfelt <joakim@intalio.com>
Content-Type: multipart/alternative; boundary="047d7b5d4f78684ba204e7ef2845"
Cc: "hybi@ietf.org" <hybi@ietf.org>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
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 19:17:50 -0000

On Fri, Oct 4, 2013 at 11:24 PM, Joakim Erdfelt <joakim@intalio.com> wrote:

> There is also Eclipse Jetty 9.1 (currently in RC releases) support (server
> and client)
>
> We cannot support some of the spec, as written.
> Our experiences implementing it, and using chromium + pywebsocket for
> testing both the server or client implementation.
>
> The following configuration parameters are not supported, nor can/will be.
>
> s2c_no_context_takeover
> c2s_no_context_takeover
> s2c_max_window_bits
> c2s_max_window_bits
>
>
Sorry, why? s2c_no_context_takeover requests the server to reset context.
The server just need to throw away current deflater, create a new one and
use it.

If the client didn't send s2c_no_context_takeover, you can still do the
same. You don't have to carry over compression context.

The problem is that your server cannot decompress incoming data if the
client carries over compression context. So, you can just reply with
c2s_no_context_takeover. In
http://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-12#section-8.1.1.2,
a client is required to implement c2s_no_context_takeover. I made this
mandatory since it's doable. So, you don't have to worry about clients
coming without c2s_no_context_takeover capability.


> This level of control of the deflate algorithm is just not possible in
> Java, sorry.
>
>
Again, please explain why you can't support no_context_takeover family
parameter.