Details
Description
When using CallbackPolling transport, if the server does not reply to the client or otherwise send a message, the long poll is not resumed, causing the javascript clients to hang until the long poll returns because it times out.
When using CallbackPolling transport, if the server does not reply to the client or otherwise send a message, the long poll is not resumed, causing the javascript clients to hang until the long poll returns because it times out.
This is important because browsers respect the order that js src get's were initialized, so that code is not executed out of order. So a XD publish response is not executed until the prior meta-connect response is received.
I've updated the private chat demo, so that if you send a private message like
silent::text
it is consumed without any publish. This can be used to test this featured.