summaryrefslogtreecommitdiff
path: root/hiredis.c
AgeCommit message (Collapse)Author
2011-04-21Reply object functions can be set by the user after creating the readerPieter Noordhuis
2011-04-21Privdata can be set directly on the structPieter Noordhuis
2011-04-21Remove useless castsPieter Noordhuis
2011-04-21Return when memory cannot be allocatedPieter Noordhuis
2011-04-21Remove accessor functions now the redisReader struct is publicPieter Noordhuis
2011-04-21Make redisReader struct publicPieter Noordhuis
2011-04-21Test if there is a freeObject functionPieter Noordhuis
2011-04-20Use pre-allocated buffer for error strings in readerPieter Noordhuis
2011-04-20First pass at making the protocol reader properly handle OOMPieter Noordhuis
2011-04-03Lazily destroy protocol reader bufferPieter Noordhuis
2011-04-03Individual reply object functions may be NULLPieter Noordhuis
2011-03-06Fix formatCommand to work with all empty interpolationsPieter Noordhuis
2011-02-04Use select(2) for enforce a timeout on blocking connect(2)Pieter Noordhuis
2011-01-27Properly reset state after protocol error in reply readerPieter Noordhuis
2011-01-27redisReplyReaderFeed should take a const char*Pieter Noordhuis
2011-01-27Avoid warnings with -Wstrict-prototypesPieter Noordhuis
2011-01-19Let sds.c figure out where the range stopsPieter Noordhuis
2011-01-19Discard consumed part of buffer less oftenPieter Noordhuis
2011-01-07Return error on socket timeout for a blocking contextPieter Noordhuis
2010-12-28Add function to explicitly free an async contextPieter Noordhuis
2010-12-16Add myself to license in some filesPieter Noordhuis
2010-12-02Add (nearly) full printf support by delegating to vsprintfPieter Noordhuis
2010-12-01Wait with setting CONNECTED until there is an fdPieter Noordhuis
2010-11-26Use r->len in another spotPieter 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
2010-11-24Add pointer to parent task in read tasksPieter Noordhuis
2010-11-24Don't care if object returned by object function is NULLPieter Noordhuis
2010-11-24Add privdata field to reply readerPieter Noordhuis
This field is set in the read tasks that are passed to the reply object functions. This allows to curry arbitrary data to these functions.
2010-11-22Abort on code path that should never be takenPieter Noordhuis
2010-11-22Make error messages consistent in casingPieter Noordhuis
2010-11-22Fix formatting literal percent charactersPieter Noordhuis
2010-11-22Correctly format commands with empty interpolated valuesPieter Noordhuis
2010-11-04Finding \r\n without strstr is a little harderPieter Noordhuis
2010-11-04The buffer length to feed should be a size_tPieter Noordhuis
2010-11-04Make moveToNextTask non-recursivePieter Noordhuis
2010-11-04Use strchr in a loop rather than strstrPieter Noordhuis
2010-11-04Return the reply type when the reply object function set is NULLPieter Noordhuis
2010-11-03Allow to connect using a unix socket from hiredisPieter Noordhuis
2010-11-03Add functiont to net.c to connect to a unix socketPieter Noordhuis
2010-11-03Expose redisGetReplyFromReader as public APIPieter Noordhuis
2010-11-02Make setError receive an sdsPieter Noordhuis
2010-11-02Strip net.c down to the bare minimumPieter 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-01There is no longer need for a separate redisDisconnectPieter Noordhuis
2010-11-01Strip non-blocking callbacks from hiredis.cPieter Noordhuis