Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN

Martin Thomson <martin.thomson@gmail.com> Thu, 18 April 2013 19:40 UTC

Return-Path: <martin.thomson@gmail.com>
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 E6EEE21F8F4E for <rtcweb@ietfa.amsl.com>; Thu, 18 Apr 2013 12:40:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, NO_RELAYS=-0.001]
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 8KMQLXcwb7oJ for <rtcweb@ietfa.amsl.com>; Thu, 18 Apr 2013 12:40:40 -0700 (PDT)
Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) by ietfa.amsl.com (Postfix) with ESMTP id 274FC21E8095 for <rtcweb@ietf.org>; Thu, 18 Apr 2013 12:40:39 -0700 (PDT)
Received: by mail-la0-f41.google.com with SMTP id er20so2927672lab.0 for <rtcweb@ietf.org>; Thu, 18 Apr 2013 12:40:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=tcnhBgUp+g94CJ5ltRvnHol+iRTwmA/SML6vvetSqoA=; b=FP0JoD7pGCIPO9lX7OVY4bLWvRmWW8nuRHoVQFsFxtsKU1seEQ64hpjQ6rWEVTLB8h B9JHVY4zYMo5cYG0AcYReuzWXdZpFVruE+bt2NbZctlJeiHLrdCyAPi83VaO3Awpy/Le MbK68im1qHJH3+3ekoKrjI8T3NukEYecTVVDuz3XDM4iHbmzzjv3vl/HygsKY6/7gKiy 3SVLq9mXOarEAQrCq/LN070O+EN+gJ79SXvFBlOY5w4Ljl7/p1iJJpeAUij3Rzjbgeur SVuyH56sRBHOIO4kQOeoMMHcksZsq9ID0CsQ1NE9h32P2z2XJwVCzSHuwnw/WJphg1ib FW+A==
MIME-Version: 1.0
X-Received: by 10.112.157.227 with SMTP id wp3mr6546786lbb.128.1366314035899; Thu, 18 Apr 2013 12:40:35 -0700 (PDT)
Received: by 10.112.6.67 with HTTP; Thu, 18 Apr 2013 12:40:35 -0700 (PDT)
In-Reply-To: <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> <206CB075-6754-4578-B623-866E410DACCC@lurchi.franken.de>
Date: Thu, 18 Apr 2013 12:40:35 -0700
Message-ID: <CABkgnnUCXUH+0a+F1LVQVrtL=Q65HGgsdT-oBBF++zSVR4OhWw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
Content-Type: text/plain; charset="UTF-8"
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 19:40:41 -0000

On 18 April 2013 11:30, Michael Tuexen <Michael.Tuexen@lurchi.franken.de> wrote:
> 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 certainly don't want this.  If you recall, I advocated for no OPEN
message at all.

> I think the OPEN can only be sent if both streams (incoming / outgoing) are
> are available.

Yes, that would at least make it possible to indicate an error (except
if the error is that an OPEN is received with no available return
stream ;)

> I suggested an Error message already several times. Also
> for other things like reception of unsupported message types, unexpected messages,
> message formatting issues, ...

Those at least are application-layer error conditions.  No need to add
anything at the OPEN/ERROR layer for those.  Applications can provide
their own feedback path for those.

> 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.

Exactly the point: not knowing would be bad because it would make data
channels untrustworthy.  Occasionally you would lose a channel and all
the data you sent on it with no way, other than asking your peer, of
knowing what got through.