Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-27PHP 5 is dead, long live PHP 7michael-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
2018-06-04Add callbacks validate_sid() & update_timestamp() to session handlerHongbo 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.
2017-12-24Allow session locking to work with session_regenerate_id (see #1267)Andrew Sharpe
2017-11-11Refactored session locking logicmichael-grunder
* Use a precalculated SHA1 of our lock release script and first attempt to EVALSHA the script while falling back to EVAL if that fails. This means that the very first time we attempt to release a lock after server restart or script cache will fail but subsequent attempts will succeed as Redis will cache the script automatically. * Reorganized the new locking prototypes by making them static and removing them from the header file as they never need to be called from outside of redis_session.c anyway. Did the same for the lock_secret structure as we don't need to expose the structure externally. * Consolidated allocation and deallocation of lock pointers such that our redis_pool "constructor" and "desctructor" handle that as well. * Updating how we release the lock means we no longer need the new REDIS_G module globals, so those were removed. * HOST_NAME_MAX doesn't exist on OSX so added some preprocessor logic around that Still a WIP as it needs more testing as I'm sure I broke *something* :-)
2017-11-02PHPREDIS-37: Replaced smart_string operations by spprintfMarius Meissner
2017-11-02PHPREDIS-37: Handle return value of redis_socket_write in lock_release and ↵Marius Meissner
upload_lock_release_script
2017-10-30PHPREDIS-37: Add locking functionalityMarius Meissner
2015-06-17Initial commit for cluster-enabled session handlingmichael-grunder
2011-06-26Added configure flag to disable sessions.Nicolas Favre-Felix
2010-12-02New feature: PHP session handler.Nicolas Favre-Felix