Skip to content
Snippets Groups Projects
  1. Mar 13, 2018
    • Corey Farrell's avatar
      core: Remove non-critical cleanup from startup aborts. · fee929c8
      Corey Farrell authored
      When built-in components of Asterisk fail to start they cause the
      Asterisk startup to abort.  In these cases only the most critical
      cleanup should be performed - closing databases and terminating
      proceses.  These cleanups are registered using ast_register_atexit, all
      other cleanups should not be run during startup abort.
      
      The main reason for this change is that these cleanup procedures are
      untestable from the partially initialized states, if they fail it could
      prevent us from ever running the critical cleanup with ast_run_atexits.
      
      Create separate initialization for dns_core.c to be run unconditionally
      during startup instead of being initialized by the first dns resolver to
      be registered. This ensures that 'sched' is initialized before it can be
      potentially used.
      
      Replace ast_register_atexit with ast_register_cleanup in media_cache.c.
      There is no reason for this cleanup to happen unconditionally.
      
      Change-Id: Iecc2df98008b21509925ff16740bd5fa29527db3
      fee929c8
    • Jenkins2's avatar
    • Joshua Colp's avatar
  2. Mar 12, 2018
  3. Mar 11, 2018
  4. Mar 09, 2018
    • Alexander Traud's avatar
      BuildSystem: For consistency, avoid double-checking via if clauses. · c5f23329
      Alexander Traud authored
      In the script ./configure, AST_EXT_LIB_CHECK and AST_PKG_CONFIG_CHECK first test
      whether parameter 1 was already found. Consequently, an if-test on PBX_ just a
      line below is redundant, if exactly the same parameter 1 is used again.
      
      No performance gain is expected by this change. However, because this strategy
      is used all over in ./configure except for two places, this change aims to
      create more consistency: Only do something different if there is a reason to do
      so.
      
      Change-Id: I4a6f48127b7af3a48168c917e888be1f70625027
      c5f23329
    • Jenkins2's avatar
      Merge "res_http_post: Enable GMime in NetBSD." · ffdc5c63
      Jenkins2 authored
      ffdc5c63
  5. Mar 08, 2018
  6. Mar 07, 2018
  7. Mar 06, 2018
  8. Mar 05, 2018
Loading