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
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-04Issue #1370Pavlo Yatsukhnenko
2018-05-31Issue #1358Pavlo Yatsukhnenko
Use `cluster_free` in `free_cluster_context` to free cluster object. Call `cluster_disconnect` before destroying cluster object.
2018-05-17Bulk strings can be zero lengthmichael-grunder
Addresses #1349
2018-04-08Don't leak a ZVALmichael-grunder
2018-02-17Some style normalizationmichael-grunder
2017-12-06Merge pull request #1280 from janic716/devPavlo Yatsukhnenko
the element of z_seeds may be a reference on php7
2017-12-06Prepare to merge #1280Pavlo Yatsukhnenko
2017-12-06the element of z_seeds may be a reference on php7chenjian
2017-11-20Fix cluster_init_seeds. Thanks @adlagares!Pavlo Yatsukhnenko
2017-11-17Remove trailing spacesPavlo Yatsukhnenko
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-09-29Don't use convert_to_string in redis_hmget_cmdPavlo 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-15ZEND_HASH_FOREACH_PTRPavlo Yatsukhnenko
2017-08-02Use ZSTR_VAL and ZSTR_LEN macroses to access zend_string fieldsPavlo Yatsukhnenko
2017-07-31Fix valgrind warningsPavlo Yatsukhnenko
2017-07-20CID 157207Pavlo 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-04-11Processing `read_timeout` parameter + update docsPavlo Yatsukhnenko
2017-04-05Increasing read buffers size.Pavlo Yatsukhnenko
When Redis server is running in protected mode it returns error message more than 1024 bites long so first call of redis_sock_gets doesn't read whole message and next call causes "protocol error, got '%c' as reply type byte" exception.
2017-02-15Fix memory leakmichael-grunder
2017-02-09Fix Null Bulk String response parsing in cluster library (#1104)Alberto Fernández
* Failing test case when running LUA with bulk empty response * Fix issue when parsing bulk array response from eval commands * Added test for bulk LUA responses and changed condition * Added multi tests and fixes in C code format
2016-12-21change redis_serialize to accept strlen_tRemi Collet
2016-12-21fix #1074 change redis_key_prefix to accept strlen_tRemi Collet
2016-12-20OCD spacing FTWmichael-grunder
2016-12-19Fix compiler warnings.michael-grunder
Changed zend hash function overrides to extern in the header, and then defined them in library.c Created a simple macro to suppress "set but not used" warnings, which differ depending on build environment (php 5 vs php 7).
2016-12-02zval_get_stringPavlo Yatsukhnenko
Added gc attribute to zend_string (for zend_string_release). Added function zval_get_string and replace convert_to_string with it.
2016-11-30Issue #1036Pavlo Yatsukhnenko
2016-11-29Issue #1036Pavlo Yatsukhnenko
2016-11-18TravisCI: clang + refactoringPavlo Yatsukhnenko
2016-11-17redis_unserializePavlo Yatsukhnenko
2016-11-15refactoringPavlo Yatsukhnenko
2016-11-14php7 compatibilityPavlo Yatsukhnenko
The 'l' specifier now expects a zend_long instead of a long for zend_parse_parameters.
2016-11-13php7 compatibilityPavlo Yatsukhnenko
zval_ptr_dtor
2016-11-12php7 compatibilityPavlo Yatsukhnenko
All tests passed. \o/
2016-11-12WIP: php7 compatibilityPavlo Yatsukhnenko
2016-11-12WIP: php7 compatibilityPavlo Yatsukhnenko
2016-11-10WIP: php7 compatibilityPavlo Yatsukhnenko
2016-11-07WIP: php7 compatibilityPavlo Yatsukhnenko
2016-11-04Fix static analyzer warningsPavlo Yatsukhnenko
2016-11-03WIP: php7 compatibilityPavlo Yatsukhnenko
Replace STR_FREE with efree. Redis::hmget using zval* instead of zval**.
2016-11-02WIP: php7 compatibilityPavlo Yatsukhnenko
Redefine add_assoc_long + add_assoc_double
2016-11-02WIP: php7 compatibilityPavlo Yatsukhnenko
Fix info command + add php7 for testing by travis
2016-10-28add_assoc_boolPavlo Yatsukhnenko
2016-10-28WIP: php7 compatibilityPavlo Yatsukhnenko
Wrap zend_hash_init destructor. Add implementation of zend_hash_str_exists, zend_hash_str_update_ptr, zend_hash_index_update_ptr and zval_get_long functions.
2016-10-27WIP: php7 compatibilityPavlo Yatsukhnenko
zend_list_insert + add_assoc_string + add_assoc_zval
2016-10-26WIP: php7 compatibilityPavlo Yatsukhnenko
Redefine add_next_index_string. Fix zend_fcall_info retval and params.
2016-10-26WIP: php7 compatibilityPavlo Yatsukhnenko
Define ZEND_SAME_FAKE_TYPE macro and use it instead of Z_TYPE == IS_BOOL Redefine add_assoc_stringl_ex as macro
2016-10-11WIP: php7 compatibilityPavlo Yatsukhnenko
Redefine add_next_index_stringl