[haXe] remoting and policy files?

Nicolas Cannasse ncannasse at motion-twin.com
Sun Apr 1 11:46:35 CEST 2007


> Now, I see a problem in haxe because in the haxe remoting chat server
> i'm getting the following message on connection from the client
> 
>    neko server.n
> Server.hx:86: Starting server... on 1966
> Server.hx:72: Client connected
> Invalid remoting message '<policy-file-request/>'
> Called from neko/net/ThreadServer.hx line 116
> Called from neko/net/ThreadServer.hx line 99
> Called from neko/net/ThreadRemotingServer.hx line 74
> Server.hx:78: Client disconnected
> 
> this is all conecture, but i guess the client haxe remoting request has
> been intercepted by flash and had a policy request added which probably
> screws up all the serialisation and stuff.
> 
> Unless there's a way for remoting server to specify a policy file, which
> may be the cleanest fix, I think this is a problem.

This is possible to fix but might take some time.

Nicolas



More information about the Haxe mailing list