Re: [rtcweb] Opening unordered data channel issue
Eric Rescorla <ekr@rtfm.com> Fri, 23 August 2013 19:08 UTC
Return-Path: <ekr@rtfm.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 E9C8611E80E4 for <rtcweb@ietfa.amsl.com>; Fri, 23 Aug 2013 12:08:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.976
X-Spam-Level:
X-Spam-Status: No, score=-102.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 IatY+cRyUXXI for <rtcweb@ietfa.amsl.com>; Fri, 23 Aug 2013 12:07:59 -0700 (PDT)
Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by ietfa.amsl.com (Postfix) with ESMTP id EE11221F9B97 for <rtcweb@ietf.org>; Fri, 23 Aug 2013 12:07:58 -0700 (PDT)
Received: by mail-we0-f182.google.com with SMTP id q59so931634wes.27 for <rtcweb@ietf.org>; Fri, 23 Aug 2013 12:07:58 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=wIAUCgLQb4X4pLOv0n3ADEy1lc4t4AihzoabzmUpHbo=; b=WAWIZ6qfY9OB8zX977D1cO/Jz1IueF/6HncvNBHRBfZQGDKpujt0XrQuhA23XRn28P P/VuQXC5lUhP2TIPn3n1fgIj2nvSJm1yy+XHI7pEPxDLF/RnjtY4DGLCs52U496/BTw4 8xLKIAb+XOOPcWHxlw8lvTh4oGqsrRj0GNEWh/OAHjvuCfKKbTa269jX4w7t6fMhARZk wLhGqJsEeUNYPuBQp0cOZwPQHOasjRTzdmWXnNpypVw+YhV2KMTu31VIYl8pbakVvIdG JRbn3JBMj27GRByOivS3CBEIRNZd68MqfdxM8JfXRU5x3uFArgN3h7aCLqpn78rfQ3Vh DXMw==
X-Gm-Message-State: ALoCoQnpQ97LKwEMYaTEZahm27zpYfMVpWZKSeMuCV1L94LtVfQtjtou26GRjOf/SuIPnHENyR4l
X-Received: by 10.180.185.166 with SMTP id fd6mr3334444wic.5.1377284877928; Fri, 23 Aug 2013 12:07:57 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.216.152.137 with HTTP; Fri, 23 Aug 2013 12:07:17 -0700 (PDT)
X-Originating-IP: [74.95.2.173]
In-Reply-To: <521783C1.8020402@alvestrand.no>
References: <EA6D9D69-7A0C-4215-8561-04D9FF7BD868@lurchi.franken.de> <521783C1.8020402@alvestrand.no>
From: Eric Rescorla <ekr@rtfm.com>
Date: Fri, 23 Aug 2013 12:07:17 -0700
Message-ID: <CABcZeBPoBmnCftTySSGq4cnD92vvJ9Niu=v7v-SrPC6fS+b6sw@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Content-Type: multipart/alternative; boundary="001a11c228e2e7722704e4a21f21"
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Opening unordered data channel issue
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: Fri, 23 Aug 2013 19:08:23 -0000
+1 On Fri, Aug 23, 2013 at 8:46 AM, Harald Alvestrand <harald@alvestrand.no>wrote: > I like this solution (b). Let's Just Do It. > > > On 08/22/2013 05:52 PM, Michael Tuexen wrote: > > Dear all, > > > > at the last IETF in Berlin we discussed how to handle the opening of > > unordered data channels (no matter wether reliable or not). The problem > > to be handled is that it is possible that user messages arrive at the > > receiver before the DATA_CHANNEL_OPEN message is received. The result > > of the discussion at the meeting was that the best solution is that > > the sender sends user messages also ordered (on unordered channels) > > until there is an indication from the peer that the DATA_CHANNEL_OPEN > > has been processed. This makes sure that the DATA_CHANNEL_OPEN message > > is not received before user messages and therefore the above problem > > is solved. > > > > The open issue is, what the indication from the peer is. There were > > two options discussed at the meeting and it was decided that Randall > > Stewart and myself bring this to the list with the pros and cons > > of the alternatives. So here are the two options: > > > > (a) Use any user message sent from the peer as an indication. > > (b) Use a new ACK message. > > > > Arguments: > > * Using (b) introduces a 2-way handshake for unordered data channels. > > However, it also works for data channels being used unidirectional. > > * Using (a) stays with the 1-way handshake, but in case of > > data channels being used unidirectional you will not see the benefits > > of unordered delivery. > > > > We had some discussions offline and think that using (b) is the > > cleaner solution. Please note that this 2-way handshake is not > > similar to the one we had some time ago. The ACK does not contain > > any additional information and it does not introduce any delay. > > You can send user data right after opening the data channel. > > > > For consistency we would even propose to use this 2 way handshake > > for ordered channels. It doesn't have any drawback and would mean > > that we use the same handshake for all data channels. > > > > So the proposed procedure for opening an arbitrary data channel is: > > 1) The opener sends a DATA_CHANNEL_OPEN message ordered and reliable. > > 2) The opener can start sending user data immediately. > > It will always be sent ordered, no matter whether the data channel > > is ordered or not. > > 3) The peer will send a DATA_CHANNEL_ACK message ordered and reliable > > in response to the DATA_CHANNEL_OPEN message. > > 4) After reception of the DATA_CHANNEL_ACK message, > > the opener will sent user messages unordered, > > if the data channel is unordered and ordered, if the > > data channel is ordered. > > > > Any opinions? > > > > Best regards > > Michael > > > > _______________________________________________ > > rtcweb mailing list > > rtcweb@ietf.org > > https://www.ietf.org/mailman/listinfo/rtcweb > > > -- > Surveillance is pervasive. Go Dark. > > _______________________________________________ > rtcweb mailing list > rtcweb@ietf.org > https://www.ietf.org/mailman/listinfo/rtcweb >
- [rtcweb] Opening unordered data channel issue Michael Tuexen
- Re: [rtcweb] Opening unordered data channel issue Justin Uberti
- Re: [rtcweb] Opening unordered data channel issue Cullen Jennings (fluffy)
- Re: [rtcweb] Opening unordered data channel issue Bernard Aboba
- Re: [rtcweb] Opening unordered data channel issue Matthew Kaufman (SKYPE)
- Re: [rtcweb] Opening unordered data channel issue Hadriel Kaplan
- Re: [rtcweb] Opening unordered data channel issue Victor Pascual Avila
- Re: [rtcweb] Opening unordered data channel issue Harald Alvestrand
- Re: [rtcweb] Opening unordered data channel issue Eric Rescorla