1. 25 Jan, 2021 1 commit
    • Bjorn Svensson's avatar
      Stack allocate dict iterators · 920128a2
      Bjorn Svensson authored
      Replacing the get & release functions with an initiation
      function. Simplifies the code and will make sure we
      run subscription callbacks in OOM scenarios.
      920128a2
  2. 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
  3. 28 Jan, 2020 1 commit
  4. 19 Nov, 2019 1 commit
  5. 27 Oct, 2015 1 commit
  6. 14 Jan, 2011 1 commit
  7. 31 Dec, 2010 3 commits