1. 05 Jun, 2019 2 commits
  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. 31 May, 2019 1 commit
    • Witold Krecicki's avatar
      Fix a possible race between udp dispatch and socket code · e517c18d
      Witold Krecicki authored and Evan Hunt's avatar Evan Hunt committed
      There's a small possibility of race between udp dispatcher and
      socket code - socket code can still hold internal reference to a
      socket while dispatcher calls isc_socket_open, which can cause
      an assertion failure. Fix it by relaxing the assertion test, and
      instead simply locking the socket in isc_socket_open.
      e517c18d
  5. 30 May, 2019 3 commits
  6. 29 May, 2019 1 commit
  7. 24 May, 2019 3 commits
  8. 21 May, 2019 2 commits
  9. 20 May, 2019 4 commits
  10. 15 May, 2019 2 commits
  11. 13 May, 2019 2 commits
  12. 10 May, 2019 1 commit
  13. 07 May, 2019 1 commit
  14. 06 May, 2019 1 commit
  15. 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
  16. 23 Apr, 2019 1 commit
  17. 18 Apr, 2019 1 commit
  18. 11 Mar, 2019 1 commit
  19. 08 Mar, 2019 6 commits