mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Merge remote-tracking branch 'dgoulet/bug13239_029_01'
This commit is contained in:
commit
b2083cba9e
4
changes/bug13239
Normal file
4
changes/bug13239
Normal file
@ -0,0 +1,4 @@
|
||||
o Minor bugfixes (hidden service client):
|
||||
- Increase the minimum number of internal circuits we preemptively build
|
||||
from 2 to 3 so they are available when a client connects to another
|
||||
onion service. Fixes bug 13239; bugfix on tor-0.1.0.1-rc~460.
|
@ -1067,7 +1067,7 @@ circuit_predict_and_launch_new(void)
|
||||
if (rep_hist_get_predicted_internal(now, &hidserv_needs_uptime,
|
||||
&hidserv_needs_capacity) &&
|
||||
((num_uptime_internal<2 && hidserv_needs_uptime) ||
|
||||
num_internal<2)
|
||||
num_internal<3)
|
||||
&& router_have_consensus_path() != CONSENSUS_PATH_UNKNOWN) {
|
||||
if (hidserv_needs_uptime)
|
||||
flags |= CIRCLAUNCH_NEED_UPTIME;
|
||||
|
Loading…
Reference in New Issue
Block a user