Re: [hybi] Straw poll: Do you miss interjectable WebSocket level control frame? (was: Re: Discontinuation of mux ...)

Ian Hickson <ian@hixie.ch> Wed, 26 February 2014 17:58 UTC

Return-Path: <ian@hixie.ch>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 80ACD1A0788 for <hybi@ietfa.amsl.com>; Wed, 26 Feb 2014 09:58:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pz1EK9CUuOoS for <hybi@ietfa.amsl.com>; Wed, 26 Feb 2014 09:58:18 -0800 (PST)
Received: from homiemail-a51.g.dreamhost.com (caibbdcaaagc.dreamhost.com [208.113.200.62]) by ietfa.amsl.com (Postfix) with ESMTP id DFBF71A0787 for <hybi@ietf.org>; Wed, 26 Feb 2014 09:58:18 -0800 (PST)
Received: from homiemail-a51.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a51.g.dreamhost.com (Postfix) with ESMTP id C78FC2E807F; Wed, 26 Feb 2014 09:58:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=hixie.ch; h=date:from:to :cc:subject:in-reply-to:message-id:references:mime-version: content-type; s=hixie.ch; bh=LsnSJA6Z/LhyYUHc6wKwiDzbFRA=; b=dPb Co1Uy4aBExZkQ0T1h3gWCSg5K9PhSqtF3nwWL1MVcsGGQ6N7LcfIuxXSMKe2pCH7 D8zbaSM7bGrN8m8YoqicLX1tGNPa/xrTti1/3WTGWPh3893QOlq7xQBaG8cThaTI nmb2ZQHZ2sqot/l/uGZD8vmjV9wnMyLeF/mTEcg4=
Received: from ps20323.dreamhostps.com (ps20323.dreamhost.com [208.113.236.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: internal@index.hixie.ch) by homiemail-a51.g.dreamhost.com (Postfix) with ESMTPSA id A20852E8079; Wed, 26 Feb 2014 09:58:17 -0800 (PST)
Date: Wed, 26 Feb 2014 17:58:17 +0000
From: Ian Hickson <ian@hixie.ch>
To: Takeshi Yoshino <tyoshino@google.com>
In-Reply-To: <CAH9hSJZs01ZuimkLWat8Au+HZ5MPp33x+V5CTbG9OUia=S-8Jw@mail.gmail.com>
Message-ID: <alpine.DEB.2.00.1402261756240.31525@ps20323.dreamhostps.com>
References: <CAH9hSJbjQNKnZTJmBFtU8MgmnRTYjPopC4oP_78bWUGap-9CvA@mail.gmail.com> <CAH9hSJbBmvNPBSSAk-khdWXgWw0GTt0FG3KsdzYeJcfiAPDk0A@mail.gmail.com> <CAHixhFq=wfmYH8-ij_WtsQLN=NUTJwRQ=k8jCPepQDM8V8ZZYA@mail.gmail.com> <CABihn6EN7V6XEwf6NWn78orxvr3XjGHxROJC4JjQ6RYYKEeCug@mail.gmail.com> <CACuKZqHNoR5GQmWyzbXAszZCOT2P4pjSmT3SF6ZG3X7hTY=1xw@mail.gmail.com> <CABihn6GC4VM2AHza-F7ML=FfHLZu7FNqx+BhbuVsfJLWk0P92w@mail.gmail.com> <CAH9hSJbSfQ2Abp6oLifi0dx4TZENzm2QRn8zMQfAv=vw+H12sw@mail.gmail.com> <alpine.DEB.2.00.1402261734120.31525@ps20323.dreamhostps.com> <CAH9hSJZs01ZuimkLWat8Au+HZ5MPp33x+V5CTbG9OUia=S-8Jw@mail.gmail.com>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
Content-Language: en-GB-hixie
Content-Style-Type: text/css
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
Archived-At: http://mailarchive.ietf.org/arch/msg/hybi/CXLyx-z9sdRXfcAQoUfDA2eIupw
Cc: "hybi@ietf.org" <hybi@ietf.org>, Peter Thorson <webmaster@zaphoyd.com>
Subject: Re: [hybi] Straw poll: Do you miss interjectable WebSocket level control frame? (was: Re: Discontinuation of mux ...)
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.15
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: Wed, 26 Feb 2014 17:58:20 -0000

On Thu, 27 Feb 2014, Takeshi Yoshino wrote:
> 
> Yeah, it's kinda twist.
> 
> But also it's not strange that people wonder if close frame interjection 
> like this is ok or not. Actually, even ping/pong sending are not 
> explicitly allowed to be inserted between "Send a WebSocket Message" 
> algorithm.

If it's unclear, we should update the protocol spec to make it clear.


> > If you send a bunch of messages, then start the closing handshake, 
> > then the messages should all be sent. I don't think there's anything 
> > in either spec that would allow the handshake to jump ahead.
> 
> It would be nice if you add some note to the API spec to say "queuing" 
> doesn't have any implication that the closing handshake can jump in in 
> response to Zhong's question above.

Can you file a bug explaining specifically what needs clarifying at the 
API level? I'll get to it ASAP (I'm in the middle of an edit on focus 
navigation, so I can't fix it right now). http://whatwg.org/newbug

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'