Re: [hybi] Comments on draft-hixie-thewebsocketprotocol-35

SM <sm@resistor.net> Fri, 04 September 2009 01:02 UTC

Return-Path: <sm@resistor.net>
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 954603A69C6 for <hybi@core3.amsl.com>; Thu, 3 Sep 2009 18:02:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.516
X-Spam-Level:
X-Spam-Status: No, score=-2.516 tagged_above=-999 required=5 tests=[AWL=0.083, BAYES_00=-2.599]
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 Kql-zzGTZ9bJ for <hybi@core3.amsl.com>; Thu, 3 Sep 2009 18:02:00 -0700 (PDT)
Received: from ns1.qubic.net (ns1.qubic.net [208.69.177.116]) by core3.amsl.com (Postfix) with ESMTP id A441D3A68A7 for <hybi@ietf.org>; Thu, 3 Sep 2009 18:02:00 -0700 (PDT)
Received: from subman.resistor.net ([10.0.0.1]) (authenticated bits=0) by ns1.qubic.net (8.14.4.Beta0/8.14.4.Beta0) with ESMTP id n840YoAX014493 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Sep 2009 17:34:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=resistor.net; s=mail; t=1252024498; x=1252110898; bh=XpvZbKSZaOU8ZoQJ3I9YIvx9UMsaCrWiG6TUqQLp7Sw=; h=Message-Id:Date:To:From:Subject:Cc:In-Reply-To:References: Mime-Version:Content-Type; b=R83zCzT2DjGmNauHExbjFvpyfQgdZ/WQwJK+UkdZPsHxwax5mCT52Vzpes/0P3dWO f2419glrTFVZyDpZA7N3QWGpqn245DLFmPcxHVZyoLlbCYSN2LjTiIZcUXGdU86xA6 X2darKhnAXrYG21vRdtVIf1v3jlLaegmUnGQcP4c=
DomainKey-Signature: a=rsa-sha1; s=mail; d=resistor.net; c=simple; q=dns; b=3nUIGqjCwryqJ1xRRa9tlBz+RlH/+EGtuyZL4vXTrE9icvGJQ7E+eY9bYOcyBa6RA 2OcRAzglbhPW01cEem8DUEUgRNtPa/H41I4PR6qvQaG9H4l4g4YtQVYttsTy1ag5xzQ lKwoefuC8UGsa89gWp2VDpXJOvQsit3rSrIJNzU=
Message-Id: <6.2.5.6.2.20090903164058.02f95538@resistor.net>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6
Date: Thu, 03 Sep 2009 17:34:33 -0700
To: hybi@ietf.org
From: SM <sm@resistor.net>
In-Reply-To: <4A94415B.3060609@ninebynine.org>
References: <4A94415B.3060609@ninebynine.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Subject: Re: [hybi] Comments on draft-hixie-thewebsocketprotocol-35
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: Fri, 04 Sep 2009 01:02:01 -0000

At 12:54 25-08-2009, Graham Klyne wrote:
>re: http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-35

This document gives a new meaning to work-in-progress. :-)  The I-D 
is currently at its 36th version.  The draft contains several "_This 
section is non-normative._".  Is the document incomplete?

>[Summary:  in its present form, a thumbs down.]

The document needs some work.

 From the Abstract:

   "It is intended to fail to
    communicate with servers of pre-existing protocols like SMTP or HTTP,
    while allowing HTTP servers to opt-in to supporting this protocol if
    desired."

That's the only mention of "SMTP" in the draft.  I suggest describing 
what the draft is about instead using such a sentence.

In the Introduction section:

   "Basically it is intended to be as close
    as possible to just exposing raw TCP/IP to script as possible given
    the constraints of the Web"

What is the "Web"?

In Section 2:

   "Requirements phrased in the imperative as part of algorithms (such as
    "strip any leading space characters" or "return false and abort these
    steps") are to be interpreted with the meaning of the key word
    ("must", "should", "may", etc) used in introducing the algorithm."

This draft uses RFC 2119 key words.

In Section 4.3:

  "To *fail the Web Socket connection*"

No comment. :-)

In its present state, this draft would not survive a review.

Regards,
-sm