Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2018-07-03 08:57:05 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2018-07-04 09:15:24 +0300
commita53e1a340069ef1c14026a31b6f97d40c01eb7c3 (patch)
treefb1d4b9fc53c62f24a30ca9a7694a3c784d84b03 /cluster_library.c
parentfa5f6e1411e99c809dba9cfa126952758e30f4b0 (diff)
Issue #1370
Diffstat (limited to 'cluster_library.c')
-rw-r--r--cluster_library.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cluster_library.c b/cluster_library.c
index 305db2ab..0a93c4e6 100644
--- a/cluster_library.c
+++ b/cluster_library.c
@@ -2125,6 +2125,7 @@ PHP_REDIS_API void cluster_mbulk_mget_resp(INTERNAL_FUNCTION_PARAMETERS,
/* Protect against an invalid response type, -1 response length, and failure
* to consume the responses. */
c->cmd_sock->serializer = c->flags->serializer;
+ c->cmd_sock->compression = c->flags->compression;
short fail = c->reply_type != TYPE_MULTIBULK || c->reply_len == -1 ||
mbulk_resp_loop(c->cmd_sock, mctx->z_multi, c->reply_len, NULL TSRMLS_CC) == FAILURE;