1. 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
  2. 19 May, 2020 1 commit
  3. 04 May, 2020 1 commit
    • Michael Grunder's avatar
      Remove nested depth limitation. (#797) · eafb085d
      Michael Grunder authored
      * Remove nested depth limitation.
      
      This commit removes the nested multi-bulk depth limitation of 7.
      We do this by switching to pointer to pointer indirection and
      growing the stack in chunks when needed.
      
      See: #794, #421
      eafb085d
  4. 04 Aug, 2019 2 commits
  5. 20 Feb, 2019 1 commit
  6. 21 May, 2018 1 commit
  7. 20 Apr, 2016 1 commit
    • Jan-Erik Rediger's avatar
      fix: Remove backwards compatibility macro's · 8f5265de
      Jan-Erik Rediger authored
      Closes #296
      
      BREAKING CHANGE: This removes the redisReplyReader* functions, which are
                       already replaced by redisReader* functions.
                       It renames `redisReplyReaderSetPrivdata`,
                       `redisReplyReaderGetObject` and `redisReplyReaderGetError`
                       to `redisReaderSetPrivdata`, `redisReaderGetObject`
                       and `redisReaderGetError`.
      8f5265de
  8. 27 Oct, 2015 1 commit
  9. 05 Jan, 2015 1 commit
    • tzickel's avatar
      Refactor reading code into read.c · ba3e74c4
      tzickel authored
      Makes hiredis reading functions easier to include in external projects
      
      [fixed all merge conflicts against current version]
      
      Closes #249
      ba3e74c4