Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Mar 31, 2010
  1. @ingenthr
  2. @ingenthr
  3. @ingenthr
  4. @ingenthr

    Enhance MemcachedNode to know whether auth should happen.

    ingenthr authored
    When SASL authentication is requested of a MemcachedClient it should
    always ensure that auth takes place before anything else on the queue
    is processed.
    After some experimentation, it seems The best way to handle this is to
    extend the MemcachedNode interface to add some methods. This in turn
    allows for the changes to be implemented in the TCPMemcachedNodeImpl
    There is special handling with the inputQueue and addOperation if
    a reconnect occurs during authentication.
    It's a bit harder at the BinaryMemcachedNodeImpl, though arguably
    makes more sense there.  Since these are all pretty well hidden as an
    implementation detail, it's okay for it to be here.
    Who knows, maybe someday ascii will have SASL.  Probably not though.
Commits on Mar 30, 2010
  1. @ingenthr
Commits on Mar 12, 2010
  1. @ingenthr
  2. @ingenthr
  3. @ingenthr

    Various Javadoc completeness.

    ingenthr authored
  4. @ingenthr
Commits on Mar 5, 2010
  1. @ingenthr

    Invert the ConnectionFactoryBuilderTest to go with new logic.

    ingenthr authored
    The contribution by Blair Zajac inverts the ConnectionFactoryBuilder
    defaults to match that of the DefaultConnectionFactory.  This updates
    the tests to check for the new default, and test the new change.
  2. @ingenthr

    fix for useless check statement that is for continuous timeout except…

    Ahn Seong Hwa authored ingenthr committed
    …ion counter
  3. @ingenthr

    New TCP connection timeout feature; if server fails completely, d/c.

    Ahn Seong Hwa authored ingenthr committed
    With this change, the MemcachedClient has a method of using the
    connection observer to determine a connected server is consistently
    timing out, indicating it has hard-failed.  This will destroy that
    connection so things may rehash or reconnect, depending on the hash
Commits on Mar 2, 2010
  1. If the String value of the socket address starts with a /, remove it.

    This is just the default stringification, clients can use whatever
    they want, but by default, this seems to provide consistent results
    with libketama.
Commits on Feb 16, 2010
  1. @blair

    Fix consistency issue in ConnectionFactoryBuilder.isDaemon()

    blair authored committed
    DefaultConnectionFactory#isDaemon() is false while
    ConnectionFactoryBuilder builds a ConectionFactory that by default
    returns true for #isDaemon(), so to make them consistent, modify
    ConnectionFactoryBuilder to have #isDaemon() be false.
Commits on Jan 27, 2010
Commits on Jan 9, 2010
  1. @kreide

    Allow user-specified wait time for availability of queue space.

    kreide authored committed
    This means that instead of raising a queue overflow exception on
    insert, the client can optionally block waiting for space to become
    available instead (with a timeout that will result in the same
Commits on Nov 11, 2009
Commits on Nov 6, 2009
  1. Don't throw away an exception.

  2. Reformatted callback handler.

  3. Working multi-step auth.

  4. A slightly better model for SASL auth.

    I still need to actually attempt a multi-step auth attempt.
  5. Beginnings of SASL support.

    I've manually verified this is happy with a test server both in the
    auth pass and auth fail cases.  It needs a lot of work before it's
    good, though.
  6. @blair

    Fix AddrUtilTest#testIPv6Host() hostname assertion.

    blair authored committed
    This broke on operating systems where the IPv6 localhost is not listed
    in /etc/hosts as "localhost" but as "ip6-localhost" for Ubuntu or
    "localhost6.localdomain6" for Centos 5 and Foresight Linux.
  7. @blair

    Be more generous in the strings that AddrUtil#getAddresses() will parse.

    blair authored committed
    The code will now allow multiple whitespace and commas to separate
    "host:port" tokens.
Something went wrong with that request. Please try again.