1. 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
  2. 05 Jul, 2022 1 commit
  3. 18 Jan, 2022 1 commit
  4. 18 Nov, 2021 1 commit
  5. 07 Aug, 2020 1 commit
  6. 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
  7. 26 Jul, 2020 1 commit
  8. 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
  9. 10 Jul, 2020 1 commit
  10. 24 May, 2020 1 commit
  11. 01 Sep, 2019 1 commit
  12. 29 Aug, 2019 1 commit
  13. 10 Apr, 2019 1 commit
  14. 20 Feb, 2019 5 commits
  15. 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
  16. 05 Oct, 2015 1 commit
  17. 27 Jul, 2015 5 commits
  18. 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
  19. 11 Jul, 2013 4 commits