Commit Graph

15 Commits

Author SHA1 Message Date
valentino
d9e0299f1c fix redisLibeventEvents init 2019-02-20 09:11:10 -05:00
Mark Nunberg
f0a7595056 libevent: call destroy from cleanup
also, indentation fix
2019-02-20 09:11:10 -05:00
Mark Nunberg
f60c5506fe Add EV_PERSIST flag to read events
This will avoid the need to constantly reschedule the event
2019-02-20 09:11:10 -05:00
Mark Nunberg
24e6166fed libevent: fix invalid mem access on delete within callback enter 2019-02-20 09:11:10 -05:00
valentino
847a20122f Fix memory leaks 2019-02-20 09:10:10 -05:00
Mark Nunberg
35a0a1f369 read/write timeouts 2019-02-20 09:10:10 -05:00
zfz
515228e5a1 Update libevent.h
event_del can not free the "e->rev" and "e->wev",that will leak when reconnect the redis
2017-03-28 16:46:55 +08:00
Chris.Xin
386802e809 using new version libevent 2016-05-20 18:55:57 +08:00
antirez
2d66c4814e Add missing license and copyright for adapters
This is a backport of
d01aad329c
2014-04-09 17:02:42 -04:00
R. Tyler Croy
0bf4dded31 Convert the rest of the async adapters contain static functions for easier linking 2011-06-27 12:40:59 -07:00
Pieter Noordhuis
eb63a565e9 sys/types.h is included by libevent itself 2011-04-21 18:11:45 +02:00
Pieter Noordhuis
18c55a8f1e Scope event library related data and hooks to a struct 2010-12-29 15:41:03 +01:00
Pieter Noordhuis
af7369a253 Use extra field for adapter-specific data
This makes sure that the "data" field on the asynchronous context can be
used for user-specific data.
2010-12-01 16:43:24 +01:00
Ryan Tecco
0d925bb497 add explicit casts for C++ compiles - C++ disallows implicit casts from
void*
2010-11-21 16:26:55 -08:00
Pieter Noordhuis
89e0622535 Move libev/libevent headers to adapters directory 2010-11-01 10:42:32 +01:00