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
2021-03-25cleanup unneeded castRemi Collet
2021-03-25Fix #1956 bad type usage on 32-bitRemi Collet
2021-01-22Fixed#1895defender-11
2020-10-30Use zend_string in ra_find_node_by_namePavlo Yatsukhnenko
2020-07-09Don't use zend_fcall_info.no_separationPavlo Yatsukhnenko
2020-06-25Support 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-03Don't call Redis::__constructor while initilizing RedisArray (#1777)Pavlo Yatsukhnenko
2020-03-30Authenticate in redis_sock_server_openPavlo Yatsukhnenko
2020-03-09fix usage php_hash_fetch_ops with PHP 8Pavlo Yatsukhnenko
2020-03-09Add PHPREDIS_GET_OBJECT and PHPREDIS_ZVAL_GET_OBJECT macrosPavlo Yatsukhnenko
2020-01-14Remove "PHP Version 5" sectionTyson Andre
package.xml has a minimum version of 7.0 PHP 8.0 will probably be out in around a year.
2020-01-06Fix typos detected by codespellTyson Andre
2019-07-18ulong => zend_ulong for 7.4Remi Collet
2019-07-09cleanup TSRMLS_* usageRemi Collet
2019-03-19Merge remote-tracking branch 'cthulhu/issue.1448-require_php7' into ↵michael-grunder
issue.1448-require_php7
2019-03-19Issue #1508Pavlo Yatsukhnenko
Wrap all calls of `call_user_function` into `ra_call_user_function` where AUTH command sended before function call.
2019-03-19Fix RedisArray authenticationPavlo Yatsukhnenko
2019-03-19RedisArray auth.Pavlo Yatsukhnenko
Issue #1508
2019-03-19Use zend_string for storing key hashing algorithmPavlo Yatsukhnenko
2019-02-09PHP 7 exception and compiler warning fixesmichael-grunder
PHP 7 removed TSRMLS_CC from zend_throw_exception* routines. Additionally this commit creates two simple wrapper macros for throwing Redis or RedisCluster exceptions so we don't duplicate as much code. Additionally there were a couple of minor compiler warnings printf type correctness fixed in this commit.
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
2019-01-21Fix build warningPavel Yatsukhnenko
2019-01-03Different key hashing algorithms from hash extension.Pavlo Yatsukhnenko
2018-12-22Implement consistent hashing algorithm for RedisArrayPavlo Yatsukhnenko
2018-12-22Fix regression added in 602740d3Pavlo Yatsukhnenko
2018-12-19Use zend_string for storing RedisArray hostsPavlo Yatsukhnenko
2018-11-21Remove unused parameter lazy_connect from redis_sock_createPavlo Yatsukhnenko
2018-11-07Fix coverity scan warningsPavlo Yatsukhnenko
2018-01-29Refactor RedisArrayPavlo Yatsukhnenko
Change type of returning value from `char *` to `zend_string *` for `ra_extract_key` and `ra_call_extractor` functions. Store keys as `zend_string *` in RedisArray::mset.
2018-01-02Issue #1292Pavlo Yatsukhnenko
Revert broken in c9df77d RA hashing impl.
2017-10-19Revert "Refactor ra_extract_key"Pavlo Yatsukhnenko
This reverts commit 621afa6c6d9f0d71a68361e7ae40c75fce1fa382.
2017-10-19Refactor ra_extract_keyPavlo Yatsukhnenko
We don't need to copy extracted key part since we don't change it.
2017-10-05Add PHPREDIS_GET_OBJECT macrosPavlo Yatsukhnenko
2017-09-29Destroy all tabs :-)michael-grunder
2017-08-28Check number of elements in incoming array-argumentPavlo Yatsukhnenko
2017-08-23ra_call_distributor returns position or -1 in case of errorPavlo Yatsukhnenko
2017-08-11refactoringPavlo Yatsukhnenko
Small change php5 implementation of ZEND_HASH_FOREACH_* macroses. Use ZEND_HASH_FOREACH_VAL in ra_get_key_type. Allocate array via MAKE_STD_ZVAL in HANDLE_MULTI_EXEC macro.
2017-08-09Use ZEND_HASH_FOREACH_VAL in ra_load_hosts.Pavlo Yatsukhnenko
2017-08-04Change type of RedisArray pure_cmds to HashTablePavlo Yatsukhnenko
2017-08-04Remove ra_rehash_scanPavlo Yatsukhnenko
2017-08-02Fix valgrind warningsPavlo Yatsukhnenko
2017-08-02Use ZSTR_VAL and ZSTR_LEN macroses to access zend_string fieldsPavlo Yatsukhnenko
2017-07-28CID 158616Pavlo Yatsukhnenko
2017-07-19Fix some static analyzer warningsPavlo Yatsukhnenko
Two types of warnings were fixed in this commit: 1. The left operand of '<=' is a garbage value 2. Function call argument is an uninitialized value
2017-06-09Refactor ra_init_function_tablePavlo Yatsukhnenko
Remove re-adding HGET element. Reorder commands alphabetically. Replace tabs with spaces.
2017-04-27Remove `ra_find_key` + use return_value instead of stack allocated z_tmp ↵Pavlo Yatsukhnenko
in`ra_forward_call`
2017-04-11Processing `read_timeout` parameter + update docsPavlo Yatsukhnenko
2017-04-03Use crc32 table from PHP distro (#1144)Pavlo Yatsukhnenko
* Use crc32 table from PHP distro * Remove rcrc32 function
2017-03-29Remove unused force_connect parameter from redis_sock_server_open function.Pavlo Yatsukhnenko
2017-02-23RedisArray segfault fixPavlo Yatsukhnenko