summaryrefslogtreecommitdiffstats
path: root/php-pecl-memcache-3.0.7-bug59602.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-memcache-3.0.7-bug59602.patch')
-rw-r--r--php-pecl-memcache-3.0.7-bug59602.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/php-pecl-memcache-3.0.7-bug59602.patch b/php-pecl-memcache-3.0.7-bug59602.patch
new file mode 100644
index 0000000..fd28fb3
--- /dev/null
+++ b/php-pecl-memcache-3.0.7-bug59602.patch
@@ -0,0 +1,13 @@
+--- pecl/memcache/branches/NON_BLOCKING_IO/memcache.c 2012/10/31 08:49:59 328201
++++ pecl/memcache/branches/NON_BLOCKING_IO/memcache.c 2012/10/31 12:27:09 328202
+@@ -1836,7 +1836,9 @@
+ request = mmc_pool_request(pool, MMC_PROTO_TCP, mmc_stats_handler, stats, NULL, NULL TSRMLS_CC);
+ pool->protocol->stats(request, type, slabid, limit);
+
+- mmc_pool_schedule(pool, pool->servers[i], request TSRMLS_CC);
++ if (mmc_pool_schedule(pool, pool->servers[i], request TSRMLS_CC) == MMC_OK) {
++ mmc_pool_run(pool TSRMLS_CC);
++ }
+ }
+
+ /* execute all requests */