Commit ad57e866 authored by Youness Alaoui's avatar Youness Alaoui

When we unfreeze a conncheck, we must make sure the timer will keep running....

When we unfreeze a conncheck, we must make sure the timer will keep running. The conncheck gets unfrozen from state FROZEN to WAITING. If there are no other IN_PROGRESS connchecks, then the timer will stop and the WAITING conncheck will never go into IN_PROGRESS state. This can cause a lock because the state of the stream will be never be READY/FAILED as there will be one conncheck in WAITING state remaining
parent 8b0b8320
......@@ -401,9 +401,9 @@ static gboolean priv_conn_check_tick_unlocked (gpointer pointer)
if (pair) {
priv_conn_check_initiate (agent, pair);
keep_timer_going = TRUE;
} else {
keep_timer_going = priv_conn_check_unfreeze_next (agent);
}
else
priv_conn_check_unfreeze_next (agent);
for (j = agent->streams; j; j = j->next) {
Stream *stream = j->data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment