Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN

Michael Tuexen <Michael.Tuexen@lurchi.franken.de> Thu, 18 April 2013 18:30 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 C29DB21F933B for <rtcweb@ietfa.amsl.com>; Thu, 18 Apr 2013 11:30:47 -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 FNPip9A2dUqo for <rtcweb@ietfa.amsl.com>; Thu, 18 Apr 2013 11:30:47 -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 1CCA721F9310 for <rtcweb@ietf.org>; Thu, 18 Apr 2013 11:30:47 -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 DC3911C0C069F; Thu, 18 Apr 2013 20:30:42 +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:30:39 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <206CB075-6754-4578-B623-866E410DACCC@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:30:47 -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
Absolutely correct!
> 
> This is where I think that Bernard was going with this.  It's not that simple.

I think you are looking for some kind of "reliable opening a datachannel".
That was provided by the three way handshake. But the working group decided
that this kind of setup is not required...
> 
> 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.)
I think the OPEN can only be sent if both streams (incoming / outgoing) are
are available. I suggested an Error message already several times. Also
for other things like reception of unsupported message types, unexpected messages,
message formatting issues, ... There are several error condition. I think
the alternative suggested was to reset the streams. However, for the peer there
is no way to figure out why the data channel was closed if something was lost.

Best regards
Michael
> 
> --Martin
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>