mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Merge remote-tracking branch 'tor-github/pr/1077' into maint-0.3.5
This commit is contained in:
commit
d253b31cec
5
changes/bug29034
Normal file
5
changes/bug29034
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
o Major bugfixes (Onion service reachability):
|
||||||
|
- Properly clean up the introduction point map when circuits change purpose
|
||||||
|
from onion service circuits to pathbias, measurement, or other circuit types.
|
||||||
|
This should fix some service-side instances of introduction point failure.
|
||||||
|
Fixes bug 29034; bugfix on 0.3.2.1-alpha.
|
@ -3066,6 +3066,12 @@ circuit_change_purpose(circuit_t *circ, uint8_t new_purpose)
|
|||||||
circ->purpose,
|
circ->purpose,
|
||||||
circuit_purpose_to_string(new_purpose),
|
circuit_purpose_to_string(new_purpose),
|
||||||
new_purpose);
|
new_purpose);
|
||||||
|
|
||||||
|
/* Take specific actions if we are repurposing a hidden service circuit. */
|
||||||
|
if (circuit_purpose_is_hidden_service(circ->purpose) &&
|
||||||
|
!circuit_purpose_is_hidden_service(new_purpose)) {
|
||||||
|
hs_circ_cleanup(circ);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
old_purpose = circ->purpose;
|
old_purpose = circ->purpose;
|
||||||
|
Loading…
Reference in New Issue
Block a user