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

Martin Thomson <martin.thomson@gmail.com> Fri, 15 February 2013 19:56 UTC

Return-Path: <martin.thomson@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 8E1D721F868B for <hybi@ietfa.amsl.com>; Fri, 15 Feb 2013 11:56:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.696
X-Spam-Level:
X-Spam-Status: No, score=-4.696 tagged_above=-999 required=5 tests=[AWL=-1.097, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 2CLF4w2+nUAB for <hybi@ietfa.amsl.com>; Fri, 15 Feb 2013 11:56:19 -0800 (PST)
Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by ietfa.amsl.com (Postfix) with ESMTP id C8E2421F863C for <hybi@ietf.org>; Fri, 15 Feb 2013 11:56:18 -0800 (PST)
Received: by mail-wi0-f182.google.com with SMTP id hi18so1609062wib.9 for <hybi@ietf.org>; Fri, 15 Feb 2013 11:56:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=BsYo9Dut3MPIO9Z0vC1oBEEGHU2q/zCuX6qd3EhPXTo=; b=DzPrtv8cQuT4v+xFnXr/TARRCPWhWtiMflmC6koqmKqt29/35eaFkdG/zb/b2MxWY0 gtpDDb6iqAtAnIm6qgqt791E8WZRINOkS5VB47SAEe/7TJF0bdxiVoICGWJpWXkOE85x RrGs+YWgH1C869pLPXvGwd6eshUCzuSiojPuxMF8veIWmBRAdZucGOgwlOHK6Ab3mWJ0 T4UEFN9C+aZO6HHe8KUW1CdBrCTlqqGPXOR+jX4QhZn/+rFhNFUEu7nlEn1enEXI5LmP 4volJkgfqdRHr/QiXwNzlEcKQgW4KymKOpqVMJxzN+FDp4rzmGoTOP83RL5ooU31DvTN Lf8g==
MIME-Version: 1.0
X-Received: by 10.180.77.9 with SMTP id o9mr8319232wiw.16.1360958178028; Fri, 15 Feb 2013 11:56:18 -0800 (PST)
Received: by 10.194.5.135 with HTTP; Fri, 15 Feb 2013 11:56:17 -0800 (PST)
In-Reply-To: <CAHixhFp4gaGMWTCr3U1BLUUGhQafWWf+x2ywK7kwcr1mr9jC4A@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> <CAHixhFp4gaGMWTCr3U1BLUUGhQafWWf+x2ywK7kwcr1mr9jC4A@mail.gmail.com>
Date: Fri, 15 Feb 2013 11:56:17 -0800
Message-ID: <CABkgnnUxQXZBusj8KO0DR25ZyCrNSzz-fO3OOwSghft_Ez6XGQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Adam Rice <ricea@google.com>
Content-Type: text/plain; charset="UTF-8"
Cc: "hybi@ietf.org" <hybi@ietf.org>, Pete Resnick <presnick@qti.qualcomm.com>, Barry Leiba <barryleiba@computer.org>, "ifette+ietf@google.com" <ifette+ietf@google.com>
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 19:56:19 -0000

Thanks Adam, this works nicely.

For extra clarity on the key 'MUST' sentence:
OLD:
There MUST be no more than
       one connection in a CONNECTING state.
NEW:
There MUST be no more than
       one connection in the CONNECTING state for any IP and port.

On 15 February 2013 02:35, Adam Rice <ricea@google.com> wrote:
> 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
>
>