[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #17615 [Tor Browser]: Tor Browser sets network.proxy.socks_port in an inappropriate way
#17615: Tor Browser sets network.proxy.socks_port in an inappropriate way
-------------------------+--------------------------
Reporter: infinity0 | Owner: tbb-team
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Tor Browser | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Sponsor: |
-------------------------+--------------------------
Comment (by gk):
Replying to [comment:2 infinity0]:
> Yes, I see that problem with my original suggestion. Here is an
alternate one:
>
> Immediately after setting `network.proxy.socks_port` from envvar
`TOR_SOCKS_PORT`, register a shutdown hook (e.g. a signal handler for
HUP/INT/TERM/etc and whatever else the language gives you) to reset it to
the previous value (or no value, if there was no previous).
>
> Does that work better?
I think so. Patches welcome.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17615#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs