Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows XP
Language Found: English
Description
Steps to reproduce:
1. Starts PolicyServer on port 843 => java -jar PolicyServer.jar 843
2. Launch one or several clients (if you wish)
java -cp policyServer.jar com.lessrain.policyserver.Client localhost 843
You can see the Client receives the crossdomain.xml content with final \0
3. modify constants SERVER and PORT from the file TextXMLSocket.mxml
4. Launch TextXMLSocket.mxml as Flex Application
Results:
1. The Client Java gets all the crossdomain files, no error. You can even launch several clients.
2. The Client Flex fails randomly sometimes 1 time/2, sometimes 9 times/10
Very strange, sometimes the Flex succeed all the times, but in this case the flashlogs.txt
is not updated, is this related ? i don't know
Other people who have the same problem:
http://ammonlauritzen.com/blog/category/flash/
http://www.kirupa.com/forum/showthread.php?t=289119
Related Bug: SDK-14853 : policy-File on port 843 not always requested which has been closed prematurely
I think the Security.loadPolicyFile("xmlsocket://xxx.xxx.com:843"); uses XMLSocket