mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
ed57a04a65
hs_client_purge_state() and hs_cache_clean_as_client() can remove a descriptor from the client cache with a NEWNYM or simply when the descriptor expires. Which means that for an INTRO circuit being established during that time, once it opens, we lookup the descriptor to get the IP object but hey surprised, no more descriptor. The approach here is minimalist that is accept the race and close the circuit since we can not continue. Before that, the circuit would stay opened and the client wait the SockTimeout. Fixers #28970. Signed-off-by: David Goulet <dgoulet@torproject.org>
7 lines
385 B
Plaintext
7 lines
385 B
Plaintext
o Minor bugfixes (clietn, hidden service v3):
|
|
- Fix a BUG() assertion that occurs within a very small race window between
|
|
a client intro circuit opens and its descriptor that gets cleaned up from
|
|
the cache. The circuit is now closed which will trigger a re-fetch of the
|
|
descriptor and continue the HS connection. Fixes bug 28970; bugfix on
|
|
0.3.2.1-alpha.
|