|
|
|
@687f7d
|
2 years |
tomash.brechko |
Revert "Fix SIGPIPE ignoring."
Turned out some orthodox systems do not …
|
|
|
|
@81d6e9
|
2 years |
tomash.brechko |
Include <string.h> for memcpy().
|
|
|
|
@957de1
|
2 years |
tomash.brechko |
Fix SIGPIPE ignoring.
|
|
|
|
@a2317e
|
2 years |
tomash.brechko |
Fix t/command.t on some Solaris systems where it fails.
The problem was …
|
|
|
|
@34bb6d
|
3 years |
tomash.brechko |
Remove delay (aka expiration) parameter for delete() and delete_multi().
|
|
|
|
@6bb9a6
|
3 years |
tomash.brechko |
On systems lacking getaddrinfo() implement it with gethostbyname().
…
|
|
|
|
@fcc91c
|
3 years |
tomash.brechko |
Set ai_family explicitly.
|
|
|
|
@442efc
|
3 years |
tomash.brechko |
Do not use invalid file descriptor.
|
|
|
|
@eece31
|
3 years |
tomash.brechko |
Fix RT#41077: implement disconnect_all().
Patch is by norbi.nix.hu, with …
|
|
|
|
@dbde51
|
3 years |
tomash.brechko |
Better distribution of ketama points.
Feed previous point instead of …
|
|
|
|
@65a14e
|
4 years |
tomash.brechko |
Fix compilation warning on Win32.
|
|
|
|
@b495a1
|
4 years |
tomash.brechko |
Move can_poll_fd() to header, and make it no-op on Win32.
See added …
|
|
|
|
@f0c0ca
|
4 years |
tomash.brechko |
Prevent installation of libclient.a.
Patch by Vladimir Timofeev.
|
|
|
|
@02370d
|
4 years |
tomash.brechko |
Include socket_posix.h before other headers that may depend on it.
|
|
|
|
@f36479
|
4 years |
tomash.brechko |
Add cast to void* that may be necessary to suppress a warning.
It may be …
|
|
|
|
@b1ae26
|
4 years |
tomash.brechko |
Remove dead code. There are no plans to use UDP for now.
|
|
|
|
@e61b4e
|
4 years |
tomash.brechko |
Simplify the code.
|
|
|
|
@c346b2
|
4 years |
tomash.brechko |
Use poll() instead of select(). Implement it where not available.
…
|
|
|
|
@46fd4a
|
4 years |
tomash.brechko |
Add Win32 support.
Thanks to Yasuhiro Matsumoto for initial patch.
|
|
|
|
@11df21
|
4 years |
tomash.brechko |
Prepare the code for Win32 support.
|
|
|
|
@3d952a
|
4 years |
tomash.brechko |
Do not use size_t/%zu, because some systems do not recognize this format.
|
|
|
|
@182fc0
|
4 years |
tomash.brechko |
Older versions of ExtUtils::MakeMaker? don't handle newline.
Reported by …
|
|
|
|
@9729a3
|
4 years |
tomash.brechko |
Minor code reorganization.
|
|
|
|
@83ca7f
|
4 years |
tomash.brechko |
Fix key distribution bug in compatible mode.
Because of accumulated …
|
|
|
|
@8e06d2
|
4 years |
tomash.brechko |
Add U unsigned suffix to the constant.
|
|
|
|
@f4e8b6
|
4 years |
tomash.brechko |
Clean the generated files.
|
|
|
|
@175d15
|
4 years |
tomash.brechko |
Remove explicit OPTIMIZE setting from the makefiles.
Enforcing custom …
|
|
|
|
@9b5de9
|
4 years |
tomash.brechko |
Optimize single server case for Ketama.
|
|
|
|
@5cbbe9
|
4 years |
tomash.brechko |
Rename prefix_crc32 to prefix_hash.
|
|
|
|
@b1cbae
|
4 years |
tomash.brechko |
Change dispatch_set_prefix_crc32() to dispatch_set_prefix().
|
|
|
|
@279733d
|
4 years |
tomash.brechko |
Make compute_crc32_add() more optimal.
|
|
|
|
@272c52
|
4 years |
tomash.brechko |
Fix hash_namespace: it should be enabled before we set the namespace.
|
|
|
|
@399607
|
4 years |
tomash.brechko |
Remove redundant parenthesis.
|
|
|
|
@3760ea
|
4 years |
tomash.brechko |
Remove unused heade.
|
|
|
|
@dfab1e
|
4 years |
tomash.brechko |
In the case of collision, add new servers to the end of equal run.
|
|
|
|
@2986b7
|
4 years |
tomash.brechko |
Fix comment wording.
|
|
|
|
@f1cd57
|
4 years |
tomash.brechko |
Among several equal points, choose first.
This will fix key invalidation …
|
|
|
|
@a0b8bf
|
4 years |
tomash.brechko |
Control latency-throughput with TCP_NODELAY.
|
|
|
|
@a57c5d
|
4 years |
tomash.brechko |
Add hash_namespace parameter.
The test t/hash_namespace.t is not added to …
|
|
|
|
@ea3648
|
4 years |
tomash.brechko |
Add 'namespace' method.
|
|
|
|
@acf677
|
4 years |
tomash.brechko |
Cast to long before casting to void* to suppress warning about diff width.
|
|
|
|
@ff0698
|
4 years |
tomash.brechko |
Pass callback object to client_reset().
|
|
|
|
@d7f244
|
4 years |
tomash.brechko |
Fix typo.
|
|
|
|
@3c1c60
|
4 years |
tomash.brechko |
Pass noreply flag to client_reset().
|
|
|
|
@16ed38
|
4 years |
tomash.brechko |
Add OPTIMIZE => '-g -O3' to make files.
|
|
|
|
@903088
|
4 years |
tomash.brechko |
Clean gcc 4.2.2 warnings about discard qualifier.
|
|
|
|
@626460
|
4 years |
tomash.brechko |
Rename bins to buckets.
|
|
|
|
@802f07
|
4 years |
tomash.brechko |
Add client_noreply_push().
|
|
|
|
@abd24f
|
4 years |
tomash.brechko |
Split get and get_multi.
|
|
|
|
@cdbdbe
|
4 years |
tomash.brechko |
Process get commands inside XS.
|
|
|
|
@d1c826
|
4 years |
tomash.brechko |
Add delete_multi command.
|
|
|
|
@529d88
|
4 years |
tomash.brechko |
Add incr_multi and decr_multi commands.
|
|
|
|
@0ccd99
|
4 years |
tomash.brechko |
Add set_multi command.
|
|
|
|
@9535d0
|
4 years |
tomash.brechko |
Add cas_multi command.
|
|
|
|
@3b2617
|
4 years |
tomash.brechko |
Add "prepare" to the name of multi methods, move reset and execute …
|
|
|
|
@8f1c8d
|
4 years |
tomash.brechko |
Explicitly increment key_count in every command.
|
|
|
|
@a9fcbc
|
4 years |
tomash.brechko |
Return defined value for incr NOT_FOUND. Return "0E0" for zero value.
|
|
|
|
@a97337
|
4 years |
tomash.brechko |
Simplify the code.
|
|
|
|
@b98a58
|
4 years |
tomash.brechko |
Explicitly store the result value from every command.
|
|
|
|
@56622f
|
4 years |
tomash.brechko |
Add struct meta_object.
|
|
|
|
@6ffc94
|
4 years |
tomash.brechko |
Rename value_object to result_object.
|
|
|
|
@6c8f5c
|
4 years |
tomash.brechko |
Do not shift over cmd name, prefix and key for flush_all, which doesn't …
|
|
|
|
@d94fc1
|
4 years |
tomash.brechko |
Increase receive buffer size to possibly hold full Ethernet packet.
|
|
|
|
@af8239
|
4 years |
tomash.brechko |
Rename command_count to reply_count.
|
|
|
|
@03d51a
|
4 years |
tomash.brechko |
Make nowait_count and command_count consistent.
|
|
|
|
@d50b1f
|
4 years |
tomash.brechko |
Simplify the code.
|
|
|
|
@d707fd
|
4 years |
tomash.brechko |
Remove redundant PHASE_INIT.
|
|
|
|
@9a7c3a
|
4 years |
tomash.brechko |
Make server_versions command public.
|
|
|
|
@84c7ad
|
4 years |
tomash.brechko |
Use embedded_state instead of arith_state.
|
|
|
|
@df427f
|
4 years |
tomash.brechko |
Remove client_mget().
The sequence
client_reset();
client_get();
…
|
|
|
|
@12f8a2
|
4 years |
tomash.brechko |
Extract client_reset() and client_execute() from client_get()
|
|
|
|
@4ef04d
|
4 years |
tomash.brechko |
Fix index progress when continue is being used.
|
|
|
|
@c92723
|
4 years |
tomash.brechko |
Remove dead variables.
|
|
|
|
@eea23f
|
4 years |
tomash.brechko |
Call push_index() from init_state().
|
|
|
|
@365877
|
4 years |
tomash.brechko |
Rename key_index to plain index.
|
|
|
|
@b37c77
|
4 years |
tomash.brechko |
Add get_state() and init_state().
|
|
|
|
@566d6c
|
4 years |
tomash.brechko |
Rename client_get_server() to init_state() and return command_state.
|
|
|
|
@d61894
|
4 years |
tomash.brechko |
Use a single per-client buffer for strings.
|
|
|
|
@762961
|
4 years |
tomash.brechko |
Remove key_count parameter to command_state_reset().
|
|
|
|
@6db42c
|
4 years |
tomash.brechko |
Use prefix with leading space.
|
|
|
|
@4c792d
|
4 years |
tomash.brechko |
Add array_each().
|
|
|
|
@70e5d7
|
4 years |
tomash.brechko |
Add struct array.
|
|
|
|
@3a7104
|
4 years |
tomash.brechko |
Add nowait_push method.
|
|
|
|
@b72349
|
4 years |
tomash.brechko |
Test result of malloc().
|
|
|
|
@bf9c22
|
4 years |
tomash.brechko |
Better execution flow.
|
|
|
|
@2080de
|
4 years |
tomash.brechko |
More optimial execution flow.
|
|
|
|
@fa7fff
|
4 years |
tomash.brechko |
Follow interface conventions and call both alloc and store for embedded.
|
|
|
|
@1b5707
|
4 years |
tomash.brechko |
Fix for possible memory leak.
|
|
|
|
@e8f840
|
4 years |
tomash.brechko |
Fix for subtle race bug.
get_multi and gets_multi when you have more than …
|
|
|
|
@f8ba75
|
4 years |
tomash.brechko |
Fix 'nowait' bug: do not clear partial reply in receive buffer.
|
|
|
|
@ad85a9
|
4 years |
tomash.brechko |
cas command may return NOT_FOUND.
|
|
|
|
@69cacc
|
4 years |
tomash.brechko |
Add 'nowait' mode.
|
|
|
|
@f9d936
|
4 years |
tomash.brechko |
Merge commit 'nowait'
|
|
|
|
@2a2bff
|
4 years |
tomash.brechko |
Make 'noreply' setting per-server.
|
|
|
|
@4220d7
|
4 years |
tomash.brechko |
Introduce named stubs for command tokens.
|
|
|
|
@8a320e
|
4 years |
tomash.brechko |
Implement nowait (no way to enable it).
|
|
|
|
@cbf09c
|
4 years |
tomash.brechko |
Implement simultaneous reading and writing.
|
|
|
|
@dbbb1d
|
4 years |
tomash.brechko |
Simplify client_server_versions().
|
|
|
|
@6e75c7
|
4 years |
tomash.brechko |
Rename sun to s_unix, because former is reserved on Sun systems.
|
|
|
|
@66154e
|
4 years |
tomash.brechko |
Some systems do not have AI_ADDRCONFIG.
|
|
|
|