Rewrite managed proxy environment setup code

Now, the environment setup is entirely OS-independent, as well as less
hacky and brittle.
This commit is contained in:
Robert Ransom
2012-02-13 00:46:18 -08:00
committed by Nick Mathewson
parent 340d906419
commit bf1ce3f53d
2 changed files with 78 additions and 177 deletions
+11
View File
@@ -0,0 +1,11 @@
o Minor bugfixes:
- Ensure that variables set in Tor's environment cannot override
environment variables which Tor tries to pass to a managed
pluggable-transport proxy. Previously, Tor would pass every
variable in its environment to managed proxies along with the
new ones, in such a way that on many operating systems, the
inherited environment variables would override those which Tor
tried to explicitly set. Bugfix on 0.2.3.12-alpha for most
Unixoid systems; bugfix on 0.2.3.9-alpha for Windows.