Add an example of a connection pool

Change-Id: I70ff7a43ac77f07c7dfe10d5fe45eac230cffc60
Reviewed-on: http://review.couchbase.org/28947
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Fix copy'n'paste bug in example

Change-Id: I52a7036be5fb10f978932ab7d94e85954fa2d626
Reviewed-on: http://review.couchbase.org/28985
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Don't record and use TTP/TTR from observe

Just poll at a fixed interval, as the
responses from the server side can be unreliable

Change-Id: I919eb1d5262fc01747ebd4f723589c333572cf3b
Reviewed-on: http://review.couchbase.org/28975
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Brett Lawson <brett19@gmail.com>
Don't failout all commands on a timeout.

Only fail those commands which are old enough to have timed out already

Change-Id: I344e45d99457efcefce8b0edaecd85149e2f3083
Reviewed-on: http://review.couchbase.org/28981
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Brett Lawson <brett19@gmail.com>
Fixup vbmap info - don't error unless config doesn't exist

Change-Id: Ie250f5831291f6c6ff15da889dc34007aa160676
Reviewed-on: http://review.couchbase.org/28995
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Brett Lawson <brett19@gmail.com>
bconf_io: Close connection if lcb_connection_start fails

Change-Id: Ida9a87d06e6cc58654b8f5acd5e81dcb700f401a
Reviewed-on: http://review.couchbase.org/29010
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reset 'weird_things' upon success

Change-Id: I11f3aefda677ee4ca7ba841f662c68f9b7c9c73a
Reviewed-on: http://review.couchbase.org/29018
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Fix typo: 'boostrap' -> 'bootstrap'

Change-Id: I50e515276e27eb0e4d376e8e29c719a185717175
Reviewed-on: http://review.couchbase.org/29019
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Fix compiler warning in mock-unit-test.cc

warning: deprecated conversion from string constant to ‘char*’

Change-Id: I6a0ea3eb6321ae7c9d04965d83f98236b9cdf32b
Reviewed-on: http://review.couchbase.org/29037
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Updated INVALID_USERNAME error to have a more accurate message.

Change-Id: Ifa3e18ba7479576109ac8e7d318ef42236d7eafc
Reviewed-on: http://review.couchbase.org/29044
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Rename socket argument in functions of plugin v1 plugin

Change-Id: Ie7ea38112ea9b0dd0d3e9d71e89206589fce26be
Reviewed-on: http://review.couchbase.org/29039
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Reword the error message for auth and clarify the manual page

The manual page talked about "recommended to use", but it is
mandatory.

Change-Id: I7827d6d09ad077fd4e0ebebe97eff1873b2ee573
Reviewed-on: http://review.couchbase.org/29058
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Update help text for hostnames

Change-Id: I9874f7f9e6d6d904aba3c5e639dd79908fe7ade8
Reviewed-on: http://review.couchbase.org/29172
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Remove pillowfight from NMakefile

Change-Id: I385e0315b4d5b5c3669b6a856bbab5cc11077cbe
Reviewed-on: http://review.couchbase.org/29205
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
IOCP: Fix casting of overlapped to writebuf

Change-Id: Ib39ca14eda1a4763a1d080fa74294f5dc0dfc323
Reviewed-on: http://review.couchbase.org/29281
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Bump up hardcoded CMake version

Change-Id: Ie74bdcd9e15a2047a560ea61635f9365f5180fe4
Reviewed-on: http://review.couchbase.org/29280
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
CCBC-274 Handle getl/unl when purging the server

Thanks Robert Groenenberg

Change-Id: I4155d811314d22b513f42b50d9ce0b731353e7c1
Reviewed-on: http://review.couchbase.org/29344
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Use common config error handling mechanism for bad configcache

This uses the same error handling mechanism as when
a bad configuration has been received from the network