[hybi] change in 07: Payload only compression extension (was Re: With deflate-stream, Close frame doesn't work as an end of data marker)

Salvatore Loreto <salvatore.loreto@ericsson.com> Thu, 10 March 2011 06:57 UTC

Return-Path: <salvatore.loreto@ericsson.com>
X-Original-To: hybi@core3.amsl.com
Delivered-To: hybi@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0B1C53A68C6 for <hybi@core3.amsl.com>; Wed, 9 Mar 2011 22:57:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.593
X-Spam-Level:
X-Spam-Status: No, score=-106.593 tagged_above=-999 required=5 tests=[AWL=0.005, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eKgic7I9jAnm for <hybi@core3.amsl.com>; Wed, 9 Mar 2011 22:57:49 -0800 (PST)
Received: from mailgw9.se.ericsson.net (mailgw9.se.ericsson.net [193.180.251.57]) by core3.amsl.com (Postfix) with ESMTP id 288EE3A6808 for <hybi@ietf.org>; Wed, 9 Mar 2011 22:57:48 -0800 (PST)
X-AuditID: c1b4fb39-b7c6dae0000023f2-ed-4d7876b96583
Received: from esessmw0197.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw9.se.ericsson.net (Symantec Mail Security) with SMTP id 39.38.09202.9B6787D4; Thu, 10 Mar 2011 07:59:05 +0100 (CET)
Received: from mail.lmf.ericsson.se (153.88.115.8) by esessmw0197.eemea.ericsson.se (153.88.115.88) with Microsoft SMTP Server id 8.2.234.1; Thu, 10 Mar 2011 07:59:04 +0100
Received: from nomadiclab.lmf.ericsson.se (nomadiclab.lmf.ericsson.se [131.160.33.3]) by mail.lmf.ericsson.se (Postfix) with ESMTP id 1F3DD2714; Thu, 10 Mar 2011 08:59:05 +0200 (EET)
Received: from nomadiclab.lmf.ericsson.se (localhost [127.0.0.1]) by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id CFB2E509C8; Thu, 10 Mar 2011 08:59:04 +0200 (EET)
Received: from n211.nomadiclab.com (localhost [127.0.0.1]) by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 6CF1B509A6; Thu, 10 Mar 2011 08:59:04 +0200 (EET)
Message-ID: <4D7876B8.1010905@ericsson.com>
Date: Thu, 10 Mar 2011 08:59:04 +0200
From: Salvatore Loreto <salvatore.loreto@ericsson.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
MIME-Version: 1.0
To: "ifette@google.com" <ifette@google.com>
References: <OF4821AA00.120197B4-ON8825784E.0076F791-8825784E.00781253@playstation.sony.com> <4D77FB84.9010104@warmcat.com> <AANLkTin+JizCJ-tgr1bxTygaT_2ueT910JByq9BYGncS@mail.gmail.com>
In-Reply-To: <AANLkTin+JizCJ-tgr1bxTygaT_2ueT910JByq9BYGncS@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------070601090304090208060401"
X-Virus-Scanned: ClamAV using ClamSMTP
X-Brightmail-Tracker: AAAAAA==
Cc: "hybi@ietf.org" <hybi@ietf.org>, "Yutaka_Takeda@playstation.sony.com" <Yutaka_Takeda@playstation.sony.com>
Subject: [hybi] change in 07: Payload only compression extension (was Re: With deflate-stream, Close frame doesn't work as an end of data marker)
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 10 Mar 2011 06:57:52 -0000

(as co-chair I want to bring your attention to this)


Hi there,


the following changes (proposed by Takeshi Yoshino in [1])
has been largely discussed (for the technical reasons follow the 
discussions thread [1] and [2]):
the discussion has highlighted that the proposal brings some benefit and 
no side effects.



[1] http://www.ietf.org/mail-archive/web/hybi/current/msg06642.html
[2] http://www.ietf.org/mail-archive/web/hybi/current/msg06801.html
[3] http://www.ietf.org/mail-archive/web/hybi/current/msg06674.html


so unless anyone object strongly -07 will include the "yoshino-san's 
proposal" [3]


cheers
/Sal


-- 
Salvatore Loreto
www.sloreto.com



On 3/10/11 7:22 AM, Ian Fette (イアンフェッティ) wrote:
> I'm going over the threads trying to figure out what i need to do, and 
> I will admit that this one has me a bit stumped. If we adopt 
> yoshino-san's proposal [1] to only compress the payload of the frame, 
> does that put this issue to rest?
>
> [1] http://www.ietf.org/mail-archive/web/hybi/current/msg06674.html
>
> On Wed, Mar 9, 2011 at 2:13 PM, Andy Green <andy@warmcat.com 
> <mailto:andy@warmcat.com>> wrote:
>
>     On 03/09/2011 09:51 PM, Somebody in the thread at some point said:
>
>     Hi -
>
>         > Are there other circumstances that can actually cause this I'm
>         > overlooking too easily?
>
>         Yes. Since your receive buffer passed in recv(2) has a
>         predetermined
>         finite size and you may not be reading all data in the kernel
>         space
>         (TCP) buffer. Depending on how it is implemented and timing, the
>         receiver may successfully extract Close frame out of data you
>         have just
>         read from TCP socket, and then close the socket without
>         bothering to
>         read the outstanding data in the kernel.
>
>
>     It's a good point.  I can see how that's effectively fragmenting
>     the thing entirely in userland at the receiver.
>
>     However that seems simple to solve since the extra junk data is
>     already received in kernel.  Just before socket close time we just
>     need to use a little poll() POLLIN loop with no timeout to drain
>     it while there's stuff immediately pending, right?  Nothing more
>     will come and close is always happy.
>
>
>     -Andy
>     _______________________________________________
>     hybi mailing list
>     hybi@ietf.org <mailto:hybi@ietf.org>
>     https://www.ietf.org/mailman/listinfo/hybi
>
>