8000 Fix problem with rediscluster storage · jrtkcoder/phpredis@cc15aae · 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 cc15aae

Browse files
author
Sergei Lomakov
committed
Fix problem with rediscluster storage
1 parent 0579872 commit cc15aae

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
@@ -627,7 +627,7 @@ PS_READ_FUNC(rediscluster) {
627627

628628
/* Attempt to read reply */
629629
reply = cluster_read_resp(c TSRMLS_CC);
630-
if (!reply || c->err) {
630+
if (!reply || c->err || reply->str == NULL) {
631631
if (reply) cluster_free_reply(reply, 1);
632632
return FAILURE;
633633
}

0 commit comments

Comments
 (0)
0