From: Roger Dingledine Date: Mon, 19 Dec 2005 00:35:18 +0000 (+0000) Subject: more asserts in case weasel can trigger them X-Git-Tag: tor-0.1.1.11-alpha~168 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da01657c3454b0ca02f142f55627b7d51894fee9;p=thirdparty%2Ftor.git more asserts in case weasel can trigger them svn:r5616 --- diff --git a/src/or/rendclient.c b/src/or/rendclient.c index 5a5fba73a4..f80c86a2cb 100644 --- a/src/or/rendclient.c +++ b/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