summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix compilation issue on Solaris 9 wrt isspace() macro - Resolves issue 111Paul Lindner2010-09-141-4/+7
| |
| * Allow use of a UNIX socket in addition to INET socketsJon Jensen2010-04-201-8/+19
| |
| * Remove item > 1MB assertion - bug 1191.4.5Dustin Sallings2010-04-021-1/+0
| |
* | Don't include stdbool.h when included from C++Trond Norbye2011-08-123-2/+11
| |
* | Define _GNU_SOURCE for Linux when using Oracle Solaris Studio on LinuxTrond Norbye2011-08-081-0/+1
| |
* | Check for the existence of __builtin_expect before defining itTrond Norbye2011-08-081-1/+1
| | | | | | | | Just testing for gcc might not be sufficient
* | Fix compilation warning when compiling without SASL supportTrond Norbye2011-08-081-1/+2
| | | | | | | | | | | | We're calling exit() if the source isn't built with SASL support if the user tries to use the -S command line argument (causing some compilers to emit warnings about statement never reached)
* | Add -xc99=all for Sun StudioTrond Norbye2011-07-301-1/+1
| |
* | Fixed make rules for --enable-dtraceTrond Norbye2011-07-281-2/+2
| |
* | Issue 183 - Reclaim items dead by flush_allTrond Norbye2011-07-182-2/+26
| |
* | Issue 200: Don't fire dtrace probe as the last thing in a functionTrond Norbye2011-07-181-2/+2
| | | | | | | | | | Some compilers (at least gcc 4.6.1) may optimize away the code when using certain optimization levels
* | handle very early memcached shutdownAliaksey Kandratsenka2011-07-171-2/+4
| | | | | | | | | | | | | | If memcached shutdown is requested too early this will lead to clock_handler not being set up. So actual shutdown will only happen when some socket event happens which will cause event_hander to be called which will exit event loop.
* | Remove unused variablesTrond Norbye2011-07-152-4/+2
| |
* | Make the current testcase available through the test harnessTrond Norbye2011-07-142-3/+14
| |
* | Fix compiling errors on windows platformBin Cui2011-07-141-0/+3
| | | | | | | | | | It looks like symbol 'interface' is predefined somewhere and makes compiler confused.
* | Don't assert for bogus ttl in tap messagesTrond Norbye2011-07-132-21/+53
| |
* | Remove the set_tap_nack_mode from the server apiTrond Norbye2011-07-134-27/+1
| | | | | | | | | | The tap commands should always return error messages just like the other memcached commands
* | Add support for reading / writing partial keysTrond Norbye2011-07-124-8/+428
| |
* | Add support for binary protocol extensionsTrond Norbye2011-07-115-48/+175
| |
* | Add new error code: ERANGETrond Norbye2011-07-113-0/+4
| |
* | Extend the test api with prepare and cleanupTrond Norbye2011-07-112-13/+45
| | | | | | | | | | You might want to run code before and after the engine is started or stopped. These entry functions allows you to do so.
* | mcstat should try multiple addrinfoTrond Norbye2011-07-111-6/+13
| |
* | Ensure that we don't register a connection twice in libeventTrond Norbye2011-07-113-11/+3
| |
* | Clean up notify_io_complete for tap disconnectTrond Norbye2011-07-111-13/+27
| |
* | workaround low mtime resolution by reloading isasl db few timesAliaksey Kandratsenka2011-05-071-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | If isasl.pw is changed several times during one second (which is resolution of mtime in struct stat), then we'll have stale password database. To prevent that we keep reloading isasl password for 2 mtime check cycles. If mtime is still same, we can be sure that we haven't missed updates. Change-Id: Ia299aba6296b86ec0e569cf1d13bc9fbede0303a
* | Initialize mutex object for listen_stateBin Cui2011-05-031-1/+1
| | | | | | | | | | Uninitialized mutex object will cause the whole memcached process crashing as soon as it processes stats command.
* | Unregister events if we get callback from closed eventsTrond Norbye2011-04-271-3/+6
| |
* | made stdin_check trigger shutdown on EOLAliaksey Kandratsenka2011-04-261-6/+7
| | | | | | | | | | | | | | | | | | | | Erlang ports don't have API to close only output part. So it seems that the only reasonable way to reliably control memcached from Erlang is by signalling shutdown by something else than EOF. EOL seems good enough. This allows sending shutdown 'message' and waiting for shutdown termination by observing EOF on memcached's stdout. Change-Id: I0bc994362e8f55a0956cb0ecb68305e495916ccb
* | Ensure that we don't reference freed memoryTrond Norbye2011-04-272-21/+27
| |
* | Reserve/release cookie should be able to return errorsTrond Norbye2011-04-193-6/+10
| | | | | | | | | | A proxy-engine may want to intercept the calls and should be able to return an error.
* | msghdr->msg_namelen should only be set for UDPTrond Norbye2011-04-121-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | We are currently using sockaddr_storage to keep track of the address (to support IPV6), but this caused sendmsg to fail on OpenBSD with EINVAL. The socket is already in a connected state, so we don't need to pass in the socket address. Our test coverage is a bit low for UDP, so I leave the initalization there for now. I'm pretty sure that we could just set this to zero here, because we reset the member each time we receive a packet in try_read_udp().
* | Add missing header (fixes build on OpenBSD).1.6.0-beta1Piotr Sikora2011-04-111-0/+4
| |
* | fix tests and warnings under the maxconns changedormando2011-04-103-7/+7
| | | | | | | | | | | | | | | | | | After some idle thought it seems clear enough to just kick the maxconns deafult down to 1000. It was never 1024 before due to pipes/conns consuming fds anyway. Also repairs some tests which were looking for that 1024 number, and some subtle wording changes to the warnings.
* | `make dist` failed without a BUILD file ;)dormando2011-04-101-1/+1
| | | | | | | | just removed it from Makefile.am
* | Don't symlink libevent to version.Dustin Sallings2011-04-061-1/+1
| | | | | | | | | | automake's dist target follows symlinks and adds two copies of libevent into the archive.
* | Added a blackhole logger to use during testingTrond Norbye2011-04-024-1/+57
| |
* | Fix m4/libevent.m4 to pass whitespace testTrond Norbye2011-04-021-1/+1
| |
* | Fixed problems when accept returns EMFILETrond Norbye2011-04-025-35/+144
| |
* | Automake fails without a NEWS fileTrond Norbye2011-04-011-0/+10
| |
* | Use the logger instead of fprintfTrond Norbye2011-04-017-74/+136
| |
* | Update the base doc files a bit.dormando2011-03-306-79/+31
| | | | | | | | | | Kill some outdated ones, make information more accessable in the remaining. Updated the AUTHORS file to point out that there're more than two.
* | Removed my Copyright from genhash.c.Dustin Sallings2011-03-281-4/+0
| | | | | | | | | | | | This is property of memcached and I claim no rights to it. Signed-off-by: Dustin Sallings <dustin@spy.net>
* | unknown_command _may_ not return dataTrond Norbye2011-03-281-2/+6
| |
* | Fixed the value for PROTOCOL_BINARY_CMD_LAST_RESERVEDTrond Norbye2011-03-281-1/+1
| |
* | Include dependencies from public headersTrond Norbye2011-03-282-0/+2
| | | | | | | | | | The client of the interfaces shouldn't have to figure out which system header to include in order to use our interfaces.
* | Supress fwrite wur in mcstat.Dustin Sallings2011-03-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | mcstat pulls statistics from memcached and writes them to stdout. Recent versions of glibc have a warn_unused_result attribute on fwrite causing this utility to fail to compile. While this change in glibc is a bit controversial[0], it's the state of things on some systems today, so this change explicitly ignores the result of writes to stdout. [0]: http://sourceware.org/bugzilla/show_bug.cgi?id=11959
* | Use embedded libevent.Dustin Sallings2011-03-214-106/+154
| | | | | | | | Because people run CentOS.
* | Reduce the maximum number of connections if setrlimit failsTrond Norbye2011-03-201-3/+16
| | | | | | | | | | | | If setrlimit fails the maximum number of connections is set to the current filedescriptor limit minus the number of internally used filedescriptors
* | Allow in-place replace for incrTrond Norbye2011-03-181-11/+20
| |
* | Initialize process start time before set_current_time()Dustin Sallings2011-03-181-5/+5
| | | | | | | | | | | | Time is relative, memcached time doubly so. set_current_time() sets the time relative to the start time, which we didn't know until stats initialization. Mass confusion from doing this wrong.