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
2020-09-28Issue.1847 cluster segfault (#1850)Michael Grunder
Fix for #1847 when dealing with NULL multi bulk replies in RedisCluster. Adds `Redis::OPT_NULL_MULTIBULK_AS_NULL` setting to have PhpRedis treat NULL multi bulk replies as `NULL` instead of `[]`. Co-authored-by: Alex Offshore <offshore@aopdg.ru>
2020-07-02fix #1796 missing include (#1800)Remi Collet
2020-06-25Add liveness check and create pconnect "YOLO" mode.michael-grunder
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-08Rebased LZ4 PR (#1781)Michael Grunder
LZ4 compression by @iliaal
2020-06-02Issue #1600Pavlo Yatsukhnenko
Ssl context options in Redis::connect
2020-05-22During scan build the command using long type for iterator instead of int. ↵victor
Shall resolve issues with Redis Enterprise which uses big 64 bit numbers for cursor. Conflicts: redis.c
2020-05-19Issue #548 (#1649)Pavlo Yatsukhnenko
Adds `Redis::SCAN_PREFIX` and `Redis::SCAN_NOPREFIX` as options to SCAN. See #548
2020-05-17Remove unused PHP_MSHUTDOWN_FUNCTIONPavlo Yatsukhnenko
2020-03-30Authenticate in redis_sock_server_openPavlo Yatsukhnenko
2020-03-09Add PHPREDIS_GET_OBJECT and PHPREDIS_ZVAL_GET_OBJECT macrosPavlo Yatsukhnenko
2020-03-02Merge 5.2.0 into developmichael-grunder
2020-02-07Add RedisSentinel class and testsPavlo Yatsukhnenko
2020-02-07Issue #1646Pavlo Yatsukhnenko
Add TYPE param to SCAN command. Arginfo wasn't updated so this change isn't breaking change :)
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-10-11Dead code generic_unsubscribe_cmdPavlo Yatsukhnenko
2019-10-09missing nul byteRemi Collet
2019-08-09Revert "Fix "No such file or directory" when connecting to ports >= 32768 ↵Pavlo Yatsukhnenko
(#1602)" This reverts commit 1f41da64fec3f600c4c1da17e0416ca70d139a06.
2019-07-18Remove redundant castmichael-grunder
2019-07-17Fix "No such file or directory" when connecting to ports >= 32768 (#1602)Owen Smith
* Fix `connect` for port numbers >=32768: Since 5.0.0, using a high enough port number gives a "No such file or directory" error, because type casts treat high ports as -ve which awkwardly triggers the unix-socket-path behaviour. * clean up guard condition
2019-07-17Revert "Fix object destructor"michael-grunder
This reverts commit 1534b41f07a5db1e1c089306451a61101609c467.
2019-07-17Fix object destructormichael-grunder
2019-07-17Don't double free the cache keymichael-grunder
Addresses #1591
2019-07-09cleanup TSRMLS_* usageRemi Collet
2019-07-09Add support for Zstd compressionRemi Collet
2019-06-27Remove HAVE_SPLPeter Kokot
The HAVE_SPL symbol is defined in PHP to indicate the presence of the spl extension. Since PHP 5.3 the spl extension is always availabe and since PHP-7.4 the HAVE_SPL symbol has also been removed.
2019-06-21Issue #1577Pavlo Yatsukhnenko
Remove checking of version of msgpack. Allow to disable json serializer. Fix tests.
2019-06-20Enable connection pooling by defaultPavlo Yatsukhnenko
2019-06-17Soft deprecate methods that aren't actually Redis commands.michael-grunder
Addresses #1168
2019-06-12xInfo response formatPavlo Yatsukhnenko
2019-06-07Swap methods/aliasesPavlo Yatsukhnenko
For unknown reasons some methods named differently to Redis commands (for example setTimeout instead of expire). This change aligns naming and allows easly remove aliases in future if we will decide to deprecate them.
2019-06-03Allow PING to take an optional argument.michael-grunder
Addresses #1563
2019-05-16Allow persistent_id to be passed as NULL with strict_types enabled.michael-grunder
Right now it is not possible to pass NULL as the persistent_id if strict types are enabled. This change allows the argument to be NULL. Addresses issue #1551
2019-05-14Issue #1523Pavlo Yatsukhnenko
2019-05-13Adds OPT_REPLY_LITERAL for rawCommand and EVALmichael-grunder
Adds an option to process the actual strings in simple string replies as opposed to translating them to `true`. This only applies to `rawCommand` and `eval` because as far as I know know vanilla Redis command attaches any information besides `OK` to simple string replies. Addresses #1550
2019-05-12JSON serializerPavlo Yatsukhnenko
2019-04-16Add support for STREAM to the type commandmichael-grunder
2019-03-23Hook msgpack into available serializers outputmichael-grunder
2019-03-23rebase msgpack pull request (#801) on develop branchB. Gortney
2019-03-20Remove last remnants of PHP5michael-grunder
2019-03-19Connection limit for pool.Pavlo Yatsukhnenko
2019-03-19Refactor connection pooling code.Pavlo Yatsukhnenko
Move logic of searching+creating connection pool resource to `redis_sock_get_connection_pool`. Don't close streams in ZEND_RSRC_DTOR_FUNC because all of them stored in `EG(persistent_list)` and will be destroyed by PHP engine.
2019-03-19Persistent connections poolPavlo Yatsukhnenko
2019-03-19Refactor connection pooling code.Pavlo Yatsukhnenko
Move logic of searching+creating connection pool resource to `redis_sock_get_connection_pool`. Don't close streams in ZEND_RSRC_DTOR_FUNC because all of them stored in `EG(persistent_list)` and will be destroyed by PHP engine.
2019-03-19Persistent connections poolPavlo Yatsukhnenko
2019-03-19RedisArray auth.Pavlo Yatsukhnenko
Issue #1508
2019-03-19Merge branch 'cluster-slot-cache' into issue.1448-require_php7michael-grunder
2019-02-24Merge branch 'issue-1509' into issue.1448-require_php7michael-grunder
2019-02-19Remove dead code, fix min_argc for blocking commandsmichael-grunder