Commit Graph

61 Commits (7a8de1fe25dda6187d68ec6570a831394cb127d1)

Author SHA1 Message Date
Pieter Noordhuis af8ba74cbf Rename functions to be more consistent, split feed from get reply 2010-09-21 11:39:18 +02:00
Pieter Noordhuis b1bedf5c6d Use a set of function pointers for building the reply
Allows libraries to wrap the reply parsing code and build the reply in a
streaming fashion. Reply objects can immediately be initialized to the
required type without having to convert an intermediary format.
2010-09-20 22:04:35 +02:00
Pieter Noordhuis e944ea3662 Add reply type for protocol errors, in order to never exit() 2010-09-20 14:05:23 +02:00
Pieter Noordhuis aec1fbd2ad Use automatic numbering in tests 2010-09-20 13:44:24 +02:00
Pieter Noordhuis 4ec97f5907 Free reply in test.c to make hiredis-test run cleanly on Valgrind 2010-09-19 20:43:57 +02:00
Pieter Noordhuis f87625777d Change function prototype 2010-09-19 20:43:43 +02:00
Pieter Noordhuis 62c8054dbe Clean up when there is an I/O error 2010-09-19 19:01:31 +02:00
Pieter Noordhuis 457cdbf7c5 Rewrite reply parsing to use a read buffer 2010-09-19 18:47:05 +02:00
Pieter Noordhuis 66036d113e Add speed tests 2010-09-19 15:18:51 +02:00
Pierre Riteau 7302a5ec69 strcasecmp requires strings.h 2010-05-25 14:02:44 +02:00
antirez bd4ec57059 minimalistic test suite... 2010-05-18 20:12:03 +02:00