1. 13 May, 2020 1 commit
  2. 30 Mar, 2020 1 commit
    • Witold Krecicki's avatar
      Add a quota attach function with a callback, some code cleanups. · d151a10f
      Witold Krecicki authored
      We introduce a isc_quota_attach_cb function - if ISC_R_QUOTA is returned
      at the time the function is called, then a callback will be called when
      there's quota available (with quota already attached). The callbacks are
      organized as a LIFO queue in the quota structure.
      It's needed for TCP client quota -  with old networking code we had one
      single place where tcp clients quota was processed so we could resume
      accepting when the we had spare slots, but it's gone with netmgr - now
      we need to notify the listener/accepter that there's quota available so
      that it can resume accepting.
      
      Remove unused isc_quota_force() function.
      
      The isc_quote_reserve and isc_quota_release were used only internally
      from the quota.c and the tests.  We should not expose API we are not
      using.
      d151a10f
  3. 13 Feb, 2020 1 commit
  4. 12 Feb, 2020 1 commit
  5. 09 Jul, 2019 1 commit
  6. 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
      - 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
  7. 08 Mar, 2019 1 commit
  8. 28 Jan, 2019 1 commit
  9. 25 Jan, 2019 1 commit
  10. 22 Nov, 2018 3 commits
  11. 11 May, 2018 1 commit
  12. 23 Feb, 2018 1 commit
  13. 27 Jun, 2016 1 commit
  14. 19 Jun, 2007 1 commit
  15. 18 Jun, 2007 1 commit
  16. 27 Jul, 2005 1 commit
  17. 29 Apr, 2005 1 commit
  18. 27 Apr, 2005 1 commit
  19. 05 Mar, 2004 1 commit
  20. 22 Oct, 2001 1 commit
  21. 09 Jan, 2001 1 commit
  22. 26 Aug, 2000 1 commit
  23. 24 Aug, 2000 1 commit
  24. 01 Aug, 2000 1 commit
  25. 27 Jul, 2000 1 commit
  26. 22 Jun, 2000 1 commit
  27. 09 Jun, 2000 1 commit
  28. 08 May, 2000 1 commit
    • David Lawrence's avatar
      Megacommit of dozens of files. · 1a69a1a7
      David Lawrence authored
      Cleanup of redundant/useless header file inclusion.
      
      ISC style lint, primarily for function declarations and standalone
      comments -- ie, those that appear on a line without any code, which
      should be written as follows:
         /*
          * This is a comment.
          */
      1a69a1a7
  29. 10 Feb, 2000 1 commit
  30. 15 Jan, 2000 1 commit
  31. 11 Jan, 2000 1 commit
  32. 06 Jan, 2000 1 commit
  33. 23 Jun, 1999 1 commit
  34. 09 Apr, 1999 1 commit
  35. 06 Mar, 1999 1 commit
  36. 28 Jan, 1999 1 commit