Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN

Randell Jesup <randell-ietf@jesup.org> Tue, 16 April 2013 05:41 UTC

Return-Path: <randell-ietf@jesup.org>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DBEEF21F92B2 for <rtcweb@ietfa.amsl.com>; Mon, 15 Apr 2013 22:41:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.11
X-Spam-Level:
X-Spam-Status: No, score=-1.11 tagged_above=-999 required=5 tests=[BAYES_05=-1.11]
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 Z1a-OzU8DuVx for <rtcweb@ietfa.amsl.com>; Mon, 15 Apr 2013 22:41:02 -0700 (PDT)
Received: from r2-chicago.webserversystems.com (r2-chicago.webserversystems.com [173.236.101.58]) by ietfa.amsl.com (Postfix) with ESMTP id A441621F849C for <rtcweb@ietf.org>; Mon, 15 Apr 2013 22:40:59 -0700 (PDT)
Received: from pool-98-111-140-34.phlapa.fios.verizon.net ([98.111.140.34]:1506 helo=[192.168.1.12]) by r2-chicago.webserversystems.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80) (envelope-from <randell-ietf@jesup.org>) id 1URydW-0002lK-O9 for rtcweb@ietf.org; Tue, 16 Apr 2013 00:40:58 -0500
Message-ID: <516CE3EC.2050804@jesup.org>
Date: Tue, 16 Apr 2013 01:38:52 -0400
From: Randell Jesup <randell-ietf@jesup.org>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130307 Thunderbird/17.0.4
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <066.3120a55540cacaa74ee5fda0b5273a48@trac.tools.ietf.org>
In-Reply-To: <066.3120a55540cacaa74ee5fda0b5273a48@trac.tools.ietf.org>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - r2-chicago.webserversystems.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - jesup.org
Subject: Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
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, 16 Apr 2013 05:41:03 -0000

On 4/11/2013 7:04 PM, rtcweb issue tracker wrote:
> #13: Transport of DATA_CHANNEL_OPEN
>
>   Comment on draft-jesup-rtcweb-data-protocol:
>
>   All DATA_CHANNEL_OPEN messages MUST be sent reliably and in-order.
>
>   [BA] The DATA_CHANNEL_OPEN message is not acknowledged at the application
>   layer.  Therefore all that reliability and in-order delivery provides
>   (within the SCTP implementation) is the message was *received*, which
>   doesn't tell you if the message was acted on or not.  If you do support
>   app-layer acknowledgement to address this, then you don't need transport
>   reliability.
>

I disagree (though I suppose you don't *need* in-order, but it's a good 
idea).

Reliable delivery means that you won't have a problem of "Open message 
gets lost, all data packets get queued at receiver but never 
delivered".  Unless you have some meta-channel to tell the receiver that 
an open is on it's way, or add something to say " I have data but no 
Open", you want it to automatically retry to get the Open message 
through and unblock the channel.  This isn't about the sending-side 
application knowing the Open was received (in fact, this draft gives no 
way for the JS app to know that).

In theory because of the queue-on-data-before-open, you don't *need* 
in-order (and it only matters anyways if the channel is marked as 
in-order; otherwise it has no effect).  But I also see no reason for it 
not to be in-order in that case.

-- 
Randell Jesup
randell-ietf@jesup.org