mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-22 22:25:51 +01:00
add conn->requested_resource to connection_t checks.
svn:r4951
This commit is contained in:
parent
a938190bdb
commit
4ce0e01848
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue