Flash cross domain handler (port 5229) should not spit crossdomain.xml immediately


The flash cross domain handler that runs on port 5229 immediately spits a cross domain file at whoever connects to the port. That is improper as Flash is expecting to perform an HTTP dance to retrieve that file. In other words, flash expects to connect, send a GET /crossdomain.xml, get the file, and disconnect. Instead, often flash based clients will connect, go to send the GET, and either notice they've been disconnected already and freak out, or do the GET, not hear anything back (because it was already sent before they got their GET out), and time out. A simple fix for this will be to run a minimal HTTP servlet on that port.




Daniel Henninger
November 29, 2008, 6:12 AM

While adobe's documentation says you should do it one way, the other works fine too. So we're going with it answering both style requests, and back to the extremely lightweight handler.

Daniel Henninger
November 27, 2008, 11:47 AM
Daniel Henninger
November 26, 2008, 11:47 PM

Based on this document:

We should not be doing HTTP for this. That said, HTTP works, and Flash clients accept it just fine. That said, might as well follow the guidelines as precisely as possible.



Daniel Henninger


Daniel Henninger