Re: Proposal for API for Data

On Apr 12, 2012, at 11:57 AM, Timothy B. Terriberry wrote:

> Michael Tuexen wrote:
>> OK, so what should happen when send() is called on a data channel which is CLOSING or CLOSED?
>> Buffering the data knowing that it never can be transmitted seems no right to me...
> The variable bufferedAmount is increased. The data isn't (or shouldn't be!) actually buffered.
Hmm. So telling the user that everything is fine, the message is buffered and will be delivered,
but actually it won't.
Not the way send() is handled at the socket layer, but if it is common at the JS API...

Thanks for the clarification

Best regards


Received on Thursday, 12 April 2012 10:02:55 UTC