
From nobody Tue Jan  6 23:05:55 2015
Return-Path: <barryleiba.mailing.lists@gmail.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 89AE81A8969 for <hybi@ietfa.amsl.com>; Tue,  6 Jan 2015 23:05:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level: 
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=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 weT236Frbqtx for <hybi@ietfa.amsl.com>; Tue,  6 Jan 2015 23:05:51 -0800 (PST)
Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001: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 1F44A1A8966 for <hybi@ietf.org>; Tue,  6 Jan 2015 23:05:51 -0800 (PST)
Received: by mail-ie0-f171.google.com with SMTP id ar1so2218067iec.2 for <hybi@ietf.org>; Tue, 06 Jan 2015 23:05:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=8ur57PsIHXRcxqA5SBBiikqE9ps+vVngSKu9w/2mupU=; b=xo/orpOtoEdnFiObCyqfjZbE7TGTCQoxalUf8yPdi0Xqdh8p+MfAWFcNzjkUhf0ZNI Mj4qPdqIb+WU20WYdRPFebXGGGOUPJP1fhJp/y2y7EgU3CKhxXXg71pM3dK1SHxqor9T x6EbyaAxzoDBQOyAPvvq7Ou/A+V9raBE9y4wfNrivqMjuEttknjCujqcehCW6nkuYrR4 UnJXokRxnX4JUGFNIblnk3dlyhq2alD/xY1Ylt0q4WGDWNv1Z/VBWbJThcYsM7jlZqUt GxJ5hDYauXMWI6Gwe/QU5FaO9x6PRg/meb1kQxx04KCxtTIGkU0+Azk1GOSO1lbUOyo6 6U1w==
MIME-Version: 1.0
X-Received: by 10.42.199.211 with SMTP id et19mr1790113icb.9.1420614350267; Tue, 06 Jan 2015 23:05:50 -0800 (PST)
Sender: barryleiba.mailing.lists@gmail.com
Received: by 10.107.173.83 with HTTP; Tue, 6 Jan 2015 23:05:50 -0800 (PST)
In-Reply-To: <CAC4RtVA2ayF-d7X25hvF4=zyOL3oA5EHX1CWke7GqwJydfr==g@mail.gmail.com>
References: <CAC4RtVCcfkQqjRUHw-AcYxN=C_jkYztAivD7yYJ48bV2yz=0dQ@mail.gmail.com> <CAC4RtVA2ayF-d7X25hvF4=zyOL3oA5EHX1CWke7GqwJydfr==g@mail.gmail.com>
Date: Wed, 7 Jan 2015 15:05:50 +0800
X-Google-Sender-Auth: 8eqA7W6dqxwP0MX3m8eV5N8NKyU
Message-ID: <CAC4RtVCGMJX3h_JqRp=cwb+-qBAJQsL3An3NjKXNe5OBuxuWhg@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
To: Salvatore Loreto <salvatore.loreto@ericsson.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/hybi/gZ7eHbf0xboDSSQ9XFM-8MWF8EE
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] (Not yet) Closing the hybi working group
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jan 2015 07:05:52 -0000

One more try:  Salvatore, where are we on this?

Barry

On Sat, Dec 20, 2014 at 5:36 AM, Barry Leiba <barryleiba@computer.org> wrote:
> Salvatore?
>
> On Tue, Nov 4, 2014 at 12:26 PM, Barry Leiba <barryleiba@computer.org> wrote:
>> On Thu, Oct 16, 2014 at 2:21 PM, Salvatore Loreto
>> <salvatore.loreto@ericsson.com> wrote:
>>>
>>> I will review the draft next-next week (starting October 27 after the IETF
>>> submission deadline)
>>>  to check the status and evaluate its readiness for publication.
>>>
>>> I will work (via mail or phone) with Takeshi in case I find that some
>>> editing still needs to be done.
>>> I hope it works for Takeshi as well.
>>
>> Where are we on this?
>>
>> Barry


From nobody Tue Jan  6 23:09:56 2015
Return-Path: <salvatore.loreto@ericsson.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7AE2B1A8969 for <hybi@ietfa.amsl.com>; Tue,  6 Jan 2015 23:09:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level: 
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 mSM0ZG24PyEW for <hybi@ietfa.amsl.com>; Tue,  6 Jan 2015 23:09:50 -0800 (PST)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1DE841A8960 for <hybi@ietf.org>; Tue,  6 Jan 2015 23:09:49 -0800 (PST)
X-AuditID: c1b4fb25-f791c6d00000617b-44-54acdbbbd1e7
Received: from ESESSHC020.ericsson.se (Unknown_Domain [153.88.253.124]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id 53.37.24955.BBBDCA45; Wed,  7 Jan 2015 08:09:47 +0100 (CET)
Received: from ESESSMB109.ericsson.se ([169.254.9.7]) by ESESSHC020.ericsson.se ([153.88.183.78]) with mapi id 14.03.0195.001; Wed, 7 Jan 2015 08:09:46 +0100
From: Salvatore Loreto <salvatore.loreto@ericsson.com>
To: Barry Leiba <barryleiba@computer.org>, Takeshi Yoshino <tyoshino@google.com>
Thread-Topic: [hybi] (Not yet) Closing the hybi working group
Thread-Index: AQHP+FRrm6EVFdHLSkyc1u/U2mk36JyXpmWAgBzo6wCAAAEeAA==
Date: Wed, 7 Jan 2015 07:09:46 +0000
Message-ID: <A5E334D0-0D8C-4F12-B4CD-76CB8BD5B6FA@ericsson.com>
References: <CAC4RtVCcfkQqjRUHw-AcYxN=C_jkYztAivD7yYJ48bV2yz=0dQ@mail.gmail.com> <CAC4RtVA2ayF-d7X25hvF4=zyOL3oA5EHX1CWke7GqwJydfr==g@mail.gmail.com> <CAC4RtVCGMJX3h_JqRp=cwb+-qBAJQsL3An3NjKXNe5OBuxuWhg@mail.gmail.com>
In-Reply-To: <CAC4RtVCGMJX3h_JqRp=cwb+-qBAJQsL3An3NjKXNe5OBuxuWhg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [153.88.183.149]
Content-Type: multipart/signed; boundary="Apple-Mail=_CAE5EE5D-B1FF-49EA-A829-50452D60144D"; protocol="application/pkcs7-signature"; micalg=sha1
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprJIsWRmVeSWpSXmKPExsUyM+Jvje7u22tCDD4/1bQ4tPgSq8X7l9uY LLa9OszqwOzRsqqX2WPBplKPJUt+MgUwR3HZpKTmZJalFunbJXBlrG6/w1Swy6Viy1zBBsYe xy5GTg4JAROJxfPOMULYYhIX7q1n62Lk4hASOMIocWLHdmYIZyGjxMz/l9lAqtgEzCSeP9wC lODgEBEIktj5TBYkzCygLHH12AoWEFtYwEZi0eQmZhBbRMBW4v68B0wQ5U4Sp++lg4RZBFQk 7kxfDlbCK2AvceDAXCYQW0jgHqPE9X0BIDanQKDEldc3wEYyAt32/dQaJohV4hK3nsxngrhZ ROLhxdNsELaoxMvH/1ghbCWJtYe3s4CczywwhVFizclrLBDLBCVOznzCMoFRdBaSWbOQ1c1C UgdRpC2xbOFr5llAPzAL6EhMXsgIETaVeH30I5RtLTHj10E2CFtRYkr3Q/YFjByrGEWLU4uT ctONjPVSizKTi4vz8/TyUks2MQLj8uCW36o7GC+/cTzEKMDBqMTDa7BwTYgQa2JZcWXuIUZp DhYlcd6F5+YFCwmkJ5akZqemFqQWxReV5qQWH2Jk4uCUamBUfXzpxvZ9IWe+h2zS8fiU3hsx idMpbV6ejJ9Xz8+e6MNtvUVKF15lNkxOZvioO5P9o5+7UNH+2nivpVPPGhV8nTffnNWo/+f7 2gyJBQvnrdl9dJ1o+ARxud/OzdM07Dm2Jb7ll04xkphy/LADy53k12Ubbgnuf3fv1HWO8Cfb 7txbXd51OatOiaU4I9FQi7moOBEARz6AUqwCAAA=
Archived-At: http://mailarchive.ietf.org/arch/msg/hybi/YCWqA9Sxz54cvQY5u93LvDTsRgE
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] (Not yet) Closing the hybi working group
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jan 2015 07:09:53 -0000

--Apple-Mail=_CAE5EE5D-B1FF-49EA-A829-50452D60144D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Takeshi and I are working on some editorial changes=20
we aim to finalise everything by early next week

br
Salvatore

On Jan 7, 2015, at 8:05 AM, Barry Leiba <barryleiba@computer.org>
 wrote:

> One more try:  Salvatore, where are we on this?
>=20
> Barry
>=20
> On Sat, Dec 20, 2014 at 5:36 AM, Barry Leiba <barryleiba@computer.org> =
wrote:
>> Salvatore?
>>=20
>> On Tue, Nov 4, 2014 at 12:26 PM, Barry Leiba =
<barryleiba@computer.org> wrote:
>>> On Thu, Oct 16, 2014 at 2:21 PM, Salvatore Loreto
>>> <salvatore.loreto@ericsson.com> wrote:
>>>>=20
>>>> I will review the draft next-next week (starting October 27 after =
the IETF
>>>> submission deadline)
>>>> to check the status and evaluate its readiness for publication.
>>>>=20
>>>> I will work (via mail or phone) with Takeshi in case I find that =
some
>>>> editing still needs to be done.
>>>> I hope it works for Takeshi as well.
>>>=20
>>> Where are we on this?
>>>=20
>>> Barry


--Apple-Mail=_CAE5EE5D-B1FF-49EA-A829-50452D60144D
Content-Disposition: attachment; filename="smime.p7s"
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIISNjCCBX0w
ggRloAMCAQICEQDR4D5bSO3Hngk/QN7hYcOLMA0GCSqGSIb3DQEBBQUAMDkxCzAJBgNVBAYTAkZJ
MQ8wDQYDVQQKEwZTb25lcmExGTAXBgNVBAMTEFNvbmVyYSBDbGFzczIgQ0EwHhcNMDcxMDE4MTI1
MjAxWhcNMTkxMDE3MDUwNDExWjA3MRQwEgYDVQQKDAtUZWxpYVNvbmVyYTEfMB0GA1UEAwwWVGVs
aWFTb25lcmEgUm9vdCBDQSB2MTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAMK+6yfw
IaPzaSZVfp3FVRaRXP3vIb9TgHot0pGMYzHw7CTww6XScnwQbfQ3t+XmfHnqjLWCi65ItqwA3GV1
7CpNX8GH9SBlK4GoRz6JI5UwFpB/6FcHSOcZrr9FZ7E3GwYq/t75rH2D+1665I+XZ75Ljo1kB1c4
VWk0Nj0TSO9P4tNmHqTPGrdeNjPUtAa9GAH9d4RQAEX1jF3oI7x+/jXh7VB7qTCNGdMJjmhnXb88
lxhTuylixcpecsHHltTbLaC0H2kD7OriUPEMPPCs81Mt8Bz17Ww5OXOAFshSsCPN4D7c3TxHoLs1
iuKYaIu+5b9y7tL6pe0S7fyYGKkmdtwoSxAgHNN/Fnct7W+A90m7UwW7XWjH1Mh1Fj+JWov3F0fU
TPHSiXk+TT2YqGHeOh7S+F4D4MHJHIzTjU3TlTazN19jY5szFPAtJmtTfImMMsJu7D0hADnJoWji
UIMusDor8zagrC/kb2HCUQk5PotTubtn2txTuXZZNp1D5SDgPTJghSJRt8czu90VL6R4pgd7gUY2
BIbdeTXHlSw7sKMXNeVzH7RcWe/a6hBle3rQf5+ztCo3O3CLm1u5K7fsslESl1MpWtTwEhDcTwK7
EpIvYtQ/aUN8Ddb8WHUBiJ1YFkveupD/RwGJBmr2X7KQarMCpgKIv7NHfirZ1fpoeDVNAgMBAAGj
ggGAMIIBfDBOBggrBgEFBQcBAQRCMEAwPgYIKwYBBQUHMAKGMmh0dHA6Ly9jYS50cnVzdC50ZWxp
YXNvbmVyYS5jb20vc29uZXJhY2xhc3MyY2EuY2VyMA8GA1UdEwEB/wQFMAMBAf8wGQYDVR0gBBIw
EDAOBgwrBgEEAYIPAgMBAQIwDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTwj1k4ALP1j5qWDNXr
+nuqF+gTEjCBuQYDVR0fBIGxMIGuMG+gbaBrhmlsZGFwOi8vY3JsLTEudHJ1c3QudGVsaWFzb25l
cmEuY29tL2NuPVNvbmVyYSUyMENsYXNzMiUyMENBLG89U29uZXJhLGM9Rkk/Y2VydGlmaWNhdGVy
ZXZvY2F0aW9ubGlzdDtiaW5hcnkwO6A5oDeGNWh0dHA6Ly9jcmwtMi50cnVzdC50ZWxpYXNvbmVy
YS5jb20vc29uZXJhY2xhc3MyY2EuY3JsMBMGA1UdIwQMMAqACEqgqliE0148MA0GCSqGSIb3DQEB
BQUAA4IBAQB7L2bVGhb4q6FZUtsGVNbneHh+Q5OmrXeyTfAHxWAg90PVlDgAY0+cBk4oPxOL9ZVG
nhec070CdiGWHwrqqKER1uDC2H97BTr3jBzGl9mf/43MxbY7NJB9LHMONfDeF+V+8bMKziBdedr0
HocKuKtBbzbvChOkDOaAKZkqCVXEC4+x1AUwqx4++t6D3aSnC3+1CWt2+AXfXrIzjE6pAKqZcnJf
rI2mqIatmAtaXvW12I8TyZR+ERIMcOVGIa4MYfxxSpz0TSSz94DWfLK3DlKiXaxT+Tqok3yH1wZh
C+6q/11vPLL52cPWk2HciFDaylK2u3watcxmk8kaxNEt6K5zMIIF9zCCA9+gAwIBAgIQJ0lp3dor
Wxgq9FlRgcZjZzANBgkqhkiG9w0BAQUFADA6MREwDwYDVQQKDAhFcmljc3NvbjElMCMGA1UEAwwc
RXJpY3Nzb24gTkwgSW5kaXZpZHVhbCBDQSB2MjAeFw0xNDEyMDMwOTA1MjVaFw0xNzEyMDMwOTA1
MjRaMG4xETAPBgNVBAoMCEVyaWNzc29uMRkwFwYDVQQDDBBTYWx2YXRvcmUgTG9yZXRvMSwwKgYJ
KoZIhvcNAQkBFh1zYWx2YXRvcmUubG9yZXRvQGVyaWNzc29uLmNvbTEQMA4GA1UEBRMHdGVpbG9z
YTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAI2TwjL8WyfvKabcljazgAlArhNFKMxW
qRNRfz8X6A3pEa3mc14U7coF5hFYwCSjgkK3P+7jcbkdibjNxefyF0GS73ghXWtE8hSQ/rrK2gjX
O758ebrD7X4hUHAqwEOL0/BoTCpNO6SxNBidmhMyRf60nHPLubS+M2IMZgMsLdFP/KaPnYQgAf5C
aQ2q//UjDVFonyAySt5bF7vGCqu+on6b+noYWmxBJsRUVjHPm+GHrE0Go8PSQEXQCE/KhbDtwgoV
n9IeTJI2ysLa9saZO3FfUYejgzegOXcq07cAcb+wWe31lKSNRp0yMRoj78KvJlVSN8Q4lWSGFZ+0
P+tbW+cCAwEAAaOCAcMwggG/MEgGA1UdHwRBMD8wPaA7oDmGN2h0dHA6Ly9jcmwudHJ1c3QudGVs
aWEuY29tL2VyaWNzc29ubmxpbmRpdmlkdWFsY2F2Mi5jcmwwgYIGCCsGAQUFBwEBBHYwdDAoBggr
BgEFBQcwAYYcaHR0cDovL29jc3AyLnRydXN0LnRlbGlhLmNvbTBIBggrBgEFBQcwAoY8aHR0cDov
L2NhLnRydXN0LnRlbGlhc29uZXJhLmNvbS9lcmljc3Nvbm5saW5kaXZpZHVhbGNhdjIuY2VyMCgG
A1UdEQQhMB+BHXNhbHZhdG9yZS5sb3JldG9AZXJpY3Nzb24uY29tMFUGA1UdIAROMEwwSgYMKwYB
BAGCDwIDAQESMDowOAYIKwYBBQUHAgEWLGh0dHBzOi8vcmVwb3NpdG9yeS50cnVzdC50ZWxpYXNv
bmVyYS5jb20vQ1BTMB0GA1UdJQQWMBQGCCsGAQUFBwMEBggrBgEFBQcDAjAdBgNVHQ4EFgQUx1yD
CWQOOg82wL87joacNfMxn3wwHwYDVR0jBBgwFoAUsQ3K1Ea3r4YCwy9vBsoOdnF/SzcwDgYDVR0P
AQH/BAQDAgWgMA0GCSqGSIb3DQEBBQUAA4ICAQADoVxptsgW22Er7BM6ASs4CtFQla/A5ZMLloZK
szE2OgRuiOqJvqPZCHy/eDmCVw/3bctu7WAv823JmcdQlXcLiK9K37BdFSE4Iuzh/ANM6Icx+Q2n
HHUUURexot9IH0d4VZj4WuUMyHXFkdNwGzH3jS7U8GF+9aD+iBJn/hjuAhvRFmQns/4k3e8dKlvS
5tIBxB4cLdLbMV2sUxv4Z9XYsb4D3k1awv9/E6OwyJVhdtrwNVaJ/2Vp2zU/0EWhoraAdyZoFWJB
XOF/xYyVl84aK6Tx+NW7f537y5vRsq6+XaM+j91wKajxwWicJv3hx6ZfNtLpKbRuy/jnqIJIdQAp
SLt/4b4ZHHgilkVLjm3AJJDsE13RjpYYO6ssoWOo7kj73XsWtHiwnyhFCf+4oFjgLTlouzm6rtBu
nH5Xgt4EIyKKZsh5hd/GGzHWuv2JzLyrAxLNiPGXZ4e5tyhvBujRNw6husYYtDFUdSqfVhH9/a4W
JVmLLgEXw5Q8BSxxM487Hu7csCVX9BPXr+9DDdfHUr67rtzGBE0oGHKouA3lmxn/rngKQ/8CfDgk
71+v1xasa6XhMmh2oaYgZU2OmYyUzUc7NH5RANOMbxivU/UPT3WEsQeH39cllwK12a//BwAC1gnt
YtP0d0GVE7Q9hvOoO872TCQqzzdDfF6Z1csHWjCCBrYwggSeoAMCAQICEQCgDMvMm5mY7OI6cPR8
wcBZMA0GCSqGSIb3DQEBBQUAMDcxFDASBgNVBAoMC1RlbGlhU29uZXJhMR8wHQYDVQQDDBZUZWxp
YVNvbmVyYSBSb290IENBIHYxMB4XDTE0MDUyNzA3NDYyMVoXDTI0MDUyNzA3NDYyMVowOjERMA8G
A1UECgwIRXJpY3Nzb24xJTAjBgNVBAMMHEVyaWNzc29uIE5MIEluZGl2aWR1YWwgQ0EgdjIwggIi
MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDaulPrX0iWU5+JOOqjddx4Gnl17DJhklkoXOgO
SBMhW6FzGVt5RR7KPv+rjt2YpbwdoqWSYa4VPkS/72vuQoWsvz2avWWXhPTdNzrB3zs5cJO7sKIy
d+LRy4l/8kKK4iPm+Q18XyGF0xTuc5WS3WiMScJSxEKdIOP8xehBraHZabrGh9OxQHC4iBHkzD0Y
F3J/vBqBTr7blRzYf1h3j5a7qVIHCPfz+eCE175mResXDQRI7LvMiZtVaqitBl0oAJiJyeBmvEuj
BNsIEgUQ6JcQFG5ny0EazLywv7clwb7izvLgoXc6SFrd0D7TGJtkdldVJtMwDYXpyFMGAijT6uf8
h2kuPIwrDgQFNEyIQZ4q52ZpRGwugC6sMxgHEDGjA/CxX9aC5Vi1EMRJiOGF6gV3T+V5yHDHSBBe
QbVAXm8wSTDBfXQwdro/AXqET0mG6Rpe4q2FGBaauE8qHEO6qR3WAEgvjVfFU2k6xZx1qmvwhkXa
dxh6ZIMXzgb6WpjivLnR0GEKNrgN2DXdvo+6eAt45Bhvmeka2TrJDxMLWiBy8QYgNeNXYQsuREnD
sjWo6wF0LqbA5769om9nn/uJzmzxb3nT1iHue5co9J93ta06kxiASHvcIzZwAOjKnmk0vR3IT7Qb
zq2of3E1s18xo8DM9D91Cak0Nq+RALtdv1uZKQIDAQABo4IBuDCCAbQwgYoGCCsGAQUFBwEBBH4w
fDAtBggrBgEFBQcwAYYhaHR0cDovL29jc3AudHJ1c3QudGVsaWFzb25lcmEuY29tMEsGCCsGAQUF
BzAChj9odHRwOi8vcmVwb3NpdG9yeS50cnVzdC50ZWxpYXNvbmVyYS5jb20vdGVsaWFzb25lcmFy
b290Y2F2MS5jZXIwEgYDVR0TAQH/BAgwBgEB/wIBADBVBgNVHSAETjBMMEoGDCsGAQQBgg8CAwEB
AjA6MDgGCCsGAQUFBwIBFixodHRwczovL3JlcG9zaXRvcnkudHJ1c3QudGVsaWFzb25lcmEuY29t
L0NQUzBLBgNVHR8ERDBCMECgPqA8hjpodHRwOi8vY3JsLTMudHJ1c3QudGVsaWFzb25lcmEuY29t
L3RlbGlhc29uZXJhcm9vdGNhdjEuY3JsMB0GA1UdJQQWMBQGCCsGAQUFBwMCBggrBgEFBQcDBDAO
BgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFLENytRGt6+GAsMvbwbKDnZxf0s3MB8GA1UdIwQYMBaA
FPCPWTgAs/WPmpYM1ev6e6oX6BMSMA0GCSqGSIb3DQEBBQUAA4ICAQBuByBsr6x3PZBCsmGbcSZ/
XL+0tnVMblInoJgL1Bh3PiRicgdo8l+6cvWp/ArBwMYNwSNyrvY9IewyaV8n65c5oN+l2JDUuzrd
ANVKnYxha7ZyCEiPmY98sB2bnZgxfJLXQYoRwI7pOOwfyoP2fCYVCd+xhsfysYiIl4ORzE3Tpepp
Q2yWkyBBmoHUXJh97ue6+bJ2fqnVUoOVMVnYYEtvsz67v7w2z3fvdcy04/RnoylxSenxADi1tY9i
IydHMgyOu3dfzsxU8AivMGG4aKStsCfUEyg0LlkbhqMrdness3e1qAEueSRNASLfpFwyRmzmiuNh
9onzuhER2yYhK/6IeCs4HQHrPhkY8JUmhtmdL2uErOZWOs38FQhGWHWXI0g6SgdDObU0GEHju0Mk
DziOhm+BVwPZKN7B7wD7OPj6vlLVo6d8vLGK9bywhEfXjxLIC3Qhtu5lJPTgIo5Bup+aBBjiJ/u9
BfqryqZpudnWfG+wxC327rpNAq2OKdFsR92wbehSZD3mSSAemDVwGB2Yu0XHQYyyYfpWsGyGEyRS
HKFhRwJdINPzWLI89wy4Wc+PgqyekkEmJqe6g4XSQFj4mqtwvqhP4dg2QCcKM/bh62RwfM7GeSS/
LFGe84KmJjTDfvT8c2rK8nEyZ/emOtwCGXQ6tZCByMNLxeDwU1TGbTGCApYwggKSAgEBME4wOjER
MA8GA1UECgwIRXJpY3Nzb24xJTAjBgNVBAMMHEVyaWNzc29uIE5MIEluZGl2aWR1YWwgQ0EgdjIC
ECdJad3aK1sYKvRZUYHGY2cwCQYFKw4DAhoFAKCCAR0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEH
ATAcBgkqhkiG9w0BCQUxDxcNMTUwMTA3MDcwOTUxWjAjBgkqhkiG9w0BCQQxFgQUfo1aRgiy/scL
yHQnJxiJmSfihogwXQYJKwYBBAGCNxAEMVAwTjA6MREwDwYDVQQKDAhFcmljc3NvbjElMCMGA1UE
AwwcRXJpY3Nzb24gTkwgSW5kaXZpZHVhbCBDQSB2MgIQJ0lp3dorWxgq9FlRgcZjZzBfBgsqhkiG
9w0BCRACCzFQoE4wOjERMA8GA1UECgwIRXJpY3Nzb24xJTAjBgNVBAMMHEVyaWNzc29uIE5MIElu
ZGl2aWR1YWwgQ0EgdjICECdJad3aK1sYKvRZUYHGY2cwDQYJKoZIhvcNAQEBBQAEggEAKscp0G9F
VGxEXW7saCb+vvdoRvzO+MXuPBRT3O40EbnZygsrLH0F3SulFpJbTTAC6Fo9MSb6cxsNCZ9V1jYa
VskU2tiuhnpdDgKY9vzsRgeLU+fOt2lC+yNrqFY7dtu9B8/qpKa3QTsT0czliB8MuOJQo+k6F1SX
ZB8Na6JFFr4a9wi/4baJ2nFrqQivgT/j89iaOu6z7XqwdlTxKRj5feUc5w11wsATuxUSWlu/Ar92
6T2tnTkqFyQY7hsYyUpGH6u7HPGemfQFUYTAbKaI23hnmEbZUhtYvEUnx7rmH27khz//T9i1RH21
EaDQ8TklKpxS1QjD3QolAHDDEHGGmgAAAAAAAA==

--Apple-Mail=_CAE5EE5D-B1FF-49EA-A829-50452D60144D--


From nobody Fri Jan 16 00:34:09 2015
Return-Path: <tyoshino@google.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1F4921AC3AA for <hybi@ietfa.amsl.com>; Fri, 16 Jan 2015 00:34:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.388
X-Spam-Level: 
X-Spam-Status: No, score=-1.388 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, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 TEsOGyg6Km1B for <hybi@ietfa.amsl.com>; Fri, 16 Jan 2015 00:34:07 -0800 (PST)
Received: from mail-qa0-x22d.google.com (mail-qa0-x22d.google.com [IPv6:2607:f8b0:400d:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0C8A31A8982 for <hybi@ietf.org>; Fri, 16 Jan 2015 00:34:07 -0800 (PST)
Received: by mail-qa0-f45.google.com with SMTP id n8so14545947qaq.4 for <hybi@ietf.org>; Fri, 16 Jan 2015 00:34:06 -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=bdi4bG+sRMY7pwjwuLpUrfWsrPFLCcwrLfoSnnrsL8I=; b=gBsR+4OVG63fWXv75PWxCrfV0FCT5wPsUli6Nc+IO/ICweEFQk2U2YW+EX8xVi+ldl xZEAZoSfXg+8KdNP2/Jnx0z69ZSeU2OnwCflPWrJP/0oe/hg9xZkq565708HplaX0QLU 8JuukGWmuaHulQQdhd4uE3bfJ59pEXWxBaEGsIHhenRTxNP6M6DQ6ZDw+o2OGbYX2/N5 9k19mAvrqT+tk5qtnKReowovBBCmA6eySrVmmJXeVmp7Tka6LD4B0IJih9P72xzTNtNO NeiqrPiWUVbYLBZGiAXJwgIur2G3whJrEnJpyPw++753acLRrTnF6acgyKqGizW6kgc+ m+xg==
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=bdi4bG+sRMY7pwjwuLpUrfWsrPFLCcwrLfoSnnrsL8I=; b=UDjozFEMyeY9Z65x5KaQlSKsPNZn8c+ZzH14QGkAijJTqHE2VWSzpStzVmLTvGg60p h9fbVng4Hk32ben24JcEpi5NsMtIpc10MWZfaJ5LVd9HyrjXkXOD5iVOaYIDCCNKF2DG Aa4xmfDFxfu+WWR4th27DzRA2MC7L7GNcCegcCkt19WbVMfwpiYqOzuJPgacsMTHoSXp raLrBxzKH1ONrc3nNOy2SVD7QPjbg///VDY5a9OilXUnC2fnqGp0TYfhVTRe5YkJnw/A 2MI4A43IAKF4xEqqhwLxEw0xxRVDZSpqN1owy/nBvQu8pDSNz/g45beJeQ+w1OQvWFlO b58A==
X-Gm-Message-State: ALoCoQkI3K5B6itkX/CI9jJT/fjsmgXHhztNfP948pIynO6bq4XhgJtPHiffnqe+UoiDQ3C8Zu7E
X-Received: by 10.140.33.163 with SMTP id j32mr396371qgj.4.1421397246117; Fri, 16 Jan 2015 00:34:06 -0800 (PST)
MIME-Version: 1.0
Received: by 10.96.109.229 with HTTP; Fri, 16 Jan 2015 00:33:45 -0800 (PST)
In-Reply-To: <A5E334D0-0D8C-4F12-B4CD-76CB8BD5B6FA@ericsson.com>
References: <CAC4RtVCcfkQqjRUHw-AcYxN=C_jkYztAivD7yYJ48bV2yz=0dQ@mail.gmail.com> <CAC4RtVA2ayF-d7X25hvF4=zyOL3oA5EHX1CWke7GqwJydfr==g@mail.gmail.com> <CAC4RtVCGMJX3h_JqRp=cwb+-qBAJQsL3An3NjKXNe5OBuxuWhg@mail.gmail.com> <A5E334D0-0D8C-4F12-B4CD-76CB8BD5B6FA@ericsson.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Fri, 16 Jan 2015 17:33:45 +0900
Message-ID: <CAH9hSJahvUz5K5yHCKig0i_+imsW0FZLgNK4T6o9ujf6dOtBjQ@mail.gmail.com>
To: Salvatore Loreto <salvatore.loreto@ericsson.com>
Content-Type: multipart/alternative; boundary=001a1139bd08f0bb64050cc0d56d
Archived-At: <http://mailarchive.ietf.org/arch/msg/hybi/RG89iiVEBBBzbhtOss1uMrsre3c>
Cc: "hybi@ietf.org" <hybi@ietf.org>, Barry Leiba <barryleiba@computer.org>
Subject: Re: [hybi] (Not yet) Closing the hybi working group
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 16 Jan 2015 08:34:08 -0000

--001a1139bd08f0bb64050cc0d56d
Content-Type: text/plain; charset=UTF-8

This is ongoing. I'm applying Sal's suggestions. Sorry for delay.


On Wed, Jan 7, 2015 at 4:09 PM, Salvatore Loreto <
salvatore.loreto@ericsson.com> wrote:

> Takeshi and I are working on some editorial changes
> we aim to finalise everything by early next week
>
> br
> Salvatore
>
> On Jan 7, 2015, at 8:05 AM, Barry Leiba <barryleiba@computer.org>
>  wrote:
>
> > One more try:  Salvatore, where are we on this?
> >
> > Barry
> >
> > On Sat, Dec 20, 2014 at 5:36 AM, Barry Leiba <barryleiba@computer.org>
> wrote:
> >> Salvatore?
> >>
> >> On Tue, Nov 4, 2014 at 12:26 PM, Barry Leiba <barryleiba@computer.org>
> wrote:
> >>> On Thu, Oct 16, 2014 at 2:21 PM, Salvatore Loreto
> >>> <salvatore.loreto@ericsson.com> wrote:
> >>>>
> >>>> I will review the draft next-next week (starting October 27 after the
> IETF
> >>>> submission deadline)
> >>>> to check the status and evaluate its readiness for publication.
> >>>>
> >>>> I will work (via mail or phone) with Takeshi in case I find that some
> >>>> editing still needs to be done.
> >>>> I hope it works for Takeshi as well.
> >>>
> >>> Where are we on this?
> >>>
> >>> Barry
>
>

--001a1139bd08f0bb64050cc0d56d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">This is ongoing. I&#39;m applying Sal&#39;s suggestions. S=
orry for delay.<div class=3D"gmail_extra"><br>
<br><div class=3D"gmail_quote">On Wed, Jan 7, 2015 at 4:09 PM, Salvatore Lo=
reto <span dir=3D"ltr">&lt;<a href=3D"mailto:salvatore.loreto@ericsson.com"=
 target=3D"_blank">salvatore.loreto@ericsson.com</a>&gt;</span> wrote:<br><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex">Takeshi and I are working on some editorial c=
hanges<br>
we aim to finalise everything by early next week<br>
<br>
br<br>
Salvatore<br>
<br>
On Jan 7, 2015, at 8:05 AM, Barry Leiba &lt;<a href=3D"mailto:barryleiba@co=
mputer.org">barryleiba@computer.org</a>&gt;<br>
<div class=3D"HOEnZb"><div class=3D"h5">=C2=A0wrote:<br>
<br>
&gt; One more try:=C2=A0 Salvatore, where are we on this?<br>
&gt;<br>
&gt; Barry<br>
&gt;<br>
&gt; On Sat, Dec 20, 2014 at 5:36 AM, Barry Leiba &lt;<a href=3D"mailto:bar=
ryleiba@computer.org">barryleiba@computer.org</a>&gt; wrote:<br>
&gt;&gt; Salvatore?<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Nov 4, 2014 at 12:26 PM, Barry Leiba &lt;<a href=3D"mailto=
:barryleiba@computer.org">barryleiba@computer.org</a>&gt; wrote:<br>
&gt;&gt;&gt; On Thu, Oct 16, 2014 at 2:21 PM, Salvatore Loreto<br>
&gt;&gt;&gt; &lt;<a href=3D"mailto:salvatore.loreto@ericsson.com">salvatore=
.loreto@ericsson.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I will review the draft next-next week (starting October 2=
7 after the IETF<br>
&gt;&gt;&gt;&gt; submission deadline)<br>
&gt;&gt;&gt;&gt; to check the status and evaluate its readiness for publica=
tion.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I will work (via mail or phone) with Takeshi in case I fin=
d that some<br>
&gt;&gt;&gt;&gt; editing still needs to be done.<br>
&gt;&gt;&gt;&gt; I hope it works for Takeshi as well.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Where are we on this?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Barry<br>
<br>
</div></div></blockquote></div><br></div></div>

--001a1139bd08f0bb64050cc0d56d--


From nobody Fri Jan 16 00:42:43 2015
Return-Path: <tyoshino@google.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 638F31AC3AC for <hybi@ietfa.amsl.com>; Fri, 16 Jan 2015 00:42:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.388
X-Spam-Level: 
X-Spam-Status: No, score=-1.388 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, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 8adnbRatLZRt for <hybi@ietfa.amsl.com>; Fri, 16 Jan 2015 00:42:40 -0800 (PST)
Received: from mail-qc0-x236.google.com (mail-qc0-x236.google.com [IPv6:2607:f8b0:400d:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 679E41AC3AA for <hybi@ietf.org>; Fri, 16 Jan 2015 00:42:40 -0800 (PST)
Received: by mail-qc0-f182.google.com with SMTP id l6so12010643qcy.13 for <hybi@ietf.org>; Fri, 16 Jan 2015 00:42:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=VrgF1QkYtD3HAtI43saYaZLvB2Ybftsz6Z/AjE4p5fs=; b=mquxjPP2q7kd75uLi2uwQ42bN40qHrpCBqTYMIwh+atZC+XahtnLS7jdzAwYtGTRbS DDqPDtb30mk6YvKQpd/4bBg9D5yE5YOQNJQhRxClHdLGjSIxfpAsycwIpKvvn2e3C5gK JxCEgvlczbGBjK7QkItIBhkdzoB7XYyEiMF5lNXQhc8QcwIuklSb4HFBkJTwCUljNlZ8 D1YMyM3K5PIjjAvHq5un8GCaWa5a1YQBcpT7K//MrWus2v7p0PhMtJIwoh18JdNrg+KY Bsah/xwwX+TSyyEUiJjwJ/AZ7vdA7+fKR13X5jEaOOpYxk+u9C/d3iT2bxXHx0dXgv4W XirQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=VrgF1QkYtD3HAtI43saYaZLvB2Ybftsz6Z/AjE4p5fs=; b=LDvhirXybaqBwRKADB+lxS0qU6uGf42zH+SZDnA84iUNk+SI2XqTOaY9vAatDeDSfk MMlzGhSU+0pYhvXkeqfXaBI2xAxysRTuleXxAGlnP4F25v6V9WmAvaRAzH0F/QDuk2P4 3myaprtgW1QmnHeLbM8L9GN6brptjNa+ZWLTYrGaeYtq6esJGINw5Ttlaa8qVAdh7dMK gOXxgS0MmXs/Uqxk9PzM0PePrrPe1Nx/WA5d2+cRO16VuDgPhZlvVXXGEIq8X7wVxpTJ sLe1nPQ1zbquTNxW9rP0UKkk7E88g6fF9waaoBMNrePBenmoUfORBpqGhjVi5+c4WVgb 5kJA==
X-Gm-Message-State: ALoCoQkUvzAkwYrK3f1YcYce3JuZAZhNJGHhDJxgRtcyg4kjXjUORSB5vChMp/pya/DLewUfCuE5
X-Received: by 10.229.192.5 with SMTP id do5mr23386576qcb.12.1421397759522; Fri, 16 Jan 2015 00:42:39 -0800 (PST)
MIME-Version: 1.0
Received: by 10.96.109.229 with HTTP; Fri, 16 Jan 2015 00:42:19 -0800 (PST)
From: Takeshi Yoshino <tyoshino@google.com>
Date: Fri, 16 Jan 2015 17:42:19 +0900
Message-ID: <CAH9hSJZjM1K7BKDcZCqriFZ-5uUBNJERtLEb5mH9PzG+DHnpQg@mail.gmail.com>
To: "hybi@ietf.org" <hybi@ietf.org>
Content-Type: multipart/alternative; boundary=001a11337bfc8aa3fd050cc0f45e
Archived-At: <http://mailarchive.ietf.org/arch/msg/hybi/YnXi4j6cJhwuP5HEZ0Y3hKCONv8>
Subject: [hybi] Informal survey: "Non Request-Response Communication over the Web, and What's Missing"
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 16 Jan 2015 08:42:41 -0000

--001a11337bfc8aa3fd050cc0f45e
Content-Type: text/plain; charset=UTF-8

Hi all,

I and Wenbo did an informal survey of protocol gaps. We hope this would
help moving forward the discussions about protocol/API design to some
extent.

https://github.com/bidiweb/bidiweb-semantics/blob/master/SurveyOfProtocolGaps.md

--001a11337bfc8aa3fd050cc0f45e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi all,</div><div><br></div><div>I and Wenbo did an i=
nformal survey of protocol gaps. We hope this would help moving forward the=
 discussions about protocol/API design to some extent.</div><div><br></div>=
<a href=3D"https://github.com/bidiweb/bidiweb-semantics/blob/master/SurveyO=
fProtocolGaps.md">https://github.com/bidiweb/bidiweb-semantics/blob/master/=
SurveyOfProtocolGaps.md</a><br>
<div><br></div></div>

--001a11337bfc8aa3fd050cc0f45e--


From nobody Fri Jan 16 04:49:56 2015
Return-Path: <joakim@intalio.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 884931ACDBA for <hybi@ietfa.amsl.com>; Fri, 16 Jan 2015 04:49:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 o_1RiOW473wO for <hybi@ietfa.amsl.com>; Fri, 16 Jan 2015 04:49:52 -0800 (PST)
Received: from mail-ie0-f177.google.com (mail-ie0-f177.google.com [209.85.223.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D46311ACD84 for <hybi@ietf.org>; Fri, 16 Jan 2015 04:49:51 -0800 (PST)
Received: by mail-ie0-f177.google.com with SMTP id rd18so20392038iec.8 for <hybi@ietf.org>; Fri, 16 Jan 2015 04:49:51 -0800 (PST)
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:date :message-id:subject:from:to:cc:content-type; bh=CES0TGvQOgWze9MhoumzmKQHHHm8Mt4Yn8Ag8nXghbU=; b=gsG9n0/BAJ42Ffyaa3U+GJWy14WeWEe9rSXHQ894JFwEEsxPVJLUCWXZVFABNF9T62 5KIT66NPiNyggPk2ZYATGW7kDi5IJuS9W6i7uwFrWPbj4ystHu2K50ZEfFn8HHX8G9e5 kwcXUIpQffAjJ5XglY8xP4+QOSFYsEL7/gOwG7yuRDSFj2Wtf2FRbQc86+ABwPhSjA7W 3tq1jecc/K/3/niFobjD19xSntmDP90TJ8Plk3UHC1hqF970HsbXvFfwTrHxFQ4ucBo6 0esZ2MPS6gRbkIsMZO8lUudiVY9G/Lq+nh0Oy89sT9SF+bQ9/QL9hUeCdUlu/Hne1aWw Aktw==
X-Gm-Message-State: ALoCoQnV8INrgGBEYDmxllAx/cZ9vRlFTU9gKXxZB+aJnQ4oAB1dv5cLVzlW3ONpUxX2BXVEoLou
MIME-Version: 1.0
X-Received: by 10.107.149.13 with SMTP id x13mr15705902iod.35.1421412590964; Fri, 16 Jan 2015 04:49:50 -0800 (PST)
Received: by 10.107.53.89 with HTTP; Fri, 16 Jan 2015 04:49:50 -0800 (PST)
In-Reply-To: <CAH9hSJZjM1K7BKDcZCqriFZ-5uUBNJERtLEb5mH9PzG+DHnpQg@mail.gmail.com>
References: <CAH9hSJZjM1K7BKDcZCqriFZ-5uUBNJERtLEb5mH9PzG+DHnpQg@mail.gmail.com>
Date: Fri, 16 Jan 2015 05:49:50 -0700
Message-ID: <CAG4zZZB195+rdEjG3nei0cge9w9wLQeO-4yHxG329JbW8Qs12w@mail.gmail.com>
From: Joakim Erdfelt <joakim@intalio.com>
To: Takeshi Yoshino <tyoshino@google.com>
Content-Type: multipart/alternative; boundary=001a1140fd5090700c050cc46820
Archived-At: <http://mailarchive.ietf.org/arch/msg/hybi/wwPIZykjv_IXpHYVuAeYtWGZFVI>
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Informal survey: "Non Request-Response Communication over the Web, and What's Missing"
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 16 Jan 2015 12:49:54 -0000

--001a1140fd5090700c050cc46820
Content-Type: text/plain; charset=UTF-8

Some commentary ...

Be careful with "reliable data delivery".
This has many different meanings to different people.

Bayeux and Cometd (for example) have acknowledgement extensions
specifically for unreliable data networks (mobile) that allow the server or
client to know if the opposite side has received the complete message or
not.

This level of reliable message delivery could probably exist as a WebSocket
extension. a message-ack extension with exposure at the various WebSocket
APIs.

WebSocket Gaps:

1. Half-Closed

half-closed connections are currently supported by the WebSocket protocol
spec.
and many existing implementations do it correctly today (thanks autobahn!)
several libraries already rely on this behavior (bayeux, cometd)

however, other layers, apis, and non-websocket bugs can cause problems here.
eg: its impossible with Android 5.x to do half-closed via SSL, on any
protocol, mostly due to many horrid bugs in their SSLEngine.

2. Flow-Control

For standard http/1.1 (not http/2) this is handled at the tcp/ip level.
For http/2 this is handled by its flow-control parts of that spec.
What else do you mean here?
Is this section about how to expose this on the Javascript WebSocket API?

3. Message-level metadata

Let this be part of an application specific protocol layer, or an extension
handling it (with Javascript WebSocket API changes to expose extension
manipulation. see below)
Note: This is quite a passionate topic on the ietf-http-wg mailing list
also, with more people against it than for it.

4. Keep-Alive

Most existing applications are happy with a combination of tcp/ip
keep-alive and websocket ping/pong so far.
With http/2 there's other keep-alive strategies.
Is is really a WebSocket protocol gap?
Or just another Javascript WebSocket API gap?

5. Multiplexing and session priority

One concern with the common response: WebSocket over HTTP/2 will address
this.
It seems that the folks running the http2 spec track (ietf-http-wg) have
punted and want hybi to define it, and the folks here at hybi seem to think
that the ietf-http-wg folks will define it.  Have there been some
discussion between these 2 groups yet? (even offline / face to face?)

The Layering Concern:

Don't forget, the websocket extensions are a layer too.

Other thoughts:

If this is an effort to get baseline of effort for the Javascript WebSocket
in the browser, then you also have the following often asked questions ...

* Handling authentication / authorization credentials.  submitting them,
and getting reasonable error messages out of the API for when problems
occur.
* Controlling extensions, both at the initial handshake, and ongoing in the
write/send apis (think compress / dont compress flags as a real world
usecase for today)
* Better error messages when use of the API results in failure to
open/connect due to violation of WebSocket spec rules



--
Joakim Erdfelt <joakim@intalio.com>
webtide.com <http://www.webtide.com/> - intalio.com/jetty
Expert advice, services and support from from the Jetty & CometD experts
eclipse.org/jetty - cometd.org

On Fri, Jan 16, 2015 at 1:42 AM, Takeshi Yoshino <tyoshino@google.com>
wrote:

> Hi all,
>
> I and Wenbo did an informal survey of protocol gaps. We hope this would
> help moving forward the discussions about protocol/API design to some
> extent.
>
>
> https://github.com/bidiweb/bidiweb-semantics/blob/master/SurveyOfProtocolGaps.md
>
>
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>
>

--001a1140fd5090700c050cc46820
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Some commentary ...</div><div><br></div><div>Be caref=
ul with &quot;reliable data delivery&quot;.</div><div>This has many differe=
nt meanings to different people.</div><div><br></div><div>Bayeux and Cometd=
 (for example) have acknowledgement extensions specifically for unreliable =
data networks (mobile) that allow the server or client to know if the oppos=
ite side has received the complete message or not.</div><div><br></div><div=
>This level of reliable message delivery could probably exist as a WebSocke=
t extension. a message-ack extension with exposure at the various WebSocket=
 APIs.</div><div><br></div>WebSocket Gaps:<div><br></div><div>1. Half-Close=
d</div><div><br></div><div>half-closed connections are currently supported =
by the WebSocket protocol spec.</div><div>and many existing implementations=
 do it correctly today (thanks autobahn!)</div><div>several libraries alrea=
dy rely on this behavior (bayeux, cometd)</div><div><br></div><div>however,=
 other layers, apis, and non-websocket bugs can cause problems here.</div><=
div>eg:=C2=A0its impossible with Android 5.x to do half-closed via SSL, on =
any protocol, mostly due to many horrid bugs in their SSLEngine.</div><div>=
<br></div><div>2. Flow-Control</div><div><br></div><div>For standard http/1=
.1 (not http/2) this is handled at the tcp/ip level.</div><div>For http/2 t=
his is handled by its flow-control parts of that spec.</div><div>What else =
do you mean here? =C2=A0</div><div>Is this section about how to expose this=
 on the Javascript WebSocket API?</div><div><br></div><div>3.=C2=A0Message-=
level metadata</div><div><br></div><div>Let this be part of an application =
specific protocol layer, or an extension handling it (with Javascript WebSo=
cket API changes to expose extension manipulation. see below)</div><div>Not=
e: This is quite a passionate topic on the ietf-http-wg mailing list also, =
with more people against it than for it.</div><div><br></div><div>4. Keep-A=
live</div><div><br></div><div>Most existing applications are happy with a c=
ombination of tcp/ip keep-alive and websocket ping/pong so far.</div><div>W=
ith http/2 there&#39;s other keep-alive strategies.</div><div>Is is really =
a WebSocket protocol gap?</div><div>Or just another Javascript WebSocket AP=
I gap?</div><div><br></div><div>5. Multiplexing and session priority</div><=
div><br></div><div>One concern with the common response: WebSocket over HTT=
P/2 will address this.</div><div>It seems that the folks running the http2 =
spec track (ietf-http-wg) have punted and want hybi to define it, and the f=
olks here at hybi seem to think that the ietf-http-wg folks will define it.=
=C2=A0 Have there been some discussion between these 2 groups yet? (even of=
fline / face to face?)</div><div><br></div><div>The Layering Concern:</div>=
<div><br></div><div>Don&#39;t forget, the websocket extensions are a layer =
too.</div><div><br></div><div>Other thoughts:</div><div><br></div><div>If t=
his is an effort to get baseline of effort for the Javascript WebSocket in =
the browser, then you also have the following often asked questions ...</di=
v><div><br></div><div>* Handling authentication / authorization credentials=
. =C2=A0submitting them, and getting reasonable error messages out of the A=
PI for when problems occur.</div><div>* Controlling extensions, both at the=
 initial handshake, and ongoing in the write/send apis (think compress / do=
nt compress flags as a real world usecase for today)</div><div>* Better err=
or messages when use of the API results in failure to open/connect due to v=
iolation of WebSocket spec rules</div><div><br></div><div><br></div></div><=
div class=3D"gmail_extra"><br clear=3D"all"><div><div class=3D"gmail_signat=
ure"><div dir=3D"ltr"><div>--</div><div>Joakim Erdfelt &lt;<a href=3D"mailt=
o:joakim@intalio.com" target=3D"_blank">joakim@intalio.com</a>&gt;</div><di=
v><a href=3D"http://www.webtide.com/" target=3D"_blank">webtide.com</a>=C2=
=A0- <a href=3D"http://intalio.com/jetty" target=3D"_blank">intalio.com/jet=
ty</a></div><div><span>Expert advice, services and support from=C2=A0</span=
><span>from the Jetty &amp; CometD experts</span></div><div><a href=3D"http=
://eclipse.org/jetty/" target=3D"_blank">eclipse.org/jetty</a>=C2=A0-=C2=A0=
<a href=3D"http://cometd.org/" target=3D"_blank">cometd.org</a></div></div>=
</div></div>
<br><div class=3D"gmail_quote">On Fri, Jan 16, 2015 at 1:42 AM, Takeshi Yos=
hino <span dir=3D"ltr">&lt;<a href=3D"mailto:tyoshino@google.com" target=3D=
"_blank">tyoshino@google.com</a>&gt;</span> wrote:<br><blockquote class=3D"=
gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-=
left:1ex"><div dir=3D"ltr"><div>Hi all,</div><div><br></div><div>I and Wenb=
o did an informal survey of protocol gaps. We hope this would help moving f=
orward the discussions about protocol/API design to some extent.</div><div>=
<br></div><a href=3D"https://github.com/bidiweb/bidiweb-semantics/blob/mast=
er/SurveyOfProtocolGaps.md" target=3D"_blank">https://github.com/bidiweb/bi=
diweb-semantics/blob/master/SurveyOfProtocolGaps.md</a><br>
<div><br></div></div>
<br>_______________________________________________<br>
hybi mailing list<br>
<a href=3D"mailto:hybi@ietf.org">hybi@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/hybi" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/hybi</a><br>
<br></blockquote></div><br></div>

--001a1140fd5090700c050cc46820--


From nobody Fri Jan 16 10:19:05 2015
Return-Path: <fenix@google.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D1F4A1AD0F0 for <hybi@ietfa.amsl.com>; Fri, 16 Jan 2015 10:18:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.388
X-Spam-Level: 
X-Spam-Status: No, score=-1.388 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, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 TDD60lLnVKaa for <hybi@ietfa.amsl.com>; Fri, 16 Jan 2015 10:18:56 -0800 (PST)
Received: from mail-vc0-x22a.google.com (mail-vc0-x22a.google.com [IPv6:2607:f8b0:400c:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 246BF1AD1F5 for <hybi@ietf.org>; Fri, 16 Jan 2015 10:18:56 -0800 (PST)
Received: by mail-vc0-f170.google.com with SMTP id hy4so7217041vcb.1 for <hybi@ietf.org>; Fri, 16 Jan 2015 10:18:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=q32/a/FtDBatW+DRHcxg0QS+cHKnK5y/WaF8VSBksZE=; b=cHoXVjO1ZLYUF2bGyOF/So0SqLZCcjiVf02dMYW/kYAZM/cvwyrD6/XULYj3yCM6OH DQarpUAtr1Cmv+U3aTXclgD7FWUdzgYcRN9q4wO5L6sXbB5tzdqm+VvHVNZawLiCgPKn hcst6Ya25snmVHFQ0oHl5wi9cCU+SuODTN8Sv20GtLSGmlqRlGerjourPCkb+XtIYGnA nyzvks8VgSokX/ctOrCVd6P4Wcwj7d59FkLuERJ6wmlBAPCGeK39oIiSLWHlE3l4QLL8 3R64uneZfMFAZWv0FFzCU86xeIlejn9Zav0pKz4nwgf3HkfXXiSDl6pqVRvpxPEkmXkN Dt1Q==
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:date :message-id:subject:from:to:cc:content-type; bh=q32/a/FtDBatW+DRHcxg0QS+cHKnK5y/WaF8VSBksZE=; b=exufrU8LQlp6GWeTfCETvQy60WTnx145R91KV/xS9A+6+mt1xH5tULBMO4NvVa3WfQ t57WWBJI9KhN2eoLnqtK1IJYu6OtlFFEr4dMwo3P/0tz+zmHK6P2fxx2wt9bCRPkxrAn lSdkyKTHl4x4PbyYBBv/lSBtMOZ4em4ROXXm28qoREFYBJOrFBMhj10oZEaWR1Y0kTsE V+LNu26q1Ez4dIuc96SSTU95aP27GKKWMKwoQE63iPAY3jRU9MIkfKxT+brfaAPxacVu 2aMUYjDGnbzKqpaqxQgCNdBPM53jPAuprlS7J0cvN1q912TbYTxqyQM2EA2l3q9/hMlE 1XoA==
X-Gm-Message-State: ALoCoQkpfRnjYk1arGgZe/Zw37+NJ/ryljiaSWs/p8M6Q0226sS+fp2Qh1rzHXDyzlTr0mx6tP9y
MIME-Version: 1.0
X-Received: by 10.220.175.72 with SMTP id w8mr8264107vcz.70.1421432335121; Fri, 16 Jan 2015 10:18:55 -0800 (PST)
Received: by 10.52.5.170 with HTTP; Fri, 16 Jan 2015 10:18:55 -0800 (PST)
In-Reply-To: <CAG4zZZB195+rdEjG3nei0cge9w9wLQeO-4yHxG329JbW8Qs12w@mail.gmail.com>
References: <CAH9hSJZjM1K7BKDcZCqriFZ-5uUBNJERtLEb5mH9PzG+DHnpQg@mail.gmail.com> <CAG4zZZB195+rdEjG3nei0cge9w9wLQeO-4yHxG329JbW8Qs12w@mail.gmail.com>
Date: Fri, 16 Jan 2015 10:18:55 -0800
Message-ID: <CAGzyod6=q7bzFz3WPSREYwda-Pj=THCfLbL-5Z12VZ+cHTW=dg@mail.gmail.com>
From: Roberto Peon <fenix@google.com>
To: Joakim Erdfelt <joakim@intalio.com>
Content-Type: multipart/alternative; boundary=047d7b3a920c685ba8050cc90196
Archived-At: <http://mailarchive.ietf.org/arch/msg/hybi/4w-Wgo-JiqIfEkmOC_n5Adpm46E>
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Informal survey: "Non Request-Response Communication over the Web, and What's Missing"
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 16 Jan 2015 18:18:59 -0000

--047d7b3a920c685ba8050cc90196
Content-Type: text/plain; charset=UTF-8

My impression is that we need working code before we worry about the spec.
I hadn't been able to make that happen in my time, and as a result it
didn't get into the HTTP2 spec.

-=R

On Fri, Jan 16, 2015 at 4:49 AM, Joakim Erdfelt <joakim@intalio.com> wrote:

> Some commentary ...
>
> Be careful with "reliable data delivery".
> This has many different meanings to different people.
>
> Bayeux and Cometd (for example) have acknowledgement extensions
> specifically for unreliable data networks (mobile) that allow the server or
> client to know if the opposite side has received the complete message or
> not.
>
> This level of reliable message delivery could probably exist as a
> WebSocket extension. a message-ack extension with exposure at the various
> WebSocket APIs.
>
> WebSocket Gaps:
>
> 1. Half-Closed
>
> half-closed connections are currently supported by the WebSocket protocol
> spec.
> and many existing implementations do it correctly today (thanks autobahn!)
> several libraries already rely on this behavior (bayeux, cometd)
>
> however, other layers, apis, and non-websocket bugs can cause problems
> here.
> eg: its impossible with Android 5.x to do half-closed via SSL, on any
> protocol, mostly due to many horrid bugs in their SSLEngine.
>
> 2. Flow-Control
>
> For standard http/1.1 (not http/2) this is handled at the tcp/ip level.
> For http/2 this is handled by its flow-control parts of that spec.
> What else do you mean here?
> Is this section about how to expose this on the Javascript WebSocket API?
>
> 3. Message-level metadata
>
> Let this be part of an application specific protocol layer, or an
> extension handling it (with Javascript WebSocket API changes to expose
> extension manipulation. see below)
> Note: This is quite a passionate topic on the ietf-http-wg mailing list
> also, with more people against it than for it.
>
> 4. Keep-Alive
>
> Most existing applications are happy with a combination of tcp/ip
> keep-alive and websocket ping/pong so far.
> With http/2 there's other keep-alive strategies.
> Is is really a WebSocket protocol gap?
> Or just another Javascript WebSocket API gap?
>
> 5. Multiplexing and session priority
>
> One concern with the common response: WebSocket over HTTP/2 will address
> this.
> It seems that the folks running the http2 spec track (ietf-http-wg) have
> punted and want hybi to define it, and the folks here at hybi seem to think
> that the ietf-http-wg folks will define it.  Have there been some
> discussion between these 2 groups yet? (even offline / face to face?)
>
> The Layering Concern:
>
> Don't forget, the websocket extensions are a layer too.
>
> Other thoughts:
>
> If this is an effort to get baseline of effort for the Javascript
> WebSocket in the browser, then you also have the following often asked
> questions ...
>
> * Handling authentication / authorization credentials.  submitting them,
> and getting reasonable error messages out of the API for when problems
> occur.
> * Controlling extensions, both at the initial handshake, and ongoing in
> the write/send apis (think compress / dont compress flags as a real world
> usecase for today)
> * Better error messages when use of the API results in failure to
> open/connect due to violation of WebSocket spec rules
>
>
>
> --
> Joakim Erdfelt <joakim@intalio.com>
> webtide.com <http://www.webtide.com/> - intalio.com/jetty
> Expert advice, services and support from from the Jetty & CometD experts
> eclipse.org/jetty - cometd.org
>
> On Fri, Jan 16, 2015 at 1:42 AM, Takeshi Yoshino <tyoshino@google.com>
> wrote:
>
>> Hi all,
>>
>> I and Wenbo did an informal survey of protocol gaps. We hope this would
>> help moving forward the discussions about protocol/API design to some
>> extent.
>>
>>
>> https://github.com/bidiweb/bidiweb-semantics/blob/master/SurveyOfProtocolGaps.md
>>
>>
>> _______________________________________________
>> hybi mailing list
>> hybi@ietf.org
>> https://www.ietf.org/mailman/listinfo/hybi
>>
>>
>
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>
>

--047d7b3a920c685ba8050cc90196
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">My impression is that we need working code before we worry=
 about the spec. I hadn&#39;t been able to make that happen in my time, and=
 as a result it didn&#39;t get into the HTTP2 spec.<div><br></div><div>-=3D=
R</div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On F=
ri, Jan 16, 2015 at 4:49 AM, Joakim Erdfelt <span dir=3D"ltr">&lt;<a href=
=3D"mailto:joakim@intalio.com" target=3D"_blank">joakim@intalio.com</a>&gt;=
</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .=
8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div>Some=
 commentary ...</div><div><br></div><div>Be careful with &quot;reliable dat=
a delivery&quot;.</div><div>This has many different meanings to different p=
eople.</div><div><br></div><div>Bayeux and Cometd (for example) have acknow=
ledgement extensions specifically for unreliable data networks (mobile) tha=
t allow the server or client to know if the opposite side has received the =
complete message or not.</div><div><br></div><div>This level of reliable me=
ssage delivery could probably exist as a WebSocket extension. a message-ack=
 extension with exposure at the various WebSocket APIs.</div><div><br></div=
>WebSocket Gaps:<div><br></div><div>1. Half-Closed</div><div><br></div><div=
>half-closed connections are currently supported by the WebSocket protocol =
spec.</div><div>and many existing implementations do it correctly today (th=
anks autobahn!)</div><div>several libraries already rely on this behavior (=
bayeux, cometd)</div><div><br></div><div>however, other layers, apis, and n=
on-websocket bugs can cause problems here.</div><div>eg:=C2=A0its impossibl=
e with Android 5.x to do half-closed via SSL, on any protocol, mostly due t=
o many horrid bugs in their SSLEngine.</div><div><br></div><div>2. Flow-Con=
trol</div><div><br></div><div>For standard http/1.1 (not http/2) this is ha=
ndled at the tcp/ip level.</div><div>For http/2 this is handled by its flow=
-control parts of that spec.</div><div>What else do you mean here? =C2=A0</=
div><div>Is this section about how to expose this on the Javascript WebSock=
et API?</div><div><br></div><div>3.=C2=A0Message-level metadata</div><div><=
br></div><div>Let this be part of an application specific protocol layer, o=
r an extension handling it (with Javascript WebSocket API changes to expose=
 extension manipulation. see below)</div><div>Note: This is quite a passion=
ate topic on the ietf-http-wg mailing list also, with more people against i=
t than for it.</div><div><br></div><div>4. Keep-Alive</div><div><br></div><=
div>Most existing applications are happy with a combination of tcp/ip keep-=
alive and websocket ping/pong so far.</div><div>With http/2 there&#39;s oth=
er keep-alive strategies.</div><div>Is is really a WebSocket protocol gap?<=
/div><div>Or just another Javascript WebSocket API gap?</div><div><br></div=
><div>5. Multiplexing and session priority</div><div><br></div><div>One con=
cern with the common response: WebSocket over HTTP/2 will address this.</di=
v><div>It seems that the folks running the http2 spec track (ietf-http-wg) =
have punted and want hybi to define it, and the folks here at hybi seem to =
think that the ietf-http-wg folks will define it.=C2=A0 Have there been som=
e discussion between these 2 groups yet? (even offline / face to face?)</di=
v><div><br></div><div>The Layering Concern:</div><div><br></div><div>Don&#3=
9;t forget, the websocket extensions are a layer too.</div><div><br></div><=
div>Other thoughts:</div><div><br></div><div>If this is an effort to get ba=
seline of effort for the Javascript WebSocket in the browser, then you also=
 have the following often asked questions ...</div><div><br></div><div>* Ha=
ndling authentication / authorization credentials. =C2=A0submitting them, a=
nd getting reasonable error messages out of the API for when problems occur=
.</div><div>* Controlling extensions, both at the initial handshake, and on=
going in the write/send apis (think compress / dont compress flags as a rea=
l world usecase for today)</div><div>* Better error messages when use of th=
e API results in failure to open/connect due to violation of WebSocket spec=
 rules</div><div><br></div><div><br></div></div><div class=3D"gmail_extra">=
<br clear=3D"all"><div><div><div dir=3D"ltr"><div>--</div><div>Joakim Erdfe=
lt &lt;<a href=3D"mailto:joakim@intalio.com" target=3D"_blank">joakim@intal=
io.com</a>&gt;</div><div><a href=3D"http://www.webtide.com/" target=3D"_bla=
nk">webtide.com</a>=C2=A0- <a href=3D"http://intalio.com/jetty" target=3D"_=
blank">intalio.com/jetty</a></div><div><span>Expert advice, services and su=
pport from=C2=A0</span><span>from the Jetty &amp; CometD experts</span></di=
v><div><a href=3D"http://eclipse.org/jetty/" target=3D"_blank">eclipse.org/=
jetty</a>=C2=A0-=C2=A0<a href=3D"http://cometd.org/" target=3D"_blank">come=
td.org</a></div></div></div></div>
<br><div class=3D"gmail_quote"><div><div class=3D"h5">On Fri, Jan 16, 2015 =
at 1:42 AM, Takeshi Yoshino <span dir=3D"ltr">&lt;<a href=3D"mailto:tyoshin=
o@google.com" target=3D"_blank">tyoshino@google.com</a>&gt;</span> wrote:<b=
r></div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><div><div class=3D"h5"><div di=
r=3D"ltr"><div>Hi all,</div><div><br></div><div>I and Wenbo did an informal=
 survey of protocol gaps. We hope this would help moving forward the discus=
sions about protocol/API design to some extent.</div><div><br></div><a href=
=3D"https://github.com/bidiweb/bidiweb-semantics/blob/master/SurveyOfProtoc=
olGaps.md" target=3D"_blank">https://github.com/bidiweb/bidiweb-semantics/b=
lob/master/SurveyOfProtocolGaps.md</a><br>
<div><br></div></div>
<br></div></div>_______________________________________________<br>
hybi mailing list<br>
<a href=3D"mailto:hybi@ietf.org" target=3D"_blank">hybi@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/hybi" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/hybi</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
hybi mailing list<br>
<a href=3D"mailto:hybi@ietf.org">hybi@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/hybi" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/hybi</a><br>
<br></blockquote></div><br></div>

--047d7b3a920c685ba8050cc90196--


From nobody Tue Jan 27 04:54:56 2015
Return-Path: <tyoshino@google.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E50851A1EF7 for <hybi@ietfa.amsl.com>; Tue, 27 Jan 2015 04:54:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.788
X-Spam-Level: 
X-Spam-Status: No, score=-0.788 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, J_CHICKENPOX_52=0.6, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 c1ZCT4UtbRKk for <hybi@ietfa.amsl.com>; Tue, 27 Jan 2015 04:54:50 -0800 (PST)
Received: from mail-qa0-x22d.google.com (mail-qa0-x22d.google.com [IPv6:2607:f8b0:400d:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4722E1A1DE2 for <hybi@ietf.org>; Tue, 27 Jan 2015 04:54:50 -0800 (PST)
Received: by mail-qa0-f45.google.com with SMTP id n8so11172913qaq.4 for <hybi@ietf.org>; Tue, 27 Jan 2015 04:54:49 -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=6e8RPCOhiPg5AWpqZvANhgeaws6VrKVStdVcdJ4s4kM=; b=iYbEhvtqs0ogh8By/CxivU2XC2ZM1UOdhdrIuARhOwbOWXQKoFfVigRul6x6qphbYU 1zc73gIeeXjkdBQ/lIB8orlgnIVMC1LDeMJK8n4pC/n7ho/gx3Zmh7GQ816noWsVJ5i0 8I42fjp9iVp6KFxpy/LNj8JHPz8OsiX8u2RyCjnB4XfPEvO7G3K5xD6hSSrmVkmK5yme FimfswN3yg6paKkbUQowSqb8yBDJIzE2xyPJifNb1YZPw7oz128J66W9hDwooktxLcsU IqplfLl61WZGbOolMT7j1m1C6UKf2tJMu1PKlWVOV5//FkY6FcvcPWJzd7FhD1ioxFAp b4jA==
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=6e8RPCOhiPg5AWpqZvANhgeaws6VrKVStdVcdJ4s4kM=; b=FvfXMEn+V63vDfxX8K0EuncONrr2Y/YxTCBUazWp7nZdhgnS1m5fqZQBYsO8/jUduk 9P2hOl7MYcVt8lqJxjcodriCWgHw8/mw4EjszHGdlhXS/Z1WeV3sCKGWVgNKjyiLhhD1 vPLtXMfYVZ5P6y0MEl/y7L6IdVu9ZFmXWB4RezPr0Ci1PZKDdEO9QWv0lhACB72NCGSR Apm00v1To9tgr75aG24tvo9/C5GVJre8+sO7deHQNXTWCoa4oZTtAMYHb4KMFSY1vRKU PnrCP+Io4rGB4alt8J/nbxHxU5UDuaQHgTaixvzIOeXHcraTpi2sU0FX7lRxGxC03DDa QFKg==
X-Gm-Message-State: ALoCoQm30cRLlC14KPCP5H4DS3NiMNHBouIPNqag5AtJodIrbQZN6v1OQAf1EvDo7vXGtUxDLSo1
X-Received: by 10.224.29.137 with SMTP id q9mr1539794qac.95.1422363289215; Tue, 27 Jan 2015 04:54:49 -0800 (PST)
MIME-Version: 1.0
Received: by 10.96.109.229 with HTTP; Tue, 27 Jan 2015 04:54:28 -0800 (PST)
In-Reply-To: <CAG4zZZB195+rdEjG3nei0cge9w9wLQeO-4yHxG329JbW8Qs12w@mail.gmail.com>
References: <CAH9hSJZjM1K7BKDcZCqriFZ-5uUBNJERtLEb5mH9PzG+DHnpQg@mail.gmail.com> <CAG4zZZB195+rdEjG3nei0cge9w9wLQeO-4yHxG329JbW8Qs12w@mail.gmail.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Tue, 27 Jan 2015 21:54:28 +0900
Message-ID: <CAH9hSJY58u8viAdX5t+vwLTi+TL5EppdYzFp9Yzu3hUYSe4_Vg@mail.gmail.com>
To: Joakim Erdfelt <joakim@intalio.com>
Content-Type: multipart/alternative; boundary=047d7bdc78b69894fc050da1c29d
Archived-At: <http://mailarchive.ietf.org/arch/msg/hybi/Vrwrd4brCIHJNmbHbg7PqUpTQ3I>
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Informal survey: "Non Request-Response Communication over the Web, and What's Missing"
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Jan 2015 12:54:53 -0000

--047d7bdc78b69894fc050da1c29d
Content-Type: text/plain; charset=UTF-8

Thanks for the comments, Joakim.


On Fri, Jan 16, 2015 at 9:49 PM, Joakim Erdfelt <joakim@intalio.com> wrote:

> Some commentary ...
>
> Be careful with "reliable data delivery".
> This has many different meanings to different people.
>
> Bayeux and Cometd (for example) have acknowledgement extensions
> specifically for unreliable data networks (mobile) that allow the server or
> client to know if the opposite side has received the complete message or
> not.
>
> This level of reliable message delivery could probably exist as a
> WebSocket extension. a message-ack extension with exposure at the various
> WebSocket APIs.
>
>
Good point. We cut the details but it might have just led to confusion.
I'll fix it.


> WebSocket Gaps:
>
> 1. Half-Closed
>
> half-closed connections are currently supported by the WebSocket protocol
> spec.
> and many existing implementations do it correctly today (thanks autobahn!)
> several libraries already rely on this behavior (bayeux, cometd)
>

Right. It's missing on the WebSocket API.


>
> however, other layers, apis, and non-websocket bugs can cause problems
> here.
> eg: its impossible with Android 5.x to do half-closed via SSL, on any
> protocol, mostly due to many horrid bugs in their SSLEngine.
>
> 2. Flow-Control
>
> For standard http/1.1 (not http/2) this is handled at the tcp/ip level.
> For http/2 this is handled by its flow-control parts of that spec.
> What else do you mean here?
> Is this section about how to expose this on the Javascript WebSocket API?
>
>
Yes. Flow control is not exposed to the API level. A script cannot pose any
backpressure on a WebSocket without blocking the main thread.


> 3. Message-level metadata
>
> Let this be part of an application specific protocol layer, or an
> extension handling it (with Javascript WebSocket API changes to expose
> extension manipulation. see below)
> Note: This is quite a passionate topic on the ietf-http-wg mailing list
> also, with more people against it than for it.
>
> 4. Keep-Alive
>
> Most existing applications are happy with a combination of tcp/ip
> keep-alive and websocket ping/pong so far.
> With http/2 there's other keep-alive strategies.
> Is is really a WebSocket protocol gap?
> Or just another Javascript WebSocket API gap?
>

Yes. It's about the API. Sorry that it's unclear.


>
> 5. Multiplexing and session priority
>
> One concern with the common response: WebSocket over HTTP/2 will address
> this.
> It seems that the folks running the http2 spec track (ietf-http-wg) have
> punted and want hybi to define it, and the folks here at hybi seem to think
> that the ietf-http-wg folks will define it.  Have there been some
> discussion between these 2 groups yet? (even offline / face to face?)
>
>
No decision is made officially yet, I think.


> The Layering Concern:
>
> Don't forget, the websocket extensions are a layer too.
>
>
Yes!


> Other thoughts:
>
> If this is an effort to get baseline of effort for the Javascript
> WebSocket in the browser, then you also have the following often asked
> questions ...
>
> * Handling authentication / authorization credentials.  submitting them,
> and getting reasonable error messages out of the API for when problems
> occur.
> * Controlling extensions, both at the initial handshake, and ongoing in
> the write/send apis (think compress / dont compress flags as a real world
> usecase for today)
> * Better error messages when use of the API results in failure to
> open/connect due to violation of WebSocket spec rules
>
>
Thanks for the list. Yeah, there're lots of overdue things.

The doc is not only for WebSocket API refinement. More general discussion
about what's the best messaging API/protocol we should build for better web
ecosystem.


>
>
> --
> Joakim Erdfelt <joakim@intalio.com>
> webtide.com <http://www.webtide.com/> - intalio.com/jetty
> Expert advice, services and support from from the Jetty & CometD experts
> eclipse.org/jetty - cometd.org
>
> On Fri, Jan 16, 2015 at 1:42 AM, Takeshi Yoshino <tyoshino@google.com>
> wrote:
>
>> Hi all,
>>
>> I and Wenbo did an informal survey of protocol gaps. We hope this would
>> help moving forward the discussions about protocol/API design to some
>> extent.
>>
>>
>> https://github.com/bidiweb/bidiweb-semantics/blob/master/SurveyOfProtocolGaps.md
>>
>>
>> _______________________________________________
>> hybi mailing list
>> hybi@ietf.org
>> https://www.ietf.org/mailman/listinfo/hybi
>>
>>
>

--047d7bdc78b69894fc050da1c29d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra">Thanks for the comments, Joakim=
.</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra"><br>=
<div class=3D"gmail_quote">On Fri, Jan 16, 2015 at 9:49 PM, Joakim Erdfelt =
<span dir=3D"ltr">&lt;<a href=3D"mailto:joakim@intalio.com" target=3D"_blan=
k">joakim@intalio.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x"><div dir=3D"ltr"><div>Some commentary ...</div><div><br></div><div>Be ca=
reful with &quot;reliable data delivery&quot;.</div><div>This has many diff=
erent meanings to different people.</div><div><br></div><div>Bayeux and Com=
etd (for example) have acknowledgement extensions specifically for unreliab=
le data networks (mobile) that allow the server or client to know if the op=
posite side has received the complete message or not.</div><div><br></div><=
div>This level of reliable message delivery could probably exist as a WebSo=
cket extension. a message-ack extension with exposure at the various WebSoc=
ket APIs.</div><div><br></div></div></blockquote><div><br></div><div>Good p=
oint. We cut the details but it might have just led to confusion. I&#39;ll =
fix it.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"lt=
r"><div></div>WebSocket Gaps:<div><br></div><div>1. Half-Closed</div><div><=
br></div><div>half-closed connections are currently supported by the WebSoc=
ket protocol spec.</div><div>and many existing implementations do it correc=
tly today (thanks autobahn!)</div><div>several libraries already rely on th=
is behavior (bayeux, cometd)</div></div></blockquote><div><br></div><div>Ri=
ght. It&#39;s missing on the WebSocket API.</div><div>=C2=A0</div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so=
lid;padding-left:1ex"><div dir=3D"ltr"><div><br></div><div>however, other l=
ayers, apis, and non-websocket bugs can cause problems here.</div><div>eg:=
=C2=A0its impossible with Android 5.x to do half-closed via SSL, on any pro=
tocol, mostly due to many horrid bugs in their SSLEngine.</div><div><br></d=
iv><div>2. Flow-Control</div><div><br></div><div>For standard http/1.1 (not=
 http/2) this is handled at the tcp/ip level.</div><div>For http/2 this is =
handled by its flow-control parts of that spec.</div><div>What else do you =
mean here? =C2=A0</div><div>Is this section about how to expose this on the=
 Javascript WebSocket API?</div><div><br></div></div></blockquote><div><br>=
</div><div>Yes. Flow control is not exposed to the API level. A script cann=
ot pose any backpressure on a WebSocket without blocking the main thread.</=
div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><=
/div><div>3.=C2=A0Message-level metadata</div><div><br></div><div>Let this =
be part of an application specific protocol layer, or an extension handling=
 it (with Javascript WebSocket API changes to expose extension manipulation=
. see below)</div><div>Note: This is quite a passionate topic on the ietf-h=
ttp-wg mailing list also, with more people against it than for it.</div><di=
v><br></div><div>4. Keep-Alive</div><div><br></div><div>Most existing appli=
cations are happy with a combination of tcp/ip keep-alive and websocket pin=
g/pong so far.</div><div>With http/2 there&#39;s other keep-alive strategie=
s.</div><div>Is is really a WebSocket protocol gap?</div><div>Or just anoth=
er Javascript WebSocket API gap?</div></div></blockquote><div><br></div><di=
v>Yes. It&#39;s about the API. Sorry that it&#39;s unclear.</div><div>=C2=
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><br></div><di=
v>5. Multiplexing and session priority</div><div><br></div><div>One concern=
 with the common response: WebSocket over HTTP/2 will address this.</div><d=
iv>It seems that the folks running the http2 spec track (ietf-http-wg) have=
 punted and want hybi to define it, and the folks here at hybi seem to thin=
k that the ietf-http-wg folks will define it.=C2=A0 Have there been some di=
scussion between these 2 groups yet? (even offline / face to face?)</div><d=
iv><br></div></div></blockquote><div><br></div><div>No decision is made off=
icially yet, I think.</div><div>=C2=A0</div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">=
<div dir=3D"ltr"><div></div><div>The Layering Concern:</div><div><br></div>=
<div>Don&#39;t forget, the websocket extensions are a layer too.</div><div>=
<br></div></div></blockquote><div><br></div><div>Yes!</div><div>=C2=A0</div=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div></div><div>Other thou=
ghts:</div><div><br></div><div>If this is an effort to get baseline of effo=
rt for the Javascript WebSocket in the browser, then you also have the foll=
owing often asked questions ...</div><div><br></div><div>* Handling authent=
ication / authorization credentials. =C2=A0submitting them, and getting rea=
sonable error messages out of the API for when problems occur.</div><div>* =
Controlling extensions, both at the initial handshake, and ongoing in the w=
rite/send apis (think compress / dont compress flags as a real world usecas=
e for today)</div><div>* Better error messages when use of the API results =
in failure to open/connect due to violation of WebSocket spec rules</div><d=
iv><br></div></div></blockquote><div><br></div><div>Thanks for the list. Ye=
ah, there&#39;re lots of overdue things.</div><div><br></div><div>The doc i=
s not only for WebSocket API refinement. More general discussion about what=
&#39;s the best messaging API/protocol we should build for better web ecosy=
stem.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"=
><div></div><div><br></div></div><div class=3D"gmail_extra"><br clear=3D"al=
l"><div><div><div dir=3D"ltr"><div>--</div><div>Joakim Erdfelt &lt;<a href=
=3D"mailto:joakim@intalio.com" target=3D"_blank">joakim@intalio.com</a>&gt;=
</div><div><a href=3D"http://www.webtide.com/" target=3D"_blank">webtide.co=
m</a>=C2=A0- <a href=3D"http://intalio.com/jetty" target=3D"_blank">intalio=
.com/jetty</a></div><div><span>Expert advice, services and support from=C2=
=A0</span><span>from the Jetty &amp; CometD experts</span></div><div><a hre=
f=3D"http://eclipse.org/jetty/" target=3D"_blank">eclipse.org/jetty</a>=C2=
=A0-=C2=A0<a href=3D"http://cometd.org/" target=3D"_blank">cometd.org</a></=
div></div></div></div>
<br><div class=3D"gmail_quote"><div><div class=3D"h5">On Fri, Jan 16, 2015 =
at 1:42 AM, Takeshi Yoshino <span dir=3D"ltr">&lt;<a href=3D"mailto:tyoshin=
o@google.com" target=3D"_blank">tyoshino@google.com</a>&gt;</span> wrote:<b=
r></div></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><div><div class=3D"h5"><div di=
r=3D"ltr"><div>Hi all,</div><div><br></div><div>I and Wenbo did an informal=
 survey of protocol gaps. We hope this would help moving forward the discus=
sions about protocol/API design to some extent.</div><div><br></div><a href=
=3D"https://github.com/bidiweb/bidiweb-semantics/blob/master/SurveyOfProtoc=
olGaps.md" target=3D"_blank">https://github.com/bidiweb/bidiweb-semantics/b=
lob/master/SurveyOfProtocolGaps.md</a><br>
<div><br></div></div>
<br></div></div>_______________________________________________<br>
hybi mailing list<br>
<a href=3D"mailto:hybi@ietf.org" target=3D"_blank">hybi@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/hybi" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/hybi</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div>

--047d7bdc78b69894fc050da1c29d--


From nobody Wed Jan 28 09:29:23 2015
Return-Path: <pavel.rappo@gmail.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BE24A1A1A5E for <hybi@ietfa.amsl.com>; Wed, 28 Jan 2015 09:29:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 gJ08fKq6D1ZA for <hybi@ietfa.amsl.com>; Wed, 28 Jan 2015 09:29:20 -0800 (PST)
Received: from mail-ig0-x22b.google.com (mail-ig0-x22b.google.com [IPv6:2607:f8b0:4001:c05::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B1E6E1A00F6 for <hybi@ietf.org>; Wed, 28 Jan 2015 09:29:19 -0800 (PST)
Received: by mail-ig0-f171.google.com with SMTP id r10so12045995igi.4 for <hybi@ietf.org>; Wed, 28 Jan 2015 09:29:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:from:date:message-id:subject:to:content-type; bh=9ZG0vESP83F6tl/oDUVBZYL8FQRxvFZwyQA5mZc22wI=; b=CEZ1mCdtgsNgpyyRFe1m1QSZPVoifPXFWxq9Qy+XDmGU+OB7GOIed6SL5j+gmydThv AXP6seJmmuWhf+20DkETDGnz+VoaM4NG4jeWfwEH5Pg2sN91fCNlEzhqUMybqxRxJbHE Szdnlu5FUFy8ggr3euTT4qB1kYzDA3e+eOrA6eSHzeAjI1sRsROwZraVzsZH8it8n1KQ BiZCEFnAJ7Z/kgl6Ke9CUrDraylM8zK3PkGPr9LMmNG2Nddhzpm42MkCFbmu9F2dkyj4 iKtKYYESIro2nSSgva4ayYu5yYE2CSwjsjdR+xALk5bqHYVysd39muEsn1VFFo1eevi2 sgWw==
X-Received: by 10.50.254.4 with SMTP id ae4mr4947214igd.10.1422466158498; Wed, 28 Jan 2015 09:29:18 -0800 (PST)
MIME-Version: 1.0
Received: by 10.64.93.169 with HTTP; Wed, 28 Jan 2015 09:28:58 -0800 (PST)
From: Pavel Rappo <pavel.rappo@gmail.com>
Date: Wed, 28 Jan 2015 17:28:58 +0000
Message-ID: <CAChcVu=uJkMBLRtg1y+YLspQ9TmjbPe5fUqLmDZXvmCh52EmBw@mail.gmail.com>
To: hybi@ietf.org
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/hybi/c6lYzvk2fACmqItK5ybN07pmWV0>
Subject: [hybi] Data type transparency in PMCEs
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Jan 2015 17:29:21 -0000

Hi, I was wondering how this thing from [1]:

>   PMCEs don't change the opcode field.  The opcode of the first frame
>   of a compress message indicates the opcode of the original message.
>
>   The payload data portion in frames generated by a PMCE is not subject
>   to the constraints for the original data type.  For example, the
>   concatenation of the output data corresponding to the application
>   data portion of frames of a compressed text message is not required
>   to be valid UTF-8.  At the receiver, the payload data portion after
>   decompression is subject to the constraints for the original data
>   type again.

coexists with this thing form [2]:

>   Text
>
>     The "Payload data" is text data encoded as UTF-8.  Note that a
>     particular text frame might include a partial UTF-8 sequence;
>     however, the whole message MUST contain valid UTF-8.  Invalid
>     UTF-8 in reassembled messages is handled as described in
>     Section 8.1.

and this [3]:

> 8.1.  Handling Errors in UTF-8-Encoded Data
>
>    When an endpoint is to interpret a byte stream as UTF-8 but finds
>    that the byte stream is not, in fact, a valid UTF-8 stream, that
>    endpoint MUST _Fail the WebSocket Connection_.  This rule applies
>    both during the opening handshake and during subsequent data
>    exchange.

I noticed the "...The payload data portion in frames generated by a PMCE is not
subject to the constraints for the original data type..." comment in [1], but
still. It seems like it requires an additional comment in [2], something like:

>    When[*] an endpoint is to interpret a byte stream as UTF-8 but finds
>    that the byte stream is not, in fact, a valid UTF-8 stream, that
>    endpoint MUST _Fail the WebSocket Connection_.

[*] But not before the extension stack is re-applied.

Otherwise it's too broad, isn't it? What do you think? Thanks.

-Pavel

-------------------------------------------------------------------------------
[1]: https://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-19#section-6.1
[2]: https://tools.ietf.org/html/rfc6455#section-5.6
[3]: https://tools.ietf.org/html/rfc6455#section-8.1


From nobody Wed Jan 28 10:10:33 2015
Return-Path: <joakim@intalio.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C23361A8855 for <hybi@ietfa.amsl.com>; Wed, 28 Jan 2015 10:10:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 rnFmtq8L9Xc6 for <hybi@ietfa.amsl.com>; Wed, 28 Jan 2015 10:10:26 -0800 (PST)
Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B024D1A885E for <hybi@ietf.org>; Wed, 28 Jan 2015 10:10:14 -0800 (PST)
Received: by mail-ob0-f169.google.com with SMTP id va8so20722972obc.0 for <hybi@ietf.org>; Wed, 28 Jan 2015 10:10:12 -0800 (PST)
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:date :message-id:subject:from:to:cc:content-type; bh=parJHqPXU33kdHN8/ZQmuKhjUDU5/hD0l1f7/fIKIDc=; b=CsdBXN5cNHxq+9VYu751847EqqjWTOTidT/Pf9rIcpuY1Bt1eyJYdlKnVgdx+QzOMt AyhWTueKwOpUQDUkJ9jTcB/aOgMnzam5VopnWACRl1tN4+BOKIPTcvtYw4oR6yGn9cA1 2sIJNth+ONqcM/7DVOo2XZaCwAzGfy6cg7IsoR0oyFJAdwaxXgUjrY3MLtNqzaESJJD1 Gi1BNnEuCY98Ce6gsQy2oydeSu3ZUQEFEqJ5TKN5nMFuN53XasLiqSWH3hpnjABwE/MC vTxQX8JXTfSDkjTCWgPDUnSbt2al5WSMitWa4qtZ/06AQJDDRtL6uTjd6sOBN4sDxmcl UytQ==
X-Gm-Message-State: ALoCoQlFnAYgC+MVQz5ISOSpzPB0iQXI611byJR+Uh7wpBWJaRpng6VeZz4lrn+7Di/BswTfyuwv
MIME-Version: 1.0
X-Received: by 10.60.16.230 with SMTP id j6mr3047020oed.8.1422468612759; Wed, 28 Jan 2015 10:10:12 -0800 (PST)
Received: by 10.202.18.82 with HTTP; Wed, 28 Jan 2015 10:10:12 -0800 (PST)
In-Reply-To: <CAChcVu=uJkMBLRtg1y+YLspQ9TmjbPe5fUqLmDZXvmCh52EmBw@mail.gmail.com>
References: <CAChcVu=uJkMBLRtg1y+YLspQ9TmjbPe5fUqLmDZXvmCh52EmBw@mail.gmail.com>
Date: Wed, 28 Jan 2015 11:10:12 -0700
Message-ID: <CAG4zZZDyxdfxOYCZeYggVmxKo4gxGJ8-tDomKL2AjwqoP7gZhg@mail.gmail.com>
From: Joakim Erdfelt <joakim@intalio.com>
To: Pavel Rappo <pavel.rappo@gmail.com>
Content-Type: multipart/alternative; boundary=e89a8f503bb25e3923050dba484e
Archived-At: <http://mailarchive.ietf.org/arch/msg/hybi/YwmbXHEl33jXZAjtYeuwEAszIXk>
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Data type transparency in PMCEs
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Jan 2015 18:10:32 -0000

--e89a8f503bb25e3923050dba484e
Content-Type: text/plain; charset=UTF-8

Process the frame through the negotiated websocket extension chain before
validating the websocket frame contents.

The validation of frame structure can be done both at the raw network
frames level, and at the post-extension level.
The validation of frame contents is best done at the post-extension level.

With RFC6455, it addresses this with the nuance about "Payload Data"
See https://tools.ietf.org/html/rfc6455#section-5.2

   Payload data:  (x+y) bytes

      The "Payload data" is defined as "Extension data" concatenated
      with "Application data".

   Extension data:  x bytes

      The "Extension data" is 0 bytes unless an extension has been
      negotiated.  Any extension MUST specify the length of the
      "Extension data", or how that length may be calculated, and how
      the extension use MUST be negotiated during the opening handshake.
      If present, the "Extension data" is included in the total payload
      length.

   Application data:  y bytes

      Arbitrary "Application data", taking up the remainder of the frame
      after any "Extension data".  The length of the "Application data"
      is equal to the payload length minus the length of the "Extension
      data".


What this means is that the extension is using "Extension data", but the
validation for UTF-8 is part of the "Application data" section.
You'll need to send that frame through the extension which _might_ produce
"Application data", which you then validate per the rules in RFC6455
Section 8.1



--
Joakim Erdfelt <joakim@intalio.com>
webtide.com <http://www.webtide.com/> - intalio.com/jetty
Expert advice, services and support from from the Jetty & CometD experts
eclipse.org/jetty - cometd.org

On Wed, Jan 28, 2015 at 10:28 AM, Pavel Rappo <pavel.rappo@gmail.com> wrote:

> Hi, I was wondering how this thing from [1]:
>
> >   PMCEs don't change the opcode field.  The opcode of the first frame
> >   of a compress message indicates the opcode of the original message.
> >
> >   The payload data portion in frames generated by a PMCE is not subject
> >   to the constraints for the original data type.  For example, the
> >   concatenation of the output data corresponding to the application
> >   data portion of frames of a compressed text message is not required
> >   to be valid UTF-8.  At the receiver, the payload data portion after
> >   decompression is subject to the constraints for the original data
> >   type again.
>
> coexists with this thing form [2]:
>
> >   Text
> >
> >     The "Payload data" is text data encoded as UTF-8.  Note that a
> >     particular text frame might include a partial UTF-8 sequence;
> >     however, the whole message MUST contain valid UTF-8.  Invalid
> >     UTF-8 in reassembled messages is handled as described in
> >     Section 8.1.
>
> and this [3]:
>
> > 8.1.  Handling Errors in UTF-8-Encoded Data
> >
> >    When an endpoint is to interpret a byte stream as UTF-8 but finds
> >    that the byte stream is not, in fact, a valid UTF-8 stream, that
> >    endpoint MUST _Fail the WebSocket Connection_.  This rule applies
> >    both during the opening handshake and during subsequent data
> >    exchange.
>
> I noticed the "...The payload data portion in frames generated by a PMCE
> is not
> subject to the constraints for the original data type..." comment in [1],
> but
> still. It seems like it requires an additional comment in [2], something
> like:
>
> >    When[*] an endpoint is to interpret a byte stream as UTF-8 but finds
> >    that the byte stream is not, in fact, a valid UTF-8 stream, that
> >    endpoint MUST _Fail the WebSocket Connection_.
>
> [*] But not before the extension stack is re-applied.
>
> Otherwise it's too broad, isn't it? What do you think? Thanks.
>
> -Pavel
>
>
> -------------------------------------------------------------------------------
> [1]:
> https://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-19#section-6.1
> [2]: https://tools.ietf.org/html/rfc6455#section-5.6
> [3]: https://tools.ietf.org/html/rfc6455#section-8.1
>
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>

--e89a8f503bb25e3923050dba484e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Process the frame through the negotiated websocket extensi=
on chain before validating the websocket frame contents.<div><br></div><div=
>The validation of frame structure can be done both at the raw network fram=
es level, and at the post-extension level.</div><div>The validation of fram=
e contents is best done at the post-extension level.</div><div><br></div><d=
iv>With RFC6455, it addresses this with the nuance about &quot;Payload Data=
&quot;</div><div>See=C2=A0<a href=3D"https://tools.ietf.org/html/rfc6455#se=
ction-5.2">https://tools.ietf.org/html/rfc6455#section-5.2</a></div><div><b=
r></div><div><pre class=3D"" style=3D"font-size:1em;margin-top:0px;margin-b=
ottom:0px;color:rgb(0,0,0)">   Payload data:  (x+y) bytes

      The &quot;Payload data&quot; is defined as &quot;Extension data&quot;=
 concatenated
      with &quot;Application data&quot;.

   Extension data:  x bytes

      The &quot;Extension data&quot; is 0 bytes unless an extension has bee=
n
      negotiated.  Any extension MUST specify the length of the
      &quot;Extension data&quot;, or how that length may be calculated, and=
 how
      the extension use MUST be negotiated during the opening handshake.
      If present, the &quot;Extension data&quot; is included in the total p=
ayload
      length.

   Application data:  y bytes

      Arbitrary &quot;Application data&quot;, taking up the remainder of th=
e frame
      after any &quot;Extension data&quot;.  The length of the &quot;Applic=
ation data&quot;
      is equal to the payload length minus the length of the &quot;Extensio=
n
      data&quot;.</pre></div><div><div><br></div><div><div>What this means =
is that the extension is using &quot;Extension data&quot;, but the validati=
on for UTF-8 is part of the &quot;Application data&quot; section.</div><div=
>You&#39;ll need to send that frame through the extension which _might_ pro=
duce &quot;Application data&quot;, which you then validate per the rules in=
 RFC6455 Section 8.1</div></div></div><div><br></div><div><br></div></div><=
div class=3D"gmail_extra"><br clear=3D"all"><div><div class=3D"gmail_signat=
ure"><div dir=3D"ltr"><div>--</div><div>Joakim Erdfelt &lt;<a href=3D"mailt=
o:joakim@intalio.com" target=3D"_blank">joakim@intalio.com</a>&gt;</div><di=
v><a href=3D"http://www.webtide.com/" target=3D"_blank">webtide.com</a>=C2=
=A0- <a href=3D"http://intalio.com/jetty" target=3D"_blank">intalio.com/jet=
ty</a></div><div><span>Expert advice, services and support from=C2=A0</span=
><span>from the Jetty &amp; CometD experts</span></div><div><a href=3D"http=
://eclipse.org/jetty/" target=3D"_blank">eclipse.org/jetty</a>=C2=A0-=C2=A0=
<a href=3D"http://cometd.org/" target=3D"_blank">cometd.org</a></div></div>=
</div></div>
<br><div class=3D"gmail_quote">On Wed, Jan 28, 2015 at 10:28 AM, Pavel Rapp=
o <span dir=3D"ltr">&lt;<a href=3D"mailto:pavel.rappo@gmail.com" target=3D"=
_blank">pavel.rappo@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">Hi, I was wondering how this thing from [1]:<br>
<br>
&gt;=C2=A0 =C2=A0PMCEs don&#39;t change the opcode field.=C2=A0 The opcode =
of the first frame<br>
&gt;=C2=A0 =C2=A0of a compress message indicates the opcode of the original=
 message.<br>
&gt;<br>
&gt;=C2=A0 =C2=A0The payload data portion in frames generated by a PMCE is =
not subject<br>
&gt;=C2=A0 =C2=A0to the constraints for the original data type.=C2=A0 For e=
xample, the<br>
&gt;=C2=A0 =C2=A0concatenation of the output data corresponding to the appl=
ication<br>
&gt;=C2=A0 =C2=A0data portion of frames of a compressed text message is not=
 required<br>
&gt;=C2=A0 =C2=A0to be valid UTF-8.=C2=A0 At the receiver, the payload data=
 portion after<br>
&gt;=C2=A0 =C2=A0decompression is subject to the constraints for the origin=
al data<br>
&gt;=C2=A0 =C2=A0type again.<br>
<br>
coexists with this thing form [2]:<br>
<br>
&gt;=C2=A0 =C2=A0Text<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0The &quot;Payload data&quot; is text data encoded a=
s UTF-8.=C2=A0 Note that a<br>
&gt;=C2=A0 =C2=A0 =C2=A0particular text frame might include a partial UTF-8=
 sequence;<br>
&gt;=C2=A0 =C2=A0 =C2=A0however, the whole message MUST contain valid UTF-8=
.=C2=A0 Invalid<br>
&gt;=C2=A0 =C2=A0 =C2=A0UTF-8 in reassembled messages is handled as describ=
ed in<br>
&gt;=C2=A0 =C2=A0 =C2=A0Section 8.1.<br>
<br>
and this [3]:<br>
<br>
&gt; 8.1.=C2=A0 Handling Errors in UTF-8-Encoded Data<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 When an endpoint is to interpret a byte stream as UTF-8 b=
ut finds<br>
&gt;=C2=A0 =C2=A0 that the byte stream is not, in fact, a valid UTF-8 strea=
m, that<br>
&gt;=C2=A0 =C2=A0 endpoint MUST _Fail the WebSocket Connection_.=C2=A0 This=
 rule applies<br>
&gt;=C2=A0 =C2=A0 both during the opening handshake and during subsequent d=
ata<br>
&gt;=C2=A0 =C2=A0 exchange.<br>
<br>
I noticed the &quot;...The payload data portion in frames generated by a PM=
CE is not<br>
subject to the constraints for the original data type...&quot; comment in [=
1], but<br>
still. It seems like it requires an additional comment in [2], something li=
ke:<br>
<br>
&gt;=C2=A0 =C2=A0 When[*] an endpoint is to interpret a byte stream as UTF-=
8 but finds<br>
&gt;=C2=A0 =C2=A0 that the byte stream is not, in fact, a valid UTF-8 strea=
m, that<br>
&gt;=C2=A0 =C2=A0 endpoint MUST _Fail the WebSocket Connection_.<br>
<br>
[*] But not before the extension stack is re-applied.<br>
<br>
Otherwise it&#39;s too broad, isn&#39;t it? What do you think? Thanks.<br>
<br>
-Pavel<br>
<br>
---------------------------------------------------------------------------=
----<br>
[1]: <a href=3D"https://tools.ietf.org/html/draft-ietf-hybi-permessage-comp=
ression-19#section-6.1" target=3D"_blank">https://tools.ietf.org/html/draft=
-ietf-hybi-permessage-compression-19#section-6.1</a><br>
[2]: <a href=3D"https://tools.ietf.org/html/rfc6455#section-5.6" target=3D"=
_blank">https://tools.ietf.org/html/rfc6455#section-5.6</a><br>
[3]: <a href=3D"https://tools.ietf.org/html/rfc6455#section-8.1" target=3D"=
_blank">https://tools.ietf.org/html/rfc6455#section-8.1</a><br>
<br>
_______________________________________________<br>
hybi mailing list<br>
<a href=3D"mailto:hybi@ietf.org">hybi@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/hybi" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/hybi</a><br>
</blockquote></div><br></div>

--e89a8f503bb25e3923050dba484e--


From nobody Wed Jan 28 10:13:45 2015
Return-Path: <kevinsisco61784@gmail.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EC9A61A1A8C for <hybi@ietfa.amsl.com>; Wed, 28 Jan 2015 10:13:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.75
X-Spam-Level: 
X-Spam-Status: No, score=-1.75 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=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 wgGLVWmjN4s9 for <hybi@ietfa.amsl.com>; Wed, 28 Jan 2015 10:13:41 -0800 (PST)
Received: from mail-qa0-x22d.google.com (mail-qa0-x22d.google.com [IPv6:2607:f8b0:400d:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AF0D21A8854 for <hybi@ietf.org>; Wed, 28 Jan 2015 10:13:40 -0800 (PST)
Received: by mail-qa0-f45.google.com with SMTP id n8so17260068qaq.4 for <hybi@ietf.org>; Wed, 28 Jan 2015 10:13:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=ppeVDVbYqqRVVEbyq+gz7g4vDcfFVjCrNb9bDCD26nc=; b=hMJ0GrvD+8rIDA6hsGmx/O0rFLJeq7ArZko+/4AgCigd+L4JObW89WM75nQWK7TxDW RQZEb4ddKX3vYglIkiMzYqKuLblUJCv7cJEsxkspsSOvHkl5rAzLc+gdF1Y/N3NPzy7P O4MwGyeGxtRKwAYyRbDM/Jveu7rzRu6hUktRkMihTZMXjCJmcZ1cOwUKIpuiHuzjMwZD vZOm10x9mhzTYOEeRnv3Ck25viODpjZz+eNI8bRwi324+bgL8Cv44AmqZZ3ZvxCZUMT7 wutwASPHarpa3yMFOoPSsjyO4D1xBab8sEXMR6tE/+5136A4FAEQ9VkwVEgfTBcng44a kzug==
X-Received: by 10.140.105.4 with SMTP id b4mr13702978qgf.1.1422468819678; Wed, 28 Jan 2015 10:13:39 -0800 (PST)
Received: from [127.0.0.1] (ool-44c40aca.dyn.optonline.net. [68.196.10.202]) by mx.google.com with ESMTPSA id v15sm4702171qav.11.2015.01.28.10.13.38 for <hybi@ietf.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Jan 2015 10:13:38 -0800 (PST)
Message-ID: <54C926CF.50102@gmail.com>
Date: Wed, 28 Jan 2015 13:13:35 -0500
From: Kevin <kevinsisco61784@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version: 1.0
To: hybi@ietf.org
References: <CAChcVu=uJkMBLRtg1y+YLspQ9TmjbPe5fUqLmDZXvmCh52EmBw@mail.gmail.com>
In-Reply-To: <CAChcVu=uJkMBLRtg1y+YLspQ9TmjbPe5fUqLmDZXvmCh52EmBw@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 150128-0, 01/28/2015), Outbound message
X-Antivirus-Status: Clean
Archived-At: <http://mailarchive.ietf.org/arch/msg/hybi/r_JdiUEozQmfq5Q9xQS5V7zLXSk>
Subject: Re: [hybi] Data type transparency in PMCEs
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Jan 2015 18:13:44 -0000

On 1/28/2015 12:28 PM, Pavel Rappo wrote:
> Hi, I was wondering how this thing from [1]:
>
>>    PMCEs don't change the opcode field.  The opcode of the first frame
>>    of a compress message indicates the opcode of the original message.
>>
>>    The payload data portion in frames generated by a PMCE is not subject
>>    to the constraints for the original data type.  For example, the
>>    concatenation of the output data corresponding to the application
>>    data portion of frames of a compressed text message is not required
>>    to be valid UTF-8.  At the receiver, the payload data portion after
>>    decompression is subject to the constraints for the original data
>>    type again.
> coexists with this thing form [2]:
>
>>    Text
>>
>>      The "Payload data" is text data encoded as UTF-8.  Note that a
>>      particular text frame might include a partial UTF-8 sequence;
>>      however, the whole message MUST contain valid UTF-8.  Invalid
>>      UTF-8 in reassembled messages is handled as described in
>>      Section 8.1.
> and this [3]:
>
>> 8.1.  Handling Errors in UTF-8-Encoded Data
>>
>>     When an endpoint is to interpret a byte stream as UTF-8 but finds
>>     that the byte stream is not, in fact, a valid UTF-8 stream, that
>>     endpoint MUST _Fail the WebSocket Connection_.  This rule applies
>>     both during the opening handshake and during subsequent data
>>     exchange.
> I noticed the "...The payload data portion in frames generated by a PMCE is not
> subject to the constraints for the original data type..." comment in [1], but
> still. It seems like it requires an additional comment in [2], something like:
>
>>     When[*] an endpoint is to interpret a byte stream as UTF-8 but finds
>>     that the byte stream is not, in fact, a valid UTF-8 stream, that
>>     endpoint MUST _Fail the WebSocket Connection_.
> [*] But not before the extension stack is re-applied.
>
> Otherwise it's too broad, isn't it? What do you think? Thanks.
>
> -Pavel
>
> -------------------------------------------------------------------------------
> [1]: https://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-19#section-6.1
> [2]: https://tools.ietf.org/html/rfc6455#section-5.6
> [3]: https://tools.ietf.org/html/rfc6455#section-8.1
>
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
Pavel:
I have to agree and I would like to add something.  I think that 
specification leaves to much room for error.  Why are we hard coding 
everything?  Am I missing something?


-- 
Kevin


---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com


From nobody Wed Jan 28 10:17:51 2015
Return-Path: <pavel.rappo@gmail.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A7E511A3BA5 for <hybi@ietfa.amsl.com>; Wed, 28 Jan 2015 10:17:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 93eEiOuTpvYy for <hybi@ietfa.amsl.com>; Wed, 28 Jan 2015 10:17:45 -0800 (PST)
Received: from mail-ig0-x22e.google.com (mail-ig0-x22e.google.com [IPv6:2607:f8b0:4001:c05::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7BDDC1A6EE9 for <hybi@ietf.org>; Wed, 28 Jan 2015 10:17:45 -0800 (PST)
Received: by mail-ig0-f174.google.com with SMTP id b16so12376403igk.1 for <hybi@ietf.org>; Wed, 28 Jan 2015 10:17:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=irW+5iM8mOIIxIKrjpqqdwJgcM0QiBcgXTH7QuSWZFk=; b=va4mS4X2VfMFZFWBgVuEH6zU1n7YfDgCTQ1b6f5leD3JOPotUdGIQycoSaYKr4p6ZN 7LK5W8mTvgd//EWXQt2rpCrZcSutRSnodbPAcqE7Dkcqzorzov8gVTZUa2u7bc9uTcYK UAQgCuwMiQtpOkvHDHaiBOD9Ju5TeZ/oI401TTOKSEroSDRh0CPh9HTV0k07y+669ra8 J6+S1A3PmgJDyd/WNlv4duueYQhv+nd0sxcAInJTtMjUZSZc/I3cM73JXtNjxboSGcgh +77lUp1lW3XkfKtYsoIERi2lmPhZtsd/Du6mIyDCIfgdlJ5gFyyboK0aPrGCQmk0JAKw eAIQ==
X-Received: by 10.42.33.66 with SMTP id h2mr4502780icd.7.1422469064517; Wed, 28 Jan 2015 10:17:44 -0800 (PST)
MIME-Version: 1.0
Received: by 10.64.93.169 with HTTP; Wed, 28 Jan 2015 10:17:24 -0800 (PST)
In-Reply-To: <CAG4zZZDyxdfxOYCZeYggVmxKo4gxGJ8-tDomKL2AjwqoP7gZhg@mail.gmail.com>
References: <CAChcVu=uJkMBLRtg1y+YLspQ9TmjbPe5fUqLmDZXvmCh52EmBw@mail.gmail.com> <CAG4zZZDyxdfxOYCZeYggVmxKo4gxGJ8-tDomKL2AjwqoP7gZhg@mail.gmail.com>
From: Pavel Rappo <pavel.rappo@gmail.com>
Date: Wed, 28 Jan 2015 18:17:24 +0000
Message-ID: <CAChcVukAqSLEX19z5YFh+t-03NhPmEG12Wyn_o=Pp=mT3qqvew@mail.gmail.com>
To: Joakim Erdfelt <joakim@intalio.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/hybi/rswVnb_xc3UjdFKHn4WIXFAxE70>
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Data type transparency in PMCEs
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Jan 2015 18:17:47 -0000

Perfect, thanks. I forgot about the fact you cannot extract Application data
from the Payload data. Only a certain extension in the chain should know how to
do that.

-Pavel

On Wed, Jan 28, 2015 at 6:10 PM, Joakim Erdfelt <joakim@intalio.com> wrote:
> Process the frame through the negotiated websocket extension chain before
> validating the websocket frame contents.
>
> The validation of frame structure can be done both at the raw network frames
> level, and at the post-extension level.
> The validation of frame contents is best done at the post-extension level.
>
> With RFC6455, it addresses this with the nuance about "Payload Data"
> See https://tools.ietf.org/html/rfc6455#section-5.2
>
>    Payload data:  (x+y) bytes
>
>       The "Payload data" is defined as "Extension data" concatenated
>       with "Application data".
>
>    Extension data:  x bytes
>
>       The "Extension data" is 0 bytes unless an extension has been
>       negotiated.  Any extension MUST specify the length of the
>       "Extension data", or how that length may be calculated, and how
>       the extension use MUST be negotiated during the opening handshake.
>       If present, the "Extension data" is included in the total payload
>       length.
>
>    Application data:  y bytes
>
>       Arbitrary "Application data", taking up the remainder of the frame
>       after any "Extension data".  The length of the "Application data"
>       is equal to the payload length minus the length of the "Extension
>       data".
>
>
> What this means is that the extension is using "Extension data", but the
> validation for UTF-8 is part of the "Application data" section.
> You'll need to send that frame through the extension which _might_ produce
> "Application data", which you then validate per the rules in RFC6455 Section
> 8.1
>
>
>
> --
> Joakim Erdfelt <joakim@intalio.com>
> webtide.com - intalio.com/jetty
> Expert advice, services and support from from the Jetty & CometD experts
> eclipse.org/jetty - cometd.org
>
> On Wed, Jan 28, 2015 at 10:28 AM, Pavel Rappo <pavel.rappo@gmail.com> wrote:
>>
>> Hi, I was wondering how this thing from [1]:
>>
>> >   PMCEs don't change the opcode field.  The opcode of the first frame
>> >   of a compress message indicates the opcode of the original message.
>> >
>> >   The payload data portion in frames generated by a PMCE is not subject
>> >   to the constraints for the original data type.  For example, the
>> >   concatenation of the output data corresponding to the application
>> >   data portion of frames of a compressed text message is not required
>> >   to be valid UTF-8.  At the receiver, the payload data portion after
>> >   decompression is subject to the constraints for the original data
>> >   type again.
>>
>> coexists with this thing form [2]:
>>
>> >   Text
>> >
>> >     The "Payload data" is text data encoded as UTF-8.  Note that a
>> >     particular text frame might include a partial UTF-8 sequence;
>> >     however, the whole message MUST contain valid UTF-8.  Invalid
>> >     UTF-8 in reassembled messages is handled as described in
>> >     Section 8.1.
>>
>> and this [3]:
>>
>> > 8.1.  Handling Errors in UTF-8-Encoded Data
>> >
>> >    When an endpoint is to interpret a byte stream as UTF-8 but finds
>> >    that the byte stream is not, in fact, a valid UTF-8 stream, that
>> >    endpoint MUST _Fail the WebSocket Connection_.  This rule applies
>> >    both during the opening handshake and during subsequent data
>> >    exchange.
>>
>> I noticed the "...The payload data portion in frames generated by a PMCE
>> is not
>> subject to the constraints for the original data type..." comment in [1],
>> but
>> still. It seems like it requires an additional comment in [2], something
>> like:
>>
>> >    When[*] an endpoint is to interpret a byte stream as UTF-8 but finds
>> >    that the byte stream is not, in fact, a valid UTF-8 stream, that
>> >    endpoint MUST _Fail the WebSocket Connection_.
>>
>> [*] But not before the extension stack is re-applied.
>>
>> Otherwise it's too broad, isn't it? What do you think? Thanks.
>>
>> -Pavel
>>
>>
>> -------------------------------------------------------------------------------
>> [1]:
>> https://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-19#section-6.1
>> [2]: https://tools.ietf.org/html/rfc6455#section-5.6
>> [3]: https://tools.ietf.org/html/rfc6455#section-8.1
>>
>> _______________________________________________
>> hybi mailing list
>> hybi@ietf.org
>> https://www.ietf.org/mailman/listinfo/hybi
>
>


From nobody Wed Jan 28 14:59:30 2015
Return-Path: <pavel.rappo@gmail.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 156611A1B9C for <hybi@ietfa.amsl.com>; Wed, 28 Jan 2015 14:59:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.101
X-Spam-Level: 
X-Spam-Status: No, score=-0.101 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 zS364aVy5Fyr for <hybi@ietfa.amsl.com>; Wed, 28 Jan 2015 14:59:26 -0800 (PST)
Received: from mail-ie0-x22d.google.com (mail-ie0-x22d.google.com [IPv6:2607:f8b0:4001:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1993A1A1B9E for <hybi@ietf.org>; Wed, 28 Jan 2015 14:59:24 -0800 (PST)
Received: by mail-ie0-f173.google.com with SMTP id tr6so26197899ieb.4 for <hybi@ietf.org>; Wed, 28 Jan 2015 14:59:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:from:date:message-id:subject:to:content-type; bh=qSh3JjtKcEpcKk2s1JAN3r+ElXaQzn+2Nj6P+r9jet4=; b=TEBveUtnHE1QFL3/TkQKS4RfI3SZURa3aGd22HC5ycLx99Hl0+yYNGu19X5lqDDXkf MfFaKl3HEdjEb31hJc1KJD3hFE7Lij08GS70RbE1YxJmte6BevgX799HGqMx/h+urEBo ZVjq1UgNKYcL778W5AFqNKv33i0nfFm6WhnUId38dTDMl0Nwx11+xf2/0goBpwjkzIK6 DdNogJjsQrGfufkfWNtb/MHganpR2Xt6Wz555WoxjMPnZmLpZF4ZgLftAX2EFiAH87NE KeFLl8R//SmP/JCM3QJj+AIodKX0tTF/m9uEud2q7cvBIhZgBfu68/jQMvall8X9F+g+ YGow==
X-Received: by 10.107.132.231 with SMTP id o100mr162768ioi.10.1422485964056; Wed, 28 Jan 2015 14:59:24 -0800 (PST)
MIME-Version: 1.0
Received: by 10.64.93.169 with HTTP; Wed, 28 Jan 2015 14:59:03 -0800 (PST)
From: Pavel Rappo <pavel.rappo@gmail.com>
Date: Wed, 28 Jan 2015 22:59:03 +0000
Message-ID: <CAChcVumExfvU5kLBvM+yq18Z0s5aJtSXZTqJoPB-KLFBt98nrQ@mail.gmail.com>
To: "hybi@ietf.org" <hybi@ietf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/hybi/PyZiuFTF-7bofauJGQEgR-4ceHI>
Subject: [hybi] mux as a subprotocol
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Jan 2015 22:59:28 -0000

Hi,

I wonder what was the rationale behind making a mux as an extension rather than
as a suprotocol? I mean it could have been just:

    Sec-WebSocket-Protocol: websocket13

on the handshake stage. And voila! we would have a "WebSocket over WebSocket".
Not that simple of course :) It would require all this additional work you've
done in the mux extension, but in an "encapsulation fashion" rather than in an
extension one. Benefits? API would become composable and not confusing.
So if you split WebSocket in 3 parts:

    1. handshake
    2. protocol
    3. transport

then you need to change (1) and (3) to apply WebSocket over WebSocket. Instead
of HTTP handshake you provide WebSocket handshake, instead of TCP socket as
transport you provide a WebSocket messages with specified channel id.

I mean unlike PMCEs this extension changes semantics of the messages. Before you
apply mux you send messages, after you apply it you must send messages _with
some additional data_ orthogonal to the message itself. No doubt it's very good
from the byte saving perspective (*), but from the API point of view it's a bit
strange, isn't it? You couldn't just write something like:

    WebSocket.withExtension("mux")

and proceed to use it the same way as without this extension.  Because
effectively it's a different protocol.

P.S. I might misunderstand the idea of the extension or/and missing some crucial
detail.

-Pavel

-------------------------------------------------------------------------------
(*) Actually it needs to be estimated to make sure it's a significant win.


From nobody Wed Jan 28 15:31:36 2015
Return-Path: <pavel.rappo@gmail.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 932DA1A6FE9 for <hybi@ietfa.amsl.com>; Wed, 28 Jan 2015 15:31:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 2vURrvle0BOt for <hybi@ietfa.amsl.com>; Wed, 28 Jan 2015 15:31:13 -0800 (PST)
Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 835421A6F29 for <hybi@ietf.org>; Wed, 28 Jan 2015 15:31:12 -0800 (PST)
Received: by mail-ie0-f178.google.com with SMTP id rp18so26500237iec.9 for <hybi@ietf.org>; Wed, 28 Jan 2015 15:31:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=53M9slih+uzVu3rFFACTNOUv19zRsUlrd/jPqWsamJ4=; b=B1fORvZW1gcQ9eyz2nhBwoc6yZ7dPDHxe5UyTNYEr+083MVPEL3WlyHwDC59VuVZVW OrRILkZvsXsVWYkiaq5EPTTSP2ClukURDYfNnhXpVTlKISLlC5HBNqmbBBydIO+e6dIE D87IrOwJPreH20Hsr4anEOJw2ONjhyI29KmdSjNYv6DhucagajzmTGzssHCZwWDh+Cv5 mz3ndocnHabsioeHZb2oPpSXOsn0MXEy3WCBnGeYfk7nzlJ6MaEBeV6voPd2mqKm3471 LU9f0VzKJFBoPxZZ0aqmuKboZRPphDR56Duy6J7rhZSKF7F/ppAe559EdaRZQgxfD3Z4 tB1g==
X-Received: by 10.107.15.138 with SMTP id 10mr138995iop.57.1422487871716; Wed, 28 Jan 2015 15:31:11 -0800 (PST)
MIME-Version: 1.0
Received: by 10.64.93.169 with HTTP; Wed, 28 Jan 2015 15:30:51 -0800 (PST)
In-Reply-To: <54C96FC7.9020808@warmcat.com>
References: <CAChcVumExfvU5kLBvM+yq18Z0s5aJtSXZTqJoPB-KLFBt98nrQ@mail.gmail.com> <54C96FC7.9020808@warmcat.com>
From: Pavel Rappo <pavel.rappo@gmail.com>
Date: Wed, 28 Jan 2015 23:30:51 +0000
Message-ID: <CAChcVuk2voZZw7sxQiYb5j3bzbzRFGEdSxGyJb3Qd1=TntDvqw@mail.gmail.com>
To: Andy Green <andy@warmcat.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/hybi/KTCFZW9eAUHKLRucyKCw9rZwpDk>
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] mux as a subprotocol
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 28 Jan 2015 23:31:15 -0000

On Wed, Jan 28, 2015 at 11:24 PM, Andy Green <andy@warmcat.com> wrote:
> It's dead Jim

Yes, I've skimmed through this thread [1]. But I believe my question doesn't
rely on whether mux is dead or not :)

-------------------------------------------------------------------------------
[1]: http://www.ietf.org/mail-archive/web/hybi/current/msg10266.html


From extracats@googlemail.com  Wed Jan 28 16:31:38 2015
Return-Path: <extracats@googlemail.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2CFDB1A892B for <hybi@ietfa.amsl.com>; Wed, 28 Jan 2015 16:31:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, 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 4D854nK82ocl for <hybi@ietfa.amsl.com>; Wed, 28 Jan 2015 16:31:36 -0800 (PST)
Received: from mail-pa0-x232.google.com (mail-pa0-x232.google.com [IPv6:2607:f8b0:400e:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E636F1A8927 for <hybi@ietf.org>; Wed, 28 Jan 2015 16:31:35 -0800 (PST)
Received: by mail-pa0-f50.google.com with SMTP id rd3so31565612pab.9 for <hybi@ietf.org>; Wed, 28 Jan 2015 16:31:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=FuxRM5waFDNGPf9YCQCqPnf/vpgGaAOEL6zHbVfUmx4=; b=TDT0ri8LcOnyfBc03VWGLX0Bd53Y+q9BRwO71lCXBVq3RNWl/rBT/AHbH3gfFvB9yh Z3E+sasjSgMmeElAjXS4wdg4cG03NCsWOqeI87wbM5rlNco7LIKCVAFLOYWQttFQMGzH i+Y2bqxuun/MUxTJRGS5TwcaCA48yCVnD/lK3C5fXf5jzVvO4THkbqTl+OKdmlTc6bYj WepV3KM0vJw60lkRZ+PGVixFuMAQ8o75OhgQogOx/9LoI9T0iI6l5+Ut8x4ccAsWXGbL vs/R7E8vUVstfXJRiJv/1j6faMHOozVLatE5+qp54P5kgg90+s2+FjfsZPMT/0qIFxfU Rtxg==
X-Received: by 10.66.66.166 with SMTP id g6mr10286283pat.88.1422491492681; Wed, 28 Jan 2015 16:31:32 -0800 (PST)
Received: from warmcat.com (114-36-246-180.dynamic.hinet.net. [114.36.246.180]) by mx.google.com with ESMTPSA id fm4sm5836912pdb.88.2015.01.28.16.31.30 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Jan 2015 16:31:31 -0800 (PST)
Sender: Andy Green <extracats@googlemail.com>
Received: from [192.168.2.232] (114-36-246-180.dynamic.hinet.net [114.36.246.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by warmcat.com (Postfix) with ESMTPSA id EB39797; Thu, 29 Jan 2015 08:31:27 +0800 (CST)
Message-ID: <54C97F5F.3040407@warmcat.com>
Date: Thu, 29 Jan 2015 08:31:27 +0800
From: Andy Green <andy@warmcat.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: Pavel Rappo <pavel.rappo@gmail.com>
References: <CAChcVumExfvU5kLBvM+yq18Z0s5aJtSXZTqJoPB-KLFBt98nrQ@mail.gmail.com> <54C96FC7.9020808@warmcat.com> <CAChcVuk2voZZw7sxQiYb5j3bzbzRFGEdSxGyJb3Qd1=TntDvqw@mail.gmail.com>
In-Reply-To: <CAChcVuk2voZZw7sxQiYb5j3bzbzRFGEdSxGyJb3Qd1=TntDvqw@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/hybi/Bj0CkQi_bvjpG9lxSAHtXM2w8Fo>
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] mux as a subprotocol
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Jan 2015 00:46:42 -0000

On 01/29/2015 07:30 AM, Pavel Rappo wrote:
> On Wed, Jan 28, 2015 at 11:24 PM, Andy Green <andy@warmcat.com> wrote:
>> It's dead Jim
>
> Yes, I've skimmed through this thread [1]. But I believe my question doesn't
> rely on whether mux is dead or not :)

Yeah?  I believe your answer might...

-Andy

>
> -------------------------------------------------------------------------------
> [1]: http://www.ietf.org/mail-archive/web/hybi/current/msg10266.html
>


From nobody Thu Jan 29 06:15:12 2015
Return-Path: <tyoshino@google.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4C91B1A19F4 for <hybi@ietfa.amsl.com>; Thu, 29 Jan 2015 06:15:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.388
X-Spam-Level: 
X-Spam-Status: No, score=-1.388 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, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 3YStbj5owAtI for <hybi@ietfa.amsl.com>; Thu, 29 Jan 2015 06:15:06 -0800 (PST)
Received: from mail-qg0-x231.google.com (mail-qg0-x231.google.com [IPv6:2607:f8b0:400d:c04::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 93DF91A047A for <hybi@ietf.org>; Thu, 29 Jan 2015 06:15:06 -0800 (PST)
Received: by mail-qg0-f49.google.com with SMTP id i50so28497305qgf.8 for <hybi@ietf.org>; Thu, 29 Jan 2015 06:15:05 -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=QDU93GjJQPU+K8FkbE/7kaMnaCDDHiWob1QOMh8+QNY=; b=cV8aYMT8mDAT4+dYSECL7WIgq6/qOg2PABqjrQ0cJIlEv4liVzluJaIQ9JRXPPJmBz 7tBKgM9eUpkrXSYNSku013vqv4/8GAU1oKHqkGjKBnGC3d5tPSNxQXnE7MOCX1QBEywJ vK5SlFxIQliX2YgiM1i8KzkaoCb6FdQsltafxKt+sZPgoEqTXD6PIXVkW5r3CZuLQlM0 Rk7QEZ+L2+vQqWX8ebAYNdeL0k3EblZv/b3cGe0DbcEnoHDMgXEsQE/s/VbTLuwp11fJ HWS4S6eOLABax1VUFwQfe0ElT9g9bgvmxlRl7rPvoyHPE1SDh840mcjmV4ughjQAvKVJ KkdA==
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=QDU93GjJQPU+K8FkbE/7kaMnaCDDHiWob1QOMh8+QNY=; b=K5Eo96VMnEl0TlHvPS3YN3ghfWgsV0EL+D2mzKxvhlAVjVWxpKnhv06UDamHedQVPM eNadDgU+GSIH8GNEYS8pu2nFPxig8+3sesEou3R73RIcKmQa/E8psk2Obc6HlSxtNUnk w+UgO6jfLclfJ9d9WTJT/fCGIEZlnJiDIDEoWkfe8WBThaIub1SgRZymQzyafy5Ko7cj GT6CiVRL4dsBCwUgZa1jmv8KgUAxHiZqm4BowqnlMEjVwOtfyruO/ie2L+4pKtpI+gWK Iikhlk/+3dB+eHh2LMxp3O/iO/jDOH83I85CS/U8PafMAHROLm+T8fdObEa3nfW2jkOB g4fQ==
X-Gm-Message-State: ALoCoQluN5mTsEKztn6meKkbr8bvY8g6mIlO95ZX6PVExAV5Drj5Ik/oPgoVYZuFUEC7ASEuLGD3
X-Received: by 10.140.108.74 with SMTP id i68mr1301951qgf.35.1422540905166; Thu, 29 Jan 2015 06:15:05 -0800 (PST)
MIME-Version: 1.0
Received: by 10.96.109.229 with HTTP; Thu, 29 Jan 2015 06:14:44 -0800 (PST)
In-Reply-To: <CAChcVukAqSLEX19z5YFh+t-03NhPmEG12Wyn_o=Pp=mT3qqvew@mail.gmail.com>
References: <CAChcVu=uJkMBLRtg1y+YLspQ9TmjbPe5fUqLmDZXvmCh52EmBw@mail.gmail.com> <CAG4zZZDyxdfxOYCZeYggVmxKo4gxGJ8-tDomKL2AjwqoP7gZhg@mail.gmail.com> <CAChcVukAqSLEX19z5YFh+t-03NhPmEG12Wyn_o=Pp=mT3qqvew@mail.gmail.com>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Thu, 29 Jan 2015 23:14:44 +0900
Message-ID: <CAH9hSJYAwRkP16HD=+FaUm0LYJre9QYj4vX6qpOEcZBYiuseeg@mail.gmail.com>
To: Pavel Rappo <pavel.rappo@gmail.com>
Content-Type: multipart/alternative; boundary=001a11395d2054d93b050dcb1d92
Archived-At: <http://mailarchive.ietf.org/arch/msg/hybi/EshP-VNZ1OxZmSbp82pHgb3-gSs>
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Data type transparency in PMCEs
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Jan 2015 14:15:09 -0000

--001a11395d2054d93b050dcb1d92
Content-Type: text/plain; charset=UTF-8

Agreed with Joakim's interpretation. To make it work, we need to be careful
about phrasing. I.e. compressed data must be extracted from payload data
part, not application data part. Current PMCE text is written so.

Takeshi

On Thu, Jan 29, 2015 at 3:17 AM, Pavel Rappo <pavel.rappo@gmail.com> wrote:

> Perfect, thanks. I forgot about the fact you cannot extract Application
> data
> from the Payload data. Only a certain extension in the chain should know
> how to
> do that.
>
> -Pavel
>
> On Wed, Jan 28, 2015 at 6:10 PM, Joakim Erdfelt <joakim@intalio.com>
> wrote:
> > Process the frame through the negotiated websocket extension chain before
> > validating the websocket frame contents.
> >
> > The validation of frame structure can be done both at the raw network
> frames
> > level, and at the post-extension level.
> > The validation of frame contents is best done at the post-extension
> level.
> >
> > With RFC6455, it addresses this with the nuance about "Payload Data"
> > See https://tools.ietf.org/html/rfc6455#section-5.2
> >
> >    Payload data:  (x+y) bytes
> >
> >       The "Payload data" is defined as "Extension data" concatenated
> >       with "Application data".
> >
> >    Extension data:  x bytes
> >
> >       The "Extension data" is 0 bytes unless an extension has been
> >       negotiated.  Any extension MUST specify the length of the
> >       "Extension data", or how that length may be calculated, and how
> >       the extension use MUST be negotiated during the opening handshake.
> >       If present, the "Extension data" is included in the total payload
> >       length.
> >
> >    Application data:  y bytes
> >
> >       Arbitrary "Application data", taking up the remainder of the frame
> >       after any "Extension data".  The length of the "Application data"
> >       is equal to the payload length minus the length of the "Extension
> >       data".
> >
> >
> > What this means is that the extension is using "Extension data", but the
> > validation for UTF-8 is part of the "Application data" section.
> > You'll need to send that frame through the extension which _might_
> produce
> > "Application data", which you then validate per the rules in RFC6455
> Section
> > 8.1
> >
> >
> >
> > --
> > Joakim Erdfelt <joakim@intalio.com>
> > webtide.com - intalio.com/jetty
> > Expert advice, services and support from from the Jetty & CometD experts
> > eclipse.org/jetty - cometd.org
> >
> > On Wed, Jan 28, 2015 at 10:28 AM, Pavel Rappo <pavel.rappo@gmail.com>
> wrote:
> >>
> >> Hi, I was wondering how this thing from [1]:
> >>
> >> >   PMCEs don't change the opcode field.  The opcode of the first frame
> >> >   of a compress message indicates the opcode of the original message.
> >> >
> >> >   The payload data portion in frames generated by a PMCE is not
> subject
> >> >   to the constraints for the original data type.  For example, the
> >> >   concatenation of the output data corresponding to the application
> >> >   data portion of frames of a compressed text message is not required
> >> >   to be valid UTF-8.  At the receiver, the payload data portion after
> >> >   decompression is subject to the constraints for the original data
> >> >   type again.
> >>
> >> coexists with this thing form [2]:
> >>
> >> >   Text
> >> >
> >> >     The "Payload data" is text data encoded as UTF-8.  Note that a
> >> >     particular text frame might include a partial UTF-8 sequence;
> >> >     however, the whole message MUST contain valid UTF-8.  Invalid
> >> >     UTF-8 in reassembled messages is handled as described in
> >> >     Section 8.1.
> >>
> >> and this [3]:
> >>
> >> > 8.1.  Handling Errors in UTF-8-Encoded Data
> >> >
> >> >    When an endpoint is to interpret a byte stream as UTF-8 but finds
> >> >    that the byte stream is not, in fact, a valid UTF-8 stream, that
> >> >    endpoint MUST _Fail the WebSocket Connection_.  This rule applies
> >> >    both during the opening handshake and during subsequent data
> >> >    exchange.
> >>
> >> I noticed the "...The payload data portion in frames generated by a PMCE
> >> is not
> >> subject to the constraints for the original data type..." comment in
> [1],
> >> but
> >> still. It seems like it requires an additional comment in [2], something
> >> like:
> >>
> >> >    When[*] an endpoint is to interpret a byte stream as UTF-8 but
> finds
> >> >    that the byte stream is not, in fact, a valid UTF-8 stream, that
> >> >    endpoint MUST _Fail the WebSocket Connection_.
> >>
> >> [*] But not before the extension stack is re-applied.
> >>
> >> Otherwise it's too broad, isn't it? What do you think? Thanks.
> >>
> >> -Pavel
> >>
> >>
> >>
> -------------------------------------------------------------------------------
> >> [1]:
> >>
> https://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-19#section-6.1
> >> [2]: https://tools.ietf.org/html/rfc6455#section-5.6
> >> [3]: https://tools.ietf.org/html/rfc6455#section-8.1
> >>
> >> _______________________________________________
> >> hybi mailing list
> >> hybi@ietf.org
> >> https://www.ietf.org/mailman/listinfo/hybi
> >
> >
>
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>

--001a11395d2054d93b050dcb1d92
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Agreed with Joakim&#39;s interpretation. To make it work, =
we need to be careful about phrasing. I.e. compressed data must be extracte=
d from payload data part, not application data part. Current PMCE text is w=
ritten so.</div><div class=3D"gmail_extra"><br clear=3D"all"><div><div clas=
s=3D"gmail_signature">Takeshi</div></div>
<br><div class=3D"gmail_quote">On Thu, Jan 29, 2015 at 3:17 AM, Pavel Rappo=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:pavel.rappo@gmail.com" target=3D"_=
blank">pavel.rappo@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"=
gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-=
left:1ex">Perfect, thanks. I forgot about the fact you cannot extract Appli=
cation data<br>
from the Payload data. Only a certain extension in the chain should know ho=
w to<br>
do that.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
-Pavel<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
On Wed, Jan 28, 2015 at 6:10 PM, Joakim Erdfelt &lt;<a href=3D"mailto:joaki=
m@intalio.com">joakim@intalio.com</a>&gt; wrote:<br>
&gt; Process the frame through the negotiated websocket extension chain bef=
ore<br>
&gt; validating the websocket frame contents.<br>
&gt;<br>
&gt; The validation of frame structure can be done both at the raw network =
frames<br>
&gt; level, and at the post-extension level.<br>
&gt; The validation of frame contents is best done at the post-extension le=
vel.<br>
&gt;<br>
&gt; With RFC6455, it addresses this with the nuance about &quot;Payload Da=
ta&quot;<br>
&gt; See <a href=3D"https://tools.ietf.org/html/rfc6455#section-5.2" target=
=3D"_blank">https://tools.ietf.org/html/rfc6455#section-5.2</a><br>
&gt;<br>
&gt;=C2=A0 =C2=A0 Payload data:=C2=A0 (x+y) bytes<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0The &quot;Payload data&quot; is defined as &=
quot;Extension data&quot; concatenated<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0with &quot;Application data&quot;.<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 Extension data:=C2=A0 x bytes<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0The &quot;Extension data&quot; is 0 bytes un=
less an extension has been<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0negotiated.=C2=A0 Any extension MUST specify=
 the length of the<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0&quot;Extension data&quot;, or how that leng=
th may be calculated, and how<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0the extension use MUST be negotiated during =
the opening handshake.<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0If present, the &quot;Extension data&quot; i=
s included in the total payload<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0length.<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 Application data:=C2=A0 y bytes<br>
&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0Arbitrary &quot;Application data&quot;, taki=
ng up the remainder of the frame<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0after any &quot;Extension data&quot;.=C2=A0 =
The length of the &quot;Application data&quot;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0is equal to the payload length minus the len=
gth of the &quot;Extension<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0data&quot;.<br>
&gt;<br>
&gt;<br>
&gt; What this means is that the extension is using &quot;Extension data&qu=
ot;, but the<br>
&gt; validation for UTF-8 is part of the &quot;Application data&quot; secti=
on.<br>
&gt; You&#39;ll need to send that frame through the extension which _might_=
 produce<br>
&gt; &quot;Application data&quot;, which you then validate per the rules in=
 RFC6455 Section<br>
&gt; 8.1<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Joakim Erdfelt &lt;<a href=3D"mailto:joakim@intalio.com">joakim@intali=
o.com</a>&gt;<br>
&gt; <a href=3D"http://webtide.com" target=3D"_blank">webtide.com</a> - <a =
href=3D"http://intalio.com/jetty" target=3D"_blank">intalio.com/jetty</a><b=
r>
&gt; Expert advice, services and support from from the Jetty &amp; CometD e=
xperts<br>
&gt; <a href=3D"http://eclipse.org/jetty" target=3D"_blank">eclipse.org/jet=
ty</a> - <a href=3D"http://cometd.org" target=3D"_blank">cometd.org</a><br>
&gt;<br>
&gt; On Wed, Jan 28, 2015 at 10:28 AM, Pavel Rappo &lt;<a href=3D"mailto:pa=
vel.rappo@gmail.com">pavel.rappo@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi, I was wondering how this thing from [1]:<br>
&gt;&gt;<br>
&gt;&gt; &gt;=C2=A0 =C2=A0PMCEs don&#39;t change the opcode field.=C2=A0 Th=
e opcode of the first frame<br>
&gt;&gt; &gt;=C2=A0 =C2=A0of a compress message indicates the opcode of the=
 original message.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;=C2=A0 =C2=A0The payload data portion in frames generated by a=
 PMCE is not subject<br>
&gt;&gt; &gt;=C2=A0 =C2=A0to the constraints for the original data type.=C2=
=A0 For example, the<br>
&gt;&gt; &gt;=C2=A0 =C2=A0concatenation of the output data corresponding to=
 the application<br>
&gt;&gt; &gt;=C2=A0 =C2=A0data portion of frames of a compressed text messa=
ge is not required<br>
&gt;&gt; &gt;=C2=A0 =C2=A0to be valid UTF-8.=C2=A0 At the receiver, the pay=
load data portion after<br>
&gt;&gt; &gt;=C2=A0 =C2=A0decompression is subject to the constraints for t=
he original data<br>
&gt;&gt; &gt;=C2=A0 =C2=A0type again.<br>
&gt;&gt;<br>
&gt;&gt; coexists with this thing form [2]:<br>
&gt;&gt;<br>
&gt;&gt; &gt;=C2=A0 =C2=A0Text<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0The &quot;Payload data&quot; is text data =
encoded as UTF-8.=C2=A0 Note that a<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0particular text frame might include a part=
ial UTF-8 sequence;<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0however, the whole message MUST contain va=
lid UTF-8.=C2=A0 Invalid<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0UTF-8 in reassembled messages is handled a=
s described in<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0Section 8.1.<br>
&gt;&gt;<br>
&gt;&gt; and this [3]:<br>
&gt;&gt;<br>
&gt;&gt; &gt; 8.1.=C2=A0 Handling Errors in UTF-8-Encoded Data<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 When an endpoint is to interpret a byte stream a=
s UTF-8 but finds<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 that the byte stream is not, in fact, a valid UT=
F-8 stream, that<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 endpoint MUST _Fail the WebSocket Connection_.=
=C2=A0 This rule applies<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 both during the opening handshake and during sub=
sequent data<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 exchange.<br>
&gt;&gt;<br>
&gt;&gt; I noticed the &quot;...The payload data portion in frames generate=
d by a PMCE<br>
&gt;&gt; is not<br>
&gt;&gt; subject to the constraints for the original data type...&quot; com=
ment in [1],<br>
&gt;&gt; but<br>
&gt;&gt; still. It seems like it requires an additional comment in [2], som=
ething<br>
&gt;&gt; like:<br>
&gt;&gt;<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 When[*] an endpoint is to interpret a byte strea=
m as UTF-8 but finds<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 that the byte stream is not, in fact, a valid UT=
F-8 stream, that<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 endpoint MUST _Fail the WebSocket Connection_.<b=
r>
&gt;&gt;<br>
&gt;&gt; [*] But not before the extension stack is re-applied.<br>
&gt;&gt;<br>
&gt;&gt; Otherwise it&#39;s too broad, isn&#39;t it? What do you think? Tha=
nks.<br>
&gt;&gt;<br>
&gt;&gt; -Pavel<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ------------------------------------------------------------------=
-------------<br>
&gt;&gt; [1]:<br>
&gt;&gt; <a href=3D"https://tools.ietf.org/html/draft-ietf-hybi-permessage-=
compression-19#section-6.1" target=3D"_blank">https://tools.ietf.org/html/d=
raft-ietf-hybi-permessage-compression-19#section-6.1</a><br>
&gt;&gt; [2]: <a href=3D"https://tools.ietf.org/html/rfc6455#section-5.6" t=
arget=3D"_blank">https://tools.ietf.org/html/rfc6455#section-5.6</a><br>
&gt;&gt; [3]: <a href=3D"https://tools.ietf.org/html/rfc6455#section-8.1" t=
arget=3D"_blank">https://tools.ietf.org/html/rfc6455#section-8.1</a><br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; hybi mailing list<br>
&gt;&gt; <a href=3D"mailto:hybi@ietf.org">hybi@ietf.org</a><br>
&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/hybi" target=3D"_=
blank">https://www.ietf.org/mailman/listinfo/hybi</a><br>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
hybi mailing list<br>
<a href=3D"mailto:hybi@ietf.org">hybi@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/hybi" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/hybi</a><br>
</div></div></blockquote></div><br></div>

--001a11395d2054d93b050dcb1d92--

