mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
more asserts in case weasel can trigger them
svn:r5616
This commit is contained in:
parent
7cd46d7f95
commit
da01657c34
@ -426,6 +426,7 @@ rend_client_desc_here(const char *query)
|
|||||||
|
|
||||||
while ((conn = connection_get_by_type_state_rendquery(CONN_TYPE_AP,
|
while ((conn = connection_get_by_type_state_rendquery(CONN_TYPE_AP,
|
||||||
AP_CONN_STATE_RENDDESC_WAIT, query))) {
|
AP_CONN_STATE_RENDDESC_WAIT, query))) {
|
||||||
|
assert_connection_ok(conn, now);
|
||||||
if (rend_cache_lookup_entry(conn->rend_query, -1, &entry) == 1 &&
|
if (rend_cache_lookup_entry(conn->rend_query, -1, &entry) == 1 &&
|
||||||
entry->parsed->n_intro_points > 0) {
|
entry->parsed->n_intro_points > 0) {
|
||||||
/* either this fetch worked, or it failed but there was a
|
/* either this fetch worked, or it failed but there was a
|
||||||
|
Loading…
Reference in New Issue
Block a user