Skip to content
Browse files

Disable the default policy file loading, because I want faster timeouts

  • Loading branch information...
1 parent e9b99e6 commit f4b05c281e0267ba8d14fe7f9d8880173dfd8989 @Vagabond committed
Showing with 3 additions and 3 deletions.
  1. BIN WebSocketMain.swf
  2. BIN WebSocketMainInsecure.zip
  3. +3 −3 flash-src/WebSocketMain.as
View
BIN WebSocketMain.swf
Binary file not shown.
View
BIN WebSocketMainInsecure.zip
Binary file not shown.
View
6 flash-src/WebSocketMain.as
@@ -41,9 +41,9 @@ public class WebSocketMain extends Sprite {
url:String, protocol:String,
proxyHost:String = null, proxyPort:int = 0,
headers:String = null):WebSocket {
- if (!manualPolicyFileLoaded) {
- loadDefaultPolicyFile(url);
- }
+ //if (!manualPolicyFileLoaded) {
+ // loadDefaultPolicyFile(url);
+ //}
return new WebSocket(this, url, protocol, proxyHost, proxyPort, headers);
}

0 comments on commit f4b05c2

Please sign in to comment.
Something went wrong with that request. Please try again.