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:
authorAdam Olley <adam.olley@openlms.net>2021-03-10 06:41:04 +0300
committerAdam Olley <adam.olley@openlms.net>2021-03-10 06:41:19 +0300
commitccd142fa442817a3a000e375c9c7344e02acd16a (patch)
treeef14cc246958dec458dcbdc198cb6d29b0d50f75 /cluster_library.c
parentc8a9859e2d07f69c7409829a1e22e6dedd6d1a83 (diff)
Pass compression flag when performing HMGET (#1945)
Without this, performing a HMGET call fails to decompress the data before returning it to php.
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 5bcd2338..f61a6704 100644
--- a/cluster_library.c
+++ b/cluster_library.c
@@ -2112,6 +2112,7 @@ PHP_REDIS_API void cluster_gen_mbulk_resp(INTERNAL_FUNCTION_PARAMETERS,
if (c->reply_len > 0) {
/* Push serialization settings from the cluster into our socket */
c->cmd_sock->serializer = c->flags->serializer;
+ c->cmd_sock->compression = c->flags->compression;
/* Call our specified callback */
if (cb(c->cmd_sock, &z_result, c->reply_len, ctx) == FAILURE) {