1. 06 Aug, 2024 1 commit
  2. 24 Apr, 2023 1 commit
  3. 08 Mar, 2023 1 commit
    • autoantwort's avatar
      Cmake static or shared (#1160) · e9243d4f
      autoantwort authored
      
      
      * cmake: build either static or shared libs
      
      * cmake: allow to build non-PIC static libs
      
      * fix typo
      
      * cmake: add ALIAS targets
      
      * cmake: link to OpenSSL imported targets
      
      CMake imported targets are more robust
      
      * turn ENABLE_EXAMPLES to a CMake option
      
      * fix typo
      
      * install pdb files if shared
      
      * fix hiredis_ssl-config file
      
      * Fix more targets
      
      * CMake knows when to enable CMAKE_POSITION_INDEPENDENT_CODE
      
      * Restore setting of /Z7
      
      * [ci] fix building of shared and static libs
      
      * Apply suggestions from code review
      Co-authored-by: default avatarBjorn Svensson <bjorn.a.svensson@est.tech>
      
      * Make it possible to change name of exported target
      
      ---------
      Co-authored-by: default avatarSpaceIm <30052553+SpaceIm@users.noreply.github.com>
      Co-authored-by: default avatarBjorn Svensson <bjorn.a.svensson@est.tech>
      e9243d4f
  4. 27 Dec, 2022 1 commit
  5. 21 Dec, 2022 1 commit
  6. 13 Nov, 2022 1 commit
  7. 21 Sep, 2022 1 commit
  8. 07 Sep, 2022 1 commit
  9. 29 Aug, 2022 1 commit
    • jengab's avatar
      Fix some undefined behaviour · 0ed6cdec
      jengab authored
      - redisSSLContextError must always be initialized at defintion,
        otherwise when SSL connect succeeds it may not be assigned to a valid error.
        Thus the memory trash remains in the variable, which may sign a misleading error.
      0ed6cdec
  10. 05 Jul, 2022 1 commit
  11. 18 Jan, 2022 1 commit
  12. 18 Nov, 2021 1 commit
  13. 07 Aug, 2020 1 commit
  14. 29 Jul, 2020 1 commit
    • Michael Grunder's avatar
      Move SSL management to a distinct private pointer. (#855) · d8ff7238
      Michael Grunder authored
      We need to allow our users to use redisContext->privdata as context
      for any RESP3 PUSH messages, which means we can't use it for managing
      SSL connections.
      
      Bulletpoints:
      
      * Create a secondary redisContext member for internal use only called
        privctx and rename the redisContextFuncs->free_privdata accordingly.
      
      * Adds a `free_privdata` function pointer so the user can tie allocated
        memory to the lifetime of a redisContext (like they can already do
        with redisAsyncContext)
      
      * Enables SSL tests in .travis.yml
      d8ff7238
  15. 26 Jul, 2020 1 commit
  16. 20 Jul, 2020 2 commits
    • Michael Grunder's avatar
    • Michael Grunder's avatar
      Resp3 oob push support (#841) · 2e7d7cba
      Michael Grunder authored
      Proper support for RESP3 PUSH messages.
      
      By default, PUSH messages are now intercepted and the reply memory freed.  
      This means existing code should work unchanged when connecting to Redis
      >= 6.0.0 even if `CLIENT TRACKING` were then enabled.
      
      Additionally, we define two callbacks users can configure if they wish to handle
      these messages in a custom way:
      
      void redisPushFn(void *privdata, void *reply);
      void redisAsyncPushFn(redisAsyncContext *ac, void *reply);
      
      See #825
      2e7d7cba
  17. 10 Jul, 2020 1 commit
  18. 24 May, 2020 1 commit
  19. 01 Sep, 2019 1 commit
  20. 29 Aug, 2019 1 commit
  21. 10 Apr, 2019 1 commit
  22. 20 Feb, 2019 5 commits
  23. 05 Dec, 2018 1 commit
    • Mark Nunberg's avatar
      Allow connections to unix socket in example · 8633a2f3
      Mark Nunberg authored
      To minimize code changes, a simple `u` (or UNIX, Unix, unix, etc -- as
      long as the first character is u or U) is used as a marker for the
      'port' argument. In this case, the hostname is interpreted to be the
      path to the unix socket.
      8633a2f3
  24. 05 Oct, 2015 1 commit
  25. 27 Jul, 2015 5 commits
  26. 05 Jan, 2015 1 commit
    • Christian Hergert's avatar
      Add GLib 2.0 adapter · 0c9ff5bb
      Christian Hergert authored
      [Cleaned up Makefile and header includes.  Didn't change crazy
      coding style because it's the convention for GLib systems.]
      
      Closes #83
      Closes #71
      0c9ff5bb
  27. 11 Jul, 2013 4 commits