Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2ff11df

Browse files
author
patricio.dorantes
committed
redis_session clean up ssl context.
1 parent d1bc672 commit 2ff11df

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

redis_session.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,7 @@ PS_OPEN_FUNC(redis)
494494

495495
if (context != NULL) {
496496
redis_sock_set_stream_context(redis_sock, context);
497+
context = NULL;
497498
}
498499

499500
redis_pool_add(pool, redis_sock, weight, db);

0 commit comments

Comments
 (0)