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

[tor-commits] [obfs-flash/master] Set TOR_PT_EXTENDED_SERVER_PORT= for websocket-server.



commit e5184672b8180f16a32a41375a40ab65bbe5e6b3
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Tue Dec 3 19:05:04 2013 -0800

    Set TOR_PT_EXTENDED_SERVER_PORT= for websocket-server.
    
    This doesn't change behavior, because websocket-server ignores an absent
    environment variable. But this makes it match the setup for obfsproxy,
    which insists on having the variable set.
---
 obfs-flash-server.go |    1 +
 1 file changed, 1 insertion(+)

diff --git a/obfs-flash-server.go b/obfs-flash-server.go
index d429594..6678e13 100644
--- a/obfs-flash-server.go
+++ b/obfs-flash-server.go
@@ -196,6 +196,7 @@ func startProcesses(connectBackAddr net.Addr) (extBindAddr *net.TCPAddr, procs P
 	cmd.Env = []string{
 		"TOR_PT_MANAGED_TRANSPORT_VER=1",
 		"TOR_PT_STATE_LOCATION=" + os.Getenv("TOR_PT_STATE_LOCATION"),
+		"TOR_PT_EXTENDED_SERVER_PORT=",
 		"TOR_PT_ORPORT=" + midBindAddr.String(),
 		"TOR_PT_SERVER_TRANSPORTS=websocket",
 		"TOR_PT_SERVER_BINDADDR=websocket-127.0.0.1:0",



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