Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN

Martin Thomson <martin.thomson@gmail.com> Thu, 18 April 2013 17:00 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 4EE5D21F91BF for <rtcweb@ietfa.amsl.com>; Thu, 18 Apr 2013 10:00:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.959
X-Spam-Level:
X-Spam-Status: No, score=-6.959 tagged_above=-999 required=5 tests=[AWL=-3.360, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 ZxlDkBDhLqz1 for <rtcweb@ietfa.amsl.com>; Thu, 18 Apr 2013 10:00:01 -0700 (PDT)
Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com [209.85.217.169]) by ietfa.amsl.com (Postfix) with ESMTP id 6F6F921F91B0 for <rtcweb@ietf.org>; Thu, 18 Apr 2013 10:00:01 -0700 (PDT)
Received: by mail-lb0-f169.google.com with SMTP id p11so2934133lbi.0 for <rtcweb@ietf.org>; Thu, 18 Apr 2013 10:00:00 -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=FK8aSyrtvenPxvMWRxkcc6aKBCntBmiu1zz110pXGKg=; b=C8LIHi81bCKrBPjTFLGM6AXBJZpo0RXuWEMUC5tNyn/Z7YhSk5xnVxs6F1UIV1S75r YMp5HCKa/vHq2BgvsSFTgh80h6q/NjK//uAefq/YukGGiDVN/JG4ZwsoB1z7jSy3JdXG H4BiR5TVYS4LHThI4QDA9yEezddD13QE7j1Zdy9bmLWZeWYFYk7hUuVdbwECWzLqh4hf QLO+TPbX1ODYeIRsUiQF71OUJjxT7clniPNf61m6ot+kKgvLIAZ22l2RNnpMhvgogHBb sZ1T8sR4NqWiTjrmFYVotg5laSKHy53XTuYll7jwSZBMMe+JULWVPLcgnmMA8DaFCerR jq8g==
MIME-Version: 1.0
X-Received: by 10.112.76.39 with SMTP id h7mr6226266lbw.118.1366304400437; Thu, 18 Apr 2013 10:00:00 -0700 (PDT)
Received: by 10.112.6.67 with HTTP; Thu, 18 Apr 2013 10:00:00 -0700 (PDT)
In-Reply-To: <5170247F.4090908@alvestrand.no>
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>
Date: Thu, 18 Apr 2013 10:00:00 -0700
Message-ID: <CABkgnnXU4HeJT-QwDcJ5NTvr72gZXxXi5zHFkQjJS__UXqzvtQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
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 17:00:02 -0000

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

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