Re: [hybi] deflate-stream and masking

Ian Fette (イアンフェッティ) <ifette@google.com> Wed, 22 June 2011 09:27 UTC

Return-Path: <ifette@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 0E5C211E80CF for <hybi@ietfa.amsl.com>; Wed, 22 Jun 2011 02:27:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.73
X-Spam-Level:
X-Spam-Status: No, score=-104.73 tagged_above=-999 required=5 tests=[AWL=-0.720, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4, SARE_HTML_USL_OBFU=1.666, 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 xUKgiqR+nL61 for <hybi@ietfa.amsl.com>; Wed, 22 Jun 2011 02:27:03 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by ietfa.amsl.com (Postfix) with ESMTP id 4BD2C11E80C3 for <hybi@ietf.org>; Wed, 22 Jun 2011 02:27:03 -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 p5M9Qr2F017771 for <hybi@ietf.org>; Wed, 22 Jun 2011 02:26:53 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1308734813; bh=hh3MOCaTUpe55PBFr7fCGjRRtak=; h=MIME-Version:Reply-To:In-Reply-To:References:Date:Message-ID: Subject:From:To:Cc:Content-Type; b=XsZGp202/YYNZJnsqpldeu1spCpRFLZaVlvgJZ5s5TAFgZHv+5qHHu2pU2PJYUkNA wxH0j3rqfUxFHMDi1c+1Q==
Received: from iym10 (iym10.prod.google.com [10.241.52.10]) by hpaq11.eem.corp.google.com with ESMTP id p5M9Qoll014215 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for <hybi@ietf.org>; Wed, 22 Jun 2011 02:26:51 -0700
Received: by iym10 with SMTP id 10so615978iym.20 for <hybi@ietf.org>; Wed, 22 Jun 2011 02:26:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=domainkey-signature:mime-version:reply-to:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=H+Ap3pT9JVHgiVETZwmOiUv+ksghgzxg5UyD/zxBrQY=; b=soTvJllfOHwGlbwgVmp64EPUkeMd2OVmM46O4n4zUttQPxhzS9eCmoM42vyPsM0JBB hK62STSHF25Vcx85CGbw==
DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=gta6SDxSG6N4WeaPcEcmdq+ndB5IUJOvWLs+oxvGJ8b3PxLxWDhH2CWQrCKoTYGiDJ SN0k0ANgjZkbgsb1sYSg==
MIME-Version: 1.0
Received: by 10.231.41.69 with SMTP id n5mr467539ibe.83.1308734810186; Wed, 22 Jun 2011 02:26:50 -0700 (PDT)
Received: by 10.231.33.8 with HTTP; Wed, 22 Jun 2011 02:26:50 -0700 (PDT)
In-Reply-To: <4E01B364.9020608@warmcat.com>
References: <BANLkTi=UVMAd1nER6mRBe7zoD29CSbCkGA@mail.gmail.com> <4E010FF9.1000207@callenish.com> <BANLkTikSQi2j9xRx8itVwvXOvTpzvqR0bw@mail.gmail.com> <4E01B364.9020608@warmcat.com>
Date: Wed, 22 Jun 2011 02:26:50 -0700
Message-ID: <BANLkTikeAGR_2RUk=QBzW43Tsg-7Biu0JwwROVbKrGcv=LErGw@mail.gmail.com>
From: =?UTF-8?B?SWFuIEZldHRlICjjgqTjgqLjg7Pjg5Xjgqfjg4Pjg4bjgqMp?= <ifette@google.com>
To: =?UTF-8?B?QW5keSBHcmVlbiAo5p6X5a6J5bu4KQ==?= <andy@warmcat.com>
Content-Type: multipart/alternative; boundary=0015177407d477662d04a64991bb
X-System-Of-Record: true
Cc: Hybi <hybi@ietf.org>, Greg Wilkins <gregw@intalio.com>
Subject: Re: [hybi] deflate-stream and masking
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: ifette@google.com
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, 22 Jun 2011 09:27:04 -0000

As an individual:

Yoshino-san sent out a proposal a while ago that did a much better job of
respecting the way extensions are supposed to work. Conceptually, I think
what we really should have is

WebSocket Frame [ Masked Data [ Compress [ Application Data ] ] ]

That is, the application data is first compressed, /then/ that compressed
data is masked and framed as per the rest of the spec.

http://www.ietf.org/id/draft-tyoshino-hybi-websocket-perframe-deflate-00.txt

-Ian

On Wed, Jun 22, 2011 at 2:18 AM, "Andy Green (林安廸)" <andy@warmcat.com>wrote;wrote:

> On 06/22/2011 12:31 AM, Somebody in the thread at some point said:
>
>  the problem is more than just not using it (I have no plans of
>> implementing it for my server).
>>
>> It is the only exemplar of an extension we have in the specification
>> and as an example to follow it is terrible!  It does not follow any of
>>
>
> I don't think we even need to go there... "performance is worthless on
> masked data" should be enough to see something needs to happen somewhere
> about it.
>
> -Andy
>
> ______________________________**_________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/**listinfo/hybi<https://www.ietf.org/mailman/listinfo/hybi>
>