Re: [hybi] permessage-deflate parameter negotiation

Adam Rice <ricea@google.com> Fri, 14 June 2013 13:47 UTC

Return-Path: <ricea@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 5C87C21F9C92 for <hybi@ietfa.amsl.com>; Fri, 14 Jun 2013 06:47:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.777
X-Spam-Level:
X-Spam-Status: No, score=-1.777 tagged_above=-999 required=5 tests=[AWL=0.200, 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 H4-FxD4X0XX5 for <hybi@ietfa.amsl.com>; Fri, 14 Jun 2013 06:47:15 -0700 (PDT)
Received: from mail-vb0-x22a.google.com (mail-vb0-x22a.google.com [IPv6:2607:f8b0:400c:c02::22a]) by ietfa.amsl.com (Postfix) with ESMTP id 9E39C21F9C90 for <hybi@ietf.org>; Fri, 14 Jun 2013 06:47:15 -0700 (PDT)
Received: by mail-vb0-f42.google.com with SMTP id i3so447519vbh.1 for <hybi@ietf.org>; Fri, 14 Jun 2013 06:47:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VzCxM/PAWcqBp995OgVerrDYtbFD38NgYss5PKoYlG8=; b=MsM20si9wbBiwzVhFbqU248FpwYmV8un682wZ9C6sCP1xnB8QM5J13iZJ3unZbE1ZO yZTHhd47cY6MLUhNkFLS16q5zE3NPf3FbarVAnMluajbras3NbN4yR/N7ik8Bxn5TJFm GxEEkS9JwuvztGVywpG/MSh6Z9fFLhkS+HvLKMiJriRUgzc/JIwxHGrmj8K3gcOr54CS 9XJ9fYqwlqXlSRu6d0dYQvMWWD855EemJxZ5pAaPsnHhfoxRD25SGW88tK2SqKmmg7TG 4Qt1Y5ZKKs/9V/Tc8S/Ps4e2HiBF8IPL9kWLtewqGaDSjCU9s6YXHKgj2qyNAgi6qjQp L72w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=VzCxM/PAWcqBp995OgVerrDYtbFD38NgYss5PKoYlG8=; b=jtjMVfk6HjMXe9eIH3RR8KlpZLcl0dF5x0dHWz1LFGR5PJO8L1rxl3oCVminwE/nT3 Y59tG8DKlUOFvIBYlkOO2v3B714n/CmDzfxuJVeonu6hz6HxzWaAOfioWJLHEl3gJ60p wiED5AmwWZZJxV1eObO61a9TFdMfmOu3Ux5r3db3I/1t/hrwGGJV/n/e1Vg7rQDPyxmr 8YTWs89mfaMTp3v3TYrPyFhiTSeHqe8K6Po6N/E5sxWk6jQeZBSP4iKYXwqRR9THZAuM QqWrsBamRZ3f1bw0gJdTa1ecJV6KS2Z6P5euZRIDmS4zdd7y8knYP+iv9D/nhZkPuxtZ cgNg==
MIME-Version: 1.0
X-Received: by 10.58.224.102 with SMTP id rb6mr974738vec.43.1371217634993; Fri, 14 Jun 2013 06:47:14 -0700 (PDT)
Received: by 10.58.223.168 with HTTP; Fri, 14 Jun 2013 06:47:14 -0700 (PDT)
In-Reply-To: <CAH9hSJZ9Asv2zR7kDiKF0SfF_5UerVRnCv2Nevw1mfb1kh--yA@mail.gmail.com>
References: <634914A010D0B943A035D226786325D4422DDFD452@EXVMBX020-12.exch020.serverdata.net> <CAH9hSJZwMFUWTyk6jjmAN2oMxveVhY=SMs8NLCUHy47Uc+Mj1Q@mail.gmail.com> <CAH9hSJZ9Asv2zR7kDiKF0SfF_5UerVRnCv2Nevw1mfb1kh--yA@mail.gmail.com>
Date: Fri, 14 Jun 2013 22:47:14 +0900
Message-ID: <CAHixhFrek3yvdRNqsGoQXgW5--SU9eAkAaBuwP8Wv-ybLAzXyQ@mail.gmail.com>
From: Adam Rice <ricea@google.com>
To: Takeshi Yoshino <tyoshino@google.com>
Content-Type: multipart/alternative; boundary="089e011763cd0b4d2104df1d7cfe"
X-Gm-Message-State: ALoCoQljUnqBCW8myiYRFxVih85/qgDTqTAon0thBPc/4vMCE4YP1g7o6rTEtNy2fE8rgfoV0/TidWEeW+MgXhRgCmLkG9Ci9VWBPQx1cVf9r8FzMJ2iHzqMcAllYD7LogIVWZ59ti1WqppeTXO0SRUcVohCgy3v/z6Ag0T/hdOn0g07FmKeT7TOqk8Ug/V3vWOjOtP76zv/
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] permessage-deflate parameter negotiation
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, 14 Jun 2013 13:47:16 -0000

Yes. For options where

1. The receiver could still correctly decode the frames if it ignored the
option, but
2. The receiver could take advantage of the option to save resources

I think it makes sense to encourage the sender to specify those options,
even if unsolicited. The sender will be compliant even if it locally
applies those options without telling the receiver about it, but the
receiver can benefit from knowing about it.


On 14 June 2013 19:25, Takeshi Yoshino <tyoshino@google.com> wrote:

> As we're going to allow unsolicited s2c_no_context_takeover and
> s2c_max_window_size, maybe we should also allow client to send
> c2s_no_context_takeover and c2s_max_window_size if it wants.
>
> Existing client->server c2s_max_window_size without value can be kept.
> I.e.:
> - Empty client->server c2s_max_window_size means that the client can
> accept c2s_max_window_size.
> - client->server c2s_max_window_size with value X means that the client
> can accept c2s_max_window_size and even if the server won't send any
> server->client c2s_max_window_size, the client won't use window size larger
> than X.
>
>
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>
>