Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Mathieu Duponchelle
libnice
Commits
f97f1072
Commit
f97f1072
authored
Nov 16, 2018
by
Olivier Crête
👻
Committed by
Olivier Crête
Dec 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conncheck: Don't free all incoming checks on credentials
Candidates could also be dribbled.
parent
1a8be3df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
agent/conncheck.c
agent/conncheck.c
+2
-5
No files found.
agent/conncheck.c
View file @
f97f1072
...
...
@@ -1673,16 +1673,13 @@ void conn_check_remote_credentials_set(NiceAgent *agent, NiceStream *stream)
if
(
icheck
->
use_candidate
)
priv_mark_pair_nominated
(
agent
,
stream
,
component
,
lcand
,
rcand
);
g_queue_delete_link
(
&
component
->
incoming_checks
,
k
);
break
;
}
}
k
=
k_next
;
}
/* Once we process the pending checks, we should free them to avoid
* reprocessing them again if a dribble-mode set_remote_candidates
* is called */
while
((
c
=
g_queue_pop_head
(
&
component
->
incoming_checks
)))
incoming_check_free
(
c
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment