mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 22:47:12 +01:00
Don't assert for listener connections
This commit is contained in:
parent
e05ddf3e18
commit
9b0d3719ae
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue