summaryrefslogtreecommitdiff
path: root/async.c
AgeCommit message (Collapse)Author
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