Closed trungnq97 closed 11 years ago
Maybe you need to close the socket after sending socket policy file content? i.e. after sock.sendall(policy)
Thanks a lot gimite!! It just works now after I close the socket. Thank you for the library also. It's great :-)
I have setup like this: Flask & gevent-websocket for websocket server, Websocketjs for client side. I tried to disable websocket in Firefox to test flash function. But I cannot make it work. (Everything works fine with native websocket). The policy server actually printed some output like "Client connected, served policy...", but Client side still complained like this:
Anybody has some suggestion?
Flask gevent websocket server: run.py
Policy server: policy.py
HTML & JS: index.html
--Trung