- 05 Jan, 2022 1 commit
-
-
Peter Tummillo authored
Where SOCKET is a 64-bit unsigned integer.
-
- 22 May, 2020 1 commit
-
-
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.
-
- 28 Jan, 2020 1 commit
-
-
Michael Grunder authored
Create allocation wrappers with a configurable OOM handler (defaults to abort()). See #752, #747
-
- 20 Feb, 2019 6 commits
-
-
valentino authored
-
Mark Nunberg authored
also, indentation fix
-
Mark Nunberg authored
This will avoid the need to constantly reschedule the event
-
Mark Nunberg authored
-
valentino authored
-
Mark Nunberg authored
-
- 28 Mar, 2017 1 commit
-
-
zfz authored
event_del can not free the "e->rev" and "e->wev",that will leak when reconnect the redis
-
- 20 May, 2016 1 commit
-
-
Chris.Xin authored
-
- 09 Apr, 2014 1 commit
-
-
antirez authored
This is a backport of https://github.com/antirez/redis/commit/d01aad329c259a7276c448cee6696b04dfa6f8c1
-
- 27 Jun, 2011 1 commit
-
-
R. Tyler Croy authored
-
- 21 Apr, 2011 1 commit
-
-
Pieter Noordhuis authored
-
- 29 Dec, 2010 1 commit
-
-
Pieter Noordhuis authored
-
- 01 Dec, 2010 1 commit
-
-
Pieter Noordhuis authored
This makes sure that the "data" field on the asynchronous context can be used for user-specific data.
-
- 22 Nov, 2010 1 commit
-
-
Ryan Tecco authored
void*
-
- 01 Nov, 2010 2 commits
-
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
- 19 Oct, 2010 3 commits
-
-
Pieter Noordhuis authored
This calls the disconnect callback, causing the registered event handlers to be cleared. After this, the error callback will be called, knowing that events will no longer be fired.
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
- 11 Oct, 2010 2 commits
-
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
This removes the need to wrap an event_base pointer in the redisContext struct and allows multiple connections to be used in a single event_base. Also, use the *privdata argument to the provided callbacks to curry the redisEvent struct around.
-
- 10 Oct, 2010 1 commit
-
-
Nicolas Favre-Felix authored
-
- 07 Oct, 2010 1 commit
-
-
Pieter Noordhuis authored
-
- 06 Oct, 2010 2 commits
-
-
Pieter Noordhuis authored
-
Pieter Noordhuis authored
-
- 25 Sep, 2010 1 commit
-
-
Pieter Noordhuis authored
-