Re: [hybi] Max frame size
Willy Tarreau <w@1wt.eu> Wed, 22 June 2011 12:25 UTC
Return-Path: <w@1wt.eu>
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 8781111E8076 for <hybi@ietfa.amsl.com>; Wed, 22 Jun 2011 05:25:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.74
X-Spam-Level:
X-Spam-Status: No, score=-4.74 tagged_above=-999 required=5 tests=[AWL=-2.697, BAYES_00=-2.599, HELO_IS_SMALL6=0.556]
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 HH7iarGg1SDh for <hybi@ietfa.amsl.com>; Wed, 22 Jun 2011 05:25:46 -0700 (PDT)
Received: from 1wt.eu (1wt.eu [62.212.114.60]) by ietfa.amsl.com (Postfix) with ESMTP id 61DC511E8073 for <hybi@ietf.org>; Wed, 22 Jun 2011 05:25:46 -0700 (PDT)
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id p5MCPL4m022227; Wed, 22 Jun 2011 14:25:21 +0200
Date: Wed, 22 Jun 2011 14:25:21 +0200
From: Willy Tarreau <w@1wt.eu>
To: Francis Brosnan Blazquez <francis@aspl.es>
Message-ID: <20110622122521.GA22198@1wt.eu>
References: <1308720860.5393.18.camel@tot.local> <20110622060514.GF18843@1wt.eu> <1308738811.11941.704.camel@vulcan.aspl.local>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <1308738811.11941.704.camel@vulcan.aspl.local>
User-Agent: Mutt/1.4.2.3i
Cc: hybi@ietf.org
Subject: Re: [hybi] Max frame size
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, 22 Jun 2011 12:25:48 -0000
On Wed, Jun 22, 2011 at 12:33:31PM +0200, Francis Brosnan Blazquez wrote: > Hi Willy, > > > There is nothing in the protocol which makes whole frame buffering mandatory > > I know, but I'm not talking about buffering, I'm talking about what to > do when you receive more content than you can buffer. > > With the current design, the server have the following options: close > the connection, or keep buffering or pass octects directly to the app > level without having a frame header (with previous frame closed)...all 3 > options are really bad idea. But why would it strip the frame header ? It should simply pass the frame header and stream the data. The server should proceed exactly as it would proceed if receiving a large POST. All file transfer applications which support large POSTs (webmails etc...) don't buffer everything, they pass it as a stream. Do you imagine if the server had to buffer a DVD image or something like this before passing it to the application ? I don't see the difference with frames. You can call the application saying "hey, here come 5 GB of data, please read them from this connection handle". Regards, Willy
- [hybi] Max frame size Francis Brosnan Blázquez
- Re: [hybi] Max frame size Willy Tarreau
- Re: [hybi] Max frame size Norio Kobota
- Re: [hybi] Max frame size Ian Fette (イアンフェッティ)
- Re: [hybi] Max frame size Francis Brosnan Blazquez
- Re: [hybi] Max frame size Francis Brosnan Blazquez
- Re: [hybi] Max frame size Ian Fette (イアンフェッティ)
- Re: [hybi] Max frame size Francis Brosnan Blazquez
- Re: [hybi] Max frame size Francis Brosnan Blazquez
- Re: [hybi] Max frame size Arman Djusupov
- Re: [hybi] Max frame size Willy Tarreau
- Re: [hybi] Max frame size Francis Brosnan Blazquez
- Re: [hybi] Max frame size Andy Green (林安廸)
- Re: [hybi] Max frame size Scott Ferguson
- Re: [hybi] Max frame size Iñaki Baz Castillo
- Re: [hybi] Max frame size Francis Brosnan Blázquez
- Re: [hybi] Max frame size Andy Green (林安廸)
- Re: [hybi] Max frame size Brodie Thiesfield
- Re: [hybi] Max frame size Scott Ferguson