[whatwg] Issues with Web Sockets API

Drew Wilson atwilson at google.com
Wed Jul 29 12:05:16 PDT 2009


On Wed, Jul 29, 2009 at 1:33 AM, Ian Hickson <ian at hixie.ch> wrote:
>
>
> Yes. But that's the case anyway -- events are asynchronous, so consider
> the case of receiving two messages. Both are queued up, then eventually
> the first is dispatched. If in response to that you close the connection,
> that doesn't stop the second being dispatched, since it was already queued
> up.
>

I'd note that this conforms to the behavior of MessagePorts - close
disentangles the ports, but already-received/queued messages are still
delivered.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090729/3e001da0/attachment-0001.htm>


More information about the whatwg mailing list