Commit 95de1465 authored by Fabrice Bellet's avatar Fabrice Bellet Committed by Olivier Crête
Browse files

conncheck: more debug

parent e1fb2f0f
Pipeline #142361 passed with stages
in 12 minutes and 41 seconds
......@@ -2044,6 +2044,9 @@ conn_check_remote_candidates_set(NiceAgent *agent, NiceStream *stream,
IncomingCheck *icheck = i->data;
GList *i_next = i->next;
nice_debug ("Agent %p : replaying icheck=%p (sock=%p)",
agent, icheck, icheck->local_socket);
/* sect 7.2.1.3., "Learning Peer Reflexive Candidates", has to
* be handled separately */
for (j = component->local_candidates; j; j = j->next) {
......@@ -3162,6 +3165,9 @@ static gboolean priv_schedule_triggered_check (NiceAgent *agent, NiceStream *str
g_assert (remote_cand != NULL);
nice_debug ("Agent %p : scheduling triggered check with socket=%p "
"and remote cand=%p.", agent, local_socket, remote_cand);
for (i = stream->conncheck_list; i ; i = i->next) {
p = i->data;
if (p->component_id == component->id &&
......@@ -4824,6 +4830,7 @@ gboolean conn_check_handle_inbound_stun (NiceAgent *agent, NiceStream *stream,
/* step: send a reply immediately but postpone other processing */
priv_store_pending_check (agent, component, from, nicesock,
username, username_len, priority, use_candidate);
priv_print_conn_check_lists (agent, G_STRFUNC, ", icheck stored");
}
} else {
nice_debug ("Agent %p : Invalid STUN packet, ignoring... %s",
......
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