Re: Design: Rename FRAME_TOO_LARGE to FRAME_SIZE_ERROR

Patrick McManus <mcmanus@ducksong.com> Wed, 19 June 2013 18:16 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 741DD21F9B12 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 19 Jun 2013 11:16:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level:
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rnp05Ih-FO45 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 19 Jun 2013 11:16:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 29D1C21F9B16 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 19 Jun 2013 11:16:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UpMvJ-0004IH-Is for ietf-http-wg-dist@listhub.w3.org; Wed, 19 Jun 2013 18:16:01 +0000
Resent-Date: Wed, 19 Jun 2013 18:16:01 +0000
Resent-Message-Id: <E1UpMvJ-0004IH-Is@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1UpMv6-0004EY-0x for ietf-http-wg@listhub.w3.org; Wed, 19 Jun 2013 18:15:48 +0000
Received: from mail-ob0-f182.google.com ([209.85.214.182]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1UpMv5-0003cM-Bm for ietf-http-wg@w3.org; Wed, 19 Jun 2013 18:15:47 +0000
Received: by mail-ob0-f182.google.com with SMTP id va7so6250828obc.41 for <ietf-http-wg@w3.org>; Wed, 19 Jun 2013 11:15:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=G2e8bJ3Hc7129bXFNquSTN7weYV7pwhpIO54+Yvkv4U=; b=Jahzu+eOkv2pXe/CjLX30cJZ2q9LUqpLrG1oBjQNxWdJdAjIYWZ8lkKVWt+1QVD740 68cEEhew6yXMtMswtOM3hNCmZkk+nwbTRpjo9gWT5xS9bbqIRBjrfx158vGnBhEYbb3N z5l/HyljlBgt9w0MNVreASmG6a2wuGONkK4pZIBjmG0g6XdkAf4Z2Xcmjy/pfa4vFOlc qxLELG1fWEySRqjte91E4gUv4OgM5yRM79EDycBJiBOWydQUF4/Jm7jAuUPzjY9AqVIn 7bYBGlDaU6ak1KbQBVmRlWi4Nb04rBy8kg7pqLdlAQYRcna4DHIHdDQcIH5aYu2OuLmU 6LTg==
MIME-Version: 1.0
X-Received: by 10.60.80.39 with SMTP id o7mr2926990oex.60.1371665721481; Wed, 19 Jun 2013 11:15:21 -0700 (PDT)
Sender: patrick.ducksong@gmail.com
Received: by 10.76.6.195 with HTTP; Wed, 19 Jun 2013 11:15:21 -0700 (PDT)
In-Reply-To: <CABP7RbdzogVE-JhLVMszEX8rDw8APHJkSDPs+ORQCbjQ13Qoaw@mail.gmail.com>
References: <CABP7Rbe9GEkRvoU6yYpiNjrShc32PeoB64fNaTrP6M4Uco-xRw@mail.gmail.com> <CAOdDvNr_a3y7Aq8=Q77JYx=iJGwaK==wQWj5JVi9mMdqG5KJug@mail.gmail.com> <alpine.LRH.2.01.1306190738140.31315@egate.xpasc.com> <CA+pLO_jVAdz3XNsfUSW4L0a_dB4YSnaNA+G8QA9h0rS=b74s5w@mail.gmail.com> <CAP+FsNf7mZC3KMD5qYAPA8rAE+Q6fYM_xAEUtxEZQ0jSLGtAMw@mail.gmail.com> <CA+pLO_j-4X+NCO7LhmPR4iuUNMRyTuq-EezEs_iPmeuJ7JakBQ@mail.gmail.com> <CABkgnnXpAHVTHRALduELri5HqF77Jp6P7TGF-Uo2rhg+ysftJA@mail.gmail.com> <CAA4WUYgKJwhQGsyUyJzcaqy4C-iETsvqb9yPNax5JSixCNCu=A@mail.gmail.com> <CABkgnnUcFQEH5xL50qROdxmSvNotOh2rSoxoHp=3ASrKUm5O4A@mail.gmail.com> <CABP7RbdzogVE-JhLVMszEX8rDw8APHJkSDPs+ORQCbjQ13Qoaw@mail.gmail.com>
Date: Wed, 19 Jun 2013 14:15:21 -0400
X-Google-Sender-Auth: PtqW5d_x-9fw0CW4Lp8ye76ict8
Message-ID: <CAOdDvNq76VfYnrYZDmZC5ngDEgmkPguVPWDs=O25hUvmjM_1dg@mail.gmail.com>
From: Patrick McManus <mcmanus@ducksong.com>
To: James M Snell <jasnell@gmail.com>
Cc: Martin Thomson <martin.thomson@gmail.com>, "ChanWilliam(陈智昌)" <willchan@chromium.org>, HTTP Working Group <ietf-http-wg@w3.org>, Roberto Peon <grmocg@gmail.com>, Jeff Pinner <jpinner@twitter.com>
Content-Type: multipart/alternative; boundary="089e01184b1814628604df85d07e"
Received-SPF: pass client-ip=209.85.214.182; envelope-from=patrick.ducksong@gmail.com; helo=mail-ob0-f182.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.707, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1UpMv5-0003cM-Bm f5289fb316d446e04467b0e7f10fe0c7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Design: Rename FRAME_TOO_LARGE to FRAME_SIZE_ERROR
Archived-At: <http://www.w3.org/mid/CAOdDvNq76VfYnrYZDmZC5ngDEgmkPguVPWDs=O25hUvmjM_1dg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18295
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

let's consider it this way.. has any implementation found FRAME_TOO_LARGE
to be useful (outside of the case of implementations not wanting to handle
frames > 64KB which is now not a factor)? If not, then it should go. If so,
then I guess it should stay.


On Wed, Jun 19, 2013 at 2:05 PM, James M Snell <jasnell@gmail.com> wrote:

> For now, in the implementation draft, can we keep this focused on whether
> or not to rename this one existing error code rather than expand into too
> much philosophical debate about error codes in general? We can refine the
> error code mechanism if necessary later on.
> On Jun 19, 2013 11:00 AM, "Martin Thomson" <martin.thomson@gmail.com>
> wrote:
>
>> On 19 June 2013 10:28, William Chan (陈智昌) <willchan@chromium.org> wrote:
>> > Actionable difference: it tells you what part of your stack to debug.
>> > PROTOCOL_ERROR is terrible :( Everytime we generate a PROTOCOL_ERROR, we
>> > have felt we wanted to add a debug string (that opaque byte sequence we
>> > discussed earlier) so we could figure out what was wrong.
>>
>> I thought that was the reason you wanted to put the opaque stuff in the
>> body.
>>
>> The reason I'm pushing back is that it is possible to spend error code
>> bits on any amount of subdivision of the PROTOCOL_ERROR space.  Do you
>> want one for the case where someone didn't echo the bytes of a PING?
>> Or when they decide to send something else rather than continuing a
>> HEADERS block?  Or any of the many current and future
>> your-implementation-is-broken cases?  Ultimately, this just leads to a
>> blowout in error codes, to no good end.
>>
>>