mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 06:48:05 +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:
|
case CONN_TYPE_CONTROL:
|
||||||
tor_assert(conn->magic == CONTROL_CONNECTION_MAGIC);
|
tor_assert(conn->magic == CONTROL_CONNECTION_MAGIC);
|
||||||
break;
|
break;
|
||||||
|
CASE_ANY_LISTENER_TYPE:
|
||||||
|
tor_assert(conn->magic == LISTENER_CONNECTION_MAGIC);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
tor_assert(conn->magic == BASE_CONNECTION_MAGIC);
|
tor_assert(conn->magic == BASE_CONNECTION_MAGIC);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue