Re: [hybi] I-D Action:draft-ietf-hybi-thewebsocketprotocol-01.txt

Takeshi Yoshino <tyoshino@google.com> Thu, 02 September 2010 05:36 UTC

Return-Path: <tyoshino@google.com>
X-Original-To: hybi@core3.amsl.com
Delivered-To: hybi@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DDA723A68F3 for <hybi@core3.amsl.com>; Wed, 1 Sep 2010 22:36:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.851
X-Spam-Level:
X-Spam-Status: No, score=-104.851 tagged_above=-999 required=5 tests=[AWL=1.125, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6wEexcuya3iJ for <hybi@core3.amsl.com>; Wed, 1 Sep 2010 22:35:58 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.35]) by core3.amsl.com (Postfix) with ESMTP id 971523A68D7 for <hybi@ietf.org>; Wed, 1 Sep 2010 22:35:18 -0700 (PDT)
Received: from hpaq12.eem.corp.google.com (hpaq12.eem.corp.google.com [172.25.149.12]) by smtp-out.google.com with ESMTP id o825ZkPH023048 for <hybi@ietf.org>; Wed, 1 Sep 2010 22:35:46 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1283405746; bh=jbL2vwCC+PMfwYHalZrtRude3us=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ouB8aAmC0Brb+E3xDqMmdfqLmBWoMB8oaaXIZkNzcMZgVC8acLsK63xyA64vU/hcu Z+7NV79d7HN1D2N77LOwA==
Received: from iwn4 (iwn4.prod.google.com [10.241.68.68]) by hpaq12.eem.corp.google.com with ESMTP id o825ZWVp005453 for <hybi@ietf.org>; Wed, 1 Sep 2010 22:35:45 -0700
Received: by iwn4 with SMTP id 4so146452iwn.38 for <hybi@ietf.org>; Wed, 01 Sep 2010 22:35:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=po9uyQvy2WLgOjM/jGaR8M6du3uCdVi6waTRgxMl7kc=; b=jSPUXNM7lbCLzmujRAXa34BoCn+rMpOD0Yl/nEJhVMxOF7NFGBgMyHTy9NZypKN6iw W9V4hVRqKc4G47nWZXzQ==
DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=fCN5ayA1k7GTEV7zhkFKTiqWSTo/qQ2iKwAUTttE5DawAE/nQxv4edI5ImARIeQq6c G00V0EArQfzivvBOJ6mQ==
Received: by 10.231.147.131 with SMTP id l3mr9887069ibv.74.1283405744203; Wed, 01 Sep 2010 22:35:44 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.231.31.70 with HTTP; Wed, 1 Sep 2010 22:35:24 -0700 (PDT)
In-Reply-To: <CA566BAEAD6B3F4E8B5C5C4F61710C110FAFDC99@TK5EX14MBXW605.wingroup.windeploy.ntdev.microsoft.com>
References: <20100901224502.0519B3A687C@core3.amsl.com> <AANLkTikP1CF22fL0rBniXmrxEoBAbTNfzP9kyiNA4nbb@mail.gmail.com> <AANLkTi=_1m36ThFZTH_aGE_Unz0KTeexJq_74UGr2j+u@mail.gmail.com> <AANLkTikmYvJaZnc-SAaGm1Xztn31DqTnttonKFNBvT86@mail.gmail.com> <AANLkTimHUDGW=XGgjPFG9n+s01Q21e_BvHS+X6VSFUdD@mail.gmail.com> <AANLkTikKHi3Wqy+SgYzk9KxU8o9dpAbEZCQH3UcPkAa_@mail.gmail.com> <CA566BAEAD6B3F4E8B5C5C4F61710C110FAFDC99@TK5EX14MBXW605.wingroup.windeploy.ntdev.microsoft.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Thu, 02 Sep 2010 14:35:24 +0900
Message-ID: <AANLkTi=+ke0pP2=YQCF75KKCRkYcyLuRMsyR6i7hxCS_@mail.gmail.com>
To: Gabriel Montenegro <gmonte@microsoft.com>
Content-Type: multipart/alternative; boundary="0016e64ea92c7c6a26048f402f3e"
X-System-Of-Record: true
Cc: hybi <hybi@ietf.org>
Subject: Re: [hybi] I-D Action:draft-ietf-hybi-thewebsocketprotocol-01.txt
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Thu, 02 Sep 2010 05:36:05 -0000

+1

Aligning implementation is desirable but not realistic for real world
experiment. Welcoming older implementation users to experiment, we can get
more participant and more feedback on WebSocket. People who doesn't care
protocol detail but interested in WebSocket's basic features and API want
not to be blocked by protocol level change, I think.

We implemented some heuristics that look for some -76 (== -00) specific
header in handshake request. Now implementors have no other choice than
using frame inspection to tell -00 and -01 apart as Greg mentioned. At least
in draft stage where we'll publish number of drafts with drastic change as
milestones every time we get consensus on some topic, we should have some
way to tell the version which the client is using explicitly rather than
requiring implementor to adopt such heuristics.

Takeshi


On Thu, Sep 2, 2010 at 09:22, Gabriel Montenegro <gmonte@microsoft.com>wrote:

> +1. I’m all for a version as part of the protocol itself, but recognize
> that the discussion right now is limited to a versioning field only during
> draft stage.
>
>
>
> *From:* hybi-bounces@ietf.org [mailto:hybi-bounces@ietf.org] *On Behalf Of
> *Ian Fette (????????)
> *Sent:* Wednesday, September 01, 2010 4:38 PM
> *To:* John Tamplin
> *Cc:* hybi
> *Subject:* Re: [hybi] I-D
> Action:draft-ietf-hybi-thewebsocketprotocol-01.txt
>
>
>
> +1. Adam, I share your concerns about versions on the web, but the reality
> is there is no other way right now. Suggestions welcome as to alternatives.
>
> On Sep 1, 2010 4:27 PM, "John Tamplin" <jat@google.com> wrote:
> > On Wed, Sep 1, 2010 at 7:18 PM, Greg Wilkins <gregw@webtide.com> wrote:
> >> my proposal was not to add versioning to the protocol - as I know some
> >> think it is an anti pattern.
> >>
> >> I just want to be able to implement the next draft without breaking
> >> all my users that have been working on the last draft.   So my
> >> proposal is only for a draft version to be added by implementers as
> >> non-standard convenience at this time. The lack of a draft version can
> >> be taken to mean the final stable version.
> >>
> >> How else do you expect servers to track the drafts and deal with the
> >> various browser implementations out there?
> >
> > The problem is that the framing of v75, v76, v00, and v01 are
> > incompatible. If you want to write a server that interoperates with
> > browsers implementing these drafts (I know at least v75 and v76 are in
> > the wild), then you have to rely on heuristics to figure out which one
> > you are talking to. Even if there isn't a version in the 1.0 spec,
> > any attempt to get real-world data while the spec is changing means
> > you either have a version number or you heuristically determine one --
> > the latter is obviously more prone to error.
> >
> > I would suggest adding Sec-WebSocket-Draft: 01 to implementations of
> > this draft, and that header will only be present before the spec is
> > finalized.
> >
> > --
> > John A. Tamplin
> > Software Engineer (GWT), Google
> > _______________________________________________
> > hybi mailing list
> > hybi@ietf.org
> > https://www.ietf.org/mailman/listinfo/hybi
>
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>
>