hiredis/adapters
Michael Grunder 8e0264cfd6
Allow users to replace allocator and handle OOM everywhere. (#800)
* 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.
2020-05-22 09:27:49 -07:00
..
ae.h Allow users to replace allocator and handle OOM everywhere. (#800) 2020-05-22 09:27:49 -07:00
glib.h Allow users to replace allocator and handle OOM everywhere. (#800) 2020-05-22 09:27:49 -07:00
ivykis.h Allow users to replace allocator and handle OOM everywhere. (#800) 2020-05-22 09:27:49 -07:00
libev.h Allow users to replace allocator and handle OOM everywhere. (#800) 2020-05-22 09:27:49 -07:00
libevent.h Allow users to replace allocator and handle OOM everywhere. (#800) 2020-05-22 09:27:49 -07:00
libuv.h Allow users to replace allocator and handle OOM everywhere. (#800) 2020-05-22 09:27:49 -07:00
macosx.h Allow users to replace allocator and handle OOM everywhere. (#800) 2020-05-22 09:27:49 -07:00
qt.h Make sure to disconnect the adapter in the destructor 2015-07-27 23:17:41 +02:00