| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to restore it in the various functions that desire it (pedantic
compilers are picky about declaration/implementation mismatches,
although this is absurd considering it's byval. Perhaps this
helps in some optimization cases?)
Also consistently refer to lengths in apr_size_t, and the number
of pollset elts as apr_int32_t, to mirror apr_pollset interfaces.
This was noted by bnicholes.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@587284 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@585381 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
And this ain't the one.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@585373 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@577947 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@577944 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@577943 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Maintain the behavoir of other clients, and set the hash to 1.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@545432 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
plug in one of the newer consistent hashing libraries, like libketama.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@545431 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
We maintain the _default version, since it is identical to what the Perl memcache Client uses.
Fixes PR: 39604
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@545428 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@545426 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
of the API, allowing end users to use something other than our non-standard CRC.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@545425 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
1.2.2+
PR: 42329
Submitted By: Josh Rotenberg <joshrotenberg gmail.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@545404 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@496440 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
the resource list, preventing any race conditions.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@481516 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes some issues with both larger writes, and larger
multi-gets, where the connection would timeout, even though
everything is working fine.
A better solution would be to write a socket_writev_full(),
to ensure the usage of timeouts effectively, but the
reality of memcached is that if you can connect, your
request will always be serviced, unless the memcached
instance went away at exactly that moment.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@481513 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
Pointed out by: jorton
* memcache/apr_memcache.c
(apr_memcache_multgetp): Fix type punned pointer warnings.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@454830 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
platform version since this #define is not cross-platform.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@434080 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@428934 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* include/apr_memcache.h
Add _value_t structure for holding an individual value from
memcached.
Add new functions: apr_memcache_add_multget_key,
apr_memcache_multgetp.
* memcache/apr_memcache.c:
Add a local baton structure for associating severs to queries.
Add new functions: apr_memcache_add_multget_key,
mget_conn_result, apr_memcache_multgetp
Submitted By: Rob Emanuele <rob.emanuele ask.com>
Paul Querna <paul.querna ask.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@428931 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
node, to be nice about closing the socket.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@428526 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
connection, make sure we destroy our subpool, instead of just leaking resources into the parent pool. This fixes a socket fd leak if the memcache node you are connecting to is not online.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@428521 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
(found by Coverity).
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@409101 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
default timeout, which is too long for memcached.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@349992 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@329770 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Suggested By: Joe Orton
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@329142 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Suggested By: Joe Orton
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@329139 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
changes.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@329138 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@329136 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@329135 13f79535-47bb-0310-9956-ffa450edef68
|
|
Still TODO:
- Move CRC32 to a separate public function/API.
- Create a multi-get interface.
- Make locking and connection pooling optional.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@329089 13f79535-47bb-0310-9956-ffa450edef68
|