W3C home > Mailing lists > Public > public-webrtc@w3.org > May 2014

Re: DataChannel: how to know the max size of the sending buffer?

From: <piranna@gmail.com>
Date: Wed, 7 May 2014 18:42:28 +0200
Message-ID: <CAKfGGh1Wd8eg+_=gD3sKpvNGNgqewM6VGVcdJ94LjdZymjPc2A@mail.gmail.com>
To: Iñaki Baz Castillo <ibc@aliax.net>
Cc: "public-webrtc@w3.org" <public-webrtc@w3.org>
>> Why do you think it's the same?
>
> I meant that raising an error or throwing an exception is basically the same :)

Oh, I though you were saying it was the same with blocking the thread =<:-P


>> I think this is the correct behaviour, but it would be better to get
>> notified when you can send data again (.send() method returning a
>> promise?).
>
> Probably.
>
> Anyhow, IMHO the current Chrome behavior is good enough (fire an error
> if the sending buffer is full, but don't close the connection).
>
+1


-- 
"Si quieres viajar alrededor del mundo y ser invitado a hablar en un
monton de sitios diferentes, simplemente escribe un sistema operativo
Unix."
– Linus Tordvals, creador del sistema operativo Linux
Received on Wednesday, 7 May 2014 16:43:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:17:58 UTC