• 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
..
Makefile.am Loading commit data...
address.c Loading commit data...
address.h Loading commit data...
agent-priv.h Loading commit data...
agent.c Loading commit data...
agent.h Loading commit data...
candidate.c Loading commit data...
candidate.h Loading commit data...
component.c Loading commit data...
component.h Loading commit data...
conncheck.c Loading commit data...
conncheck.h Loading commit data...
debug.c Loading commit data...
debug.h Loading commit data...
discovery.c Loading commit data...
discovery.h Loading commit data...
inputstream.c Loading commit data...
inputstream.h Loading commit data...
interfaces.c Loading commit data...
interfaces.h Loading commit data...
iostream.c Loading commit data...
iostream.h Loading commit data...
outputstream.c Loading commit data...
outputstream.h Loading commit data...
pseudotcp.c Loading commit data...
pseudotcp.h Loading commit data...
stream.c Loading commit data...
stream.h Loading commit data...