Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN

Michael Tuexen <Michael.Tuexen@lurchi.franken.de> Thu, 18 April 2013 18:44 UTC

Return-Path: <Michael.Tuexen@lurchi.franken.de>
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 CCE3B21F8FF8 for <rtcweb@ietfa.amsl.com>; Thu, 18 Apr 2013 11:44:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 6BWMWkJFUFrW for <rtcweb@ietfa.amsl.com>; Thu, 18 Apr 2013 11:44:29 -0700 (PDT)
Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) by ietfa.amsl.com (Postfix) with ESMTP id E55F821F8FE3 for <rtcweb@ietf.org>; Thu, 18 Apr 2013 11:44:28 -0700 (PDT)
Received: from [192.168.1.102] (p548186C1.dip0.t-ipconnect.de [84.129.134.193]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id A59451C0C069F; Thu, 18 Apr 2013 20:44:27 +0200 (CEST)
Mime-Version: 1.0 (Apple Message framework v1283)
Content-Type: text/plain; charset="us-ascii"
From: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
In-Reply-To: <CABkgnnXU4HeJT-QwDcJ5NTvr72gZXxXi5zHFkQjJS__UXqzvtQ@mail.gmail.com>
Date: Thu, 18 Apr 2013 20:44:26 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <BCBAB748-1079-4CE2-B8AB-AB09E9145C73@lurchi.franken.de>
References: <066.3120a55540cacaa74ee5fda0b5273a48@trac.tools.ietf.org> <516CE3EC.2050804@jesup.org> <CABkgnnVaTOLa-hs7AtEgaTk7eq00bEkCY+_8L96Y8pooqybBxA@mail.gmail.com> <CAJrXDUFgxLT3-1HehKbg5byzifFi4Obe3XW9G4sbWRbnU+Hi1A@mail.gmail.com> <CABkgnnXr85LZyJiSF+ok2KMS_xQnS0CE4VBq4PvEhBBscn2QZQ@mail.gmail.com> <516F1AF9.2080301@alvestrand.no> <CABkgnnVtUjk4jSDVioxQnrt-b69Hx0nZLefs7tpEzETSmLXeNA@mail.gmail.com> <516F9A5A.6080402@alvestrand.no> <CABkgnnWrAMnm5fTWCNA1jqC_8Js0a6ewfSkvni4xg0E6rXdCtA@mail.gmail.com> <5170247F.4090908@alvestrand.no> <CABkgnnXU4HeJT-QwDcJ5NTvr72gZXxXi5zHFkQjJS__UXqzvtQ@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
X-Mailer: Apple Mail (2.1283)
Cc: "rtcweb@ietf.org" <rtcweb@ietf.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: Thu, 18 Apr 2013 18:44:29 -0000

On Apr 18, 2013, at 7:00 PM, Martin Thomson wrote:

> On 18 April 2013 09:51, Harald Alvestrand <harald@alvestrand.no> wrote:
>> Yep, "reset the stream" is probably the right terminology.
> 
> Note that I was using a very specific terminology, not making shit up
> (I know, it's hard to tell sometimes).  c.f.
> http://tools.ietf.org/html/rfc6525#section-4.2
> 
> Unfortunately, the "Incoming SSN Reset Request Parameter" doesn't
> include a way to signal that a particular reset is somehow different
> from a normal close.  Therefore, unless you look at the SACK chunks -
> which is probably not possible above the SCTP layer - you can't tell
> the difference between:
> - I got your data and I'm done with this channel now
> - The OPEN message got lost for long enough that I ran out of
> buffering time or space, so this channel is borked; nothing was
> delivered
What brings up a question, since I'm not really familiar with the JS API.

If I have a data channel dc and call close() on the data channel. Are
incoming messages still delivered, i.e. does onmessage still fire?

Best regards
Michael
> 
> This is where I think that Bernard was going with this.  It's not that simple.
> 
> I really don't want to get back to the point where we require
> application-level (read: browser-level) acknowledgement of OPEN
> messages to address this corner case.  But we have to acknowledge that
> it's a problem and deal with it somehow.  (HTTP/2.0 has an error
> message that it uses for this sort of case, maybe that could be a
> solution, assuming that the stream ID on the reverse path is
> available.)
> 
> --Martin
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>