Commit Graph

11 Commits

Author SHA1 Message Date
Amir Mohammad Saied
822efe2ac3 Redis command getting executed is PING, PONG is actually the expected answer 2010-12-02 22:00:21 +03:30
Pieter Noordhuis
ffa8666a64 Change error reporting to have an explicit type
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-02 16:36:38 +01:00
Pieter Noordhuis
8a80b89232 Update example.c to work with current code 2010-10-31 12:57:32 +01:00
Pieter Noordhuis
5c7b5fca4d Make error messages more consistent (e.g. no newline) 2010-10-06 21:23:03 +02:00
Pieter Noordhuis
1a5f111d52 c->error is no longer a redisReply object, but rather a plain C-string 2010-10-06 21:10:09 +02:00
Pieter Noordhuis
d156550886 Rename fd to the more appropriate c 2010-09-24 18:48:07 +02:00
Pieter Noordhuis
817d26b81d Use context variable to keep state for a connection
The context supports both blocking and non-blocking connections. All
read and write events are not handled by hiredis, but hiredis exposes an
API for buffered reading/writing to Redis.
2010-09-24 18:42:22 +02:00
antirez
9562351ae5 more stuff into example 2010-05-18 18:13:25 +02:00
antirez
3d8d3aa0e5 better example and license information 2010-05-18 17:45:36 +02:00
antirez
60e85fb4f3 new newline needed after commands 2010-05-18 17:13:21 +02:00
antirez
4f6fc6dfb1 hiredis was extracted from redis-tools, reverted to standard malloc/free, ported to the new protocol, and started as a stand alone project in order to support the need of a C client in the Redis community 2010-05-18 17:11:09 +02:00