Commit e2b0ca29 authored by Youness Alaoui's avatar Youness Alaoui

Recognize a matching check if it's an INVALID message (error with no error-code)

parent aadbbbd2
......@@ -2153,7 +2153,7 @@ static gboolean priv_map_reply_to_conn_check_request (NiceAgent *agent, Stream *
p->state = NICE_CHECK_WAITING;
nice_debug ("Agent %p : pair %p state WAITING", agent, p);
trans_found = TRUE;
} else if (res == STUN_USAGE_ICE_RETURN_ERROR) {
} else {
/* case: STUN error, the check STUN context was freed */
nice_debug ("Agent %p : conncheck %p FAILED.", agent, p);
p->stun_message.buffer = NULL;
......
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