mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Fix bug #5097: remove bogus envvar from managed proxies' environment
This commit is contained in:
parent
db23aec6f2
commit
0e9663d439
9
changes/bug5097
Normal file
9
changes/bug5097
Normal file
@ -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.
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user