diff options
author | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2020-05-27 17:39:33 +0300 |
---|---|---|
committer | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2020-06-02 17:38:12 +0300 |
commit | b067129678264fc1c5c0f611ce1b192e05c14669 (patch) | |
tree | ce58b1efd08c14d84af94453df1d40f36568cbb6 /common.h | |
parent | f9c7bb5788c39614c23e3bb9ec42ec8d6d5bbaa1 (diff) |
Issue #1600
Ssl context options in Redis::connect
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 65 |
1 files changed, 33 insertions, 32 deletions
@@ -258,38 +258,39 @@ typedef struct fold_item { /* {{{ struct RedisSock */ typedef struct { - php_stream *stream; - zend_string *host; - int port; - zend_string *auth; - double timeout; - double read_timeout; - long retry_interval; - redis_sock_status status; - int persistent; - int watching; - zend_string *persistent_id; - - redis_serializer serializer; - int compression; - int compression_level; - long dbNumber; - - zend_string *prefix; - - short mode; - fold_item *head; - fold_item *current; - - zend_string *pipeline_cmd; - - zend_string *err; - - int scan; - - int readonly; - int reply_literal; - int tcp_keepalive; + php_stream *stream; + php_stream_context *stream_ctx; + zend_string *host; + int port; + zend_string *auth; + double timeout; + double read_timeout; + long retry_interval; + redis_sock_status status; + int persistent; + int watching; + zend_string *persistent_id; + + redis_serializer serializer; + int compression; + int compression_level; + long dbNumber; + + zend_string *prefix; + + short mode; + fold_item *head; + fold_item *current; + + zend_string *pipeline_cmd; + + zend_string *err; + + int scan; + + int readonly; + int reply_literal; + int tcp_keepalive; } RedisSock; /* }}} */ |