mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-01 08:03:31 +01:00
Merge branch 'maint-0.2.2'
This commit is contained in:
commit
6917728637
@ -263,7 +263,7 @@ circuit_build_times_test_frequency(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieve and bounds-check the cbtmintimeout consensus paramter.
|
* Retrieve and bounds-check the cbtmintimeout consensus parameter.
|
||||||
*
|
*
|
||||||
* Effect: This is the minimum allowed timeout value in milliseconds.
|
* Effect: This is the minimum allowed timeout value in milliseconds.
|
||||||
* The minimum is to prevent rounding to 0 (we only check once
|
* The minimum is to prevent rounding to 0 (we only check once
|
||||||
|
@ -1352,7 +1352,10 @@ run_scheduled_events(time_t now)
|
|||||||
* it's not comfortable with the number of available circuits.
|
* it's not comfortable with the number of available circuits.
|
||||||
*/
|
*/
|
||||||
/* XXXX022 If our circuit build timeout is much lower than a second, maybe
|
/* XXXX022 If our circuit build timeout is much lower than a second, maybe
|
||||||
we should do this more often? */
|
* we should do this more often? -NM
|
||||||
|
* It can't be lower than 1.5 seconds currently; see
|
||||||
|
* circuit_build_times_min_timeout(). -RD
|
||||||
|
*/
|
||||||
circuit_expire_building();
|
circuit_expire_building();
|
||||||
|
|
||||||
/** 3b. Also look at pending streams and prune the ones that 'began'
|
/** 3b. Also look at pending streams and prune the ones that 'began'
|
||||||
|
Loading…
Reference in New Issue
Block a user