Permalink
Commits on Nov 12, 2010
Commits on Nov 11, 2010
  1. Issue 131 - ChangeLog is outdated

    ChangeLog is no longer being updated and no one wants to maintain it.
    This patch adds an entry to the ChangeLog that redirect the users to
    the ReleaseNotes on the wiki.
    trondn committed Nov 11, 2010
Commits on Nov 10, 2010
Commits on Nov 3, 2010
  1. Fix type-punning issues exposed with GCC 4.5.1

    The errors below are due to pointer magic that isn't allowed if following C
    strict-aliasing rules:
    
        memcached.c: In function ‘complete_incr_bin’:
        memcached.c:1023:16: error: dereferencing type-punned pointer will break
        strict-aliasing rules
        memcached.c:1044:13: error: dereferencing type-punned pointer will break
        strict-aliasing rules
        memcached.c:1061:17: error: dereferencing type-punned pointer will break
        strict-aliasing rules
    
    Fix this by introducing a union type that allows access to the uint64_t
    member as necessary, but doesn't add any additional length to the structure.
    The size remains the same before and after; the only difference is explict
    casts are now refactored into union member accesses and all compilers should
    be happy.
    
    Signed-off-by: Dan McGee <dan@archlinux.org>
    toofishes committed with dustin Nov 2, 2010
  2. Simplify stats aggregation code

    We can use memset, unlike what the previous comment said, because this is a
    one-time allocated thread_stats struct that doesn't actually use the mutex
    for anything. This simplifies the setup code a decent amount and makes one
    fewer place where things need to be added if a new stat is introduced.
    
    Signed-off-by: Dan McGee <dan@archlinux.org>
    toofishes committed with dustin Nov 2, 2010
  3. Reverse backward expected/actual params in test

    Signed-off-by: Dan McGee <dan@archlinux.org>
    toofishes committed with dustin Nov 2, 2010
Commits on Sep 14, 2010
Commits on Apr 20, 2010
Commits on Apr 3, 2010
Commits on Mar 20, 2010
Commits on Mar 6, 2010
  1. Add support for --enable-sasl-pwdb

    --enable-sasl-pwdb allows memcached to use it's own password file and
    verify a plaintext password.
    
    The file is specified with the environment variable
    MEMCACHED_SASL_PWDB, and is a plain text file with the following
    syntax:
    
    username:password
    
    Please note that you have to specify "mech_list: plain" in your sasl
    config file for this to work.
    
    Ex:
    echo "mech_list: plain" > memcached.conf
    echo "myname:mypass" > /tmp/memcached-sasl-db
    export MEMCACHED_SASL_PWDB=/tmp/memcached-sasl-db
    export SASL_CONF_PATH=`pwd`/memcached.conf
    ./memcached -S -v
    
    and you should be able to use your favorite memcached client with sasl
    support to connect to the server.
    
    (Please note that not all SASL implementations support
    SASL_CB_GETCONF, so you may have to install the sasl config
    (memcached.conf) to the systemwide location)
    trondn committed with dustin Feb 24, 2010
Commits on Feb 22, 2010
Commits on Feb 20, 2010
  1. Backporting AC_PROG_CC_C99 macro for redhat.

    RedHat 5.4 (and CentOS) ship with 2.59 which doesn't have the
    AC_PROG_CC_C99 macro necessary for detecting C99 flags for the
    compiler.
    dustin committed Feb 15, 2010
Commits on Jan 13, 2010
  1. Added reclaimed statistics.

    This counts then number of times an expired object was reclaimed to
    store a new item.
    trondn committed with dustin Jan 13, 2010
Commits on Dec 31, 2009
  1. Remove compile warnings on openBSD

    trondn committed with dustin Dec 29, 2009
Commits on Dec 26, 2009
  1. doc fixes

    Paul Lindner committed with trondn Dec 26, 2009
  2. add tests to detect ARM CPU alignment issues

    Paul Lindner committed with trondn Dec 26, 2009
  3. Fedora 12 has automake 1.11

    Paul Lindner committed with trondn Dec 26, 2009
Commits on Nov 27, 2009
  1. Allow noreply mixed with 0 delay.

    dustin committed with dormando Nov 24, 2009
  2. Allow a delete duration of 0.

    This change covers the case where a reply is requested.  A separate,
    more complicated change mixes in noreplys and 0 duration deletes.
    dustin committed with dormando Nov 24, 2009
Commits on Nov 26, 2009
  1. Added auth_enabled_sasl setting stat and tests for the sasl stats.

    Added basic sasl stats and tests for whether or not those stats
    return the expected values.  The preferred method would be to reauth
    but that is not expected to currently work because of how the underlying
    sasl library works.  Instead, the test is dependent upon what has happened
    earlier with other tests.
    
    The name for the stat includes the suffix of _sasl because there may
    some day be an option for other types of authentication.
    ingenthr committed with Trond Norbye Nov 25, 2009
  2. Added new stats to track sasl authentication.

    Two new stats, auth_cmds and auth_unknowns have been added to allow
    end users to track how often authentications commands are submitted
    and when they "fail".  Successes can be calculated by clients.
    
    Rename to auth_errors and add to protocol.txt.
    ingenthr committed with Trond Norbye Nov 25, 2009
Commits on Nov 4, 2009
  1. Fix compilation warning

    Trond Norbye committed with dustin Nov 4, 2009
  2. Allow semi-broken C99 compilers to compile memcached

    Some C compilers understand the syntax we use in memcached, but do not
    ship stdbool.h or stdint.h.  According to C99 inttypes.h contains the
    formatting macros we use (PRInn) and is supposed to include stdint.h.
    
    This patch tries to detect stdbool.h and inttypes.h and tries to
    include them from config.h
    Trond Norbye committed with dustin Nov 4, 2009
Commits on Nov 2, 2009