It doesn't, but it will work with websockets if you use a subdomain
that isn't using the CloudFlare proxy. When I setup NowJS to use the
subdomain, it is able to make the connection, but none of the client-
side functions on now get called (so the socket connection is made
through
socket.domain.com, and the client is seeing just
domain.com).
On Dec 31 2011, 4:52 am, Eric Zhang <
e...@nowjs.com> wrote:
> Hi James,
>
> NowJS works fine with crossdomain and crossport configurations, however the
> issue is likely that the CloudFlare proxy is unable to forward websocket
> connections (I am not actually sure, haven't tried but that is a common
> issue with many reverse proxies).
>
> You want to explicitly disable websockets and give it a try:
>
> `nowjs.initialize(httpServer, {socketio: {transports: ['xhr-polling',
> 'jsonp-polling']}});`
>
> Eric
>