Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-08 | Issue #1782 | Pavlo Yatsukhnenko | |
Allow to specify stream context for rediscluster session handler. | |||
2020-08-14 | Fix memory leak in rediscluster session handler | Pavlo Yatsukhnenko | |
2020-07-07 | Proper cleanup and conditional address deallocation. | michael-grunder | |
See: #1807 | |||
2020-07-06 | We don't want to efree a zend_string | michael-grunder | |
2020-07-02 | Don't attempt to take ZSTR_VAL(NULL) (#1804) | Michael Grunder | |
Fixes #1798 | |||
2020-06-25 | Support for Redis 6 ACLs (#1791) | Michael Grunder | |
Add support for Redis 6 ACLs in the `Redis`, `RedisCluster`, and `RedisArray` classes. On a related note, it adds a mechanism for users to customize how we generate persistent connection IDs such that they can be grouped in different ways depending on the specific use case required (e.g. it would allow connections to be grouped by username, or by user-defined persistent_id, or both). | |||
2020-06-07 | Issue.1765 (#1774) | Michael Grunder | |
Various improvements and fixes to cluster slot caching. * Improves slot caching so any unique set of seeds all hash to the same key * Fix a couple of memory leaks. * Fixes a segfault when executing a multiple key command such as `MGET` or `MSET` while the cluster is resharding. | |||
2020-06-05 | Store auth information in cluster->flags->auth | Pavlo Yatsukhnenko | |
2020-03-30 | Authenticate in redis_sock_server_open | Pavlo Yatsukhnenko | |
2020-01-14 | Remove "PHP Version 5" section | Tyson Andre | |
package.xml has a minimum version of 7.0 PHP 8.0 will probably be out in around a year. | |||
2020-01-10 | Also protect against session.gc_maxlifetime <= 0 | michael-grunder | |
Addresses #1694 | |||
2020-01-10 | Protect session.gc_maxlifetime from integer overflow | michael-grunder | |
2020-01-06 | Fix typos detected by codespell | Tyson Andre | |
2019-12-02 | Enable slot caching for session cluster | Michael Booth | |
2019-10-26 | Issue #1657 | Pavlo Yatsukhnenko | |
Allow to specify schema for session handler. | |||
2019-10-07 | Issue #1631 | Pavlo Yatsukhnenko | |
2019-07-27 | Refactor redis_session | Pavlo Yatsukhnenko | |
Use strpprintf instead of zend_string_alloc + memcpy. | |||
2019-07-24 | Refactor redis_session | Pavlo Yatsukhnenko | |
Remove `refresh_lock_status` helper function | |||
2019-07-23 | Refactor redis_session | Pavlo Yatsukhnenko | |
Use `redis_sock` to store `auth` and `prefix` for session. Use `redis_sock_auth` insted of `redis_pool_member_auth`. | |||
2019-07-09 | cleanup TSRMLS_* usage | Remi Collet | |
2019-02-12 | Don't check lock status in PS_UPDATE_TIMESTAMP_FUNC | Pavlo Yatsukhnenko | |
2019-02-12 | Don't check the number affected keys in PS_UPDATE_TIMESTAMP_FUNC | Pavlo Yatsukhnenko | |
2019-01-27 | PHP 5 is dead, long live PHP 7 | michael-grunder | |
This commit removes support for PHP 5 by getting rid of all of our Zend compatibility layer methods, as well as any call checking against PHP_MAJOR_VERSION or ZEND_MODULE_API_NO. Unit tests are all passing for Redis, RedisCluster, and RedisArray but this should still be considered a work in progress until more testing can be done. Addresses issue #1448 | |||
2019-01-21 | Merge pull request #1494 from phpredis/cluster-auth2 | Pavlo Yatsukhnenko | |
RedisCluster auth | |||
2019-01-21 | Merge pull request #1485 from phpredis/consistent-hashing | Pavlo Yatsukhnenko | |
Implement consistent hashing algorithm for RedisArray | |||
2019-01-18 | RedisCluster auth | Pavlo Yatsukhnenko | |
2018-12-27 | PHPREDIS-1412: Breaking the lock acquire loop in case of network problems | Marius Meissner | |
2018-12-22 | Implement consistent hashing algorithm for RedisArray | Pavlo Yatsukhnenko | |
2018-11-21 | Remove unused parameter lazy_connect from redis_sock_create | Pavlo Yatsukhnenko | |
2018-11-07 | Fix redis_session | Pavlo Yatsukhnenko | |
Prevent infinite loop when redis_sock_server_open failed. Check pool->lock_status.session_key is not NULL in PS_CLOSE_FUNC. | |||
2018-11-07 | Fix coverity scan warnings | Pavlo Yatsukhnenko | |
2018-11-07 | Fix memory leak when aquiring lock | Pavlo Yatsukhnenko | |
2018-11-07 | Fix a memory leak when regenerating IDs (#1445) | Michael Grunder | |
Make sure we free any existing session lock key if we're going to update it. Otherwise we will leak that memory. | |||
2018-10-01 | Fix scan-build warnings | Pavlo Yatsukhnenko | |
2018-09-29 | Streams (#1413) | Michael Grunder | |
Streams API | |||
2018-08-22 | Change connect/reconnect logic | Pavlo Yatsukhnenko | |
Persistant connections can be closed via close method. Connection marked as failed only after reconnection attempts. | |||
2018-07-29 | Issue #1367 | Pavlo Yatsukhnenko | |
Use `zval_get_long` instead of `Z_STRVAL_P` + `atof` for parsing timeout and read_timeout params. | |||
2018-06-04 | Minor refactoring | Hongbo Liu | |
2018-06-04 | Add callbacks validate_sid() & update_timestamp() to session handler | Hongbo Liu | |
Newer session handler API(PS_MOD_UPDATE_TIMESTAMP) supports 2 more callbacks: * validate_sid() is used by session.use_strict_mode, which provides better security. * update_timestamp() is used by session.lazy_write, which can improve performance in some situations. | |||
2018-05-31 | Issue #1358 | Pavlo Yatsukhnenko | |
Use `cluster_free` in `free_cluster_context` to free cluster object. Call `cluster_disconnect` before destroying cluster object. | |||
2018-03-26 | Use zend_string for all lock_status members | Pavlo Yatsukhnenko | |
2018-03-26 | Apply zend_string API for redis_session_key | Pavlo Yatsukhnenko | |
2018-03-24 | Extra memory duplication | Pavlo Yatsukhnenko | |
2018-03-24 | Merge branch 'session-locking' into develop | Pavlo Yatsukhnenko | |
Conflicts: redis_session.c tests/RedisTest.php | |||
2018-03-24 | Fixes after merge for php5 | Pavlo Yatsukhnenko | |
2018-03-24 | Fixes after merge | Pavlo Yatsukhnenko | |
2018-03-24 | Merge pull request #1312 from SkydiveMarius/session-locking | Pavlo Yatsukhnenko | |
Session locking: Fix regenerate ID bug (PHP5, proxy handler) | |||
2018-03-07 | Remove redis_pool_new | Pavlo Yatsukhnenko | |
2018-03-06 | Refactor redis session | Pavlo Yatsukhnenko | |
* Use zend_string for storing auth and prefix members * Allocate redis_session_lock_status structure jointly with redis_pool * Remove redis_pool_new function | |||
2018-03-05 | PR-1312: Only copy sesseion key if it changed | Marius Meissner | |