diff options
author | Robert Ransom <rransom.8774@gmail.com> | 2012-02-12 00:10:28 -0800 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-02-12 19:12:51 -0500 |
commit | 0e9663d4397e9f1b87e789b5e1b166f06177dd18 (patch) | |
tree | f06c1dc7ca0ad63c05d9bd818fd0102e3cd8126c | |
parent | db23aec6f22a5ee930be3410893c2ce318d004e6 (diff) | |
download | tor-0e9663d4397e9f1b87e789b5e1b166f06177dd18.tar tor-0e9663d4397e9f1b87e789b5e1b166f06177dd18.tar.gz |
Fix bug #5097: remove bogus envvar from managed proxies' environment
-rw-r--r-- | changes/bug5097 | 9 | ||||
-rw-r--r-- | src/or/transports.c | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/changes/bug5097 b/changes/bug5097 new file mode 100644 index 000000000..770e9b50a --- /dev/null +++ b/changes/bug5097 @@ -0,0 +1,9 @@ + o Minor bugfixes: + + - Don't put "TOR_PT_EXTENDED_SERVER_PORT=127.0.0.1:4200" in a + managed pluggable transport server proxy's environment. + Previously, we would put it there, even though Tor doesn't + implement an 'extended server port' yet, and even though Tor + almost certainly isn't listening to that address. Bugfix on + 0.2.3.6-alpha. + diff --git a/src/or/transports.c b/src/or/transports.c index 3e5501e0e..c7a63cbec 100644 --- a/src/or/transports.c +++ b/src/or/transports.c @@ -1087,8 +1087,6 @@ set_managed_proxy_environment(char ***envp, const managed_proxy_t *mp) router_get_advertised_or_port(options)); tor_asprintf(tmp++, "TOR_PT_SERVER_BINDADDR=%s", bindaddr); tor_asprintf(tmp++, "TOR_PT_SERVER_TRANSPORTS=%s", transports_to_launch); - /* XXX temp*/ - tor_asprintf(tmp++, "TOR_PT_EXTENDED_SERVER_PORT=127.0.0.1:4200"); } else { tor_asprintf(tmp++, "TOR_PT_CLIENT_TRANSPORTS=%s", transports_to_launch); } |