8000 Fix problem with rediscluster storage · jrtkcoder/phpredis@661fb5b · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 661fb5b

Browse files
Sergei Lomakovmichael-grunder
Sergei Lomakov
authored andcommitted
Fix problem with rediscluster storage
1 parent 597da7a commit 661fb5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis_session.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ PS_READ_FUNC(rediscluster) {
625625

626626
/* Attempt to read reply */
627627
reply = cluster_read_resp(c TSRMLS_CC);
628-
if (!reply || c->err) {
628+
if (!reply || c->err || reply->str == NULL) {
629629
if (reply) cluster_free_reply(reply, 1);
630630
return FAILURE;
631631
}

0 commit comments

Comments
 (0)
0