Re: [hybi] Is there a traffic jam?

Maciej Stachowiak <mjs@apple.com> Tue, 14 April 2009 20:04 UTC

Return-Path: <mjs@apple.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 AC3903A68DF for <hybi@core3.amsl.com>; Tue, 14 Apr 2009 13:04:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level:
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, 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 p2HNQUecEiuS for <hybi@core3.amsl.com>; Tue, 14 Apr 2009 13:04:23 -0700 (PDT)
Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by core3.amsl.com (Postfix) with ESMTP id 5ED963A699C for <hybi@ietf.org>; Tue, 14 Apr 2009 13:04:18 -0700 (PDT)
Received: from relay13.apple.com (relay13.apple.com [17.128.113.29]) by mail-out3.apple.com (Postfix) with ESMTP id 9FBFE5C6A646 for <hybi@ietf.org>; Tue, 14 Apr 2009 13:04:46 -0700 (PDT)
Received: from relay13.apple.com (unknown [127.0.0.1]) by relay13.apple.com (Symantec Brightmail Gateway) with ESMTP id 88E0428098 for <hybi@ietf.org>; Tue, 14 Apr 2009 13:04:46 -0700 (PDT)
X-AuditID: 1180711d-a76f2bb000000259-13-49e4ec5ec111
Received: from et.apple.com (et.apple.com [17.151.62.12]) by relay13.apple.com (Apple SCV relay) with ESMTP id 677D128085 for <hybi@ietf.org>; Tue, 14 Apr 2009 13:04:46 -0700 (PDT)
MIME-version: 1.0
Content-transfer-encoding: 7bit
Content-type: text/plain; charset="US-ASCII"; format="flowed"; delsp="yes"
Received: from [10.0.1.7] (c-69-181-43-20.hsd1.ca.comcast.net [69.181.43.20]) by et.apple.com (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPSA id <0KI300FL9X3W9W50@et.apple.com> for hybi@ietf.org; Tue, 14 Apr 2009 13:04:46 -0700 (PDT)
Message-id: <01EBA59B-6AB0-4E51-BFF0-20DFC002F916@apple.com>
From: Maciej Stachowiak <mjs@apple.com>
To: Anne van Kesteren <annevk@opera.com>
In-reply-to: <op.usde35il64w2qv@anne-van-kesterens-macbook.local>
Date: Tue, 14 Apr 2009 13:04:39 -0700
References: <03BCE29D-7AA5-4128-9F61-446E0229479A@lindenlab.com> <E51D5B15BFDEFD448F90BDD17D41CFF105A0C46E@AHQEX1.andrew.com> <Pine.LNX.4.62.0904132352430.10339@hixie.dreamhostps.com> <E51D5B15BFDEFD448F90BDD17D41CFF105A0C476@AHQEX1.andrew.com> <Pine.LNX.4.62.0904140002360.10339@hixie.dreamhostps.com> <49E3D66C.5060002@webtide.com> <49E3D731.30305@mozilla.com> <79ea848f0904131727w5d4bc0d8kc9914d26080a01fc@mail.gmail.com> <49E3DB47.5060801@webtide.com> <49E428DD.3070803@defuze.org> <op.usc9z5al64w2qv@anne-van-kesterens-macbook.local> <694727E2-C898-4119-A265-6351E167A8A8@apple.com> <op.usde35il64w2qv@anne-van-kesterens-macbook.local>
X-Mailer: Apple Mail (2.930.3)
X-Brightmail-Tracker: AAAAAA==
Cc: hybi@ietf.org
Subject: Re: [hybi] Is there a traffic jam?
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: Tue, 14 Apr 2009 20:04:24 -0000

On Apr 14, 2009, at 2:53 AM, Anne van Kesteren wrote:

> On Tue, 14 Apr 2009 10:28:31 +0200, Maciej Stachowiak  
> <mjs@apple.com> wrote:
>> In my opinion, optional but well-defined subprotocol identification  
>> is another way, since it enabled building more structured protocols  
>> on top in a clear way.
>
> It seems to me that the path can be used for that, but that is not  
> formal enough for your taste currently as I understand it (it's not  
> well-defined). Any ideas as to what would work better? Or maybe as  
> to how to make the path fit the criteria?


Here's some possibilities that I think are better than leaving it  
completely undefined.

1) Optional HTTP response header for protocol type in the server  
handshake response.

2) Define that part of the path defines the type - this could be (a)  
the first path segment, (b) everything after the last dot (the  
"extension", though that is weird to use for protocol type since for  
server side scripts the extension often just reflects the  
implementation technology) or (c) a semicolon-delimited "parameter"  
which is otherwise not much used in the URI syntax.

3) A dedicated initial pair of messages over the channel with a  
specific format.

I think of these solutions, (1) is the cleanest. There's probably  
other possibilities I didn't think of.

Regards,
Maciej