Re: [hybi] [whatwg] Web sockets and existing HTTP stacks

Pieter Hintjens <ph@imatix.com> Fri, 25 December 2009 12:13 UTC

Return-Path: <pieterh@gmail.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 554A83A68FC for <hybi@core3.amsl.com>; Fri, 25 Dec 2009 04:13:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.263
X-Spam-Level:
X-Spam-Status: No, score=-2.263 tagged_above=-999 required=5 tests=[AWL=-0.286, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
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 vtL+NhlwaNv5 for <hybi@core3.amsl.com>; Fri, 25 Dec 2009 04:13:20 -0800 (PST)
Received: from mail-iw0-f195.google.com (mail-iw0-f195.google.com [209.85.223.195]) by core3.amsl.com (Postfix) with ESMTP id B02FF3A68C9 for <hybi@ietf.org>; Fri, 25 Dec 2009 04:13:19 -0800 (PST)
Received: by iwn33 with SMTP id 33so6122596iwn.29 for <hybi@ietf.org>; Fri, 25 Dec 2009 04:12:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type; bh=lw6ZBiDG1zX379f2Q1f6erQYyiITy6+EuTl6TxXVc4s=; b=jszZWTOCDQens3jQfiDEvuL4FV/C5P5V0+rgutkpgNbUrMQuJQDoZ+WDBXwq6TrQ8G gvj2f22o0tLQPc+XRKul26ebvI+t42mwP7KFgHWlRNxGkBv1SsKhDqiBjUQnqUu1w3qw G+3bG6Becf99V3i8qH6PoUmbiHnefUmzB242E=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=HSapJyMusHRpVOgJ43YeooS0NI0aws0b3jvSf+gptHyO48lkKGiijqTGYGCqsQFt/i n9UG4+rauKSMidA+vGfhdi15qcaqdXObSZoHglONOCf17kSZVbUSnnRHcQnUOJzfOuwI 068e5CI4TbgCij7SWGDdC3lrAilPg0ZiF0t7M=
MIME-Version: 1.0
Sender: pieterh@gmail.com
Received: by 10.231.121.69 with SMTP id g5mr1667067ibr.44.1261743179129; Fri, 25 Dec 2009 04:12:59 -0800 (PST)
In-Reply-To: <4B308412.1050709@webtide.com>
References: <557ae280911171402v7546e5e7n93a1e57f87dc10e5@mail.gmail.com> <Pine.LNX.4.62.0912032347360.15540@hixie.dreamhostps.com> <4B2C1D52.9020505@webtide.com> <5c902b9e0912181640n497169cdrfa71f9a2908e6ef3@mail.gmail.com> <20091219005442.GA10949@shareable.org> <5c902b9e0912181711o65f31266yd86b8db618a1dcb1@mail.gmail.com> <B0B57710-91BC-4CEC-ABA6-50318038E64B@mnot.net> <4B302D5C.3080904@webtide.com> <Pine.LNX.4.62.0912220227020.18249@hixie.dreamhostps.com> <4B308412.1050709@webtide.com>
From: Pieter Hintjens <ph@imatix.com>
Date: Fri, 25 Dec 2009 13:12:39 +0100
X-Google-Sender-Auth: 46f3cc66c70737dc
Message-ID: <5821ea240912250412t6c978615qaea792d59601ffd5@mail.gmail.com>
To: Greg Wilkins <gregw@webtide.com>
Content-Type: text/plain; charset="ISO-8859-1"
Cc: hybi@ietf.org
Subject: Re: [hybi] [whatwg] Web sockets and existing HTTP stacks
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: Fri, 25 Dec 2009 12:13:31 -0000

On Tue, Dec 22, 2009 at 9:32 AM, Greg Wilkins <gregw@webtide.com> wrote:

>> changed to be neutral on the matter. Then I tried registering ports 81 and
>> 815 and the IANA told me to just use ports 80 and 443.

You won't get ports in this range in 2009, easily.  If you are going
to use ports that are governed by existing RFCs you MUST obey those
RFCs.  HTTP is not special in this respect.

> But prior to the upgrade response, you are in HTTP and should be
> governed by RFC2616 and not just pretend HTTP.

Do we really need to say this?

-Pieter