Re: [hybi] CONNECT handshake text

Joe Mason <jmason@rim.com> Wed, 08 December 2010 22:47 UTC

Return-Path: <jmason@rim.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 A08B03A69B1 for <hybi@core3.amsl.com>; Wed, 8 Dec 2010 14:47:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.495
X-Spam-Level:
X-Spam-Status: No, score=-5.495 tagged_above=-999 required=5 tests=[AWL=-0.292, BAYES_00=-2.599, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_MED=-4]
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 vwbv1z+QfL-e for <hybi@core3.amsl.com>; Wed, 8 Dec 2010 14:47:06 -0800 (PST)
Received: from mhs04ykf.rim.net (mhs04ykf.rim.net [216.9.243.82]) by core3.amsl.com (Postfix) with ESMTP id 75D523A69AE for <hybi@ietf.org>; Wed, 8 Dec 2010 14:47:05 -0800 (PST)
X-AuditID: 0a666446-b7ba9ae0000041cd-e4-4d000b403bc0
Received: from XHT104CNC.rim.net ( [10.65.22.52]) by mhs04ykf.rim.net (RIM Mail) with SMTP id C5.C6.16845.04B000D4; Wed, 8 Dec 2010 17:48:32 -0500 (EST)
Received: from XCH117CNC.rim.net ([fe80::b8df:541f:9d85:9909]) by XHT104CNC.rim.net ([fe80::9520:36d8:1c40:a506%11]) with mapi; Wed, 8 Dec 2010 17:48:32 -0500
From: Joe Mason <jmason@rim.com>
To: Maciej Stachowiak <mjs@apple.com>, "Pat McManus @Mozilla" <mcmanus@ducksong.com>
Date: Wed, 08 Dec 2010 17:48:34 -0500
Thread-Topic: [hybi] CONNECT handshake text
Thread-Index: AcuXKQzgUGn4krQ/S8C5QUrxTu+zYQAANMSg
Message-ID: <BB31C4AB95A70042A256109D4619912605839D24@XCH117CNC.rim.net>
References: <AANLkTinEXHBeaUPo4gK2CHbq7ZHYnY2PE3Vb+Oi+K1NM@mail.gmail.com> <op.vnd6ijrzidj3kv@dhcp-190.linkoping.osa> <AANLkTimWpLUFuNR62Titix5WyJumnJg7rKXty1yX7G6O@mail.gmail.com> <2AFC40EF-BC43-4709-8160-5476643CFC83@apple.com> <BB31C4AB95A70042A256109D4619912605839C55@XCH117CNC.rim.net> <1291841275.2315.2048.camel@ds9.ducksong.com> <F0DD8214-57E8-446E-807B-413CEB73F9BD@apple.com>
In-Reply-To: <F0DD8214-57E8-446E-807B-413CEB73F9BD@apple.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
content-transfer-encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAgAAAZEW5C4+
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] CONNECT handshake text
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: Wed, 08 Dec 2010 22:47:07 -0000

> -----Original Message-----
> From: Maciej Stachowiak [mailto:mjs@apple.com]
> Sent: Wednesday, December 08, 2010 5:41 PM
> To: Pat McManus @Mozilla
> Cc: Joe Mason; ifette@google.com; hybi@ietf.org
> Subject: Re: [hybi] CONNECT handshake text
> 
> 
> On Dec 8, 2010, at 12:47 PM, Pat McManus @Mozilla wrote:
> 
> > On Wed, 2010-12-08 at 15:42 -0500, Joe Mason wrote:
> >
> >> How about spelling that out specifically in the draft?  "The
> handshake
> >> must send the following bytes, which form a valid HTTP request as
> >> specified by [RFC2616]"
> >
> > you can restrict what bytes the client can send, but you cannot say
> that
> > it is exactly what the WS server will receive. While this is still
> HTTP,
> > an HTTP intermediary can rearrange those bytes in any way that is
> HTTP
> > compliant (and realistically, many that are not - but are normal
> > expected uses of HTTP on today's Internet.).
> 
> The section we were discussing is the description of what the client
> must send. It doesn't talk at all about what the server should expect
> or how the server should process what it receives.

However, we do need to note in the server section that the handshake message may be transformed by intermediaries, so the server MUST (not SHOULD) be more lenient.

Joe

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.