mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
Merge branch 'maint-0.4.3'
This commit is contained in:
commit
05aab3fd21
3
changes/doc32971
Normal file
3
changes/doc32971
Normal file
@ -0,0 +1,3 @@
|
||||
o Documentation (manpage):
|
||||
- Document __OwningControllerProcess torrc option and specify polling
|
||||
interval. Resolves issue 32971.
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user