[tor-commits] [flashproxy/master] Listen on only one address.

dcf at torproject.org dcf at torproject.org
Wed Jan 30 05:11:38 UTC 2013


commit ea57e62bc6bca8fe6c62f862300ae7ac21cc420d
Author: David Fifield <david at bamsoftware.com>
Date:   Mon Nov 26 23:19:34 2012 -0800

    Listen on only one address.
    
    We are only a managed proxy so that's all we need.
---
 websocket-transport/websocket-client.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/websocket-transport/websocket-client.go b/websocket-transport/websocket-client.go
index e98459b..1259a50 100644
--- a/websocket-transport/websocket-client.go
+++ b/websocket-transport/websocket-client.go
@@ -170,7 +170,7 @@ func startListener(addrStr string) (*net.TCPListener, error) {
 
 func main() {
 	const ptMethodName = "websocket"
-	var defaultSocksAddrStrs = []string{"127.0.0.1:0", "[::1]:0"}
+	var defaultSocksAddrStrs = []string{"127.0.0.1:0"}
 	var socksAddrStrs []string
 
 	var socksArg = flag.String("socks", "", "address on which to listen for SOCKS connections")





More information about the tor-commits mailing list