Re: [rtcweb] Sending of zero-length messages over data channels

Justin Uberti <juberti@google.com> Wed, 23 July 2014 13:08 UTC

Return-Path: <juberti@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 B2BBD1B289E for <rtcweb@ietfa.amsl.com>; Wed, 23 Jul 2014 06:08:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.379
X-Spam-Level:
X-Spam-Status: No, score=-1.379 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.001, SPF_PASS=-0.001] autolearn=no
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 aVDmlB-sgd2f for <rtcweb@ietfa.amsl.com>; Wed, 23 Jul 2014 06:08:15 -0700 (PDT)
Received: from mail-vc0-x22b.google.com (mail-vc0-x22b.google.com [IPv6:2607:f8b0:400c:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3A6D91B28A2 for <rtcweb@ietf.org>; Wed, 23 Jul 2014 06:08:15 -0700 (PDT)
Received: by mail-vc0-f171.google.com with SMTP id hq11so2081628vcb.2 for <rtcweb@ietf.org>; Wed, 23 Jul 2014 06:08:14 -0700 (PDT)
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=VqxyKINHupo8jdEy0qPakhTp4gLgu1A6KIaA6RZ9e6s=; b=VeiLWGl6DCerldGS/tr9y9SSR950Cs56o5DUTsBfdiU+8b1fJwfgUzzo9bogpuYiFw Rer5rcK1kP/lrMj+weAo1kLUF+GOfGgt3kD//chEoprU5krlNq8FGnWHqmvIcSbtehhg TlzKsFA179pmHRW1Q+IArRq2Ya1q0/9gIptGVmsKJR+P8N5PzxehnPYcvI9g61z5GT7h mX4fRtqoA1DDUpjqqD0HvumYbirsIHVpGz2da2R8U8H11nXwpCKUOrNfnuYnPNvuMUMb 6UqWFRf7m1IDp+Im/hr+/SNfG9KR4GABC991VPL6d7Gx+TaoGkekyHH+eEvx0GUzbpE0 rRsQ==
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=VqxyKINHupo8jdEy0qPakhTp4gLgu1A6KIaA6RZ9e6s=; b=lUuEQvppGXl4oQ/BQinS/219CtyHIcXoWjzX6fRI350Etuozc3LPd1i7S4ydnjexYv g7t4R13Af5YWPOlc+u4omnQXfHpJ09aMLqDdJYGJ+VVgScJbiqzsi0AvxCu+wN0oSqqb lxWL9t1dvXxZXKTyLTUJpt1VFW45+lHkSUweJy67zXESwDe8w4uYB+R1B7Pmw0QW6T/1 CF/6RKbARzLlM4wkKGiqS2kn0asEXggsZcm9Lc/yBq6NB+KI64YRUT6RQMULl9xrRDST d/rBWAKBAp4qls+iQYP1Esw4/t4vYAGK4QWb9Ro8BAutAeKr4CeZrgSJc1KZnSjcJEpz 9j1w==
X-Gm-Message-State: ALoCoQmf+ggLehbbEgAuFMBG0zNqIPMz4Al6vW1SM9D1CEdDAzDDl0DvVkGZIGpNe4XB0az4C1cp
X-Received: by 10.220.94.135 with SMTP id z7mr2010417vcm.46.1406120894087; Wed, 23 Jul 2014 06:08:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.4.70 with HTTP; Wed, 23 Jul 2014 06:07:53 -0700 (PDT)
In-Reply-To: <CA+9kkMDNzunHruYYWTRi-iqHo1LDE4+AYKaVx5dty8DOMDD0YA@mail.gmail.com>
References: <CAOJ7v-0F9pysYLehjTVDv1Sxz3TKaxi2y6J7RrpGqMdA=tiR_g@mail.gmail.com> <CA+9kkMDNzunHruYYWTRi-iqHo1LDE4+AYKaVx5dty8DOMDD0YA@mail.gmail.com>
From: Justin Uberti <juberti@google.com>
Date: Wed, 23 Jul 2014 09:07:53 -0400
Message-ID: <CAOJ7v-0xpxkwL6VzNqABsmFZd+Giw8dYHEjCUzGVUXwnaO-fqg@mail.gmail.com>
To: Ted Hardie <ted.ietf@gmail.com>
Content-Type: multipart/alternative; boundary="001a11c1e48867621e04fedc084d"
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/x25bAKJsJKwOP9P0C2ii0t9HDoc
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Sending of zero-length messages over data channels
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: Wed, 23 Jul 2014 13:08:19 -0000

Since we have promised drop-in compatibility with WebSockets, I think we
ought to do this, and the resulting text change here should be small enough
that we could update the doc without a long re-review.

It would be unfortunate to have to have an errata section on a draft that
isn't even a RFC yet.


On Wed, Jul 23, 2014 at 8:55 AM, Ted Hardie <ted.ietf@gmail.com> wrote:

> On Tue, Jul 22, 2014 at 11:58 PM, Justin Uberti <juberti@google.com>
> wrote:
>
>> I
>> Since we can't send a zero-length SCTP message, I propose we add a
>> PPID_EMPTY value or something similar to indicate a message with empty
>> content.
>>
>>
> ​Howdy,
>
> The keepalive problem seems to be pretty amenable to any message, whether
> of zero length, single byte or something else.  Is the convergence with
> websockets on zero length important enough to re-open the drafts we just
> sent to the ADs?
>
> Ted
>