diff options
-rw-r--r-- | src/or/connection.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index 3b8c0347fd..a5a4fb45b5 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -1952,6 +1952,9 @@ assert_connection_ok(connection_t *conn, time_t now) } else if (conn->type != CONN_TYPE_DIR) { tor_assert(!conn->purpose); /* only used for dir types currently */ } + if (conn->type != CONN_TYPE_DIR) { + tor_assert(!conn->requested_resource); + } switch (conn->type) { |