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-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
2019-01-18RedisCluster authPavlo Yatsukhnenko
2019-01-09Use zend_string for pipeline_cmdPavlo Yatsukhnenko
2018-12-22Implement consistent hashing algorithm for RedisArrayPavlo Yatsukhnenko
2018-11-0632bit xclaim fix (#1444)Michael Grunder
This should fix the XCLAIM issue on 32-bit PHP installs. This change will allow the user to pass the XCLAIM TIME option pretty much any way they want (string, long, or float) and it should work. Note that in 32-bit PHP they will only be able to pass exact values <= 2^53 as PHP will use a double precision floating point for integer overflows.
2018-10-08Reset the socket after a timeout to make sure no wrong data is received (#1417)Marc de Jonge
* Reset the socket after a timeout to make sure no wrong data is received * Remove the lazy_connect completely * Missing TSRMLS_CC * Remove redundant check if the stream exists * Add the redis_sock_server_open to the CLUSTER_SEND_PAYLOAD macro
2018-10-04Undo breaking changesmichael-grunder
2018-10-04It's preferable to commit code that compilesmichael-grunder
2018-10-04Commit accidentally missed no-op macro changemichael-grunder
2018-09-29Streams (#1413)Michael Grunder
Streams API
2018-08-22Change connect/reconnect logicPavlo Yatsukhnenko
Persistant connections can be closed via close method. Connection marked as failed only after reconnection attempts.
2018-07-29Issue #1347Pavlo Yatsukhnenko
Fix arginfo for set command
2018-03-26Use zend_string for all lock_status membersPavlo Yatsukhnenko
2018-03-26Apply zend_string API for redis_session_keyPavlo Yatsukhnenko
2018-01-18Implement SWAPDB commandmichael-grunder
2017-11-17RefactoringPavlo Yatsukhnenko
Avoid socket connection in destructor Replace IF_ATOMIC/IF_MULTI/IF_PIPELINE macroses with IS_ATOMIC/IS_MULTI/IS_PIPELINE respectively. Remove IF_NOT_* macroses
2017-10-24MOD: Add tcp_keepalive option to redis sockgit-hulk
2017-10-17Issue #1048Pavlo Yatsukhnenko
This commit is adding support of data compression. LZF was choosen because it small and fast and Redis server uses it. Since [pecl package](https://pecl.php.net/package/lzf) doesn't provide lzf.h file after installing, LZF library was added as submodule. Another algorythms may be easely added by analogy with serializers. TODO: unit-tests for different data types.
2017-10-13fix arginfo for directed node commandsPavlo Yatsukhnenko
2017-10-05Add PHPREDIS_GET_OBJECT macrosPavlo Yatsukhnenko
2017-10-05Issue #1245Pavlo Yatsukhnenko
Move building `script` command logic to `redis_build_script_cmd` and use it in Redis and RedisCluster objects. Fix arginfo for `RedisCluster::script`. Fix memory leak in `cluster_raw_cmd` when `cluster_cmd_get_slot` fails.
2017-08-29More arginfo for RedisClusterPavlo Yatsukhnenko
This commit finally fixes issue #1055
2017-08-29More arginfo for RedisClusterPavlo Yatsukhnenko
2017-08-28More arginfo for RedisCluster + remove duplicatesPavlo Yatsukhnenko
2017-08-22Add arginfo for RedisArrayPavlo Yatsukhnenko
2017-08-16Use zend_string to store strings in RedisSockPavlo Yatsukhnenko
Following fields were changed: err, prefix, persistent_id, auth and host
2017-08-15Fix static analyzer warningsPavlo Yatsukhnenko