Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-12-22 | Implement consistent hashing algorithm for RedisArray | Pavlo Yatsukhnenko | |
2018-11-06 | 32bit 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-08 | Reset 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-04 | Undo breaking changes | michael-grunder | |
2018-10-04 | It's preferable to commit code that compiles | michael-grunder | |
2018-10-04 | Commit accidentally missed no-op macro change | michael-grunder | |
2018-09-29 | Streams (#1413) | Michael Grunder | |
Streams API | |||
2018-08-22 | Change connect/reconnect logic | Pavlo Yatsukhnenko | |
Persistant connections can be closed via close method. Connection marked as failed only after reconnection attempts. | |||
2018-07-29 | Issue #1347 | Pavlo Yatsukhnenko | |
Fix arginfo for set command | |||
2018-03-26 | Use zend_string for all lock_status members | Pavlo Yatsukhnenko | |
2018-03-26 | Apply zend_string API for redis_session_key | Pavlo Yatsukhnenko | |
2018-01-18 | Implement SWAPDB command | michael-grunder | |
2017-11-17 | Refactoring | Pavlo 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-24 | MOD: Add tcp_keepalive option to redis sock | git-hulk | |
2017-10-17 | Issue #1048 | Pavlo 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-13 | fix arginfo for directed node commands | Pavlo Yatsukhnenko | |
2017-10-05 | Add PHPREDIS_GET_OBJECT macros | Pavlo Yatsukhnenko | |
2017-10-05 | Issue #1245 | Pavlo 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-29 | More arginfo for RedisCluster | Pavlo Yatsukhnenko | |
This commit finally fixes issue #1055 | |||
2017-08-29 | More arginfo for RedisCluster | Pavlo Yatsukhnenko | |
2017-08-28 | More arginfo for RedisCluster + remove duplicates | Pavlo Yatsukhnenko | |
2017-08-22 | Add arginfo for RedisArray | Pavlo Yatsukhnenko | |
2017-08-16 | Use zend_string to store strings in RedisSock | Pavlo Yatsukhnenko | |
Following fields were changed: err, prefix, persistent_id, auth and host | |||
2017-08-15 | Fix static analyzer warnings | Pavlo Yatsukhnenko | |
2017-08-15 | ZEND_HASH_FOREACH_PTR | Pavlo Yatsukhnenko | |
2017-08-11 | refactoring | Pavlo 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-08 | Allow mixing multi and pipeline modes | Pavlo Yatsukhnenko | |
2017-08-02 | Use ZSTR_VAL and ZSTR_LEN macroses to access zend_string fields | Pavlo Yatsukhnenko | |
2017-08-01 | Fix valgrind warnings | Pavlo Yatsukhnenko | |
Duplicate (MAKE_STD_ZVAL + ZVAL_ZVAL) params in php7 compatible implementation of call_user_function. | |||
2017-07-28 | Init gc value for php5 zval_get_string | Pavlo Yatsukhnenko | |
2017-05-09 | Using ZVAL_DEREF macros for dereference input variables. | Pavlo Yatsukhnenko | |
This PR fixes issues #946 and #1166. | |||
2017-04-21 | Merge branch 'issue.1156' into develop | Pavlo Yatsukhnenko | |
2017-04-21 | refactoring (#1155) | Pavlo Yatsukhnenko | |
Fix memory leak in `redis_long_response` when LONG_MAX overflow. Add return -1 in `redis_read_reply_type` when `php_stream_getc` returns EOF. Code formatting in `PHP_METHOD(Redis, exec)`. | |||
2017-04-20 | Fix #1156 | Pavlo Yatsukhnenko | |
2017-04-12 | Modifying `redis_error_throw` to throw exception for all non recoverable errors. | Pavlo Yatsukhnenko | |
2017-03-29 | Remove REDIS_SOCK_STATUS_UNKNOWN because no way to reach it. | Pavlo Yatsukhnenko | |
2017-03-29 | remove unused constants | Pavlo Yatsukhnenko | |
2017-03-14 | remove unused struct request_item + add redis_hstrlen_cmd proto | Pavlo Yatsukhnenko | |
2017-03-10 | refactoring | Pavlo Yatsukhnenko | |
In pipeline mode all commands are now stored in the buffer the memory for which is allocated with emalloc. There is no need to use a linked list. | |||
2017-03-03 | free_reply_callbacks | Pavlo Yatsukhnenko | |
2017-03-03 | REDIS_PROCESS_RESPONSE_CLOSURE | Pavlo Yatsukhnenko | |
2017-03-02 | refactoring | Pavlo Yatsukhnenko | |
Modify redis_response_enqueued function. Wrap macros into do/while blocks. | |||
2017-02-27 | put macros in order | Pavlo Yatsukhnenko | |
2017-02-11 | refactoring | Pavlo Yatsukhnenko | |
redis_sock_get and redis_array_get return pointer to RedisSock/RedisArray structure instead of assign by pointer pointer | |||
2017-02-10 | redis_object | Pavlo Yatsukhnenko | |
2016-12-22 | Use correct legacy definition for ZEND_MOD_END | michael-grunder | |
2016-12-20 | fix 'this decimal constant is unsigned only in ISO C90' warning | Pavlo Yatsukhnenko | |
2016-12-20 | PHP_FE_END + ZEND_MOD_END | Pavlo Yatsukhnenko | |
2016-12-19 | Fix 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-02 | zval_get_string | Pavlo Yatsukhnenko | |
Added gc attribute to zend_string (for zend_string_release). Added function zval_get_string and replace convert_to_string with it. |