Re: [hybi] Yet more additional WebSocket Close Error Codes

Jason Duell <jduell.mcbugs@gmail.com> Fri, 18 May 2012 21:54 UTC

Return-Path: <jduell.mcbugs@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 5C2B221F85D7 for <hybi@ietfa.amsl.com>; Fri, 18 May 2012 14:54:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.11
X-Spam-Level:
X-Spam-Status: No, score=-2.11 tagged_above=-999 required=5 tests=[BAYES_05=-1.11, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xswsSbjfOHqa for <hybi@ietfa.amsl.com>; Fri, 18 May 2012 14:54:06 -0700 (PDT)
Received: from mail-qc0-f172.google.com (mail-qc0-f172.google.com [209.85.216.172]) by ietfa.amsl.com (Postfix) with ESMTP id D46BE21F8593 for <hybi@ietf.org>; Fri, 18 May 2012 14:54:05 -0700 (PDT)
Received: by qcsq13 with SMTP id q13so2763807qcs.31 for <hybi@ietf.org>; Fri, 18 May 2012 14:54:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=BotM05Z/c30kM+KZruh5QDL7XulQjN6q195YHCoXCmY=; b=zBwMOc0ERZt8aCYmghFMYJ1zA9FJZdCgUPT7ruL1AiagQ1jFJVyPT65qfotOU7rNJV AgqAmNNz0sdeEOJbGsiD9TlEf/v5+qsnt5aWAXYMb2yRNKzT3DEqaXGUuqcSNSSBDEXc cCApyCnN5KGqlxehGRbnJG7WdhGtzVt1ZkdozG4husWx/xyFmpnoIMcmoDuHMOZBimWJ FAfKLjqdgaM27uYDGcrfwQKXLSfPSo+QcCboMNfz2xBctm8s99gAYxxSHJcdh1pKzztU F0TGDyD0Ww/mbbg9y/ngr1eZezHYWK2fVnuvYVRXheg/WeLUCGhOGCJwx0iyeFHzvRz1 zHqw==
Received: by 10.224.217.9 with SMTP id hk9mr25691332qab.59.1337378045399; Fri, 18 May 2012 14:54:05 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.198.26 with HTTP; Fri, 18 May 2012 14:53:45 -0700 (PDT)
In-Reply-To: <4FB62A69.4040604@gmx.de>
References: <CAM6mnzJQTLxztd+6CTugRoONKiHNn-MDTJutPBoCtFUNnfBohQ@mail.gmail.com> <4FB62A69.4040604@gmx.de>
From: Jason Duell <jduell.mcbugs@gmail.com>
Date: Fri, 18 May 2012 14:53:45 -0700
Message-ID: <CAM6mnzK0aOwzKUa=Np512MkOf7m6fJOUHdecK9YZat=vT9iP+w@mail.gmail.com>
To: hybi@ietf.org
Content-Type: text/plain; charset="ISO-8859-1"
Subject: Re: [hybi] Yet more additional WebSocket Close Error Codes
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: Fri, 18 May 2012 21:54:06 -0000

>> Chrome is not calling onerror for this, so we have a difference here.
>> The language in the spec isn't really clear if this covers the
>> connection-never-happened case.
>
> I think it is;

So you think the behavior for "server not available" is clear in the
spec?  Which flavor (call onerror or not)?

> but I agree that the behavior for the other case should be
> specified at all.

I couldn't quite parse this either.   Is that support (or the
opposite) for a code for "too many websockets open", or something
else?

> Anyway; I think this should be raised as a WSAPI problem.

Yes, most of the wordsmithing needs to happen there  (and as soon as
their mail server starts accepting my mail I'll have a post about this
there).   But the list of close codes (including pseudo-codes that
never go on the net) has so far been maintained more on this list, so
I figured I'd ask here too.

best,

Jason