• Fabrice Bellet's avatar
    conncheck: rework early stun requests handling · ae3e5acc
    Fabrice Bellet authored
    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's avatarOlivier Crête <olivier.crete@collabora.com>
    Differential Revision: https://phabricator.freedesktop.org/D1889
    ae3e5acc
Name
Last commit
Last update
agent Loading commit data...
docs Loading commit data...
examples Loading commit data...
gst Loading commit data...
m4 Loading commit data...
nice Loading commit data...
random Loading commit data...
scripts Loading commit data...
socket Loading commit data...
stun Loading commit data...
tests Loading commit data...
win32/vs9 Loading commit data...
.arcconfig Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LGPL Loading commit data...
COPYING.MPL Loading commit data...
ChangeLog Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.win32 Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
common.mk Loading commit data...
configure.ac Loading commit data...