Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-01 | uvadapter: reduce number of uv_poll_start calls | Anton Tiurin | |
Internally uv_poll_start iterates over all attached event handlers to update event mask. It's quite expensive operation if there many event handlers attached to a loop. As redisLibuvEvents.events is a copy of what libuv should see, we can rely on it to avoid event mask updates. Signed-off-by: Anton Tiurin <noxiouz@yandex.ru> | |||
2022-07-05 | Polling adapter and example | Kristján Valur Jónsson | |
2022-01-18 | Add 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> | |||
2022-01-05 | Fix adapters/libevent.h compilation for 64-bit Windows (#937) | Peter Tummillo | |
Where SOCKET is a 64-bit unsigned integer. | |||
2021-11-18 | Remove unused parameter warning in libev adapter | Björn Svensson | |
A warning in `redisLibevTimeout(..)` is triggered when building the libev adapter with Clang using -Wextra/-Wunused-parameter. Works fine with gcc.. | |||
2020-07-30 | Keep libev's code style (#857) | lijiageng | |
2020-06-01 | Use explicit pointer casting for c++ compatibility (#826) | Aureus | |
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-05-04 | Support timeouts in libev adapater (#795) | Michael Grunder | |
Add support for timeouts in our libev adapter. See #795 | |||
2020-04-09 | Use 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 | |||
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 | |
2018-11-04 | Fix errors not propagating properly with libuv.h. | Yossi Gottlieb | |
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-12-09 | Auto merge of #429 - xinchuantao:master, r=badboy | not-a-robot | |
using new version libevent | |||
2016-09-19 | Prevented uv adapter from calling write when context has been freed | Paul Scott | |
2016-05-20 | using new version libevent | Chris.Xin | |
2015-07-27 | Added MacOS X addapter and corresponding example. | Dmitry Bakhvalov | |
Added MacOS X support via CoreFoundation run loop. | |||
2015-07-27 | Make sure to disconnect the adapter in the destructor | Pietro Cerutti | |
2015-07-27 | Fix typo | Pietro Cerutti | |
2015-07-27 | Add hooks for read/write/cleanup | Pietro Cerutti | |
2015-07-27 | Add Qt adapter and relative example. | Pietro Cerutti | |
2015-07-27 | Add an Ivykis adapter | Gergely Nagy | |
This adds a new adapter and an example for using hiredis with the ivykis async I/O library. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org> | |||
2015-06-22 | Use explicit casts for void* pointer in order to compile in C++ | Simon Ninon | |
2015-01-05 | Add GLib 2.0 adapter | Christian Hergert | |
[Cleaned up Makefile and header includes. Didn't change crazy coding style because it's the convention for GLib systems.] Closes #83 Closes #71 | |||
2015-01-05 | Cleanup libuv adapter | torque | |
This: - Removes misplaced libuv function prototype - Includes stdlib for free() Closes #251 | |||
2014-04-09 | Add missing license and copyright for adapters | antirez | |
This is a backport of https://github.com/antirez/redis/commit/d01aad329c259a7276c448cee6696b04dfa6f8c1 | |||
2014-04-09 | Define redisLibuvAttach as static | Charlie Somerville | |
Closes #206 | |||
2014-04-09 | Libuv: Fix compile warnings and C++ compatability | John Graham | |
Closes #189 | |||
2013-06-09 | Removed unnecessary comments | Erik Dubbelboer | |
2013-06-04 | Added libuv adapter | Erik Dubbelboer | |
2011-06-27 | Convert the rest of the async adapters contain static functions for easier ↵ | R. Tyler Croy | |
linking | |||
2011-06-27 | Make libev adapter functions static to fix linking | R. Tyler Croy | |
This will allow two different compilation units to include libev.h and link together | |||
2011-06-27 | Add implied include of stdlib.h | R. Tyler Croy | |
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-12-01 | Add adapter for the Redis-bundled ae event library | Pieter Noordhuis | |
2010-11-23 | Make the libev adapter work without support for multiple event loops | Pieter Noordhuis | |
2010-11-22 | Explicit casts for the libev adapter | Pieter Noordhuis | |
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 | |