summaryrefslogtreecommitdiff
path: root/hiredis.c
AgeCommit message (Collapse)Author
2011-04-21Move chrtos to hiredis.c (not used elsewhere)Pieter Noordhuis
2011-04-21Handle OOM when doing blocking requestsPieter Noordhuis
2011-04-21More safetyPieter Noordhuis
2011-04-21Make command formatters gracefully abort when out of memoryPieter Noordhuis
2011-04-21More OOM checks in the protocol readerPieter Noordhuis
2011-04-21Include fmacros.h to make sure strerror_p is defined on LinuxPieter Noordhuis
2011-04-21Rename *ReplyReader* to *Reader*Pieter Noordhuis
2011-04-21Use static buffer for error string on contextPieter Noordhuis
2011-04-21Create protocol reader when creating contextPieter Noordhuis
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