Re: [rtcweb] Data Channel Protocol: Data before DATA_CHANNEL_ACK

Peter Thatcher <pthatcher@google.com> Mon, 10 February 2014 18:21 UTC

Return-Path: <pthatcher@google.com>
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 371681A01F1 for <rtcweb@ietfa.amsl.com>; Mon, 10 Feb 2014 10:21:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.926
X-Spam-Level:
X-Spam-Status: No, score=-1.926 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.548, SPF_PASS=-0.001] autolearn=ham
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 oFSlwkNx8p-w for <rtcweb@ietfa.amsl.com>; Mon, 10 Feb 2014 10:21:35 -0800 (PST)
Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) by ietfa.amsl.com (Postfix) with ESMTP id 4F2C11A02E3 for <rtcweb@ietf.org>; Mon, 10 Feb 2014 10:21:33 -0800 (PST)
Received: by mail-pa0-f52.google.com with SMTP id bj1so6539338pad.11 for <rtcweb@ietf.org>; Mon, 10 Feb 2014 10:21:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=3j3sXB8Wrm7nlNtOIwGgv7xs/odDE/vQXjZJKCvs0v8=; b=BavqcSPmZ2nmWaiOsuep3dw7pk1p2kIk6YYIhQ+bdRSTkndgzpj3FrAk7N1jHWd1RS b7qqXSYuRlyeFuGeVwnlHjhXDd75g/0paI2wa4SpLg1/KgFDKZ/pntgcp51KXwpQz4Jn hCbipywgbFsk1GlVc1Y3lHyFCSbZKq3scVqabmI3o6Rr9Pob3ga6gfolshuTQ83lyoPV /KPfZuxxqHF+vIjytsek3vHN7zBYJELJVdPj/QM0zy9QIpqp4nkoOSFmDKigzx3Ps0Sy G7GHm/rwv7Zno4kN7xOoqqYtsACbRdCFVhC9AJVBSsp5bVLLMV0ZJ05sL/QdNAl1z2Qr kSjw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=3j3sXB8Wrm7nlNtOIwGgv7xs/odDE/vQXjZJKCvs0v8=; b=aL8MxueH6xETUB5jj3OK0LXhARk3OT/W+zoek1wELAO2ZzNi2X4gRAmuLLPURN8Tju ULWDnC2+UTsf8jMwQUBFAkFwLC2dUJrrLCVya59L48zcZiexxpOLZKVzJHsxSIeD9WVj LW9U+SaX4To1dPfuKneXAkHz0R2Xfo7CAfs1Skv3JWc/iO1h4bkOpwj24OtuHCvRERTx rdCpFElYHnc2I/PkEtcAstUhQx7criNIv17fToWumhQEbT1WA8XhQqCRVyWaoplEmO06 I0aSqrHYQti+T5zyskyNyEyxq4+yHYVuE9rKihCMmTDAnwS6UmVknViDkOmWcKCiPMob MgPQ==
X-Gm-Message-State: ALoCoQmzgmdOJrRe2xgtcs9tVLGCwZYgBWP3toblzx/OfhK9tHhspEQI/RpaGr3fEf9H/evUXtCyEq1KlIew0hMAabLXGG9D/Bwp2/Rt5b8kIJfKuYm382XqpebI7+OZLfC/IPSFVk4uh7VSUZKGMZKYEitjs5LVLkB0EfAtw9ZGCTcHSFxTiqJhdMQ4hq/5zffNuXHBph8U
X-Received: by 10.66.121.131 with SMTP id lk3mr27108916pab.61.1392056493059; Mon, 10 Feb 2014 10:21:33 -0800 (PST)
MIME-Version: 1.0
Received: by 10.66.163.234 with HTTP; Mon, 10 Feb 2014 10:20:52 -0800 (PST)
In-Reply-To: <7594FB04B1934943A5C02806D1A2204B1D166D41@ESESSMB209.ericsson.se>
References: <7594FB04B1934943A5C02806D1A2204B1D166D41@ESESSMB209.ericsson.se>
From: Peter Thatcher <pthatcher@google.com>
Date: Mon, 10 Feb 2014 10:20:52 -0800
Message-ID: <CAJrXDUHBBt6L7tp4Ck426xQEkAQEmOnscmu2mBFUGR8YVHqoaw@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Content-Type: multipart/alternative; boundary="047d7b2e138dc6c64504f21168d2"
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Data Channel Protocol: Data before DATA_CHANNEL_ACK
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: Mon, 10 Feb 2014 18:21:38 -0000

If you have to wait for the ACK, it's one more RTT you have to wait before
you can send data.  We've already got many RTTs form ICE and DTLS and
what's built into SCTP.  We originally didn't have an ACK message at all,
in large part because we didn't want more RTTs.  The ACK was put in to
handle the edge case of unordered data arriving before the OPEN message.
 But we added it in a way that it doesn't add more RTTs.


On Mon, Feb 10, 2014 at 2:20 AM, Christer Holmberg <
christer.holmberg@ericsson.com> wrote:

> Hi,
>
> As is defined in the data channel protocol, an entity can send data once
> DATA_CHANNEL_OPEN has been sent, before the associated DATA_CHANNEL_ACK is
> received.
>
> What is the reason for allowing data to be sent before DATA_CHANNEL_ACK?
> The sender may not even know (depends on whatever external negotiation
> mechanisms are used) whether the remote peer supports the protocol to begin
> with.
>
> It think it would be good to allow the remote peer to accept
> (DATA_CHANNEL_ACK) or reject (stream reset) the DATA_CHANNEL_OPEN before
> data is sent.
>
> Regards,
>
> Christer
>
>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>