Re: [hybi] WS framing alternative

Thomas Broyer <t.broyer@ltgt.net> Tue, 27 October 2009 11:26 UTC

Return-Path: <t.broyer@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 8D79A3A68EF for <hybi@core3.amsl.com>; Tue, 27 Oct 2009 04:26:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level:
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
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 F7pl7EzeiKXH for <hybi@core3.amsl.com>; Tue, 27 Oct 2009 04:26:12 -0700 (PDT)
Received: from mail-bw0-f219.google.com (mail-bw0-f219.google.com [209.85.218.219]) by core3.amsl.com (Postfix) with ESMTP id 724E23A684E for <hybi@ietf.org>; Tue, 27 Oct 2009 04:26:12 -0700 (PDT)
Received: by bwz19 with SMTP id 19so40448bwz.28 for <hybi@ietf.org>; Tue, 27 Oct 2009 04:26:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=art/0axQ2d6RqOB8km7Z3Ig3mSyP0yVDzSh6HWHHJns=; b=JnpRELLXMa4LPUYchALW1REMkSwp1c2S91IF8LwOfbe+3sOOsD6TbLQFBcnXGAC2LK 4En6NRaueEcu5w/XlWU1b7NRKRqKD/XYDEvoqN1KKvCaKjKlWmA6huih3CHbY1FvdTed WDNM4peiRVr/2kHB//PPjbrCzqz8yhaHzdA28=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=YqC1EUtAjRN+M5P+zNZdyjYZX4LVkkq+HYCI0elqNs1ksj8CSa5aihOF21GguK2ctP RIoXRuinlPfy5pBH61l66C2rYGGzlcgRQ5H/Lztrt+2+kR/ehPWveDwS+gEFHgJ7Dvgh RUOciG64YMOn6hQhdYtjY134UFBmppuydkbw0=
MIME-Version: 1.0
Sender: t.broyer@gmail.com
Received: by 10.204.162.200 with SMTP id w8mr9433693bkx.142.1256642784136; Tue, 27 Oct 2009 04:26:24 -0700 (PDT)
In-Reply-To: <Pine.LNX.4.62.0910270903080.9145@hixie.dreamhostps.com>
References: <8B0A9FCBB9832F43971E38010638454F0F1EA72C@SISPE7MB1.commscope.com> <Pine.LNX.4.62.0910270903080.9145@hixie.dreamhostps.com>
Date: Tue, 27 Oct 2009 12:26:24 +0100
X-Google-Sender-Auth: 73e70283b0110fec
Message-ID: <a9699fd20910270426u4aa508cepf557b362025ae5db@mail.gmail.com>
From: Thomas Broyer <t.broyer@ltgt.net>
To: Ian Hickson <ian@hixie.ch>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Cc: "hybi@ietf.org" <hybi@ietf.org>, "Thomson, Martin" <Martin.Thomson@andrew.com>
Subject: Re: [hybi] WS framing alternative
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: Tue, 27 Oct 2009 11:26:13 -0000

On Tue, Oct 27, 2009 at 10:11 AM, Ian Hickson <ian@hixie.ch> wrote:
>
> That seems like orders of magnitude more complexity than necessary,
> especially given that the only tangible benefit is a modicum of
> improvement in ease of debugging.
>
> In fact, I would argue that the increased complexity actually increases
> the need for debugging more than the text-based approach actually gives
> you in terms of debugging. Debugging binary protocols isn't especially
> difficult. You just pipe tcpdump through hexdump and less, and the issue
> is done. The protocol is so simple that you can hack together a read/write
> console in less than an hour.

I totally agree; and for debugging, I believe a
protocol-decoder/dissector/display-filter could also be quite easily
added to Wireshark or similar network packet analyzers.

-- 
Thomas Broyer
/tɔ.ma.bʁwa.je/