summaryrefslogtreecommitdiff
path: root/async.c
AgeCommit message (Collapse)Author
2011-06-18Remove private feature macros for Solaris from compiler flagsPieter Noordhuis
2011-05-29Clarify rationale behind issue #43Pieter Noordhuis
2011-05-24Make sure subscribe is still respectedBlake Matheny
2011-05-24Fix the case where an error reply is received before any callbacks are ↵Blake Matheny
registered
2011-04-21Update licensePieter Noordhuis
2011-04-21Let the async API segfault on OOM for nowPieter Noordhuis
2011-04-21Create protocol reader when creating contextPieter Noordhuis
2011-01-14Make dictionary functions static and include the .c filePieter Noordhuis
2011-01-10strcasecmp and strncasecmp are defined in strings.hPierre Riteau
2010-12-31Unsubscribe messages always have 3 elementsPieter Noordhuis
2010-12-31Clean up dictionaries on freePieter Noordhuis
2010-12-31Delegate pub/sub replies to the right callbackPieter Noordhuis
2010-12-31Add callbacks to channel/pattern dictionariesPieter Noordhuis
2010-12-31Add fields for subscribed channel/pattern namesPieter Noordhuis
2010-12-31Change reply processing code to prepare for pub/subPieter Noordhuis
2010-12-31Copy entire callback in one callPieter Noordhuis
2010-12-29Scope event library related data and hooks to a structPieter Noordhuis
2010-12-28Run pending callbacks with a NULL reply on redisAsyncFree()Pieter Noordhuis
2010-12-28Fix the async free() and disconnect() functionsPieter Noordhuis
To make sure that these functions can also be called from functions other than command callbacks, the flag IN_CALLBACK is introduced that holds whether the context is currently executing a callback. If so, redisAsyncFree() and redisAsyncDisconnect() should delegate their task to the reply processor to avoid segfaults.
2010-12-28Only check REDIS_FREEING when a callback was executedPieter Noordhuis
2010-12-28Add function to explicitly free an async contextPieter Noordhuis
2010-12-28Add write event after setting connect callbackPieter Noordhuis
2010-12-16Add myself to license in some filesPieter Noordhuis
2010-12-07Fire onConnect callback on the first write eventPieter Noordhuis
2010-12-01Use extra field for adapter-specific dataPieter Noordhuis
This makes sure that the "data" field on the asynchronous context can be used for user-specific data.
2010-11-15Explicitly initialize struct fields to NULLPieter Noordhuis
2010-11-03Allow to connect using a unix socket from hiredisPieter Noordhuis
2010-11-02Change error reporting to have an explicit typePieter Noordhuis
When there is an I/O error, errno should be used to find out what is wrong. In other cases, errno cannot be used. So, use an explicit type in Hiredis to define the different error scenarios that can occur.
2010-11-01Use existing function to append to the output bufferPieter Noordhuis
2010-11-01Only copy relevant fields from callback ptr to avoid copying garbagePieter Noordhuis
2010-11-01Make push/shift functions for callbacks responsible for malloc/freePieter Noordhuis
2010-11-01Run pending callbacks with NULL reply on errorPieter Noordhuis
2010-11-01Clarify redisAsyncDisconnect behavior in commentsPieter Noordhuis
2010-11-01Process callbacks after readingPieter Noordhuis
2010-11-01Cleanup function should remove read/write eventsPieter Noordhuis
2010-11-01Make error ptr accessible from async contextPieter Noordhuis
2010-11-01Add support to lazily disconnect an asynchronous connectionPieter Noordhuis
2010-10-31Extracted code to support callbacks in an asynchronous contextPieter Noordhuis