1. 18 Mar, 2020 1 commit
    • Mark Andrews's avatar
      Refactor the isc_log API so it cannot fail on memory failures · 0b793166
      Mark Andrews authored
      The isc_mem API now crashes on memory allocation failure, and this is
      the next commit in series to cleanup the code that could fail before,
      but cannot fail now, e.g. isc_result_t return type has been changed to
      void for the isc_log API functions that could only return ISC_R_SUCCESS.
      0b793166
  2. 21 Feb, 2020 2 commits
  3. 07 Nov, 2019 1 commit
  4. 12 Sep, 2019 1 commit
    • Ondřej Surý's avatar
      Simplify isc_mem_create() to always use defaults and never fail · 1b716a39
      Ondřej Surý authored
      Previously, the isc_mem_create() and isc_mem_createx() functions took `max_size`
      and `target_size` as first two arguments.  Those values were never used in the
      BIND 9 code.  The refactoring removes those arguments and let BIND 9 always use
      the default values.
      
      Previously, the isc_mem_create() and isc_mem_createx() functions could have
      failed because of failed memory allocation.  As this was no longer true and the
      functions have always returned ISC_R_SUCCESS, the have been refactored to return
      void.
      1b716a39
  5. 23 Jul, 2019 1 commit
  6. 15 Nov, 2018 1 commit
  7. 16 Aug, 2018 1 commit
  8. 08 Aug, 2018 1 commit
  9. 09 Apr, 2018 1 commit
    • Michał Kępień's avatar
      Use dns_fixedname_initname() where possible · 4df4a8e7
      Michał Kępień authored
      Replace dns_fixedname_init() calls followed by dns_fixedname_name()
      calls with calls to dns_fixedname_initname() where it is possible
      without affecting current behavior and/or performance.
      
      This patch was mostly prepared using Coccinelle and the following
      semantic patch:
      
          @@
          expression fixedname, name;
          @@
          -	dns_fixedname_init(&fixedname);
          	...
          -	name = dns_fixedname_name(&fixedname);
          +	name = dns_fixedname_initname(&fixedname);
      
      The resulting set of changes was then manually reviewed to exclude false
      positives and apply minor tweaks.
      
      It is likely that more occurrences of this pattern can be refactored in
      an identical way.  This commit only takes care of the low-hanging fruit.
      4df4a8e7
  10. 26 Feb, 2018 1 commit
  11. 23 Feb, 2018 1 commit
  12. 26 Oct, 2017 1 commit
  13. 08 Sep, 2017 1 commit
    • Evan Hunt's avatar
      [master] add libns and remove liblwres · 8eb88aaf
      Evan Hunt authored
      4708.   [cleanup]       Legacy Windows builds (i.e. for XP and earlier)
                              are no longer supported. [RT #45186]
      
      4707.	[func]		The lightweight resolver daemon and library (lwresd
      			and liblwres) have been removed. [RT #45186]
      
      4706.	[func]		Code implementing name server query processing has
      			been moved from bin/named to a new library "libns".
      			Functions remaining in bin/named are now prefixed
      			with "named_" rather than "ns_".  This will make it
      			easier to write unit tests for name server code, or
      			link name server functionality into new tools.
      			[RT #45186]
      8eb88aaf
  14. 28 Apr, 2017 1 commit
  15. 24 Apr, 2017 1 commit
  16. 21 Apr, 2017 1 commit
  17. 27 Jun, 2016 1 commit
  18. 24 Nov, 2015 2 commits
  19. 31 Dec, 2014 1 commit