Issue Details (XML | Word | Printable)

Key: JM-1500
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Daniel Henninger
Reporter: Daniel Henninger
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Openfire (ARCHIVED)

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

Created: 11/25/08 01:59 AM   Updated: 11/29/08 12:12 AM
Component/s: Core
Affects Version/s: 3.6.1
Fix Version/s: 3.6.3

Time Tracking:
Not Specified

Support Plan Customer Issue: No
Resolution Date: 11/29/08 12:12 AM
Acceptance Test - Add?: No


 Description  « Hide
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.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Daniel Henninger added a comment - 11/26/08 05:47 PM
Based on this document:
http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html

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 added a comment - 11/29/08 12: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.