mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 02:09:24 +01:00
v3 onion services now obey MAX_REND_FAILURES
New-style (v3) onion services now obey the "max rendezvous circuit attempts" logic. Previously they would make as many rendezvous circuit attempts as they could fit in the MAX_REND_TIMEOUT second window before giving up. Fixes bug 24894; bugfix on 0.3.2.1-alpha.
This commit is contained in:
parent
db5aa54a42
commit
7ce335c921
5
changes/bug24894
Normal file
5
changes/bug24894
Normal file
@ -0,0 +1,5 @@
|
||||
o Major bugfixes (v3 onion services):
|
||||
- New-style (v3) onion services now obey the "max rendezvous circuit
|
||||
attempts" logic. Previously they would make as many rendezvous
|
||||
circuit attempts as they could fit in the MAX_REND_TIMEOUT second
|
||||
window before giving up. Fixes bug 24894; bugfix on 0.3.2.1-alpha.
|
@ -545,7 +545,7 @@ retry_service_rendezvous_point(const origin_circuit_t *circ)
|
||||
|
||||
/* Transfer build state information to the new circuit state in part to
|
||||
* catch any other failures. */
|
||||
new_circ->build_state->failure_count = bstate->failure_count++;
|
||||
new_circ->build_state->failure_count = bstate->failure_count+1;
|
||||
new_circ->build_state->expiry_time = bstate->expiry_time;
|
||||
new_circ->hs_ident = hs_ident_circuit_dup(circ->hs_ident);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user