8000 add session_lock support to rediscluster by hmitonneau · Pull Request #2355 · phpredis/phpredis · GitHub
[go: up one dir, main page]

Skip to content

add session_lock support to rediscluster #2355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Prev Previous commit
Next Next commit
Merge commit '2b555c89ef93ac7064247861848125eee16516b8' into develop
  • Loading branch information
hmitonneau committed Jun 20, 2024
commit 9753f9c83c3340026b25509cfb6ebb1fe7fb5df4
5 changes: 3 additions & 2 deletions redis_session.c
Original file line number Diff line number Diff line change
Expand Up @@ -1509,8 +1509,9 @@ PS_WRITE_FUNC(rediscluster) {
redis_cluster_session *sc = PS_GET_MOD_DATA();
redisCluster *c = sc->c;
clusterReply *reply;
char *cmd, *compressed_buf = NULL, *sval = ZSTR_VAL(val);
int cmdlen, compressed_free = 0, svallen = ZSTR_LEN(val);
char *cmd, *sval;
int cmdlen, compressed_free;
size_t svallen;
short slot;

compressed_free = session_compress_data(c->flags, ZSTR_VAL(val), ZSTR_LEN(val),
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.
0