[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [flashproxy/master] Use HTTPS in flashproxy-reg-http.



commit f60bdc7227cb7a0abbc74b8c9198b8b2da32471e
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Thu Aug 30 09:40:47 2012 -0700

    Use HTTPS in flashproxy-reg-http.
---
 flashproxy-reg-http |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/flashproxy-reg-http b/flashproxy-reg-http
index 6b0310f..1c989c0 100755
--- a/flashproxy-reg-http
+++ b/flashproxy-reg-http
@@ -10,7 +10,7 @@ import urllib
 DEFAULT_REMOTE_ADDRESS = ""
 DEFAULT_REMOTE_PORT = 9000
 DEFAULT_FACILITATOR_HOST = "tor-facilitator.bamsoftware.com"
-DEFAULT_FACILITATOR_PORT = 9002
+DEFAULT_FACILITATOR_PORT = 443
 
 class options(object):
     remote_addr = None
@@ -103,7 +103,7 @@ else:
     sys.exit(1)
 
 spec = format_addr(options.remote_addr)
-http = httplib.HTTPConnection(*options.facilitator_addr)
+http = httplib.HTTPSConnection(*options.facilitator_addr)
 try:
     http.request("POST", "/", urllib.urlencode({"client": spec}))
     resp = http.getresponse()



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits