Changeset 113


Ignore:
Timestamp:
07/15/10 04:15:25 (11 years ago)
Author:
sc
Message:

fix to flash socket policy file transmission

File:
1 edited

Legend:

Unmodified
Added
Removed
  • thinkgear_emulator/puzzlebox_thinkgear_server.py

    r100 r113  
    268268         
    269269        def sendResponse(self, connection, response, disconnect_after_sending=False): 
    270                  
    271                 data = json.dumps(response) 
     270 
     271                # Special socket handling for Flash applications 
     272                if (response == FLASH_SOCKET_POLICY_FILE): 
     273                        data = response 
     274                else: 
     275                        data = json.dumps(response) 
    272276                 
    273277                if connection.waitForConnected(CLIENT_NO_REPLY_WAIT): 
Note: See TracChangeset for help on using the changeset viewer.