Re: [hybi] Comments about draft-13
John Tamplin <jat@google.com> Thu, 08 September 2011 02:10 UTC
Return-Path: <jat@google.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 0DE8921F8B74 for <hybi@ietfa.amsl.com>; Wed, 7 Sep 2011 19:10:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.929
X-Spam-Level:
X-Spam-Status: No, score=-105.929 tagged_above=-999 required=5 tests=[AWL=0.047, 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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NrBd7YJZDPxI for <hybi@ietfa.amsl.com>; Wed, 7 Sep 2011 19:10:56 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.67]) by ietfa.amsl.com (Postfix) with ESMTP id 2BAED21F8841 for <hybi@ietf.org>; Wed, 7 Sep 2011 19:10:56 -0700 (PDT)
Received: from wpaz9.hot.corp.google.com (wpaz9.hot.corp.google.com [172.24.198.73]) by smtp-out.google.com with ESMTP id p882Cb3c010236 for <hybi@ietf.org>; Wed, 7 Sep 2011 19:12:42 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1315447962; bh=ZLqafb1zBNoiQpii+d2/R9M3uMs=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Dvoduq3TftFcsGYiH74tMDcOOxUhyM6NKbvEkBiXYKD4cJRqo6RhCOi/GjQT6AKXt nQviMBZN0DfIEisR2HOaQ==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=dkim-signature:mime-version:in-reply-to:references:from:date: message-id:subject:to:cc:content-type:x-system-of-record; b=lo8Yl/BoKOysiuAcmZu4rCk3G0ciIY73h1hEdz6VCTQS8dDlYVJayk0ppHXeP0fxT Xc7hn65pjMb+eqzMR3l5w==
Received: from gyh3 (gyh3.prod.google.com [10.243.50.195]) by wpaz9.hot.corp.google.com with ESMTP id p882Bupr003137 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for <hybi@ietf.org>; Wed, 7 Sep 2011 19:12:36 -0700
Received: by gyh3 with SMTP id 3so249454gyh.9 for <hybi@ietf.org>; Wed, 07 Sep 2011 19:12:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=I5BnlEOnxHOtw4/3oclztKhx6sqyxAksb4XE80ldQqE=; b=ZerjBWWNOcJu8sL4rsHPkEImVaJ+UnmzvAsm1wdHTKUKm9hQjYv2NDUnAt22qO/63w Uv3r5TjmEPB2VjnN05cQ==
Received: by 10.150.150.34 with SMTP id x34mr306245ybd.59.1315447954333; Wed, 07 Sep 2011 19:12:34 -0700 (PDT)
Received: by 10.150.150.34 with SMTP id x34mr306238ybd.59.1315447954171; Wed, 07 Sep 2011 19:12:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.150.49.7 with HTTP; Wed, 7 Sep 2011 19:12:14 -0700 (PDT)
In-Reply-To: <CAH_y2NFLrweP_y+QrYy_aHBcQhY7rWhQbMPtZ2hdmzw7sZ1y1g@mail.gmail.com>
References: <CALiegfkUMDfuRC+16ZcLo__2OqAcQ1UVDGa_610ykEAe6yZViw@mail.gmail.com> <CALiegf=wO6w5UMLO-hsn8o0cX3__SuxMDrgqvScuS6QWdNhptw@mail.gmail.com> <4E67FD5A.4050308@isode.com> <CAH_y2NEg1PigBKxuVZEcdUGGtiLWpDLBcXGVeb_=AMGJY-FYLQ@mail.gmail.com> <CABLsOLBaChkOyFG_3Ut8=2M5Og-6qQdPaomaci+wK_Cp-OXsJQ@mail.gmail.com> <CAH_y2NF9EGrqP+Ug+itQma3qHCsqpYa6W+qrUDpzN13QYFqiEQ@mail.gmail.com> <CABLsOLDTOdNDEHzPV2Z4QgupwqOLX1AWu=E60s53gKpjs68O=A@mail.gmail.com> <CAH_y2NFLrweP_y+QrYy_aHBcQhY7rWhQbMPtZ2hdmzw7sZ1y1g@mail.gmail.com>
From: John Tamplin <jat@google.com>
Date: Wed, 07 Sep 2011 22:12:14 -0400
Message-ID: <CABLsOLB4A2BXnVHfEQ7KzTAAUcjjX9ZsbLD-JSQ9xnhqOAP4-g@mail.gmail.com>
To: Greg Wilkins <gregw@intalio.com>
Content-Type: multipart/alternative; boundary="000e0cd6d02e07684304ac6498e5"
X-System-Of-Record: true
Cc: hybi@ietf.org
Subject: Re: [hybi] Comments about draft-13
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: Thu, 08 Sep 2011 02:10:57 -0000
On Wed, Sep 7, 2011 at 9:52 PM, Greg Wilkins <gregw@intalio.com> wrote: > If the application layer accepts a connection with "foo" and "bar" > then obviously it is saying that it has a way to tell the difference > between "foo" and "bar" messages, because it is the application layer > that does the protocol handling. > > If the application can't handle multiple protocols, or a particular > mix of protocols, then it just doesn't accept the connection, or > accepts with only 1 protocol. > Then it is your application that is the subprotocol and provides a way to distinguish them. A server component that understands the "foo" protocol should be able to speak it without knowing it needs to add some disambiguation about which subprotocol a particular message belongs to. It seems to me that your example should be "my-layered-protocol", which has some identifier for the next-layer protocol, then the payload of that next layer protocol. As a practical example, let's say that the client ask for the "foo" and "bar" subprotocols. The server can speak either of them. How does it decide between answering "foo", "bar", or "foo, bar"? Does it have to keep a table of which subprotocols are mutually distinguishable so they can be accepted together? Do you rely on heuristics, or do all subprotocols have to have a "magic value" at the beginning of each message so they can be distinguished? -- John A. Tamplin Software Engineer (GWT), Google
- [hybi] Comments about draft-13 Iñaki Baz Castillo
- Re: [hybi] Comments about draft-13 Alexey Melnikov
- Re: [hybi] Comments about draft-13 Iñaki Baz Castillo
- Re: [hybi] Comments about draft-13 Richard L. Barnes
- Re: [hybi] Comments about draft-13 Iñaki Baz Castillo
- Re: [hybi] Comments about draft-13 Iñaki Baz Castillo
- Re: [hybi] Comments about draft-13 Richard L. Barnes
- Re: [hybi] Comments about draft-13 Iñaki Baz Castillo
- Re: [hybi] Comments about draft-13 Richard L. Barnes
- Re: [hybi] Comments about draft-13 Philipp Serafin
- Re: [hybi] Comments about draft-13 Iñaki Baz Castillo
- Re: [hybi] Comments about draft-13 Iñaki Baz Castillo
- Re: [hybi] Comments about draft-13 Philipp Serafin
- Re: [hybi] Comments about draft-13 Iñaki Baz Castillo
- Re: [hybi] Comments about draft-13 Alexey Melnikov
- Re: [hybi] Comments about draft-13 Iñaki Baz Castillo
- Re: [hybi] Comments about draft-13 Richard L. Barnes
- Re: [hybi] Comments about draft-13 Alexey Melnikov
- Re: [hybi] Comments about draft-13 Richard L. Barnes
- Re: [hybi] Comments about draft-13 Greg Wilkins
- Re: [hybi] Comments about draft-13 Bjoern Hoehrmann
- Re: [hybi] Comments about draft-13 Alexey Melnikov
- Re: [hybi] Comments about draft-13 Greg Wilkins
- Re: [hybi] Comments about draft-13 John Tamplin
- Re: [hybi] Comments about draft-13 Greg Wilkins
- Re: [hybi] Comments about draft-13 John Tamplin
- Re: [hybi] Comments about draft-13 Greg Wilkins
- Re: [hybi] Comments about draft-13 John Tamplin
- Re: [hybi] Comments about draft-13 Greg Wilkins
- Re: [hybi] Comments about draft-13 Bjoern Hoehrmann
- Re: [hybi] Comments about draft-13 Iñaki Baz Castillo
- Re: [hybi] Comments about draft-13 Iñaki Baz Castillo
- Re: [hybi] Comments about draft-13 Greg Wilkins
- Re: [hybi] Comments about draft-13 Joonas Lehtolahti
- Re: [hybi] Comments about draft-13 Peter Saint-Andre