[tor-commits] [flashproxy/master] Disable whenever WebSockets are not supported.
dcf at torproject.org
dcf at torproject.org
Mon Apr 9 04:08:43 UTC 2012
commit fdf3c12ceabdccbcc48e3ebee3724efa3f1fe791
Author: David Fifield <david at bamsoftware.com>
Date: Wed Apr 4 23:29:33 2012 -0700
Disable whenever WebSockets are not supported.
---
flashproxy.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/flashproxy.js b/flashproxy.js
index 235ffbb..07de96b 100644
--- a/flashproxy.js
+++ b/flashproxy.js
@@ -786,6 +786,10 @@ function flashproxy_should_disable()
}
}
+ if (!WebSocket)
+ /* No WebSocket support. */
+ return true;
+
return false;
}
More information about the tor-commits
mailing list