• Fabrice Bellet's avatar
    agent: warn when closing the agent with alive turn refreshes · bbf7f2d7
    Fabrice Bellet authored
    This patch suggests the developer to close its alive reservations on
    the turn server before disposing the agent.
    
    Not removing reservations on the turn server, will make them alive until
    their default timeout, generally 300 seconds, which is not fair for the
    turn server resources, but also it may cause a fatal error 437,
    "Mismatched allocation: wrong transaction ID", when another agent tries
    to contact the same turn server using the same nat mapping before this
    delay expires.
    bbf7f2d7
agent.c 221 KB