Przeglądaj źródła

more asserts in case weasel can trigger them

svn:r5616
Roger Dingledine 20 lat temu
rodzic
commit
da01657c34
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/or/rendclient.c

+ 1 - 0
src/or/rendclient.c

@@ -426,6 +426,7 @@ rend_client_desc_here(const char *query)
 
   while ((conn = connection_get_by_type_state_rendquery(CONN_TYPE_AP,
                                  AP_CONN_STATE_RENDDESC_WAIT, query))) {
+    assert_connection_ok(conn, now);
     if (rend_cache_lookup_entry(conn->rend_query, -1, &entry) == 1 &&
         entry->parsed->n_intro_points > 0) {
       /* either this fetch worked, or it failed but there was a