Re: [hybi] On changing Sec-WebSocket-Origin to Origin
Brian <theturtle32@gmail.com> Tue, 30 August 2011 17:19 UTC
Return-Path: <theturtle32@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 DAD1621F8DA5 for <hybi@ietfa.amsl.com>; Tue, 30 Aug 2011 10:19:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.465
X-Spam-Level:
X-Spam-Status: No, score=-3.465 tagged_above=-999 required=5 tests=[AWL=0.133, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yq-dXrfXH-mo for <hybi@ietfa.amsl.com>; Tue, 30 Aug 2011 10:19:47 -0700 (PDT)
Received: from mail-bw0-f44.google.com (mail-bw0-f44.google.com [209.85.214.44]) by ietfa.amsl.com (Postfix) with ESMTP id 3F31621F8D8D for <hybi@ietf.org>; Tue, 30 Aug 2011 10:19:47 -0700 (PDT)
Received: by bkar4 with SMTP id r4so6320438bka.31 for <hybi@ietf.org>; Tue, 30 Aug 2011 10:21:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+0RT8H3u0zB9Q3Uv2Ek/r+9FeQuuo7qVhy6iMbfqAEo=; b=QUBPKN+llenI9cePdqdqYtXkkFEKrIIQz5zPJoXGOzhygX6PXx5wlusS9ENNGFGWbO lM7wiB4SRYbvnikDD3Su1Tp4IXAN3a09VGv/tAd8HM91l9R//JPtdXns/9fTxYUHZRmQ 76MZgq4RJNK/Np951a552hR5G7/57oJHbPzw8=
MIME-Version: 1.0
Received: by 10.204.135.6 with SMTP id l6mr275102bkt.284.1314724874304; Tue, 30 Aug 2011 10:21:14 -0700 (PDT)
Received: by 10.204.150.72 with HTTP; Tue, 30 Aug 2011 10:21:14 -0700 (PDT)
In-Reply-To: <0c9101cc672f$9dab6100$0a00a8c0@Venus>
References: <4E47FDB5.6070207@isode.com> <CABLsOLASJ_EWM3gnsVPkWuSkJuH+ZrexLBJJDVGjxxhmjif+Kg@mail.gmail.com> <4E482192.7050507@gmail.com> <CAH_y2NFw=O5bm5FbkJ+60fCWuy3fKv1xrsnHf7JgE9cOB8YOvw@mail.gmail.com> <0ba401cc66e8$b7293a40$0a00a8c0@Venus> <4E5CB106.8020108@isode.com> <0bcd01cc66fb$b5320380$0a00a8c0@Venus> <CABLsOLCs21K=iNFUuw9PjgoobjvMPfVz_mNVA7TPJVMykV6dqg@mail.gmail.com> <0c9101cc672f$9dab6100$0a00a8c0@Venus>
Date: Tue, 30 Aug 2011 10:21:14 -0700
Message-ID: <CAE8AN_VwvNyjaAXgOM_msRabaxVi7GDcGQ=4SHpumms6Lr-_Jw@mail.gmail.com>
From: Brian <theturtle32@gmail.com>
To: Len Holgate <len.holgate@gmail.com>
Content-Type: multipart/alternative; boundary="0015174753c21c3c0d04abbc3d10"
Cc: Hybi <hybi@ietf.org>
Subject: Re: [hybi] On changing Sec-WebSocket-Origin to Origin
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: Tue, 30 Aug 2011 17:19:49 -0000
Yes. The protocol version needs to be incremented when there is a non-backward-compatible handshake change as well as when there is a non-backward-compatible change to the framing. If we're changing the name of the origin header, we absolutely need to also increment the version number. Brian On Tue, Aug 30, 2011 at 9:12 AM, Len Holgate <len.holgate@gmail.com> wrote: > A new server, yes, anything existing that thinks it implements protocol > version 8 now doesn't implement draft HyBi-11's version of protocol version > 8... > > > -----Original Message----- > > From: John Tamplin [mailto:jat@google.com] > > Sent: 30 August 2011 16:51 > > To: Len Holgate > > Cc: Alexey Melnikov; Hybi > > Subject: Re: [hybi] On changing Sec-WebSocket-Origin to Origin > > > > On Tue, Aug 30, 2011 at 6:00 AM, Len Holgate > > <len.holgate@gmail.com> wrote: > > > > > > > Maybe not bumping the version number was a mistake. > > The server can > > > handle either type of client, but this is not > > explicitly mentioned in > > > the draft. > > > > > > How? If the server is only looking for > > Sec-WebSocket-Origin (which a valid > > 08 draft server could be) then it wont see the Origin > > header from the v11 > > client. > > > > > > I server implementing v08 and v11 can look for both, the same > > way existing servers support older versions of the protocol. > > > > -- > > John A. Tamplin > > Software Engineer (GWT), Google > > > > > > _______________________________________________ > hybi mailing list > hybi@ietf.org > https://www.ietf.org/mailman/listinfo/hybi >
- Re: [hybi] Removing Sec-WebSocket-Origin header f… Alexey Melnikov
- Re: [hybi] Removing Sec-WebSocket-Origin header f… Philipp Serafin
- [hybi] Removing Sec-WebSocket-Origin header field… Alexey Melnikov
- Re: [hybi] Removing Sec-WebSocket-Origin header f… John Tamplin
- Re: [hybi] Removing Sec-WebSocket-Origin header f… Greg Wilkins
- Re: [hybi] Removing Sec-WebSocket-Origin header f… Simon Pieters
- [hybi] On changing Sec-WebSocket-Origin to Origin Len Holgate
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… Alexey Melnikov
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… Len Holgate
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… John Tamplin
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… Len Holgate
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… Brian
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… Patrick McManus
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… Brian McKelvey
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… Len Holgate
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… Tobias Oberstein
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… Alexey Melnikov
- Re: [hybi] On changing Sec-WebSocket-Origin to Or… John Fallows