[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] Disable whenever WebSockets are not supported.
commit fdf3c12ceabdccbcc48e3ebee3724efa3f1fe791
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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;
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits