1. 19 May, 2022 6 commits
  2. 18 May, 2022 5 commits
  3. 17 May, 2022 6 commits
  4. 16 May, 2022 2 commits
  5. 14 May, 2022 8 commits
  6. 13 May, 2022 13 commits
    • Evan Hunt's avatar
      Merge branch 'each-view-cleanup' into 'main' · 891c50af
      Evan Hunt authored
      clean up view and related object shutdown processes
      
      See merge request !6278
      891c50af
    • Evan Hunt's avatar
      CHANGES · 57829793
      Evan Hunt authored
      57829793
    • Evan Hunt's avatar
      attach the resolver to the ADB · 3b13edc5
      Evan Hunt authored
      the ADB depends on the resolver, but previously only accessed it
      via the view. as view->resolver may now be detached before the ADB
      finishes, a shutdown race was possible. attaching to the resolver
      directly prevents this.
      3b13edc5
    • Evan Hunt's avatar
      remove requestmgr whenshutdown events · d7ffd897
      Evan Hunt authored
      the request manager has no direct dependency on the
      view, so there's no need for a weak reference. remove the
      dns_requestmgr_whenshutdown() mechanism since it is no longer
      used.
      d7ffd897
    • Evan Hunt's avatar
      remove resolver whenshutdown events · 51cd295c
      Evan Hunt authored
      weakly attaching and detaching when creating and destroying the
      resolver obviates the need to have a callback event to do the weak
      detach. remove the dns_resolver_whenshutdown() mechanism, as it is
      now unused.
      51cd295c
    • Evan Hunt's avatar
      remove ADB whenshutdown events · a2d49127
      Evan Hunt authored
      weakly attaching and detaching the view when creating or destroying
      the ADB obviates the need for a whenshutdown callback event to do
      the detaching.  remove the dns_adb_whenshutdown() mechanism, since
      it is no longer needed.
      a2d49127
    • Evan Hunt's avatar
      move ADB and resolver stats out of the view object · 3027f59f
      Evan Hunt authored
      for better object separation, ADB and resolver statistics counters
      are now stored in the ADB and resolver objects themsevles, rather than
      in the associated view.
      3027f59f
    • Evan Hunt's avatar
      remove view->attributes field · e5e2d781
      Evan Hunt authored
      it's not necessary to use view attributes to determine whether
      the ADB, resolver and requestmgr need to be shut down; checking
      whether they're NULL is sufficient.
      e5e2d781
    • Evan Hunt's avatar
      the validator can attach to the view normally · 435e29c3
      Evan Hunt authored
      dns_view_weakattach() and _weakdetach() are used by objects that
      are created by the view and need it to persist until they are
      destroyed, but don't need to prevent it from being shut down. the
      validator can use normal view references instead of weak references.
      435e29c3
    • Evan Hunt's avatar
      fixed a possible reference leak in dns_resolver_create() · e8ab719b
      Evan Hunt authored
      If an error occurred while creating the resolver, the mctx could
      remain attached.
      e8ab719b
    • Evan Hunt's avatar
      minor view refactoring · fe1fa8dc
      Evan Hunt authored
      - eliminate dns_view_flushanddetach(), which was only called from
        one place; instead, we now call a function dns_view_flushonshutdown()
        which sets the view up to flush zones when it is detached normally
        with dns_view_detach().
      - cleaned up code in dns_view_create().
      fe1fa8dc
    • Evan Hunt's avatar
      maybe_cancel_validators() is always called locked · f7fa139f
      Evan Hunt authored
      there's no longer any need for a parameter to specify whether the
      function is called while holding the bucket lock, because all
      unlocked uses have been removed.
      f7fa139f
    • Matthijs Mekking's avatar
      Merge branch '3302-keymgr-updates-key-files-each-run' into 'main' · e6baff35
      Matthijs Mekking authored
      Fix "keymgr updates key files each run"
      
      Closes #3302
      
      See merge request !6250
      e6baff35