summaryrefslogtreecommitdiff
path: root/stun
diff options
context:
space:
mode:
authorFabrice Bellet <fabrice@bellet.info>2017-11-26 17:13:19 +0100
committerOlivier CrĂȘte <olivier.crete@collabora.com>2018-03-23 13:56:13 -0400
commitae3e5acc775ee6c1701ff9a2404b14e4d5dd6c20 (patch)
tree438829183e503f2bfd057b5c8b5a53317b905718 /stun
parentdb6166ee247a8f9fa4ebe2a08d223de73cbd2e96 (diff)
downloadlibnice-ae3e5acc775ee6c1701ff9a2404b14e4d5dd6c20.tar.gz
conncheck: rework early stun requests handling
With this patch we simplify the code used to handle the incoming stun request when remote candidates or remote credentials have not been received yet. When the remote credentials is unknown, the stun request is stored in a list of incoming_checks for later processing, and no further processing is done, except responding to the request. When the remote credentials are received, the triggered checks for these incoming checks can now be queued, and the related pairs are created. If the remote candidates have not been received when the stun request on a valid local port arrives, a peer-reflexive remote candidate will be created. This candidate may need to be updated later when remote candidates are finally received, including candidate priority and foundation, and also related pairs. Reviewed-by: Olivier CrĂȘte <olivier.crete@collabora.com> Differential Revision: https://phabricator.freedesktop.org/D1889
Diffstat (limited to 'stun')
0 files changed, 0 insertions, 0 deletions