Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-11-22 | Masters info leakfix (#1462) | Michael Grunder | |
Fix for memory leaks in `RedisCluster->_masters()` and `RedisCluster->info()` | |||
2018-11-21 | Remove unused parameter lazy_connect from redis_sock_create | Pavlo Yatsukhnenko | |
2018-10-17 | Simplify short-circuit logic | michael-grunder | |
2018-10-17 | Make our timeout or response error handling more explicit. | michael-grunder | |
Although a -1 return value from cluster_check_response is likely a timeout, it is not the only possibility, so handle the loop timeout and error response in distinct ways. | |||
2018-10-14 | Treat a -1 response from cluster_check_response as a timeout. | michael-grunder | |
When cluster_check_response returns -1 this can be treated as a timeout. Note that there is one non-timout condition which can cause a -1 response, but that is a corrupted MOVE/ASK reply which can *probably* be treated as a timeout as well, because it means that something has gone horribly wrong with the connection. Addresses #1425 | |||
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-09-29 | Streams (#1413) | Michael Grunder | |
Streams API | |||
2018-09-05 | Issue #1399 | Pavlo Yatsukhnenko | |
Fix printf format warnings | |||
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-04 | Issue #1370 | Pavlo Yatsukhnenko | |
2018-05-31 | Issue #1358 | Pavlo Yatsukhnenko | |
Use `cluster_free` in `free_cluster_context` to free cluster object. Call `cluster_disconnect` before destroying cluster object. | |||
2018-05-17 | Bulk strings can be zero length | michael-grunder | |
Addresses #1349 | |||
2018-04-08 | Don't leak a ZVAL | michael-grunder | |
2018-02-17 | Some style normalization | michael-grunder | |
2017-12-06 | Merge pull request #1280 from janic716/dev | Pavlo Yatsukhnenko | |
the element of z_seeds may be a reference on php7 | |||
2017-12-06 | Prepare to merge #1280 | Pavlo Yatsukhnenko | |
2017-12-06 | the element of z_seeds may be a reference on php7 | chenjian | |
2017-11-20 | Fix cluster_init_seeds. Thanks @adlagares! | Pavlo Yatsukhnenko | |
2017-11-17 | Remove trailing spaces | Pavlo Yatsukhnenko | |
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-09-29 | Don't use convert_to_string in redis_hmget_cmd | 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 | ZEND_HASH_FOREACH_PTR | Pavlo Yatsukhnenko | |
2017-08-02 | Use ZSTR_VAL and ZSTR_LEN macroses to access zend_string fields | Pavlo Yatsukhnenko | |
2017-07-31 | Fix valgrind warnings | Pavlo Yatsukhnenko | |
2017-07-20 | CID 157207 | Pavlo Yatsukhnenko | |
2017-07-19 | Fix some static analyzer warnings | Pavlo 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-11 | Processing `read_timeout` parameter + update docs | Pavlo Yatsukhnenko | |
2017-04-05 | Increasing 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-15 | Fix memory leak | michael-grunder | |
2017-02-09 | Fix 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-21 | change redis_serialize to accept strlen_t | Remi Collet | |
2016-12-21 | fix #1074 change redis_key_prefix to accept strlen_t | Remi Collet | |
2016-12-20 | OCD spacing FTW | michael-grunder | |
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. | |||
2016-11-30 | Issue #1036 | Pavlo Yatsukhnenko | |
2016-11-29 | Issue #1036 | Pavlo Yatsukhnenko | |
2016-11-18 | TravisCI: clang + refactoring | Pavlo Yatsukhnenko | |
2016-11-17 | redis_unserialize | Pavlo Yatsukhnenko | |
2016-11-15 | refactoring | Pavlo Yatsukhnenko | |
2016-11-14 | php7 compatibility | Pavlo Yatsukhnenko | |
The 'l' specifier now expects a zend_long instead of a long for zend_parse_parameters. | |||
2016-11-13 | php7 compatibility | Pavlo Yatsukhnenko | |
zval_ptr_dtor | |||
2016-11-12 | php7 compatibility | Pavlo Yatsukhnenko | |
All tests passed. \o/ | |||
2016-11-12 | WIP: php7 compatibility | Pavlo Yatsukhnenko | |
2016-11-12 | WIP: php7 compatibility | Pavlo Yatsukhnenko | |
2016-11-10 | WIP: php7 compatibility | Pavlo Yatsukhnenko | |
2016-11-07 | WIP: php7 compatibility | Pavlo Yatsukhnenko | |
2016-11-04 | Fix static analyzer warnings | Pavlo Yatsukhnenko | |
2016-11-03 | WIP: php7 compatibility | Pavlo Yatsukhnenko | |
Replace STR_FREE with efree. Redis::hmget using zval* instead of zval**. |