1. 09 Oct, 2014 10 commits
  2. 08 Oct, 2014 1 commit
  3. 26 Sep, 2014 3 commits
  4. 25 Sep, 2014 8 commits
  5. 24 Sep, 2014 1 commit
  6. 23 Sep, 2014 5 commits
  7. 22 Sep, 2014 6 commits
  8. 19 Sep, 2014 2 commits
    • Philip Withnall's avatar
      agent: Clear existing GSource timeouts before adding new ones · 5ed865fb
      Philip Withnall authored
      Modify agent_timeout_add_with_context() to force destroying and freeing
      of an existing GSource before overwriting it with a new one (probably
      with an updated timeout period).
      This fixes a case in priv_map_reply_to_relay_refresh() where the TURN
      candidate refresh timer was being overwritten with a new one, without
      the old one being destroyed. This lead to two timeouts existing, only
      one of which would be destroyed when the CandidateRefresh struct was
      freed, leaking the other one (in the main context) and allowing it to be
      later dispatched with a dangling CandidateRefresh pointer.
      The modification to agent_timeout_add_with_context() should prevent this
      happening in new code in future.
    • Philip Withnall's avatar
      agent: Add names to timer GSources · e5fbdbe6
      Philip Withnall authored
      Modify the agent_timeout_add_with_context() utility function to
      automatically add names to the timer GSources it creates. This makes
      them a little easier to identify when debugging.
  9. 02 Sep, 2014 2 commits
  10. 01 Sep, 2014 2 commits
    • Philip Withnall's avatar
      stun: Make a warning message more prominent · d9afbf28
      Philip Withnall authored
      Since dropping a STUN message due to having insufficient buffer space in
      libstun can cause ICE negotiation to fail. So we want it to be more
      obvious in the logs.
    • Olivier Crête's avatar
      agent: Put one StunAgent per Component · 8d53e347
      Olivier Crête authored
      Otherwise we risk running out of space in the space limited saved ids
      list. So the easiest way to do that is to put one StunAgent in each
      component. It may be advisable to just give up on not allocating
      memory inside libstun and just use a regular hash table in there