server_negotiate: always release ringbuffer

Otherwise, memory will leak

Change-Id: I5f1ae990c57cd9ed090f482ac44070ffd8036383
Utilize connection pool for memcached sockets

This eliminates extra connections for memcached when using CCCP sockets.
In other words, CCCP no longer allocates its own "Private" socket, but
rather releases its private connection to the pool once it has completed
using it.

Additionally, cccp will now use existing memcached sockets for cluster
information (if so required) rather than creating new sockets from the
pool

Change-Id: I9c8fe908248d96103672915474f048720e1b9e3d
Provide time-based threshold for resetting configuration

This provides a time-based threshold so that low-use modes can get
configuration refreshes fairly quickly

Change-Id: If1de2d8b380a4823e95ddb0c608c842d5e19f7be
bc_file: Check if buffer is empty

Change-Id: Ife945f74098f3f5ef2138c4e1f861394c20fb3a6
bootstrap: don't maintain config for TYPE_CLUSTER

We don't need it, and it causes some other assumptions and tests to
fail. In reality this is a hack, but other than making an entirely new
codepath for admin connections, this is the best we can do right now

Change-Id: If5ddd5c9e034e3ddecc681a86d0f6e8a749099d1
confmon: don't poison clconfig memory space

We already have an assertion at the top telling us that the refcount
must be > 0

Change-Id: Ie4a508072fadec6a33533314ad4397cfcd67d55a
readwrite-easy: Don't invoke error callback if bytes were read

This allows us to swallow the entire read buffer contents and only
complain if we've had a close WITHOUT data.

Change-Id: Ib7601d696e826af13ce35cdec5d9abf450a25303
TODO: Maybe place this inside sockrw_v0 read itself?
Add environment variable to disable CCCP

In testing environments with either mock or cluster_run, port 11210 may
not exist, or worse, may be part of a different cluster than intended.

While in the unit tests in LCB we manually specify the memcached ports,
this may not be possible with wrapping SDKs, especially of older
versions

Change-Id: Ib1a5499ec08b698dbcf9139d7321628ba4d85d0c
clconfig: Allow more events for listener

This also allows us to terminate the loop early if no providers remain
rather than busy looping. This speeds up tests and most use cases as
well.

Change-Id: Icf123cfba071caa905e8f6602fed05551ac9630b
http: incref connection in io_read

Change-Id: I8667876c78105ffca8b8c9ab7a52e3de3eca9ea9
Improved logging messages

Change-Id: Ic540db7650fc737cadb88fdb67e83c861513d3e6
Fixup NMakefile

Change-Id: I6348415eac5ff8070ddfbc17de4f67fb409d21e1
confmon tests: Stop loop when maximum providers are reached

Change-Id: I0cb19224ee81895ba9dff48dddab18d91f119c6b
smoke-test: disable CCCP

We use the mock and thus won't be using CCCP unless we add support for
the extended "GET_MCPORTS" mock command.

Change-Id: I7771c3421839bb2758116c983506820d50f545bf
regression-unit-test: wait for longer with a high workload

Change-Id: I7cd2f852e1e20130d68086b69fe7f9a9495e038d
Upgrade to new Mock

Change-Id: I59bb2ca373e68443526cf0eda4c15fbab6c4ba9f
Fixup build scenarios with no plugins

Change-Id: I657118eac3b7e52b40219468f72ca464fa3de81a
BufferRelocation test: fixes

- Increase timeout for slower systems
- Don't unhiccup nodes until failover has completed. This breaks IOCP
  tests otherwise (where the command suceeds before the failover
happens)
Change-Id: I9700693b581e64815a691cdbe9d78bc09d40b17d
Allow adjustable logging levels from env

Change-Id: I9fde7ac554c443e45ff69565ee226e48c1b9fc37
check-all: don't append '--' to literal commandline

Change-Id: I08b42eabe6f244d6b06bd03924b3612a82b51365