Re: [hybi] [Editorial Errata Reported] RFC6455 (3473)

Adam Rice <ricea@google.com> Fri, 15 February 2013 10:35 UTC

Return-Path: <ricea@google.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 353FA21F8A22 for <hybi@ietfa.amsl.com>; Fri, 15 Feb 2013 02:35:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.976
X-Spam-Level:
X-Spam-Status: No, score=-102.976 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 e302I9V+Q2In for <hybi@ietfa.amsl.com>; Fri, 15 Feb 2013 02:35:28 -0800 (PST)
Received: from mail-bk0-f47.google.com (mail-bk0-f47.google.com [209.85.214.47]) by ietfa.amsl.com (Postfix) with ESMTP id 5276B21F862E for <hybi@ietf.org>; Fri, 15 Feb 2013 02:35:27 -0800 (PST)
Received: by mail-bk0-f47.google.com with SMTP id jc3so1445725bkc.6 for <hybi@ietf.org>; Fri, 15 Feb 2013 02:35:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=FUuvjO914Loj/ueJkQ2trBpJFzkmHtg7OgwqnajrMxU=; b=j3mXFXEILG60tTa6lmTKAucLXfT8T6H7ZfKySXKF5Y0g/+gU2t6XJjHdKwCMsxyfu6 o3JivQufB3VT1JSE76GTCVqXJUL0VCLVZ+o2plGOvpxEByR/TfA5Z0DSvIdomTejULZR 38C/3xIgAcWb2CbCPv9r/vhDP0jcLEvvNmbqA6zJ678DLw9d8pXn5lEEfQvU341cwyWc 1ckC0MTx1venRNTOI0HVmkVpk5CJcGS+a3rTfZQa/lTMzJyrO0cmkEtYwT/I7RiyboZB NeeclAD+BHRSvZouR6vLg0gNMxK2Zy9hztKN14o1zcQGoQCpdU9kfjBHyWyDDadmUsBT dL9Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=FUuvjO914Loj/ueJkQ2trBpJFzkmHtg7OgwqnajrMxU=; b=VLNebVhsL/HwHVxC03ZsiM9u00hanm3K/uA5Pya53E22esseIA3AdAWrLR9okxfbAY y574NUko5gtUgNx8tUZodcDWw+qLZ/YGAHOQ0s/ySFbcQmkPgSLcJT/ncukD/OAjlNRs Qs1Db5h3zBvzGYt5Jy11rv0Q37OeHJ8qNIoLXGzgVZrJ/B9NzqmudHsifVjHj54/OpOx 2oLwB/Vp+NjFeUcm7USFn5NDHlDhgCDxcKxKhZMFZx/26nNrSVVg1nq8+THhbqAyvRoT NzWT8JXcz/44BsAk73Ud/sTTwR2JItQL/CKcPgXirm46Q3JXKGdGiZn4HI8PliIjG6ze WIDA==
MIME-Version: 1.0
X-Received: by 10.204.147.86 with SMTP id k22mr608751bkv.82.1360924526177; Fri, 15 Feb 2013 02:35:26 -0800 (PST)
Received: by 10.205.17.199 with HTTP; Fri, 15 Feb 2013 02:35:26 -0800 (PST)
In-Reply-To: <CAC4RtVCob6en_Wu0cXmmZj5HxL8VHeri=5PRJM7TwWjfJy5zVw@mail.gmail.com>
References: <20130201073846.78956B1E003@rfc-editor.org> <CABkgnnVO_qfFAKY28y_VL5vjXdUYtuAV5vNtFLpAFUk9zPiJkQ@mail.gmail.com> <CAHixhFpR7SPWoiQrduDa5oDnss0GPQKa4ptroD0dVgP4+v7OqQ@mail.gmail.com> <CABkgnnUkq0bzVbq1Np=S03JHMtCatZ9GFwo2atnRxda_ukuLUw@mail.gmail.com> <CAC4RtVCob6en_Wu0cXmmZj5HxL8VHeri=5PRJM7TwWjfJy5zVw@mail.gmail.com>
Date: Fri, 15 Feb 2013 19:35:26 +0900
Message-ID: <CAHixhFp4gaGMWTCr3U1BLUUGhQafWWf+x2ywK7kwcr1mr9jC4A@mail.gmail.com>
From: Adam Rice <ricea@google.com>
To: Barry Leiba <barryleiba@computer.org>
Content-Type: multipart/alternative; boundary="0015174c1686f2efe604d5c0ee99"
X-Gm-Message-State: ALoCoQl0b9OQTZQwFN1cPXQhEpysyMk1zRqa8JjfAuPsXOmimxHy5hMcgETc+fecRcCC2foE4C0PIEPu3nA3J1tpCFYV0/kiNTuuuo9dOn4bVTJJUfbILyLAHqizAr8PPbIlGHYoN4PIfIDkZf7U5TZss44/yBM5335gSnJhE2w9xjeJSshiQGftaJNIop06VgnisqFw21sX
X-Mailman-Approved-At: Fri, 15 Feb 2013 02:39:17 -0800
Cc: "ifette+ietf@google.com" <ifette+ietf@google.com>, Pete Resnick <presnick@qti.qualcomm.com>, "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] [Editorial Errata Reported] RFC6455 (3473)
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, 15 Feb 2013 10:35:29 -0000

On 15 February 2013 00:56, Barry Leiba <barryleiba@computer.org> wrote:

>
> OK... so how do you folks propose that your ADs resolve this errata report?
>
> The options are as follows:
>
> 1. It's just wrong, and we should mark it "Rejected".  (This doesn't
> seem like where you're going.)
>
> 2. It's absolutely correct as it is, and we should mark it "Verified".
>  (It doesn't seem like it's this either.)
>
> 3. It's essentially correct, but needs some editing.  You can provide
> the edits and we can edit it and then mark it "Verified".
>
> 4. It's true that there's a problem, but the resolution is beyond the
> scope of an erratum.  We can either leave it as it is or edit it (to
> tweak the proposed resolution and/or to explain the difficulty in
> resolving it), and then mark it "Held for Document Update".


I would like to take option 3. I would like to propose the following text
to clarify the intent of RFC6455 while preserving the meaning:

   2.  If the client already has a WebSocket connection to the same IP
       address and port pair, even if the remote host is known by another
       name, the client MUST wait until that connection has been established
       or for that connection to have failed.  There MUST be no more than
       one connection in a CONNECTING state.  If multiple connections to the
       same IP address and port pair are attempted simultaneously, the
       client MUST serialize them so that there is no more than one
       connection at a time running through the following steps.

The following paragraph already indicates what must be done in the case
where the IP address cannot be determined, so this change should not create
any difficulties in the case where the connection is tunnelled via an
HTTP(S) or SOCKS5 proxy.

I think the issue that this section creates problems for WebSocket proxies
and non-browser clients cannot be handled without changing the meaning of
the text, and so I would like to deal with that separately.

Thank you,
Adam Rice