Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jun 19, 2008
  1. Cosimo Streppone Dustin Sallings

    Another buffer overrun fix.

    cosimo authored dustin committed
Commits on Jun 18, 2008
  1. Dustin Sallings

    Allocate new conn structures with calloc.

    dustin authored
    Janusz Dziemidowicz reported conn->next was sometimes not initialized.
    This would have been the case for any client connection, or any
    listener connection that wasn't tcp.
  2. Tomash Brechko Dustin Sallings

    Fix heap corruption when copying too much data onto an item.

    kroki authored dustin committed
    (Dustin:)
    I wrote a fuzz test that would consistently crash in assoc_find, but
    after this change the test failed to break things and my fuzz
    generator couldn't produce another breaking case.
  3. Dustin Sallings

    Use calloc for allocating the hash table vs. malloc+memset.

    dustin authored
    calloc is already used to resize the hash table, so it's good to be
    consistent here.
Commits on Jun 13, 2008
  1. Dustin Sallings

    Fix freesuffix corruption.

    dustin authored
    When attempting to grow the freesuffix storage, the realloc is sized
    to the number of bytes in freesuffixtotal instead of a number of
    pointers of that size.
    
    That is, the original malloc is for
    
      sizeof(char *) * freesuffixtotal
    
    but the realloc for growth was
    
      freesuffixtotal * 2
    
    On a 32-bit machine, this would have the effect of freeing half of
    the freelist when an attempt was made to grow it.
    
    The realloc is now consistent with the initial malloc.
Commits on Jun 12, 2008
  1. make -k work under daemon mode (-d).

    dormando authored
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@783 b0b603af-a30f-0410-a34e-baf09ae79d0b
Commits on Mar 3, 2008
  1. Document a few of the stats commands.

    dormando authored
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@747 b0b603af-a30f-0410-a34e-baf09ae79d0b
  2. Halve distro size ;)

    dormando authored
    If we want the image back, fetch it from history into a doc or scratch repo.
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@743 b0b603af-a30f-0410-a34e-baf09ae79d0b
  3. Add -L mode to manpage.

    dormando authored
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@742 b0b603af-a30f-0410-a34e-baf09ae79d0b
  4. per-stat-class tracking of evictions and out of memory conditions.

    dormando authored
    We have an evictions stat, but it doesn't tell us if a particular slab class is hot. Now you can tell.
    Can also tell if a particular class is in a weird state if the out of memory errors are high.
    
    Also handy if you're using -M to disable the LRU.
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@740 b0b603af-a30f-0410-a34e-baf09ae79d0b
  5. Don't re-calculate the slab class id for slabs_free() either.

    dormando authored
    This + previous patch slightly reduce user CPU time, especially during heavy evictions.
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@739 b0b603af-a30f-0410-a34e-baf09ae79d0b
  6. Don't re-calculate the slab class id.

    dormando authored
    slabs_alloc() internally calls slabs_clsid(), so an eviction case would crawl the list of slab classes three times.
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@738 b0b603af-a30f-0410-a34e-baf09ae79d0b
  7. Useless check. 'id' will never be higher than POWER_LARGEST.

    dormando authored
    Which is defined as 200 in slabs.c, but LARGEST_ID is defined as 255 in items.c? Weird.
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@737 b0b603af-a30f-0410-a34e-baf09ae79d0b
  8. Give 'SERVER_ERROR out of memory' errors more context.

    dormando authored
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@736 b0b603af-a30f-0410-a34e-baf09ae79d0b
Commits on Feb 29, 2008
  1. Minor refactoring of server_socket.

    dsallings authored
    Build the linked list out backwards so this command may be executed
    more than once.  This also reduces the code a bit.
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@729 b0b603af-a30f-0410-a34e-baf09ae79d0b
Commits on Feb 27, 2008
  1. Enable UDP by default, clean up server socket code (Brian Aker)

    dormando authored
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@726 b0b603af-a30f-0410-a34e-baf09ae79d0b
Commits on Feb 25, 2008
  1. Enable use of large memory pages (Trond Norbye) <Trond.Norbye@Sun.COM>

    dormando authored
    Initial support for solaris.
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@724 b0b603af-a30f-0410-a34e-baf09ae79d0b
Commits on Feb 24, 2008
  1. Make likely() and unlikely() available (Brian Aker)

    dormando authored
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@716 b0b603af-a30f-0410-a34e-baf09ae79d0b
Commits on Feb 22, 2008
  1. Add verbose message on noreply conditions.

    dormando authored
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@712 b0b603af-a30f-0410-a34e-baf09ae79d0b
  2. Changelog update (fix my formatting too)

    dormando authored
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@711 b0b603af-a30f-0410-a34e-baf09ae79d0b
  3. Implement 'noreply' option for update commands. (Tomash Brechko <toma…

    dormando authored
    …sh.brechko@gmail.com>)
    
    Commands add, set, replace, append, prepend, cas, delete, incr, decr,
    flush_all, verbosity can take last optional parameter, 'noreply',
    which instructs the server to not send the reply.
    
    Add benchmark script for noreply parameter.
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@708 b0b603af-a30f-0410-a34e-baf09ae79d0b
  4. Close socket on unhandled read errors. (Tao Hui <taohui3@gmail.com>)

    dormando authored
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@707 b0b603af-a30f-0410-a34e-baf09ae79d0b
Commits on Feb 19, 2008
  1. Someday I'll stop forgetting the changelog updates :)

    dormando authored
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@706 b0b603af-a30f-0410-a34e-baf09ae79d0b
Commits on Feb 18, 2008
  1. Swap time(2) with gettimeofday(2), since the latter is optimized away…

    dormando authored
    … on some platforms. (Brian Aker) <brian@tangent.org>
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@704 b0b603af-a30f-0410-a34e-baf09ae79d0b
  2. Add --enable-64bit to build 64-bit version of memcached (Trond Norbye…

    dormando authored
    …) <Trond.Norbye@Sun.COM>
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@703 b0b603af-a30f-0410-a34e-baf09ae79d0b
  3. add compiler options for Sun Studio compilers with --enable-threads (…

    dormando authored
    …Trond Norbye)
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@702 b0b603af-a30f-0410-a34e-baf09ae79d0b
  4. Support multiple interfaces returned by IPv6 interfaces. By Brian Ake…

    dormando authored
    …r <brian@tangent.org>
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@701 b0b603af-a30f-0410-a34e-baf09ae79d0b
  5. IPv6 support patch by Brian Aker <brian@tangent.org>

    dormando authored
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@700 b0b603af-a30f-0410-a34e-baf09ae79d0b
Commits on Feb 11, 2008
  1. Break out of the read-loop when read returns with available space

    dormando authored
    (trond.norbye@sun.com)
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@699 b0b603af-a30f-0410-a34e-baf09ae79d0b
  2. Use the correct headerfile for signal-related functions

    dormando authored
    (Trond.Norbye@Sun.COM)
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@698 b0b603af-a30f-0410-a34e-baf09ae79d0b
  3. Missed again... changelog update for chunk fix.

    dormando authored
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@697 b0b603af-a30f-0410-a34e-baf09ae79d0b
  4. The memory returned from do_slabs_alloc is currently not properly ali…

    dormando authored
    …gned when compiled in an ILP32 environment. The memory returned is aligned to the size of the pointers, but we need to return a pointer that is suitable aligned so that it may be assigned to a pointer to any type of object.
    
    The cas_id member cause the item-struct to require 8 byte boundaries.
    (Trond.Norbye@Sun.COM)
    
    
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@696 b0b603af-a30f-0410-a34e-baf09ae79d0b
  5. Forgot ChangeLog entry for -k fix.

    dormando authored
    git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@695 b0b603af-a30f-0410-a34e-baf09ae79d0b
Something went wrong with that request. Please try again.