merge r1390461 from trunk:

memcache test: log a message in verbose mode if memcached isn't running


git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/branches/1.4.x@1390475 13f79535-47bb-0310-9956-ffa450edef68
merge r1390477 from trunk:

Fix dead server retry logic.

Submitted by: Gavin Shelley <columbusmonkey me.com>
Reviewed by: trawick


git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/branches/1.4.x@1390483 13f79535-47bb-0310-9956-ffa450edef68
fix breakage introduced in r1207697 which could cause a
crash depending on the accidental contents of autodata

values either needs to be NULL or an initialized apr_hash_t *
prior to calling apr_memcache_add_multget_key(); this change
matches working 1.5.x and trunk versions


git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/branches/1.4.x@1390494 13f79535-47bb-0310-9956-ffa450edef68
merge these fixes from trunk:

r982408:
- Fix mismatched signed comparisons [1]
- While here replace atoi with strtol(3)

Reported by:	sf via gcc [1]

r982409:
- this is handling the error condition, not success
  [note, testmemcache apparently doesn't hit this path]


git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/branches/1.4.x@1390512 13f79535-47bb-0310-9956-ffa450edef68
merge r1390526 from trunk:

apr_memcache_server_create(): Fix handling of the ttl parameter.
It is documented as a number of seconds but was treated as 
microseconds.

(The current Subversion release passes seconds.)

PR: 51511
Submitted by: Tim Whittington <timw apache.org>
Reviewed by: trawick


git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/branches/1.4.x@1390530 13f79535-47bb-0310-9956-ffa450edef68
Revert r1390530; ttl is in microseconds

git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/branches/1.4.x@1391196 13f79535-47bb-0310-9956-ffa450edef68
Merge r1402870 from trunk:

Remove duplicated logic in apr_brigade_puts().

PR: 53740
Submitted by: Christophe Jaillet <christophe jaillet wanadoo fr>

Reviewed by: rpluem


git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/branches/1.4.x@1403235 13f79535-47bb-0310-9956-ffa450edef68
Merge r1402897 from trunk:

Fix potential data corruption in apr_brigade_write() and friends if
the last bucket of the brigade is a heap bucket that has been split,
and there are still references to the next part of the original bucket
in use.

Submitted by: sf
Reviewed by: rpluem


git-svn-id: https://svn.apache.org/repos/asf/apr/apr-util/branches/1.4.x@1403249 13f79535-47bb-0310-9956-ffa450edef68