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
2022-07-15Merge pull request #2123 from phpredis/pubsubPavlo Yatsukhnenko
Refactor subscribe/unsubscribe
2022-06-29Change PHPREDIS_CTX_PTR typePavlo Yatsukhnenko
2022-06-28Refactor subscribe/unsubscribepubsubPavlo Yatsukhnenko
2022-04-05Merge pull request #2089 from phpredis/issue-1974Pavlo Yatsukhnenko
Issue #1974
2022-04-04Remove weird macrosesPavlo Yatsukhnenko
2022-04-02Issue #1974Pavlo Yatsukhnenko
2022-01-20Fix fallthrough warnings and refactor adding a score (#2049)Michael Grunder
* Suppress implicit fallthrough warnings by using an attribute if we have it and a do { } while(0) if we don't. * Move duplicated logic for appending a ZSET score to one utility function.
2021-09-27WIP: Experimental support to detect unconsumed datamichael-grunder
This commit is an attempt at detecting unconsumed data on a socket when we pull it from the connection pool. Two new INI settings are introduced related to the changes: redis.pconnect.pool_detect_dirty: Value Explanation ----- ---------------------------------------------------------------- 0 Don't execute new logic at all. 1 Abort and close the socket if we find unconsumed bytes in the read buffer. 2 Seek to the end of our read buffer if we find unconsumed bytes and then poll the socket FD to detect if we're still readable in which case we fail and close the socket. redis.pconnect.pool_poll_timeout: The poll timeout to employ when checking if the socket is readable. This value is in milliseconds and can be zero.
2021-09-02[WIP] Add stub-based arginfo for RedisPavlo Yatsukhnenko
2021-07-20Add support for exponential backoff on retryNathaniel Braun
2021-04-15[WIP] Issue #1894Pavlo Yatsukhnenko
Add IDLE argument to XPENDING command
2021-04-14Add PHPREDIS_CTX_PTR magic valuePavlo Yatsukhnenko
2021-02-25Normalize Redis callback prototypes and stop typecasting. (#1935)Michael Grunder
2020-12-12Remove odd PHPREDIS_ZVAL_IS_STRICT_FALSE macroPavlo Yatsukhnenko
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-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-24Adds Redis 6.0 KEEPTTL option for SET (#1766)Michael Grunder
Added support for KEEPTTL option of SET command, which added in Redis 6 See: #1761 Co-authored-by: victor <viktork@sekindo.com>
2020-05-19Issue #548 (#1649)Pavlo Yatsukhnenko
Adds `Redis::SCAN_PREFIX` and `Redis::SCAN_NOPREFIX` as options to SCAN. See #548
2020-03-30Authenticate in redis_sock_server_openPavlo Yatsukhnenko
2020-03-16Fix arginfo for Redis::zaddPavlo Yatsukhnenko
2020-03-09Add PHPREDIS_GET_OBJECT and PHPREDIS_ZVAL_GET_OBJECT macrosPavlo Yatsukhnenko
2019-08-09Issue #1602Pavlo Yatsukhnenko
Fix 1f41da64 was reverted because it broke unix sockets with relative path and exception messages in redis.c and library.c
2019-08-09Revert "Fix "No such file or directory" when connecting to ports >= 32768 ↵Pavlo Yatsukhnenko
(#1602)" This reverts commit 1f41da64fec3f600c4c1da17e0416ca70d139a06.
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-09cleanup TSRMLS_* usageRemi Collet
2019-07-09Add support for Zstd compressionRemi Collet
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-05-11Use enum for storing redis_sock statusPavlo Yatsukhnenko
2019-04-16Add support for STREAM to the type commandmichael-grunder
2019-03-23rebase msgpack pull request (#801) on develop branchB. Gortney
2019-03-20Get rid of ifdefsmichael-grunder
2019-03-20Merge branch 'develop' of github.com:phpredis/phpredis into developmichael-grunder
2019-03-20More cleanup of PHP5 conditionals/commented codemichael-grunder
2019-03-19Nuke missed PHP5/PHP7 conditionalsmichael-grunder
2019-03-19Fix review commentsPavlo Yatsukhnenko
2019-03-19Connection limit for pool.Pavlo Yatsukhnenko
2019-03-19Persistent connections poolPavlo Yatsukhnenko
2019-02-24Fix review commentsPavlo Yatsukhnenko
2019-02-24Connection limit for pool.Pavlo Yatsukhnenko
2019-02-20Persistent connections poolPavlo Yatsukhnenko
2019-02-12Merge branch 'issue.1448-require_php7' into cluster-slot-cachemichael-grunder
2019-02-12Add callback parameter to subscribe/psubscribe arginfo.Pavlo Yatsukhnenko
This PR fixes issue #1504.
2019-02-11Add callback parameter to subscribe/psubscribe arginfo.Pavlo Yatsukhnenko
This PR fixes issue #1504.
2019-02-09WIP: Reimplementation of cluster slot cachingmichael-grunder
RedisCluster currently has a high construction overhead because every request has to issue a CLUSTER SLOTS command to map the keyspace. The issue is especially evident when a request only does a few commands.
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-21Merge pull request #1494 from phpredis/cluster-auth2Pavlo Yatsukhnenko
RedisCluster auth
2019-01-21Merge pull request #1485 from phpredis/consistent-hashingPavlo Yatsukhnenko
Implement consistent hashing algorithm for RedisArray