Re: [hybi] I-D Action: draft-ietf-hybi-permessage-compression-09.txt

Peter Thorson <webmaster@zaphoyd.com> Thu, 13 June 2013 21:33 UTC

Return-Path: <webmaster@zaphoyd.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 3FBDE21F9AE3 for <hybi@ietfa.amsl.com>; Thu, 13 Jun 2013 14:33:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=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 Iatu9qQgnm7c for <hybi@ietfa.amsl.com>; Thu, 13 Jun 2013 14:33:44 -0700 (PDT)
Received: from sh78.surpasshosting.com (sh78.surpasshosting.com [72.29.64.142]) by ietfa.amsl.com (Postfix) with ESMTP id 4EA3721F9A71 for <hybi@ietf.org>; Thu, 13 Jun 2013 14:33:44 -0700 (PDT)
Received: from ranna.uchicago.edu ([128.135.45.206]:52897) by sh78.surpasshosting.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80) (envelope-from <webmaster@zaphoyd.com>) id 1UnF9I-0003Mp-PT; Thu, 13 Jun 2013 17:33:42 -0400
Content-Type: multipart/alternative; boundary="Apple-Mail=_AA84DDFA-C394-427C-819F-22CB2678E9BD"
Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\))
From: Peter Thorson <webmaster@zaphoyd.com>
In-Reply-To: <CAH9hSJazdfZ-5oetgz8_U8MKfF7Sqtx8yry+M3w4HDH7XpB6UQ@mail.gmail.com>
Date: Thu, 13 Jun 2013 16:33:39 -0500
Message-Id: <8DC56394-50A0-47F5-8E8D-87F160A46EBD@zaphoyd.com>
References: <20130425140626.10027.9016.idtracker@ietfa.amsl.com> <CAH9hSJYDH47Ya1FNp80xjeD=pwYJAqcx=XDr=SnBbNDD+f-r4Q@mail.gmail.com> <CAH9hSJYa8QA9VkOwS6GEr0+8iJcnQcpMy3X_fKwGQOuJRr=sEw@mail.gmail.com> <634914A010D0B943A035D226786325D4422DC20DC7@EXVMBX020-12.exch020.serverdata.net> <CAH9hSJZGxcpx-RSB-b4=Kks3_-OQEHDi7C8p8yzka1vBTHevCg@mail.gmail.com> <634914A010D0B943A035D226786325D4422DC213FA@EXVMBX020-12.exch020.serverdata.net> <CAH9hSJazdfZ-5oetgz8_U8MKfF7Sqtx8yry+M3w4HDH7XpB6UQ@mail.gmail.com>
To: Takeshi Yoshino <tyoshino@google.com>
X-Mailer: Apple Mail (2.1508)
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - sh78.surpasshosting.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - zaphoyd.com
X-Get-Message-Sender-Via: sh78.surpasshosting.com: authenticated_id: webmaster@zaphoyd.com
X-Source:
X-Source-Args:
X-Source-Dir:
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] I-D Action: draft-ietf-hybi-permessage-compression-09.txt
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, 13 Jun 2013 21:33:50 -0000

On Jun 13, 2013, at 12:23 , Takeshi Yoshino <tyoshino@google.com> wrote:

> The current draft reads:
> 
> " It is RECOMMENDED that clients implement the
>    "c2s_no_context_takeover" parameter."
> 
> It's not "MUST implement" .. so there might be client which won't, and then a server has no chance to adapt it's response to the client and maximize likelihood of connection success given it ideally wants to activate "c2s_no_context_takeover".
> 
> Oh, this is a bug. This should be MUST.

+1

>> Yes. Order means preference. The server may choose any even if it 
>> supports all of them.
>> 
>> Do you think we need any text to make it clear?
> 
> I think it would clarify things by adding text like
> 
> """
> A server MAY choose any PMCE offered by the client and supported by the server.
> The order of PMCE offered by the client designates preference by the client and a server SHOULD accept the first offer in the list (by order) that it supports.
> """
> 
> This IMHO makes sense and brings the abstract description in line with the text in "5.1. Negotiation Examples".


Technically RFC6455 explicitly states that extensions are offered in order of preference, but I agree that there should be some text here (beyond the hints in the examples) that either references that or just reminds implementers that this is the case. 


Just to confirm, am I correct in assuming the following operations shouldn't cause problems:
1. Either endpoint may unilaterally send messages compressed with a smaller window size than the (implicit or explicit) negotiated maximum window size.
2. Either endpoint may unilaterally reset its own context for outgoing messages without informing the peer that it is doing so.