1. 30 Jan, 2024 1 commit
    • Mark Agranat's avatar
      Fix memory leak. · 2706c3e1
      Mark Agranat authored
      When redisLibuvAttach receives error from call to
      uv_poll_init_socket there is a memory leaked ptr
      of type redisLibuvEvents.
      2706c3e1
  2. 21 Jan, 2024 2 commits
  3. 19 Aug, 2023 2 commits
  4. 25 Jul, 2023 3 commits
    • michael-grunder's avatar
      Add a panic helper for non-assert aborts. · e07ae7d3
      michael-grunder authored
      We merged a fix for a "maybe uninitialized" warning in #1209, but after
      merging there could actually have then been a double free.
      
      The reason is that when compiling with NDEBUG our assert macro becomes a
      no-op, meaning that execution would no longer stop after `assert(NULL)`.
      
      This commit just adds a simple panic macro which will execute regardless
      of whether NDEBUG is defined or not.
      e07ae7d3
    • michael-grunder's avatar
      Document poll(2) logic changes. · bfe45d9f
      michael-grunder authored
      See #1206, #1213
      bfe45d9f
    • michael-grunder's avatar
      Retry poll(2) if we are intterupted. · af955176
      michael-grunder authored
      This commit adds logic to retry our poll call when waiting for the
      connection to complete, in the event that we are interrupted by a
      signal.
      
      Additionally we do some simple bookkeeping to keep track of the overall
      timeout specified by the user.
      
      Fixes #1206
      af955176
  5. 14 Jul, 2023 1 commit
  6. 13 Jul, 2023 2 commits
  7. 12 Jul, 2023 2 commits
  8. 10 Jul, 2023 1 commit
  9. 08 Jun, 2023 1 commit
  10. 01 Jun, 2023 2 commits
  11. 30 May, 2023 2 commits
  12. 29 May, 2023 1 commit
    • Viktor Söderqvist's avatar
      Helper for setting TCP_USER_TIMEOUT socket option (#1188) · b6a052fe
      Viktor Söderqvist authored
      * Implement redisSetTcpUserTimeout to set socket option TCP_USER_TIMEOUT
      
      * Documentation for redisSetTcpUserTimeout and some more undocumented functions
      
      Documentation for redisReconnect() and the setters of socket options:
      
      * redisKeepAlive()
      * redisEnableKeepAliveWithInterval()
      * redisSetTcpUserTimeout()
      b6a052fe
  13. 24 Apr, 2023 1 commit
  14. 19 Apr, 2023 1 commit
  15. 16 Apr, 2023 1 commit
  16. 15 Apr, 2023 1 commit
  17. 14 Apr, 2023 2 commits
  18. 13 Mar, 2023 1 commit
  19. 09 Mar, 2023 2 commits
  20. 08 Mar, 2023 2 commits
  21. 24 Feb, 2023 1 commit
    • Dominik Charousset's avatar
      Write a version file for the CMake package (#1165) · 1cbd5bc7
      Dominik Charousset authored
      * Write a version file for the CMake package
      
      > If no VERSION is given, the PROJECT_VERSION variable is used.
      
      Since we set the project version to `${VERSION}`, we can safely skip
      passing it to `write_basic_package_version_file` as well.
      1cbd5bc7
  22. 06 Jan, 2023 1 commit
  23. 27 Dec, 2022 1 commit
  24. 21 Dec, 2022 1 commit
  25. 16 Nov, 2022 1 commit
  26. 15 Nov, 2022 1 commit
  27. 14 Nov, 2022 1 commit
  28. 13 Nov, 2022 1 commit
  29. 10 Nov, 2022 1 commit
    • Bjorn Svensson's avatar
      CI updates (#1139) · a36686f8
      Bjorn Svensson authored
      * Build CMake generated makefiles
      * Simplify and update checkout
      * Update CI workflow 'C/C++ CI'
      * Some corrections of spelling and naming.
      * Remove running on branch dev since not officially available.
      a36686f8