mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
add conn->requested_resource to connection_t checks.
svn:r4951
This commit is contained in:
parent
a938190bdb
commit
4ce0e01848
@ -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…
Reference in New Issue
Block a user