Re: [hybi] frame length encoding

gustav <gustav.trede@gmail.com> Sun, 22 August 2010 15:28 UTC

Return-Path: <gustav.trede@gmail.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 420F43A68C0 for <hybi@core3.amsl.com>; Sun, 22 Aug 2010 08:28:38 -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=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001]
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 dMrMdt6ZBuje for <hybi@core3.amsl.com>; Sun, 22 Aug 2010 08:28:37 -0700 (PDT)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by core3.amsl.com (Postfix) with ESMTP id CF5913A68BD for <hybi@ietf.org>; Sun, 22 Aug 2010 08:28:36 -0700 (PDT)
Received: by wyb40 with SMTP id 40so6200551wyb.31 for <hybi@ietf.org>; Sun, 22 Aug 2010 08:29:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=8Ck5DjWYPXxyANyj2HN6+2DsIMMuKJy4qSNXv7YhwbQ=; b=XyOsGcxelL/8sEg5jtIeRVS+K6NPIzFx4zJWMHs73VyHQKMcCJS2lb0rLHBLb0QDAI DCL/QMK+ScU8AY9ALoKD/cc5fQfV+68YkxnXdOUuJLa6qdxO/sAifw/QsUvGQaXmk4P8 ZlcPOmHskKr0+LCvbaGq3GG4pOmjltUssbg9s=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=o/25aZTMZh0xjV7UI/+HpsXkOCIygmaV8mbyzNXm7Fo+7XLJPAdgqpLdvzNcrRnpgn QWCiRcssf6q/4M1osnTzLhA5eJJ6OG6O4AiYqgPF6VYodGoESphWM309bSJMNrTICKFi Rrsa82h4gazs+Sdyn8QENxMegb+YZUk2d3/JI=
MIME-Version: 1.0
Received: by 10.216.87.208 with SMTP id y58mr3369211wee.82.1282490950014; Sun, 22 Aug 2010 08:29:10 -0700 (PDT)
Received: by 10.216.172.139 with HTTP; Sun, 22 Aug 2010 08:29:09 -0700 (PDT)
In-Reply-To: <AANLkTikFz2eypWqRPT0PrdiXxiJ88YvE5pQUW9ZT8Lpp@mail.gmail.com>
References: <AANLkTimKbmcpgx8k0uXUWvCO=8w9pPrtV=3y4qh6363k@mail.gmail.com> <alpine.DEB.2.00.1008212037190.27211@tvnag.unkk.fr> <AANLkTinrsT+wV48nHvVW_1ChGYffkq7jisU2-PZnMyKg@mail.gmail.com> <alpine.DEB.2.00.1008212123460.27211@tvnag.unkk.fr> <20ef7ed5e135c57c1ee5a741658b9d98.squirrel@sm.webmail.pair.com> <1282423311.2014.6.camel@tng> <224b9ed365bd78fd5e316b8cb5f3f837.squirrel@sm.webmail.pair.com> <1282435214.2014.14.camel@tng> <AANLkTimo0MwZEMn1t1vrASfwC1bx82Q9Z_Ls3wVb-zUS@mail.gmail.com> <b95f074b65875865802f532bb5668ff2.squirrel@sm.webmail.pair.com> <AANLkTi=AXLFPSASV2zkBiUU=1StO=YSrKq_9AZ2ZnVHy@mail.gmail.com> <8cd6ecfebb4a073ecf94c8e1aa56e642.squirrel@sm.webmail.pair.com> <77aecf89c6c8673f1b999f80fa04e005.squirrel@sm.webmail.pair.com> <df4ec71d2b12d9ea3b9d8baead548c27.squirrel@sm.webmail.pair.com> <AANLkTims5LYudzQzw5QxDpU3q1NGb3GQe_MG=SNQvg-Z@mail.gmail.com> <3aebe4b25045b881b78667c21dcced73.squirrel@sm.webmail.pair.com> <879493a062e42ff3c55ce988c28a4a88.squirrel@sm.webmail.pair.com> <AANLkTikFz2eypWqRPT0PrdiXxiJ88YvE5pQUW9ZT8Lpp@mail.gmail.com>
Date: Sun, 22 Aug 2010 17:29:09 +0200
Message-ID: <AANLkTintxghTxk9g+=EDOfWnxnLY-dqW_rvZtCOoDcu5@mail.gmail.com>
From: gustav <gustav.trede@gmail.com>
To: John Tamplin <jat@google.com>
Content-Type: multipart/alternative; boundary="0016e6d7e35280d901048e6b31bd"
Cc: Hybi <hybi@ietf.org>
Subject: Re: [hybi] frame length encoding
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: Sun, 22 Aug 2010 15:28:38 -0000

On 22 August 2010 17:03, John Tamplin <jat@google.com> wrote:

> On Sun, Aug 22, 2010 at 9:53 AM, Shelby Moore <shelby@coolpage.com> wrote:
>
>> The more I think about it, I don't think very many routers are going to
>> support an open-ended maximum frame size (i.e. 2^63), so the ability to
>> use the simplified sendFile() is going to be luck??  But there is no
>> reason to not support 63-bit, because there is no one maximum size that is
>> going to fit every instance.  The maximum has to be negotiated on
>> connection handshake?
>>
>
> Most routers aren't going to inspect above the IP layer - they just forward
> network-layer packets.  TCP streams essentially have infinite frame length -
> does that mean a router can't forward them?
>
> Where it will come into play are the endpoints that must generate/process
> the messages and proxies that browsers use to connect to the outside world,
> since they will have to store and forward the frames.  That is one of the
> reasons that fragmentation is required, so that such a proxy may choose to
> dedicate a fixed buffer for each connection coming into it, and send a
> fragment as it reaches its buffer size.
>
> Regarding negotiating a maximum frame size, as soon as we finalize the
> framing we will start trying to get consensus on the handshake.  I am
> certain we can include a maximum frame size in the handshake if consensus is
> that it is needed.
>
> yes. lets move forward =)