Re: [hybi] Is it important to know frame length at the start of frame? (was: Re: Discontinuation of mux ...)

Takeshi Yoshino <tyoshino@google.com> Mon, 24 February 2014 18:28 UTC

Return-Path: <tyoshino@google.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8DC811A0212 for <hybi@ietfa.amsl.com>; Mon, 24 Feb 2014 10:28:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.775
X-Spam-Level:
X-Spam-Status: No, score=0.775 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.547, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2dB7DqSIVMFM for <hybi@ietfa.amsl.com>; Mon, 24 Feb 2014 10:28:54 -0800 (PST)
Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) by ietfa.amsl.com (Postfix) with ESMTP id 134EB1A011C for <hybi@ietf.org>; Mon, 24 Feb 2014 10:28:53 -0800 (PST)
Received: by mail-wg0-f44.google.com with SMTP id k14so4924230wgh.11 for <hybi@ietf.org>; Mon, 24 Feb 2014 10:28:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=5uRMBOKG7aInQ2H998M96dGaLVJ8aRhC/+x9Xl5kK4o=; b=W4O8nQRK45UbQYn3zcKXkc3B5bRDpnEamPmIWnfsswOwL9apuSWPGk+rd0Le3p9Hn+ VEV+MCCSbP3vpwi6R/PI3v4XWI5I0uSyC0Zew6UYN3ep6u9sDwYBq8DBMbS0fcE1GiyM CURqtHfhrr/LlFmtPArPe9dhEH++hDZpUeys48Ipr1m3TnygCbohhofxmvUAQB9Bd+Vc gH6j0/yXLSXSw7VmNOKvg/VwhWNaO2NC1xCCr8z/45+wBqySUxQtFxddQsAFKalCZRtW 67nrUYaPSStFrnwIRfSNh7Ovkahdx8AMeHpH0+oqP6r0nysMCF0aDWd3IAfRd2seeR1G yixQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=5uRMBOKG7aInQ2H998M96dGaLVJ8aRhC/+x9Xl5kK4o=; b=GoZ6FJnk57XtR2pPNK8TQCOTKzgl3mz+oigTr8lIPT1+D6EJyS1NHjTQ5EJ0ec4fvO M8OvSksd3MEnArcOKYn1GgSqU4zNCT5paehQCAxkNmcGEAK+2RX1SbNfeYCPIc61qGpS h2Vot3HFdhCtPZiHleu04sbMZIwtwmnWK8/ql17Y2Ohz3HWAJv+ak21MzxlG7hhLB2Lq IbGbm4ypiQGJoQu3t9OW6YQbWYYnXeyipqE7dLMzpnrOgKCl42i6r6TNejmlpHe1hSXb fznW5pVu8+Al2jECd3lBnlr4nSPJVtmU+NqtVs4SoKJo0deFvwfor/OOsRSe0i9Zkqpq QHpA==
X-Gm-Message-State: ALoCoQlkbTZi+zB9+0ABVjOg//y7TTDVtwf+E0ZBZPSRGIzBX+pq9pioaGlzg6qgA/z+WdXeOerIilW4SBIuErWd7cQzsXm1R8hEq/K0dcKHEt45FEMn1YRLGPgWOddl7g4vo681bCp7IjpAhE9gAqoyEaqCwdvZGkxi4vnZeJWUwKyUYyCMlzpuZL9zoxZltOqVdAZeSu1N
X-Received: by 10.181.13.11 with SMTP id eu11mr15440072wid.30.1393266532932; Mon, 24 Feb 2014 10:28:52 -0800 (PST)
MIME-Version: 1.0
Received: by 10.194.8.231 with HTTP; Mon, 24 Feb 2014 10:28:32 -0800 (PST)
In-Reply-To: <CAH9hSJaeCrLjkhHUzaaGDw-apiSv-eaPZeYGEHBuwRoF3yPCOA@mail.gmail.com>
References: <CAH9hSJbf_ABT7ECL9eS=_ADrncX8qBtxZv=uLcdu9_6GUv23Uw@mail.gmail.com> <CACuKZqEcA1Pv8RpWfmThMjTzi2BbVMMKXqujs6BxVfxRPZJ9NQ@mail.gmail.com> <CAG4zZZCr4aTfVpw2coX2g0qw++4kdgNCFVze6tHKZ+fJNqb0aQ@mail.gmail.com> <CAG4zZZA4WR50Ea2e36XEgTgpJURwiMFn+DXeYuxHFfZatYzDOQ@mail.gmail.com> <CAH9hSJYv5VXGjS7AfG12-ArEvE6Uj_eE6pPxAiQcchcgV8vHcg@mail.gmail.com> <CAH9hSJbzra7uz7yfKQwfZaP_jhnxwdZyx8JnwCmBGhiMk6rbtg@mail.gmail.com> <CAG4zZZC1cmaH36znAvVLZE_MyJ+ThNk1Ky7tQ-QnKf_qwiQNDw@mail.gmail.com> <CAG4zZZB3h6TTFLUp-ucYQP7tMf-8=h5fh1UqufMh3w-0JN+hSw@mail.gmail.com> <CAH9hSJaeCrLjkhHUzaaGDw-apiSv-eaPZeYGEHBuwRoF3yPCOA@mail.gmail.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Tue, 25 Feb 2014 03:28:32 +0900
Message-ID: <CAH9hSJY4NResx4DskJM8agd5ZXo9yHELYaXOpWG-xXK8P4+9zw@mail.gmail.com>
To: Joakim Erdfelt <joakim@intalio.com>, Tobias Oberstein <tobias.oberstein@tavendo.de>, Peter Thorson <webmaster@zaphoyd.com>, micheil@brandedcode.com
Content-Type: multipart/alternative; boundary="f46d043c7de6c5f25104f32b241b"
Archived-At: http://mailarchive.ietf.org/arch/msg/hybi/fj0g3oHxrCZPrpCEkiKMLO5Pjmg
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Is it important to know frame length at the start of frame? (was: Re: Discontinuation of mux ...)
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.15
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: Mon, 24 Feb 2014 18:28:55 -0000

Thanks all for your comments.

First, please note that I wanted to discuss the question in the context of
WS/HTTP/2.0 layering. Not about redesign of RFC 6455 itself.

I asked this question since the length header is the biggest field when
encoded into HTTP/2.0 HEADERS format. Whether we can eliminate it or not in
WS/HTTP/2.0 is one of the most important points to evaluate the plans
employing HTTP/2.0 HEADERS.

Though the ranges the length headers represent differ (HTTP/2.0: 14 bit, WS
length format: 63 bit), it seems everyone can live without a header of
"original WebSocket frame size".

Please reply to this post if you have any objection, but please don't write
objection to use of HTTP/2.0 HEADERS itself in this thread.

Thanks