Skip to content
Snippets Groups Projects
  1. Feb 10, 2016
  2. Feb 09, 2016
    • Corey Farrell's avatar
      Simplify and fix conditional in FD_SET. · 68643f83
      Corey Farrell authored
      FD_SET contains a conditional statement to protect against buffer
      overruns.  The statement was overly complicated and prevented use
      of the last array element of ast_fdset.  We now just verify the fd
      is less than ast_FDMAX.
      
      Change-Id: I41895c0b497b052aef5bf49d75c817c48b326f40
      68643f83
    • Joshua Colp's avatar
    • Joshua Colp's avatar
      tests/test_sorcery_memory_cache_thrash: Improve termination process. · e40fddbe
      Joshua Colp authored
      When terminating the threads thrashing a sorcery memory cache each
      would be told to stop and then we would wait on them. During at
      least one thrashing test this was problematic due to the specific
      usage pattern in use. It would take some time for termination of the
      thread to occur.
      
      This would occur due to contention between the threads retrieving
      and the threads updating the cache. As the retrieving threads are
      given priority it may be some time before the updating threads
      are able to proceed.
      
      This change makes it so all threads are told to stop and then each
      are joined to ensure they stop. This way all the threads should
      stop at around the same time instead of waiting for one to stop,
      the next to stop, then the next, and so on. As a result of this
      the execution time for each thrash test is much closer to their
      expected value than previously seen as well.
      
      Change-Id: I04a53470b0ea4170b8819180b0bd7475f3642827
      e40fddbe
  3. Feb 08, 2016
  4. Feb 07, 2016
  5. Feb 05, 2016
  6. Feb 04, 2016
  7. Feb 03, 2016
  8. Feb 02, 2016
    • Mark Michelson's avatar
    • Mark Michelson's avatar
      res_sorcery_realtime: Fix regex regression. · 65223618
      Mark Michelson authored
      A regression was introduced where searching for realtime PJSIP objects
      by regex by starting the regex with a leading "^" would cause no items
      to be returned.
      
      This was due to a change which attempted to drop the requirement for a
      leading "^" to be present due to how some CLI commands formulate their
      regexes. However, the change, rather than simply eliminating the
      requirement, caused any regexes that did begin with "^" to end up not
      returning the expected results.
      
      This change fixes the problem by inspecting the regex and formulating
      the realtime query differently depending on if it begins with "^".
      
      ASTERISK-25702 #close
      Reported by Nic Colledge
      
      Patches:
          realtime_retrieve_regex.patch submitted by Alexei Gradinari License #5691
      
      Change-Id: I055df608a6e6a10732044fa737a9fe8dca602693
      65223618
    • Karsten Wemheuer's avatar
      res_xmpp: Does not connect in component mode · 2a6f18cd
      Karsten Wemheuer authored
      The module res_xmpp does not accept usernames in the form used in component
      mode (XEP-0114). In component mode there is no @something in the name.
      In component mode the connection is now not dropped anymore.
      
      If the xmpp server sends out a "stream" tag before handshake is finished,
      the connection gets dropped in res_xmpp. Now this tag will be ignored and
      the connection will be established.
      
      After connecting there will be an exchange of presence states. This does
      not work as expected in component mode. The responsible function
      "xmpp_pak_presence" is left before the states get sent out. Sending
      presence states in component mode is now moved to the top of the function.
      
      ASTERISK-25735 #close
      
      Change-Id: I70e036f931c3124ebb2ad1e56f93ed35cfdd9d5c
      2a6f18cd
    • Joshua Colp's avatar
      c9a5f98e
Loading