Re: [hybi] I-D Action: draft-ietf-hybi-thewebsocketprotocol-10.txt

Dirkjan Ochtman <dirkjan@ochtman.nl> Mon, 11 July 2011 13:01 UTC

Return-Path: <djc.ochtman@gmail.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 739CA21F8B59; Mon, 11 Jul 2011 06:01:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.902
X-Spam-Level:
X-Spam-Status: No, score=-2.902 tagged_above=-999 required=5 tests=[AWL=0.075, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NAAZvvszuw+d; Mon, 11 Jul 2011 06:01:17 -0700 (PDT)
Received: from mail-yi0-f44.google.com (mail-yi0-f44.google.com [209.85.218.44]) by ietfa.amsl.com (Postfix) with ESMTP id BEFA121F8B56; Mon, 11 Jul 2011 06:01:16 -0700 (PDT)
Received: by yie30 with SMTP id 30so1796234yie.31 for <multiple recipients>; Mon, 11 Jul 2011 06:01:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=XLX8myk/ayG3I94dYasHNWtlraOOtc2jSy546tV9viw=; b=rg3aZCSnHGe2Yg4VZ0pDBg8MahoXAGOD/QbO1OmtTf5rEUuEDGs/vZwem/kFREb/oj i0uVqE9zbGQkjHT0oLjEgqJCNmVKBqQ5TGkIELvxfrqYdTueIe6sSjujHZgHtheA9kh7 fpdhG1gESzNZhgEOxB7V1KXExxpx4eACFMYi4=
Received: by 10.150.132.15 with SMTP id f15mr3985990ybd.388.1310389276090; Mon, 11 Jul 2011 06:01:16 -0700 (PDT)
MIME-Version: 1.0
Sender: djc.ochtman@gmail.com
Received: by 10.150.144.2 with HTTP; Mon, 11 Jul 2011 06:00:56 -0700 (PDT)
In-Reply-To: <20110711123317.17092.18690.idtracker@ietfa.amsl.com>
References: <20110711123317.17092.18690.idtracker@ietfa.amsl.com>
From: Dirkjan Ochtman <dirkjan@ochtman.nl>
Date: Mon, 11 Jul 2011 15:00:56 +0200
X-Google-Sender-Auth: VAE1Qc5u5tih2rqqdGY4z4xK9z0
Message-ID: <CAKmKYaAF7i9EHf9ih_6uSFszTsET2FVSzQum-uzU2i94L+mbCg@mail.gmail.com>
To: internet-drafts@ietf.org
Content-Type: text/plain; charset="UTF-8"
Cc: hybi@ietf.org, i-d-announce@ietf.org
Subject: Re: [hybi] I-D Action: draft-ietf-hybi-thewebsocketprotocol-10.txt
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
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, 11 Jul 2011 13:01:17 -0000

On Mon, Jul 11, 2011 at 14:33,  <internet-drafts@ietf.org> wrote:
> A URL for this Internet-Draft is:
> http://www.ietf.org/internet-drafts/draft-ietf-hybi-thewebsocketprotocol-10.txt

Tools version: http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-10

Editorial nit, page 15, line 22:
"(and it said that "the secure flag is set")" -> "it is said that"?

Technical differences (quick overview):

- Clarified that ASCII-encoded domain names should be sent
- Connection should be failed on unknown opcode (instead of ignoring frame)
- reserved bits maybe non-0 when negotiated
- Sec-WebSocket-Accept value leading/trailing whitespace should be ignored
- client must fail the connection when server-sent frame is non-conformant
- new status code 1007
- UTF-8 encoding failure -> must fail the connection

Cheers,

Dirkjan