summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-01-19Discard consumed part of buffer less oftenPieter Noordhuis
2011-01-19Add testhelp.h inline in sds.cPieter Noordhuis
2011-01-19Update string libraryPieter Noordhuis
2011-01-14Make dictionary functions static and include the .c filePieter Noordhuis
2011-01-14Correct the description of the pipeline examplePierre Riteau
2011-01-10strcasecmp and strncasecmp are defined in strings.hPierre Riteau
2011-01-07Return error on socket timeout for a blocking contextPieter Noordhuis
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-31Remove unused code/cleanupPieter Noordhuis
2010-12-31Replace zmalloc with regular mallocPieter Noordhuis
2010-12-31Import dictionary code from Redis repository (as of 2069d06a)Pieter Noordhuis
2010-12-31Change reply processing code to prepare for pub/subPieter Noordhuis
2010-12-31Copy entire callback in one callPieter Noordhuis
2010-12-29LicensePieter 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-22Missing declaration.Nicolas Favre-Felix
2010-12-16Bump versionPieter Noordhuis
2010-12-16Forgot to add -L. to remaining LDFLAGSPieter Noordhuis
2010-12-16Fix building shared library on SolarisPieter Noordhuis
2010-12-16Solaris doesn't know AF_LOCALPieter Noordhuis
2010-12-16Add myself to license in some filesPieter Noordhuis
2010-12-16Use generic $(MAKE) in MakefilePieter Noordhuis
2010-12-16Redefine REDIS_REPLY_ERROR to be non-zeroPieter Noordhuis
When no reply object functions are defined, the reply type integer is returned from redisGetReply(). This sets the *reply argument to the consumed reply, where 0 means that it was not possible to consume a full reply. With REDIS_REPLY_ERROR having the same value, there is no way to tell the difference between an error reply and not consuming a reply.
2010-12-07Fire onConnect callback on the first write eventPieter Noordhuis
2010-12-02Redis command getting executed is PING, PONG is actually the expected answerAmir Mohammad Saied
2010-12-02Add (nearly) full printf support by delegating to vsprintfPieter Noordhuis
2010-12-02Use more aggressive optimizationPieter Noordhuis
2010-12-02WhitespacePieter 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-12-01Add adapter for the Redis-bundled ae event libraryPieter Noordhuis
2010-12-01Don't compile object files for examples twicePieter Noordhuis
2010-12-01Wait with setting CONNECTED until there is an fdPieter Noordhuis
2010-11-26Bump versionPieter Noordhuis
2010-11-26Use r->len in another spotPieter Noordhuis
2010-11-26Add section on errors to readmePieter Noordhuis
2010-11-26Use custom strollPieter Noordhuis
2010-11-26Reply objects don't need to be calloc'edPieter Noordhuis
2010-11-26Use explicit buffer length field in the reply readerPieter Noordhuis
2010-11-26Rename 'parent' field in read tasks to 'obj'Pieter Noordhuis
2010-11-24Remove leftover line from earlier commitPieter Noordhuis
2010-11-24Set error on unexpected nesting of multi bulksPieter Noordhuis