summaryrefslogtreecommitdiffstats
path: root/php-pecl-memcache-3.0.7-bug59602.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-12-29 09:20:53 +0100
committerRemi Collet <fedora@famillecollet.com>2012-12-29 09:20:53 +0100
commit562c6fa1ce1e2ac7e3c9f3ba208f53914f95f8d0 (patch)
tree79999232af2654a9f05ea8e9eb3989bcbffc3c25 /php-pecl-memcache-3.0.7-bug59602.patch
parent921715f055590f7410296eeeaf0d54be5124ef93 (diff)
php-pecl-memcache: add patch for https://bugs.php.net/59602
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 */