Pieter Noordhuis
|
af7369a253
|
Use extra field for adapter-specific data
This makes sure that the "data" field on the asynchronous context can be
used for user-specific data.
|
2010-12-01 16:43:24 +01:00 |
|
Pieter Noordhuis
|
9af1574d6e
|
Add adapter for the Redis-bundled ae event library
|
2010-12-01 13:47:58 +01:00 |
|
Pieter Noordhuis
|
8322162e52
|
Don't compile object files for examples twice
|
2010-12-01 13:30:22 +01:00 |
|
Pieter Noordhuis
|
2635feb0ac
|
Wait with setting CONNECTED until there is an fd
|
2010-12-01 12:54:47 +01:00 |
|
Pieter Noordhuis
|
89c6927282
|
Bump version
|
2010-11-26 15:31:53 +01:00 |
|
Pieter Noordhuis
|
e73289a5c6
|
Use r->len in another spot
|
2010-11-26 15:25:19 +01:00 |
|
Pieter Noordhuis
|
e24023a46a
|
Add section on errors to readme
|
2010-11-26 15:14:51 +01:00 |
|
Pieter Noordhuis
|
4eab917a24
|
Use custom stroll
|
2010-11-26 14:48:04 +01:00 |
|
Pieter Noordhuis
|
f14108361b
|
Reply objects don't need to be calloc'ed
|
2010-11-26 14:47:01 +01:00 |
|
Pieter Noordhuis
|
5cf292cdd0
|
Use explicit buffer length field in the reply reader
|
2010-11-26 13:49:15 +01:00 |
|
Pieter Noordhuis
|
adb0895e99
|
Rename 'parent' field in read tasks to 'obj'
|
2010-11-26 13:04:42 +01:00 |
|
Pieter Noordhuis
|
b4dd17b57f
|
Remove leftover line from earlier commit
|
2010-11-24 15:46:50 +01:00 |
|
Pieter Noordhuis
|
257a9d40a9
|
Set error on unexpected nesting of multi bulks
|
2010-11-24 15:46:05 +01:00 |
|
Pieter Noordhuis
|
d4058be7b0
|
Add pointer to parent task in read tasks
|
2010-11-24 15:21:34 +01:00 |
|
Pieter Noordhuis
|
3d702d0bf1
|
Don't care if object returned by object function is NULL
|
2010-11-24 15:05:25 +01:00 |
|
Pieter Noordhuis
|
1927c643da
|
Add privdata field to reply reader
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-24 12:27:46 +01:00 |
|
Pieter Noordhuis
|
fb49cd1988
|
Make the libev adapter work without support for multiple event loops
|
2010-11-23 15:55:32 +01:00 |
|
Pieter Noordhuis
|
808e43e161
|
Update README with new way of handling errors
|
2010-11-22 18:03:35 +01:00 |
|
Pieter Noordhuis
|
56bbeb7049
|
Abort on code path that should never be taken
|
2010-11-22 10:38:07 +01:00 |
|
Pieter Noordhuis
|
b6b96f776e
|
Make error messages consistent in casing
|
2010-11-22 10:37:14 +01:00 |
|
Pieter Noordhuis
|
537e64e946
|
Tests for behavior when connecting fails
|
2010-11-22 10:32:37 +01:00 |
|
Pieter Noordhuis
|
7c33f2666b
|
Make test for formatting commands using a vector more robust
|
2010-11-22 10:06:43 +01:00 |
|
Pieter Noordhuis
|
cb89a472b6
|
Fix formatting literal percent characters
|
2010-11-22 10:00:45 +01:00 |
|
Pieter Noordhuis
|
9d9b8e1c79
|
Correctly format commands with empty interpolated values
|
2010-11-22 09:55:54 +01:00 |
|
Pieter Noordhuis
|
4f4d1ed7b5
|
Explicit casts for the libev adapter
|
2010-11-22 09:45:55 +01:00 |
|
Ryan Tecco
|
0d925bb497
|
add explicit casts for C++ compiles - C++ disallows implicit casts from
void*
|
2010-11-21 16:26:55 -08:00 |
|
Ryan Tecco
|
a01c5b1352
|
more extern "C" declarations for C++ compiles
|
2010-11-21 16:21:46 -08:00 |
|
Pieter Noordhuis
|
650df0f982
|
Don't do a write(2) after QUIT
This causes non-deterministic error messages because sometimes the
socket will already be closed and sometimes it is yet to be closed.
|
2010-11-19 12:37:06 +01:00 |
|
Ryan Tecco
|
74254a3b39
|
add extern "C" for C++ compiles
|
2010-11-19 12:25:04 +01:00 |
|
Pieter Noordhuis
|
09a0fe626f
|
Explicitly initialize struct fields to NULL
|
2010-11-15 21:53:22 +01:00 |
|
Pieter Noordhuis
|
0b27639e09
|
Don't print when testing can continue
|
2010-11-15 20:17:31 +01:00 |
|
Pieter Noordhuis
|
a5acb58948
|
Redis >=2.1 replies with OK on QUIT, so make the test conditional
|
2010-11-15 20:16:01 +01:00 |
|
Pieter Noordhuis
|
1c39483434
|
Include signal.h
|
2010-11-05 17:24:11 +01:00 |
|
Pieter Noordhuis
|
8ce0b3228d
|
Finding \r\n without strstr is a little harder
|
2010-11-04 23:52:47 +01:00 |
|
Pieter Noordhuis
|
8b616d3547
|
The buffer length to feed should be a size_t
|
2010-11-04 20:55:03 +01:00 |
|
Pieter Noordhuis
|
183220bf60
|
Make moveToNextTask non-recursive
|
2010-11-04 13:26:45 +01:00 |
|
Pieter Noordhuis
|
9c4ee606d6
|
Use strchr in a loop rather than strstr
|
2010-11-04 13:26:22 +01:00 |
|
Pieter Noordhuis
|
2e5e9a49fd
|
Return the reply type when the reply object function set is NULL
|
2010-11-04 13:15:44 +01:00 |
|
Pieter Noordhuis
|
e5a8228946
|
More style
|
2010-11-03 12:02:10 +01:00 |
|
Pieter Noordhuis
|
cdd026ac79
|
Style
|
2010-11-03 12:01:08 +01:00 |
|
Pieter Noordhuis
|
f023f9cfd5
|
Upgrade notice in README
|
2010-11-03 12:00:17 +01:00 |
|
Pieter Noordhuis
|
3be1d6e66d
|
Add version information to hiredis.h
|
2010-11-03 11:50:46 +01:00 |
|
Pieter Noordhuis
|
bea6c4bde2
|
Check replies in throughput test
|
2010-11-03 11:43:01 +01:00 |
|
Pieter Noordhuis
|
f25a5267cc
|
Allow to connect using a unix socket from hiredis
|
2010-11-03 11:38:26 +01:00 |
|
Pieter Noordhuis
|
0ccb2c8d89
|
Add functiont to net.c to connect to a unix socket
|
2010-11-03 11:31:33 +01:00 |
|
Pieter Noordhuis
|
8220cd4ba6
|
Move code in net.c to separate functions
|
2010-11-03 11:08:24 +01:00 |
|
Pieter Noordhuis
|
c7ab28d2d0
|
README style
|
2010-11-03 01:04:20 +01:00 |
|
Pieter Noordhuis
|
e13674dd4e
|
Expose redisGetReplyFromReader as public API
|
2010-11-03 00:40:07 +01:00 |
|
Pieter Noordhuis
|
314c04840b
|
Update examples
|
2010-11-02 17:37:22 +01:00 |
|
Pieter Noordhuis
|
e51ddd7c2c
|
Make setError receive an sds
|
2010-11-02 17:14:03 +01:00 |
|