1. 26 Jun, 2022 2 commits
  2. 10 Oct, 2021 1 commit
    • michael-grunder's avatar
      Switch to GitHub actions · 0cac8dae
      michael-grunder authored
      Since TravisCI.org was deprecated we've been without any tests.  This
      commit adds back basic tests in Ubuntu, CentOS, and MacOS.
      
      More sophisticated tests/platforms to come in the future (e.g. 32bit
      tests).
      
      See: #992
      0cac8dae
  3. 07 Oct, 2021 1 commit
  4. 04 Oct, 2021 1 commit
  5. 23 May, 2021 1 commit
  6. 24 Apr, 2021 1 commit
  7. 17 Feb, 2021 1 commit
  8. 27 Oct, 2020 1 commit
  9. 03 Aug, 2020 1 commit
  10. 29 Jul, 2020 1 commit
  11. 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
  12. 26 May, 2020 1 commit
  13. 24 May, 2020 1 commit
  14. 22 May, 2020 1 commit
    • Michael Grunder's avatar
      Allow users to replace allocator and handle OOM everywhere. (#800) · 8e0264cf
      Michael Grunder authored
      * Adds an indirection to every allocation/deallocation to allow users to 
        plug in ones of their choosing (use custom functions, jemalloc, etc).
      
      * Gracefully handle OOM everywhere in hiredis.  This should make it possible
        for users of the library to have more flexibility in how they handle such situations.
      
      * Changes `redisReaderTask->elements` from an `int` to a `long long` to prevent
        a possible overflow when transferring the task elements into a `redisReply`.
      
      * Adds a configurable `max elements` member to `redisReader` that defaults to
        2^32 - 1.  This can be set to "unlimited" by setting the value to zero.
      8e0264cf
  15. 16 May, 2020 1 commit
  16. 28 Feb, 2020 1 commit
    • Michael Grunder's avatar
      Housekeeping fixes (#764) · 38675d23
      Michael Grunder authored
      Housekeeping
      
      * Check for C++ (#758, #750) 
      * Include `alloc.h` in `make install` and `cmake`
      * Add a `.def` file for Windows (#760)
      * Include allocation wrappers referenced in adapter headers
      * Fix minor syntax errors and typos in README
      * Fix CI in Windows by properly escaping arguments (#761)
      38675d23
  17. 10 Oct, 2019 1 commit
  18. 07 Oct, 2019 1 commit
  19. 22 Jul, 2019 1 commit
  20. 26 Oct, 2018 1 commit
    • Jean Flach's avatar
      Update README.md · 9ff1cc78
      Jean Flach authored
      Add note about using context->data to pass user data to connect and disconnect callbacks
      9ff1cc78
  21. 20 Apr, 2016 2 commits
  22. 26 Mar, 2016 1 commit
  23. 16 Apr, 2015 1 commit
  24. 05 Jan, 2015 3 commits
  25. 11 Jul, 2013 2 commits
  26. 26 Jan, 2013 1 commit
  27. 22 Jan, 2013 1 commit
  28. 21 Aug, 2012 1 commit
    • antirez's avatar
      Configurable reader max idle buffer size. · 7f095053
      antirez authored
      Hiredis used to free unused redisReader buffers bigger than 16k. Now
      this limit is configurable (see the documentation updated by this commit)
      in order to allow working with big payloads without incurring to speed
      penalty.
      7f095053
  29. 07 Apr, 2012 1 commit
  30. 06 Feb, 2012 1 commit
  31. 22 May, 2011 1 commit
  32. 21 Apr, 2011 1 commit
  33. 12 Apr, 2011 1 commit
  34. 14 Feb, 2011 1 commit