Re: [hybi] Closing handshake

Zhong Yu <zhong.j.yu@gmail.com> Wed, 16 March 2016 17:02 UTC

Return-Path: <zhong.j.yu@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 9418212DA13 for <hybi@ietfa.amsl.com>; Wed, 16 Mar 2016 10:02:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 dI4rlohXFBcO for <hybi@ietfa.amsl.com>; Wed, 16 Mar 2016 10:02:11 -0700 (PDT)
Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9C11912DA01 for <hybi@ietf.org>; Wed, 16 Mar 2016 10:02:11 -0700 (PDT)
Received: by mail-io0-x22c.google.com with SMTP id g203so66928323iof.2 for <hybi@ietf.org>; Wed, 16 Mar 2016 10:02:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=VdsZylwYtY/RR1BLV8lQnLMB3lbgh4Wx+JWKXmlQvF0=; b=PBKSV24H/aZDCq/dbAeMyEnEq5eq6+ZKi/uheCHCBMxCUrEufvx+PoZCbra2sOLAnA oQvjmLwXp+ED8K+qaV7CqYnLDPBgIUAGqzLE8HSu4P1XS16y142xf5dcOxPzJxEy49G+ koH2tUgJS5ehR7dijOmnVGqXIIDF66sxcfs0tZjytu3sV3tk4XDiM/hHtpezTuw4BgFQ l1oPbTr8Igemon24fSI0oT3gM/UE2g6VqyMaAaFv/WMG9PhZn9ACiZL4XdKZD2smpgAW EJHd0mujyXduUUoKhoLWHt5PBz/wxwDimVfTtbYf6bSdR8q52rWvaNWibmcPHz0OVYU5 cc2g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=VdsZylwYtY/RR1BLV8lQnLMB3lbgh4Wx+JWKXmlQvF0=; b=Mhw9nnrQf6qhbEZeSxbRojfHRCmefYYBYKI/Wc9HZx489+8Ls5Gs6SNyX8ugkj3R9d JyFusuNMWypXZqBBYl5yCLxp81vrm372WVHPPMFqXmwruz4ScI9ujBqXRs6WHkDfp5ZU QJlCf8GdiG9qVfZ0z+IAD4CWcTuVqEFWh0txtiAHHF5YA3V5K1MtTJw2KE+M+WCdbzx4 sUf5o8k82nJLSmtYJ0HharwjRUfKqqr2y5mMWUYS3Ig2KS2KXfNSZMQAVNL8fgY4oSDr qrEvZcaOutgOh2ZqUgfO5Xwj/0W/FshPsDwfvBUltnKy42A5LV7DcfBJKJhRjdPGvy8Y ys3w==
X-Gm-Message-State: AD7BkJJCaGRFIG5zkDwysn+S+UJ6ZU/s/WypsfAzuep3PDm+NCll3BUwO9zg9tLks/cEAESnHK3S42M+pROjgA==
MIME-Version: 1.0
X-Received: by 10.107.41.133 with SMTP id p127mr5034562iop.100.1458147731050; Wed, 16 Mar 2016 10:02:11 -0700 (PDT)
Received: by 10.79.72.71 with HTTP; Wed, 16 Mar 2016 10:02:10 -0700 (PDT)
In-Reply-To: <CADnb78j8yUSHNrfB=soRtWqNO4oaJhK-=MmmaEx7pU3Cpz_+3A@mail.gmail.com>
References: <CADnb78gG4+Gak+7X=Z5HVJUX+vWasUi7AtppVEiuV6hH1Q7W4w@mail.gmail.com> <CAH9hSJYCqUsnTu3D7JEa0xaJS2diyvgVVcsVNeD_6xiFFTYzqA@mail.gmail.com> <CAH9hSJaGGQSHtonOVhcYXOaee2iHD0i3yzs4EBHf_AetQ5LQDw@mail.gmail.com> <CADnb78j8yUSHNrfB=soRtWqNO4oaJhK-=MmmaEx7pU3Cpz_+3A@mail.gmail.com>
Date: Wed, 16 Mar 2016 12:02:10 -0500
Message-ID: <CACuKZqFqrbDxVLtEny3-TGWZNFJUpxYHkC0jaxOB+oXEKFurcA@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Content-Type: multipart/alternative; boundary=001a1137b81c8a19a1052e2d7972
Archived-At: <http://mailarchive.ietf.org/arch/msg/hybi/wP1FFJLSyKPjxbPIbrLZA9PEiBQ>
Cc: Simon Pieters <zcorpan@gmail.com>, "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [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 17:02:18 -0000

I think the RFC, in its entirety, is pretty clear that the code is optional
in close frame. If the wording has any ambiguity, maybe an editorial errata
is in order.

Zhong Yu
bayou.io


On Wed, Mar 16, 2016 at 7:54 AM, Anne van Kesteren <annevk@annevk.nl> wrote:

> On Wed, Mar 16, 2016 at 1:24 PM, Takeshi Yoshino <tyoshino@google.com>
> wrote:
> > On Wed, Mar 16, 2016 at 9:20 PM, Takeshi Yoshino <tyoshino@google.com>
> > wrote:
> >> I think we should consider that
> >> https://tools.ietf.org/html/rfc6455#section-7.1.2 is broken.
> >>
> >> Chrome performs closing handshake with an empty body when a code is not
> >> provided. Firefox does so too.
> >
> > and because, there's no need to have such restriction (making code
> > mandatory).
>
> Yeah, seems reasonable. I guess we'll just mention that the RFC is
> broken there in the API specification. Won't be the first time.
>
>
> --
> https://annevankesteren.nl/
>
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>