m6w6/libmemcached
15 years agoMerge.
Brian Aker [Fri, 9 Jan 2009 21:00:18 +0000 (13:00 -0800)] 
Merge.

15 years agoChanged memcached_servers_parse() to take const
Brian Aker [Fri, 9 Jan 2009 20:59:43 +0000 (12:59 -0800)] 
Changed memcached_servers_parse() to take const

15 years agoChange binary protocol behavior to disallow the use of key verification. (We disable...
<hannu.valtonen@hut.fi> [Fri, 9 Jan 2009 09:21:54 +0000 (11:21 +0200)] 
Change binary protocol behavior to disallow the use of key verification. (We disable key verification in case setting binary-protocol behavior, and disallow setting key verification behavior in case binary protocol is already in use. Motivation for this is to allow the use of arbitrary key content i.e. non-ascii

15 years agoRemoved obsolete DTrace related macros
Trond Norbye [Wed, 7 Jan 2009 21:57:46 +0000 (22:57 +0100)] 
Removed obsolete DTrace related macros

15 years agoFixed the support for DTrace so that it also builds on Mac OSX
Trond Norbye [Wed, 7 Jan 2009 13:28:25 +0000 (14:28 +0100)] 
Fixed the support for DTrace so that it also builds on Mac OSX

15 years agoFix for test case to not leak memory.
Brian Aker [Tue, 6 Jan 2009 22:40:14 +0000 (14:40 -0800)] 
Fix for test case to not leak memory.

15 years agoMerge
Brian Aker [Tue, 6 Jan 2009 22:08:49 +0000 (14:08 -0800)] 
Merge

15 years agoImport new purge work from trond
Brian Aker [Tue, 6 Jan 2009 22:08:04 +0000 (14:08 -0800)] 
Import new purge work from trond

15 years agoTest for a working SO_SNDTIMEO and SO_RCVTIMEO during configure
Trond Norbye [Tue, 6 Jan 2009 14:46:41 +0000 (15:46 +0100)] 
Test for a working SO_SNDTIMEO and SO_RCVTIMEO during configure

15 years agoRun the async tests on the binary protocol as well
Trond Norbye [Tue, 6 Jan 2009 13:27:05 +0000 (14:27 +0100)] 
Run the async tests on the binary protocol as well

15 years agoDisable user_supplied_bug17 on Solaris
Trond Norbye [Tue, 6 Jan 2009 12:49:00 +0000 (13:49 +0100)] 
Disable user_supplied_bug17 on Solaris

value_fetch use iscntrl while it is parsing the key, and this always fails
on my systems. I don't know the language of the text, but I have tried
running the test in zh_CN.UTF-8 and en_US.UTF-8 without success.

15 years agoFix test case for weighted servers.
Brian Aker [Tue, 6 Jan 2009 00:15:07 +0000 (16:15 -0800)] 
Fix test case for weighted servers.

15 years agoRefactor to remove leak in new framework for clone() of server.
Brian Aker [Mon, 5 Jan 2009 23:24:28 +0000 (15:24 -0800)] 
Refactor to remove leak in new framework for clone() of server.

15 years agoRefactor for host_reset, updated test. TODO in code can be safetly ignored
Brian Aker [Mon, 5 Jan 2009 21:51:48 +0000 (13:51 -0800)] 
Refactor for host_reset, updated test. TODO in code can be safetly ignored
under current code (since no malloc is required).

15 years agoRefactor out host_reset and add internal _with() to server creation.
Brian Aker [Mon, 5 Jan 2009 21:21:26 +0000 (13:21 -0800)] 
Refactor out host_reset and add internal _with() to server creation.

15 years agoBug fix for host_reset()
<brian@gir.tangent.org> [Mon, 5 Jan 2009 18:02:01 +0000 (10:02 -0800)] 
Bug fix for host_reset()

15 years agoFix for decrement
<brian@gir.tangent.org> [Sun, 4 Jan 2009 22:16:43 +0000 (14:16 -0800)] 
Fix for decrement

15 years agoDisable SO_SNDTIMEO and SO_RCVTIMEO on Solaris
Trond Norbye [Thu, 11 Dec 2008 18:25:12 +0000 (19:25 +0100)] 
Disable SO_SNDTIMEO and SO_RCVTIMEO on Solaris

setsockopt(SO_SNDTIMEO/SO_RCVTIMEO) returns -1 with errno == 99 (not supported)
I have temporarily disabled the code with #ifdef __sun, but should update
the configure script to test for this and set the correct macros.

15 years agomemcached_io_reset should disconnect from the server without trying to send a quit...
Trond Norbye [Mon, 15 Dec 2008 21:53:54 +0000 (22:53 +0100)] 
memcached_io_reset should disconnect from the server without trying to send a quit command.

memcached_response should not call memcached_io_reset when it receives EXISTS

Thanks to Robey Pointer for providing a patch.

15 years agoAdd --with-memcached to be able to specify the memcached binary to use for make test
Trond Norbye [Wed, 10 Dec 2008 12:30:04 +0000 (13:30 +0100)] 
Add --with-memcached to be able to specify the memcached binary to use for make test

15 years agoSync protocol_binary.h with the memcached repository
Trond Norbye [Mon, 1 Dec 2008 17:30:01 +0000 (18:30 +0100)] 
Sync protocol_binary.h with the memcached repository

15 years agobootstrap should search for aclocal-1.10 and automake-1.10 as well
Trond Norbye [Fri, 28 Nov 2008 23:04:30 +0000 (00:04 +0100)] 
bootstrap should search for aclocal-1.10 and automake-1.10 as well

15 years agoAdded tag 0.25 for changeset 1ed3d51f323f
Brian Aker [Fri, 28 Nov 2008 18:08:23 +0000 (10:08 -0800)] 
Added tag 0.25 for changeset 1ed3d51f323f

15 years agoFix for config to not be stored into filesystem. 0.25
Brian Aker [Fri, 28 Nov 2008 18:08:14 +0000 (10:08 -0800)] 
Fix for config to not be stored into filesystem.

15 years agoFix for bad disconnect during test run.
Brian Aker [Fri, 28 Nov 2008 17:57:42 +0000 (09:57 -0800)] 
Fix for bad disconnect during test run.

15 years agoIncomming fix from Chris
<brian@gir-3.local> [Fri, 28 Nov 2008 17:49:54 +0000 (09:49 -0800)] 
Incomming fix from Chris

15 years agoPatch from evn
<brian@gir-3.local> [Fri, 21 Nov 2008 23:45:23 +0000 (15:45 -0800)] 
Patch from evn

15 years agoRemoving purge support for the time being.
<brian@gir-3.local> [Mon, 17 Nov 2008 22:13:14 +0000 (17:13 -0500)] 
Removing purge support for the time being.

15 years agoFix for most errors around non-block
Brian Aker [Sun, 16 Nov 2008 02:15:28 +0000 (18:15 -0800)] 
Fix for most errors around non-block

15 years agoStraighten up exection path
Brian Aker [Sat, 15 Nov 2008 22:01:12 +0000 (14:01 -0800)] 
Straighten up exection path

15 years agoTrying to remove dead branch
<brian@gir-3.local> [Sat, 15 Nov 2008 17:12:30 +0000 (12:12 -0500)] 
Trying to remove dead branch

15 years agoMerge.
<brian@gir-3.local> [Sat, 15 Nov 2008 17:07:50 +0000 (12:07 -0500)] 
Merge.

15 years agoFix to make sure we do not copy an element on top of itself.
<brian@gir-3.local> [Sat, 15 Nov 2008 16:15:43 +0000 (11:15 -0500)] 
Fix to make sure we do not copy an element on top of itself.

15 years agoRemove dead variable and on close check value of file descriptor.
<brian@gir-3.local> [Sat, 15 Nov 2008 16:06:42 +0000 (11:06 -0500)] 
Remove dead variable and on close check value of file descriptor.

16 years agofix io_read bug
Yin Chen [Wed, 5 Nov 2008 09:25:57 +0000 (17:25 +0800)] 
fix io_read bug

16 years agoFix make dist.
<brian@ubuntu> [Tue, 4 Nov 2008 03:50:38 +0000 (19:50 -0800)] 
Fix make dist.

16 years agoAdding missing file
<brian@gir-3.local> [Mon, 3 Nov 2008 22:20:00 +0000 (03:50 +0530)] 
Adding missing file

16 years agoIncomming code for additions in keys (see Changelog)
<brian@gir-3.local> [Mon, 3 Nov 2008 22:15:47 +0000 (03:45 +0530)] 
Incomming code for additions in keys (see Changelog)

16 years agoMerge fixed from trond
<brian@gir-3.local> [Mon, 3 Nov 2008 21:51:23 +0000 (03:21 +0530)] 
Merge fixed from trond

16 years agoSearch for pod2man during configure
Trond Norbye [Thu, 23 Oct 2008 16:34:26 +0000 (18:34 +0200)] 
Search for pod2man during configure

16 years agoPurge the input buffer if I discover a lot of commands being sent and none read ...
Trond Norbye [Wed, 22 Oct 2008 20:08:15 +0000 (22:08 +0200)] 
Purge the input buffer if I discover a lot of commands being sent and none read (to avoid deadlock)

16 years agoSolaris Forte issue fix (inttype over stdint)
<brian@gir.tangent.org> [Thu, 16 Oct 2008 19:19:16 +0000 (12:19 -0700)] 
Solaris Forte issue fix (inttype over stdint)

16 years agoSaving fix for busy wait
Brian Aker [Wed, 15 Oct 2008 05:24:24 +0000 (22:24 -0700)] 
Saving fix for busy wait

16 years agoPatch for memslap by Furuhashi Sadayuk
Brian Aker [Wed, 15 Oct 2008 04:17:18 +0000 (21:17 -0700)] 
Patch for memslap by Furuhashi Sadayuk

16 years agoIncoming update to Murmur
Brian Aker [Wed, 15 Oct 2008 03:42:18 +0000 (20:42 -0700)] 
Incoming update to Murmur

16 years agolibmemcached_config.h should not be installed
Trond Norbye [Wed, 1 Oct 2008 08:58:13 +0000 (10:58 +0200)] 
libmemcached_config.h should not be installed

16 years agoHostname (and filename) should be const in memcached_server_add*
Trond Norbye [Tue, 30 Sep 2008 07:51:11 +0000 (09:51 +0200)] 
Hostname (and filename) should be const in memcached_server_add*

16 years agoAdding missing file.
<brian@gir-3.local> [Mon, 22 Sep 2008 23:36:21 +0000 (02:36 +0300)] 
Adding missing file.

16 years agoMerging in Brian Pontz work on Jenkins hash
<brian@gir-3.local> [Mon, 22 Sep 2008 23:16:51 +0000 (02:16 +0300)] 
Merging in Brian Pontz work on Jenkins hash

16 years agoWrapping up fixed for .24 release
Brian Aker [Tue, 16 Sep 2008 09:59:20 +0000 (02:59 -0700)] 
Wrapping up fixed for .24 release

16 years agoRefactored call, removed abort() call (we should never cause the parent
<brian@gir-3.local> [Tue, 9 Sep 2008 00:10:38 +0000 (17:10 -0700)] 
Refactored call, removed abort() call (we should never cause the parent
program to die).

16 years agoMoved response code to use a switch/case (instead if giant if/else)
<brian@gir-3.local> [Tue, 9 Sep 2008 00:02:06 +0000 (17:02 -0700)] 
Moved response code to use a switch/case (instead if giant if/else)

16 years agoCleanup values for future use of memcached_server_free()
<brian@gir-3.local> [Mon, 8 Sep 2008 23:38:09 +0000 (16:38 -0700)] 
Cleanup values for future use of memcached_server_free()

16 years agoStyle cleanup
<brian@gir-3.local> [Mon, 8 Sep 2008 23:30:35 +0000 (16:30 -0700)] 
Style cleanup

16 years agoUpdated for the creation of memcached_server_by_key().
<brian@gir-3.local> [Mon, 8 Sep 2008 23:19:01 +0000 (16:19 -0700)] 
Updated for the creation of memcached_server_by_key().

16 years agoFix dangling endif
<brian@gir-3.local> [Mon, 8 Sep 2008 21:04:33 +0000 (14:04 -0700)] 
Fix dangling endif

16 years agoMore warning cleanup.
<brian@gir-3.local> [Mon, 8 Sep 2008 20:08:02 +0000 (13:08 -0700)] 
More warning cleanup.

16 years agoCleanup warnings/found issue in store by key functions.
<brian@gir-3.local> [Mon, 8 Sep 2008 19:12:09 +0000 (12:12 -0700)] 
Cleanup warnings/found issue in store by key functions.

16 years agoAdded tag .23 for changeset 86b581b9fdb8
Brian Aker [Sun, 7 Sep 2008 15:18:58 +0000 (08:18 -0700)] 
Added tag .23 for changeset 86b581b9fdb8

16 years agoForgot to update version number. _23
Brian Aker [Sun, 7 Sep 2008 15:18:45 +0000 (08:18 -0700)] 
Forgot to update version number.

16 years agoUpdate for release
Brian Aker [Sun, 7 Sep 2008 15:14:30 +0000 (08:14 -0700)] 
Update for release

16 years agoAdded tag .23 for changeset 58900f15f36b
Brian Aker [Sun, 7 Sep 2008 15:14:21 +0000 (08:14 -0700)] 
Added tag .23 for changeset 58900f15f36b

16 years agoMerge
Brian Aker [Sun, 7 Sep 2008 15:12:29 +0000 (08:12 -0700)] 
Merge

16 years agoFix for new RPM build machine.
Brian Aker [Sun, 7 Sep 2008 15:11:47 +0000 (08:11 -0700)] 
Fix for new RPM build machine.

16 years agofix a configure.ac typo(03 for O3)
Yin Chen [Fri, 29 Aug 2008 06:37:15 +0000 (14:37 +0800)] 
fix a configure.ac typo(03 for O3)

16 years agofix the incr/decr operation connection closed bug
Yin Chen [Fri, 29 Aug 2008 06:33:04 +0000 (14:33 +0800)] 
fix the incr/decr operation connection closed bug

16 years agoadd a memcached_result_string_st(A) interface to support the cas related API wrapper
Yin Chen [Mon, 25 Aug 2008 05:02:57 +0000 (13:02 +0800)] 
add a  memcached_result_string_st(A) interface to support the cas related API wrapper

16 years agofix a bug in update_continuum
Yin Chen [Wed, 20 Aug 2008 09:05:16 +0000 (17:05 +0800)] 
fix a bug in update_continuum

It will casue the valgrind to report "Conditional jump or move depends on uninitialised value(s)"

16 years agoClean up the compiler flag section
Trond Norbye [Tue, 19 Aug 2008 21:17:11 +0000 (23:17 +0200)] 
Clean up the compiler flag section

16 years agoFix compiler warning
Trond Norbye [Tue, 19 Aug 2008 21:13:23 +0000 (23:13 +0200)] 
Fix compiler warning

Cast the pointer to the uint64_t where the result should be stored to a char
pointer (memcached_response expects char pointer).

16 years agoAdded my name to the AUTHORS file
Trond Norbye [Tue, 19 Aug 2008 21:13:08 +0000 (23:13 +0200)] 
Added my name to the AUTHORS file

16 years agoFixed udp warnings.
Brian Aker [Tue, 19 Aug 2008 18:07:14 +0000 (11:07 -0700)] 
Fixed udp warnings.

16 years agoFew more cleanups.
Brian Aker [Tue, 19 Aug 2008 18:00:13 +0000 (11:00 -0700)] 
Few more cleanups.

16 years agoTurned up warnings in code
Brian Aker [Tue, 19 Aug 2008 17:58:25 +0000 (10:58 -0700)] 
Turned up warnings in code

16 years agoFixed memory leaks in test program.
Brian Aker [Tue, 19 Aug 2008 17:22:31 +0000 (10:22 -0700)] 
Fixed memory leaks in test program.

16 years agofix a logic error on memcached_server_remove which will cause double free problem
Yin Chen [Tue, 12 Aug 2008 09:16:50 +0000 (17:16 +0800)] 
fix a logic error on memcached_server_remove which will cause double free problem

16 years agoSmall cleanups
<brian@localhost.localdomain> [Sat, 2 Aug 2008 23:03:22 +0000 (16:03 -0700)] 
Small cleanups

16 years agoFix some flaw and bugs in server failure rehash
Yin Chen [Thu, 7 Aug 2008 08:43:15 +0000 (16:43 +0800)] 
Fix some flaw and bugs in server failure rehash

16 years agoAdd the LDFLAGS for -lm(floorf)
Yin Chen [Thu, 7 Aug 2008 04:00:43 +0000 (12:00 +0800)] 
Add the LDFLAGS for -lm(floorf)

16 years agoMerge the server failure rehash implementation
Yin Chen [Thu, 7 Aug 2008 03:14:45 +0000 (11:14 +0800)] 
Merge the server failure rehash implementation

16 years agoImplement the server failure rehash mechanism
Yin Chen [Wed, 6 Aug 2008 10:35:27 +0000 (18:35 +0800)] 
Implement the server failure rehash mechanism

16 years agoFix macro for verifying proper struct padding in protocol_binary.m4
Trond Norbye [Tue, 5 Aug 2008 10:47:39 +0000 (12:47 +0200)] 
Fix macro for verifying proper struct padding in protocol_binary.m4

16 years agoDetect the required libraries instead of hardcoding them in LDFLAGS
Trond Norbye [Tue, 5 Aug 2008 10:00:42 +0000 (12:00 +0200)] 
Detect the required libraries instead of hardcoding them in LDFLAGS

Use AC_SEARCH_LIBS to detect the required sockets libraries instead of
hardcoding them in LDFLAGS for the Sun Studio compiler.

16 years agoFixed: warning: missing braces around initializer
Trond Norbye [Mon, 4 Aug 2008 07:24:49 +0000 (09:24 +0200)] 
Fixed: warning: missing braces around initializer

16 years agoDo not try to run the binary protocol testsuite for pre-1.3 servers
Trond Norbye [Sun, 3 Aug 2008 12:57:01 +0000 (14:57 +0200)] 
Do not try to run the binary protocol testsuite for pre-1.3 servers

16 years agoAdded MEMCACHED_BEHAVIOR_SND_TIMEOUT, MEMCACHED_BEHAVIOR_RCV_TIMEOUT
<brian@localhost.localdomain> [Wed, 30 Jul 2008 22:19:22 +0000 (15:19 -0700)] 
Added MEMCACHED_BEHAVIOR_SND_TIMEOUT, MEMCACHED_BEHAVIOR_RCV_TIMEOUT

16 years agoHandling merge
<brian@localhost.localdomain> [Tue, 29 Jul 2008 06:01:57 +0000 (23:01 -0700)] 
Handling merge

16 years agoRemoved build-time dependency to memcached with binary support
Trond Norbye [Thu, 31 Jul 2008 08:46:10 +0000 (10:46 +0200)] 
Removed build-time dependency to memcached with binary support

Added a copy of memcached/protocol_binary.h to the source bundle to avoid the
need of having a memcached server with support for the binary protocol
installed on the build machine.

16 years agoFix for lingerd and bad free.
<brian@localhost.localdomain> [Tue, 29 Jul 2008 04:55:31 +0000 (21:55 -0700)] 
Fix for lingerd and bad free.

16 years agoFix for zero length bad key fix.
<brian@localhost.localdomain> [Sun, 27 Jul 2008 11:00:37 +0000 (04:00 -0700)] 
Fix for zero length bad key fix.

16 years agoInitial support for the binary protocol
<trond@localhost> [Sat, 26 Jul 2008 13:46:42 +0000 (15:46 +0200)] 
Initial support for the binary protocol

16 years agoFix for Chinese character sets.
<brian@localhost.localdomain> [Wed, 23 Jul 2008 22:05:43 +0000 (15:05 -0700)] 
Fix for Chinese character sets.

16 years agoPushing weighted ketama code.
<brian@localhost.localdomain> [Wed, 23 Jul 2008 19:16:31 +0000 (12:16 -0700)] 
Pushing weighted ketama code.

16 years agoRemoved dead code.
<brian@localhost.localdomain> [Fri, 18 Jul 2008 12:23:02 +0000 (05:23 -0700)] 
Removed dead code.

16 years agoAdding missing file.
<brian@localhost.localdomain> [Fri, 18 Jul 2008 11:56:06 +0000 (04:56 -0700)] 
Adding missing file.

16 years agoFix for Solaris 64bit
<brian@localhost.localdomain> [Fri, 18 Jul 2008 05:57:02 +0000 (22:57 -0700)] 
Fix for Solaris 64bit

16 years agoFix for solaris
<brian@localhost.localdomain> [Fri, 18 Jul 2008 05:44:57 +0000 (22:44 -0700)] 
Fix for solaris

16 years agoAdded tag 0.22 for changeset 55e4cd5cda1d
Brian Aker [Mon, 14 Jul 2008 16:26:35 +0000 (09:26 -0700)] 
Added tag 0.22 for changeset 55e4cd5cda1d

16 years agoSaving new version 0.22
Brian Aker [Mon, 14 Jul 2008 16:26:30 +0000 (09:26 -0700)] 
Saving new version

16 years agoAdding test for sort.
<brian@gir-3.local> [Mon, 30 Jun 2008 18:48:20 +0000 (11:48 -0700)] 
Adding test for sort.