• Olivier Crête's avatar
    agent: ignore gathering failures on auto-generated IPs · fc4d3aab
    Olivier Crête authored
    Candidate gathering is stopped when discovery_add_local_host_candidate()
    returns HOST_CANDIDATE_CANT_CREATE_SOCKET. This may be too radical
    a measure when other local addresses can still be able to generate
    usable candidates.
    
    The issue was observed by a user who had an IPv6 address with tentative
    flag on one of the interfaces. That single failing address was causing
    the whole gathering process to end with no candidates found.
    
    Still, don't do this if nice_agent_add_local_address() has been called.
    In that case, the user really cares about the addresses and if there's
    any problem, the process should fail.
    
    https://phabricator.freedesktop.org/D1016
    fc4d3aab
agent.c 185 KB