Bug 20111: use Unix domain sockets for SOCKS port by default
commitf4980a6c647ea780eacc922846e81c0d992cbd13
authorKathy Brade <brade@pearlcrescent.com>
Tue, 11 Oct 2016 19:37:47 +0000 (11 15:37 -0400)
committerGeorg Koppen <gk@torproject.org>
Thu, 20 Oct 2016 15:51:58 +0000 (20 15:51 +0000)
tree3899eae0d7ecebc0cd59fa7c0455abaee48c69a3
parent70e5f3b26c7e4d22158b02757681170ac0daadf5
Bug 20111: use Unix domain sockets for SOCKS port by default

Retrieve SOCKS port configuration from Tor Launcher if available.
Support the TOR_SOCKS_IPC_PATH environment variable.

Consistently use IPC to refer to Unix domain sockets.

Enhance torbutton_local_tor_check() to correctly handle spaces and
escaped characters within the 'GETINFO net/listeners/socks' response.

Within startup-observer.js, use Services.jsm, Cc and similar
constants, and remove unused code.
src/chrome/content/tor-circuit-display.js
src/chrome/content/torbutton.js
src/components/startup-observer.js
src/modules/tor-control-port.js
src/modules/utils.js