Skip to content

Commit

Permalink
trunk can have pending connections on open.
Browse files Browse the repository at this point in the history
see previous commits for details
  • Loading branch information
alandekok committed Dec 28, 2024
1 parent b526513 commit fd81c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/server/trunk.c
Original file line number Diff line number Diff line change
Expand Up @@ -3261,7 +3261,7 @@ static void trunk_connection_enter_active(trunk_connection_t *tconn)
case TRUNK_CONN_INIT:
case TRUNK_CONN_CONNECTING:
trunk_connection_remove(tconn);
fr_assert(trunk_request_count_by_connection(tconn, TRUNK_REQUEST_STATE_ALL) == 0);
fr_assert(trunk_request_count_by_connection(tconn, TRUNK_REQUEST_STATE_ALL) == trunk_request_count_by_connection(tconn, TRUNK_REQUEST_STATE_PENDING));
break;

default:
Expand Down

0 comments on commit fd81c48

Please sign in to comment.