[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] Use HTTPS in flashproxy.js.
commit 82736119d8bad82ecd3ee5db4a006f28e8647306
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date: Thu Aug 30 16:15:53 2012 -0700
Use HTTPS in flashproxy.js.
---
flashproxy.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/flashproxy.js b/flashproxy.js
index 6d70fe7..b0bdf21 100644
--- a/flashproxy.js
+++ b/flashproxy.js
@@ -51,7 +51,7 @@
var DEFAULT_FACILITATOR_ADDR = {
host: "tor-facilitator.bamsoftware.com",
- port: 9002
+ port: 443
};
var DEFAULT_MAX_NUM_PROXY_PAIRS = 10;
@@ -372,7 +372,7 @@ function FlashProxy() {
return;
}
- fac_url = "http://" + encodeURIComponent(this.fac_addr.host)
+ fac_url = "https://" + encodeURIComponent(this.fac_addr.host)
+ ":" + encodeURIComponent(this.fac_addr.port) + "/";
xhr = new XMLHttpRequest();
try {
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits