summaryrefslogtreecommitdiff
path: root/adapters/libuv.h
AgeCommit message (Collapse)Author
2022-01-18Add timeout support for libuv adapter (#1016)MichaelSuen
Add timeout to libuv adapter Co-authored-by: sunmingqi <sunmingqi@corp.netease.com> Co-authored-by: sunmingqi <smq222@126.com> Co-authored-by: Michael Grunder <michael.grunder@gmail.com> Co-authored-by: Viktor Söderqvist <viktor@zuiderkwast.se>
2020-05-22Allow 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-04-09Use correct libuv call on Windows (#784)Michael Grunder
Explicitly call `uv_poll_init_socket` as that has slightly different semantics on Windows (and is identical to `uv_poll_init` on Linux). http://docs.libuv.org/en/v1.x/poll.html#c.uv_poll_init_socket
2018-11-04Fix errors not propagating properly with libuv.h.Yossi Gottlieb
2016-09-19Prevented uv adapter from calling write when context has been freedPaul Scott
2015-01-05Cleanup libuv adaptertorque
This: - Removes misplaced libuv function prototype - Includes stdlib for free() Closes #251
2014-04-09Define redisLibuvAttach as staticCharlie Somerville
Closes #206
2014-04-09Libuv: Fix compile warnings and C++ compatabilityJohn Graham
Closes #189
2013-06-09Removed unnecessary commentsErik Dubbelboer
2013-06-04Added libuv adapterErik Dubbelboer