mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Don't assert for listener connections
This commit is contained in:
@@ -3939,6 +3939,9 @@ assert_connection_ok(connection_t *conn, time_t now)
|
||||
case CONN_TYPE_CONTROL:
|
||||
tor_assert(conn->magic == CONTROL_CONNECTION_MAGIC);
|
||||
break;
|
||||
CASE_ANY_LISTENER_TYPE:
|
||||
tor_assert(conn->magic == LISTENER_CONNECTION_MAGIC);
|
||||
break;
|
||||
default:
|
||||
tor_assert(conn->magic == BASE_CONNECTION_MAGIC);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user