Re: [hybi] deflate-stream and masking

John Tamplin <jat@google.com> Wed, 20 July 2011 20:58 UTC

Return-Path: <jat@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 9879421F8681 for <hybi@ietfa.amsl.com>; Wed, 20 Jul 2011 13:58:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.939
X-Spam-Level:
X-Spam-Status: No, score=-105.939 tagged_above=-999 required=5 tests=[AWL=0.038, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Nq7gi+ruan8i for <hybi@ietfa.amsl.com>; Wed, 20 Jul 2011 13:58:44 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by ietfa.amsl.com (Postfix) with ESMTP id EAB2C21F8640 for <hybi@ietf.org>; Wed, 20 Jul 2011 13:58:43 -0700 (PDT)
Received: from hpaq11.eem.corp.google.com (hpaq11.eem.corp.google.com [172.25.149.11]) by smtp-out.google.com with ESMTP id p6KKwhaW019565 for <hybi@ietf.org>; Wed, 20 Jul 2011 13:58:43 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1311195523; bh=W/jNzC8NF4lWThGaNCmia67K+YA=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=eD5M9JHMkaQZwjbVEk+m5jhEeXVTJf8nr+orUi2BkQpyEUq9WspjKh2ofMlJzYjOT YsjTiZHzAwJvuHOKTEqEA==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=dkim-signature:mime-version:in-reply-to:references:from:date: message-id:subject:to:cc:content-type:x-system-of-record; b=bPBTEr8c/IzsnLoBd1IOkloQT8VmudRsBl4LoYtqnOFxI6bAeHqyMEabHpIoAJS7y s1ovbcSb/TqyZhxrzgF8A==
Received: from gyf2 (gyf2.prod.google.com [10.243.50.66]) by hpaq11.eem.corp.google.com with ESMTP id p6KKsVSE003589 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for <hybi@ietf.org>; Wed, 20 Jul 2011 13:58:41 -0700
Received: by gyf2 with SMTP id 2so339896gyf.32 for <hybi@ietf.org>; Wed, 20 Jul 2011 13:58:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=rgd/pzyPbT6c1thY/p5q9vLtNFtM3bMmvIf1BBjJSMc=; b=NndxMVDOxK0bJ2pLSPG0PQq/k/2WltDjbLZZLlaEbytf9Y5VlfIbS7EUp1BvuYSae1 vALbpMf4cVDhZA4tgRig==
Received: by 10.150.74.7 with SMTP id w7mr8374931yba.116.1311195521089; Wed, 20 Jul 2011 13:58:41 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.150.49.7 with HTTP; Wed, 20 Jul 2011 13:58:21 -0700 (PDT)
In-Reply-To: <CAP992=EDtzc5h88AQuzSCgaZO025e8R3yMWU72pn9kndfUGHVQ@mail.gmail.com>
References: <BANLkTi=UVMAd1nER6mRBe7zoD29CSbCkGA@mail.gmail.com> <CAH_y2NFMdr1ZU2dfy9mCRepZc2R_hnzg0oa3kYPKhWY-FX_8Og@mail.gmail.com> <CAE8AN_V-P2L0mVwjPQYxAypJ67=QWKAhWnDqrM_XmDQXjJbEHA@mail.gmail.com> <CAP992=HmZM9H2i+rFLVNrJVzfQT2qSPzWRm4gQXc2wTQ8fdBTA@mail.gmail.com> <00b801cc470a$d2d5e520$7881af60$@noemax.com> <CAP992=Gvz7CT=fZSX=t_7J3YAGF7kKsA9a6M0UQJP3HXxMBANQ@mail.gmail.com> <1311190993.1862.135.camel@ds9> <4E273125.8070503@stpeter.im> <CA566BAEAD6B3F4E8B5C5C4F61710C114038FBE3@TK5EX14MBXW605.wingroup.windeploy.ntdev.microsoft.com> <1311192266.1862.138.camel@ds9> <CAP992=F4hCgsm_yg6kkSK_PqVehLm=Xam3zB8oy6JBDTk9ub9A@mail.gmail.com> <CABLsOLAEE02pNHAUBBXzJKqCeQU-ozbesOpa9BtEgKXBQWceaw@mail.gmail.com> <CAP992=EDtzc5h88AQuzSCgaZO025e8R3yMWU72pn9kndfUGHVQ@mail.gmail.com>
From: John Tamplin <jat@google.com>
Date: Wed, 20 Jul 2011 16:58:21 -0400
Message-ID: <CABLsOLAsHLuqkDQRvgEaXaT325K1YbK78_jGuuj+Xaxvsrwx3g@mail.gmail.com>
To: David Endicott <dendicott@gmail.com>
Content-Type: multipart/alternative; boundary=000e0cd5c4be44021e04a8867fa7
X-System-Of-Record: true
Cc: Hybi <hybi@ietf.org>, Patrick McManus <pmcmanus@mozilla.com>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
Subject: Re: [hybi] deflate-stream and masking
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: Wed, 20 Jul 2011 20:58:44 -0000

On Wed, Jul 20, 2011 at 4:55 PM, David Endicott <dendicott@gmail.com> wrote:

> Agreed.   The vast majority of (unencrypted, unmasked, unmangled) content
> will benefit from compression.   That is a truth I cannot debate.
>
> My use cases will not.    My "slowness" concern is latency, not throughput.
>   My traffic will be many small messages and arrives at the WS layer already
> encrypted, so compression doesn't work for me to any great extent.   The
> turn-around latency of XHR is my biggest concern.   The HTTP
> request/response cycle is my problem.   WS solves my latency concerns, and
> beyond that I'd like it to just stay out of my way.
>
> I acknowledge that other peoples needs will differ from mine.   I'm just
> lazy enough to want to avoid doing work I don't need.
>

Then even if the w3c position that all clients request deflate-stream
stands, then your server is free to refuse that extension.  Likewise if
deflate-frame is requested.

-- 
John A. Tamplin
Software Engineer (GWT), Google