1. 05 Jun, 2019 1 commit
  2. 04 Jun, 2019 1 commit
  3. 03 Jun, 2019 6 commits
    • Ondřej Surý's avatar
      Revise the Windows section of <isc/endian.h> · 14ecd7d7
      Ondřej Surý authored and Michał Kępień's avatar Michał Kępień committed
      Add a comment and remove redundant definitions.
      14ecd7d7
    • Ondřej Surý's avatar
      Revise the macOS section of <isc/endian.h> · 7e058488
      Ondřej Surý authored and Michał Kępień's avatar Michał Kępień committed
      Move the macOS section of <isc/endian.h> to a lower spot as it is
      believed not to be the most popular platform for running BIND.  Add a
      comment and remove redundant definitions.
      7e058488
    • Ondřej Surý's avatar
      Make <isc/endian.h> detect GNU rather than Linux · 2e54b1be
      Ondřej Surý authored and Michał Kępień's avatar Michał Kępień committed
      Instead of only supporting Linux, try making <isc/endian.h> support
      other GNU platforms as well.  Since some compilers define __GNUC__ on
      BSDs (e.g. Clang on FreeBSD), move the relevant section to the bottom of
      the platform-specific part of <isc/endian.h>, so that it only gets
      evaluated when more specific platform determination criteria are not
      met.  Also include <byteswap.h> so that any byte-swapping macros which
      may be defined in that file on older platforms are used in the fallback
      definitions of the nonstandard hto[bl]e{16,32,64}() and
      [bl]e{16,32,64}toh() conversion functions.
      2e54b1be
    • Ondřej Surý's avatar
      Add Solaris support for <isc/endian.h> · 387cc001
      Ondřej Surý authored and Michał Kępień's avatar Michał Kępień committed
      While Solaris does not support the nonstandard hto[bl]e{16,32,64}() and
      [bl]e{16,32,64}toh() conversion functions, it does have some
      byte-swapping macros available in <sys/byteorder.h>.  Ensure these
      macros are used in the fallback definitions of the aforementioned
      nonstandard functions.
      387cc001
    • Ondřej Surý's avatar
      Add fallback definitions to <isc/endian.h> · 85059c29
      Ondřej Surý authored and Michał Kępień's avatar Michał Kępień committed
      Since the hto[bl]e{16,32,64}() and [bl]e{16,32,64}toh() conversion
      functions are nonstandard, add fallback definitions of these functions
      to <isc/endian.h>, so that their unavailability does not prevent
      compilation from succeeding.
      85059c29
    • Michał Kępień's avatar
      Fix <isc/endian.h> on BSD systems · 7ab1fb2a
      Michał Kępień authored
      Current versions of DragonFly BSD, FreeBSD, NetBSD, and OpenBSD all
      support the modern variants of functions converting values between host
      and big-endian/little-endian byte order while older ones might not.
      Ensure <isc/endian.h> works properly in both cases.
      7ab1fb2a
  4. 30 May, 2019 3 commits
  5. 29 May, 2019 1 commit
  6. 24 May, 2019 1 commit
  7. 21 May, 2019 2 commits
  8. 20 May, 2019 3 commits
  9. 13 May, 2019 1 commit
  10. 25 Apr, 2019 1 commit
    • Evan Hunt's avatar
      refactor tcpquota and pipeline refs; allow special-case overrun in isc_quota · 2f3876d1
      Evan Hunt authored and Ondřej Surý's avatar Ondřej Surý committed
      - if the TCP quota has been exceeded but there are no clients listening
        for new connections on the interface, we can now force attachment to the
        quota using isc_quota_force(), instead of carrying on with the quota not
        attached.
      - the TCP client quota is now referenced via a reference-counted
        'ns_tcpconn' object, one of which is created whenever a client begins
        listening for new connections, and attached to by members of that
        client's pipeline group. when the last reference to the tcpconn
        object is detached, it is freed and the TCP quota slot is released.
      - reduce code duplication by adding mark_tcp_active() function
      - convert counters to stdatomic
      
      (cherry picked from commit a8dd133d270873b736c1be9bf50ebaa074f5b38f)
      (cherry picked from commit 4a8fc979)
      2f3876d1
  11. 18 Apr, 2019 1 commit
  12. 11 Mar, 2019 1 commit
  13. 08 Mar, 2019 1 commit
  14. 05 Mar, 2019 1 commit
  15. 31 Jan, 2019 1 commit
  16. 30 Jan, 2019 1 commit
  17. 29 Jan, 2019 1 commit
  18. 28 Jan, 2019 1 commit
  19. 25 Jan, 2019 2 commits
  20. 09 Jan, 2019 2 commits
  21. 19 Dec, 2018 3 commits
  22. 05 Dec, 2018 2 commits
  23. 29 Nov, 2018 1 commit
  24. 23 Nov, 2018 1 commit
    • Witold Krecicki's avatar
      - isc_task_create_bound - create a task bound to specific task queue · d5793ecc
      Witold Krecicki authored and Witold Krecicki's avatar Witold Krecicki committed
        If we know that we'll have a task pool doing specific thing it's better
        to use this knowledge and bind tasks to task queues, this behaves better
        than randomly choosing the task queue.
      
      - use bound resolver tasks - we have a pool of tasks doing resolutions,
        we can spread the load evenly using isc_task_create_bound
      
      - quantum set universally to 25
      d5793ecc
  25. 22 Nov, 2018 1 commit