Merge branch 'maint-0.4.3'

This commit is contained in:
David Goulet 2020-03-10 09:14:44 -04:00
commit 05aab3fd21
3 changed files with 10 additions and 2 deletions

3
changes/doc32971 Normal file
View File

@ -0,0 +1,3 @@
o Documentation (manpage):
- Document __OwningControllerProcess torrc option and specify polling
interval. Resolves issue 32971.

View File

@ -760,6 +760,11 @@ forward slash (/) in the configuration file and on the command line.
This setting will be ignored for connections to the loopback
addresses (127.0.0.0/8 and ::1).
[[OwningControllerProcess]] **{dbl_}OwningControllerProcess** __PID__::
Make Tor instance periodically check for presence of a controller process
with given PID and terminate itself if this process is no longer alive.
Polling interval is 15 seconds.
[[PerConnBWBurst]] **PerConnBWBurst** __N__ **bytes**|**KBytes**|**MBytes**|**GBytes**|**TBytes**|**KBits**|**MBits**|**GBits**|**TBits**::
If this option is set manually, or via the "perconnbwburst" consensus
field, Tor will use it for separate rate limiting for each connection

View File

@ -165,8 +165,8 @@ tor_validate_process_specifier(const char *process_spec,
return parse_process_specifier(process_spec, &ppspec, msg);
}
/* DOCDOC poll_interval_tv */
static const struct timeval poll_interval_tv = {15, 0};
/* We check this often for presence of owning controller process. */
static const struct timeval poll_interval_tv = {15, 0}; // 15 seconds.
/** Create a process-termination monitor for the process specifier
* given in <b>process_spec</b>. Return a newly allocated