Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-22 | Allow users to replace allocator and handle OOM everywhere. (#800) | Michael Grunder | |
* 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-01-28 | Safe allocation wrappers (#754) | Michael Grunder | |
Create allocation wrappers with a configurable OOM handler (defaults to abort()). See #752, #747 | |||
2019-02-20 | fix redisLibeventEvents init | valentino | |
2019-02-20 | libevent: call destroy from cleanup | Mark Nunberg | |
also, indentation fix | |||
2019-02-20 | Add EV_PERSIST flag to read events | Mark Nunberg | |
This will avoid the need to constantly reschedule the event | |||
2019-02-20 | libevent: fix invalid mem access on delete within callback enter | Mark Nunberg | |
2019-02-20 | Fix memory leaks | valentino | |
2019-02-20 | read/write timeouts | Mark Nunberg | |
2017-03-28 | Update libevent.h | zfz | |
event_del can not free the "e->rev" and "e->wev",that will leak when reconnect the redis | |||
2016-05-20 | using new version libevent | Chris.Xin | |
2014-04-09 | Add missing license and copyright for adapters | antirez | |
This is a backport of https://github.com/antirez/redis/commit/d01aad329c259a7276c448cee6696b04dfa6f8c1 | |||
2011-06-27 | Convert the rest of the async adapters contain static functions for easier ↵ | R. Tyler Croy | |
linking | |||
2011-04-21 | sys/types.h is included by libevent itself | Pieter Noordhuis | |
2010-12-29 | Scope event library related data and hooks to a struct | Pieter Noordhuis | |
2010-12-01 | Use extra field for adapter-specific data | Pieter Noordhuis | |
This makes sure that the "data" field on the asynchronous context can be used for user-specific data. | |||
2010-11-21 | add explicit casts for C++ compiles - C++ disallows implicit casts from | Ryan Tecco | |
void* | |||
2010-11-01 | Move libev/libevent headers to adapters directory | Pieter Noordhuis | |