Re: [rtcweb] Unsupported PPID (Re: draft-ietf-rtcweb-data-channel failure handling description)

Paul Kyzivat <pkyzivat@alum.mit.edu> Tue, 26 August 2014 21:44 UTC

Return-Path: <pkyzivat@alum.mit.edu>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9E4061A0176 for <rtcweb@ietfa.amsl.com>; Tue, 26 Aug 2014 14:44:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level:
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_SOFTFAIL=0.665] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f7SxH_RrAO4k for <rtcweb@ietfa.amsl.com>; Tue, 26 Aug 2014 14:44:37 -0700 (PDT)
Received: from qmta05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:48]) by ietfa.amsl.com (Postfix) with ESMTP id 5C0ED1A0048 for <rtcweb@ietf.org>; Tue, 26 Aug 2014 14:44:37 -0700 (PDT)
Received: from omta19.westchester.pa.mail.comcast.net ([76.96.62.98]) by qmta05.westchester.pa.mail.comcast.net with comcast id jYgK1o00227AodY55Zkcpx; Tue, 26 Aug 2014 21:44:36 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([50.138.229.151]) by omta19.westchester.pa.mail.comcast.net with comcast id jZkc1o00R3Ge9ey3fZkcVG; Tue, 26 Aug 2014 21:44:36 +0000
Message-ID: <53FCFFC4.1090502@alum.mit.edu>
Date: Tue, 26 Aug 2014 17:44:36 -0400
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <20140811181357.613.72705.idtracker@ietfa.amsl.com> <53EEFDD3.6040607@omnitor.se> <53F1E05D.9040804@alvestrand.no> <5AC6FE2A-23B1-4BDE-ABE0-2D64AE750F60@lurchi.franken.de> <CABkgnnW05HW2kdEH49GfSTe1unCeqKUWguUqd29iMjOc1z5BAg@mail.gmail.com>
In-Reply-To: <CABkgnnW05HW2kdEH49GfSTe1unCeqKUWguUqd29iMjOc1z5BAg@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1409089476; bh=Mg7ZRVx2qtYzbt7aAJifOwUcRf0v0BqEgAVELCFKyaY=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=Dw+vdHKqalnvi3UE3rbacCI8Q5zbNuP+DEOy+pllUpm0zojxvY1pcncAYXpRd3puR ml3/ufR9pWGz1DNrvnRPCPXAi0LaUdNv8XCQAbsGQ1N2uQ9wSnjGRRdYmcxY2sCzYQ llr9CLzXsTrcTy6brCj/tnJkNgw/GiIIF/LKMd754yvBt0+B+h1LZSmMuxEIGi71ls rFIewCSjTQlO0J4jUAE/by1sfajB0MXH7i/EYZkz/vXNZiVk0kx8+j3PjXPqN6+mQE OxEtRV9PL16QBGkf0N+mRLMiZ4MtW9c3n0HEZN5QPSjYnf60bb5C8QzPChTSvOhZ8B //yniwo0DvnCA==
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/LewH6Bw4PcwtcAriGXhXoGTUYBU
Subject: Re: [rtcweb] Unsupported PPID (Re: draft-ietf-rtcweb-data-channel failure handling description)
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Aug 2014 21:44:38 -0000

On 8/26/14 5:22 PM, Martin Thomson wrote:
> On 26 August 2014 13:36, Michael Tuexen
> <Michael.Tuexen@lurchi.franken.de> wrote:
>> What I don't understand how ignoring gives you extensibility. If one sides sends a new PPID, and
>> the other sides ignores it, the sender (at the SCTP level) thinks that the message was received
>> without any problem, since SCTP doesn't take the PPID into account. So user messages are lost.
>
> I think that the use of a new PPID can be negotiated prior to use, so
> there aren't big problems with any action recommended here.  Resetting
> the stream might work, assuming that we can distinguish between an
> error and a graceful close correctly, that is.

There isn't currently any way to distinguish graceful close from a reset 
due to error is there?

PPID 50 is currently being used just for DATA_CHANNEL_OPEN and 
Data_CHANNEL_ACK. But the message format has made provision for 512 
different message types. Some others could be used, now or in the 
future, for other housekeeping, such as giving a reason for a reset.

One approach would be to define DATA_CHANNEL_CLOSE, and specify that it 
be used just before reset when the close is graceful.

	Thanks,
	Paul