[hybi] Closing handshake

Anne van Kesteren <annevk@annevk.nl> Wed, 16 March 2016 09:57 UTC

Return-Path: <annevk@annevk.nl>
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 6515312D87F for <hybi@ietfa.amsl.com>; Wed, 16 Mar 2016 02:57:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.72
X-Spam-Level:
X-Spam-Status: No, score=-2.72 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=annevk.nl
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 tELdxK5ked2P for <hybi@ietfa.amsl.com>; Wed, 16 Mar 2016 02:57:43 -0700 (PDT)
Received: from homiemail-a4.g.dreamhost.com (homie.mail.dreamhost.com [208.97.132.208]) by ietfa.amsl.com (Postfix) with ESMTP id 0C5DD12D55C for <hybi@ietf.org>; Wed, 16 Mar 2016 02:57:42 -0700 (PDT)
Received: from homiemail-a4.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTP id AAE3751C07C for <hybi@ietf.org>; Wed, 16 Mar 2016 02:57:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=annevk.nl; h=mime-version :date:message-id:subject:from:to:cc:content-type; s=annevk.nl; bh=ZkIdHhrd7RNIbIJf0FUtVznTHk0=; b=nZpFtKWRPsiNNWaDhVfkcXZ3JtGR ahLrdhlzd3RrB5RfQCY/NW7PmBf46f4dLheRpAGpdrp9W04S8F2nr4Ro96AfPPlE kxAaxw2gLceaZ26sX1EklmEjjh/WnFghMA6tiE14JcZivqiNI6jpu2vOL5LORwny cl9H/EwdSMh4M38=
Received: from mail-yw0-f179.google.com (mail-yw0-f179.google.com [209.85.161.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: annevk@annevk.nl) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTPSA id 1AED751C07B for <hybi@ietf.org>; Wed, 16 Mar 2016 02:57:42 -0700 (PDT)
Received: by mail-yw0-f179.google.com with SMTP id g3so55174653ywa.3 for <hybi@ietf.org>; Wed, 16 Mar 2016 02:57:42 -0700 (PDT)
X-Gm-Message-State: AD7BkJJ/Yo7iSUzbps0h1c3QWs174w4PhJIsMV7mBYw6uyOV3yWWNf1zZcgkDy9eG92cmfYxG3rQpx2TwL3h8g==
MIME-Version: 1.0
X-Received: by 10.13.217.77 with SMTP id b74mr1207165ywe.73.1458122261533; Wed, 16 Mar 2016 02:57:41 -0700 (PDT)
Received: by 10.37.50.78 with HTTP; Wed, 16 Mar 2016 02:57:41 -0700 (PDT)
Date: Wed, 16 Mar 2016 10:57:41 +0100
X-Gmail-Original-Message-ID: <CADnb78gG4+Gak+7X=Z5HVJUX+vWasUi7AtppVEiuV6hH1Q7W4w@mail.gmail.com>
Message-ID: <CADnb78gG4+Gak+7X=Z5HVJUX+vWasUi7AtppVEiuV6hH1Q7W4w@mail.gmail.com>
From: Anne van Kesteren <annevk@annevk.nl>
To: "hybi@ietf.org" <hybi@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <http://mailarchive.ietf.org/arch/msg/hybi/TkCJias_RAW2LT-qyNJtuwLfWJk>
Cc: Simon Pieters <zcorpan@gmail.com>
Subject: [hybi] Closing handshake
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 16 Mar 2016 09:57:44 -0000

Per https://tools.ietf.org/html/rfc6455#section-7.1.2 the /code/
argument is required, however, in the API it is optional, and judging
from https://mxr.mozilla.org/mozilla-central/source/dom/webidl/WebSocket.webidl
it is optional in implementations too.

What is the correct behavior here and which specification should be
patched and how?


-- 
https://annevankesteren.nl/