Re: [hybi] I-D ACTION:draft-ietf-hybi-thewebsocketprotocol-08.txt

"Andy Green (林安廸)" <andy@warmcat.com> Thu, 09 June 2011 10:28 UTC

Return-Path: <andy.warmcat.com@googlemail.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 02EA511E80A7 for <hybi@ietfa.amsl.com>; Thu, 9 Jun 2011 03:28:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.299
X-Spam-Level:
X-Spam-Status: No, score=-3.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 voggyJ9MfL8X for <hybi@ietfa.amsl.com>; Thu, 9 Jun 2011 03:28:08 -0700 (PDT)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by ietfa.amsl.com (Postfix) with ESMTP id 21A6B11E8083 for <hybi@ietf.org>; Thu, 9 Jun 2011 03:28:07 -0700 (PDT)
Received: by fxm15 with SMTP id 15so1011072fxm.31 for <hybi@ietf.org>; Thu, 09 Jun 2011 03:28:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:sender:message-id:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=uUzFXZFJmefSPIKnojppL1NMqO1pBZWQWoreLKAWYu0=; b=C2qPIT7mLY5069584llJFAnDAXxyb6s3y0ELEVptSoDsaW2VrrFEDgcNuetJxvSLGH /Gr1SX22PB9cRS31QbXDNSfYkB1br0nLuZ9JPep+TuRd9S/uAKqffSqk7QA7Sq2nbOqx u9gdJmZfmMuAHOa8JWUBr+khGJkO8+LnFmHM4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=SG4zZfhO/ZmhQIfW9uqSvYYMOCSFUbtP/8GvABv7MzIjFlgBEU9RlvzoDTmxHT7PDi 4FUcRvksqXv6lfCJjY7zSzatOg/o4nSUS1Q2yRN9qzvyitcaAcPT8UGo7f83M0zJjFsh 7JAumlium0vTDwjQaTSFpIvAQa8bJ9pyKmipo=
Received: by 10.223.4.136 with SMTP id 8mr617843far.16.1307615287196; Thu, 09 Jun 2011 03:28:07 -0700 (PDT)
Received: from otae.warmcat.com (s15404224.onlinehome-server.info [87.106.134.80]) by mx.google.com with ESMTPS id e15sm590365faa.47.2011.06.09.03.28.04 (version=SSLv3 cipher=OTHER); Thu, 09 Jun 2011 03:28:05 -0700 (PDT)
Sender: Andy Green <andy.warmcat.com@googlemail.com>
Message-ID: <4DF0A033.7020903@warmcat.com>
Date: Thu, 09 Jun 2011 11:28:03 +0100
From: "\"Andy Green (林安廸)\"" <andy@warmcat.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110531 Fedora/3.1.10-2.fc16 Thunderbird/3.1.10
MIME-Version: 1.0
To: Takeshi Yoshino <tyoshino@google.com>
References: <20110608173012.14596.50398.idtracker@ietfa.amsl.com> <4DF07883.4070609@warmcat.com> <BANLkTikWHWgB--rv4Tnt-fD9_SthvgLcGmJ1B5f80DnYPw74uQ@mail.gmail.com>
In-Reply-To: <BANLkTikWHWgB--rv4Tnt-fD9_SthvgLcGmJ1B5f80DnYPw74uQ@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] I-D ACTION:draft-ietf-hybi-thewebsocketprotocol-08.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: Thu, 09 Jun 2011 10:28:09 -0000

On 06/09/2011 11:20 AM, Somebody in the thread at some point said:

Hi -

> Some more minor but non trivial changes I can name are
>
> 08: Solicited pong must have the same application data as ping
> 07: Solicited pong must have the same payload as ping

This is already done like that in libwebsockets fwiw.

> 08: without any extension, receiver ignores RSV1-3 even if turned on
> 07: not specified

OK it kills the connection right now, important.

> 08: without any extension, receiver ignores frames with unknown opcode
> 07: not specified

Hm okay at the moment it just blows chunks, this is a better idea.

> 08: Client -> server Sec-WebSocket-Protocol ABNF is 1#token
> 07: Client -> server Sec-WebSocket-Protocol ABNF is 1#(token |
> quoted-string)

OK.

> 08: Server -> client Sec-WebSocket-Protocol ABNF is (token)
> 07: not explicitly specified

Right that is a good change.

Thanks for pointing these out I would definitely miss them otherwise.

-Andy