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
diff options
context:
space:
mode:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2020-05-27 17:39:33 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2020-06-02 17:38:12 +0300
commitb067129678264fc1c5c0f611ce1b192e05c14669 (patch)
treece58b1efd08c14d84af94453df1d40f36568cbb6 /common.h
parentf9c7bb5788c39614c23e3bb9ec42ec8d6d5bbaa1 (diff)
Issue #1600
Ssl context options in Redis::connect
Diffstat (limited to 'common.h')
-rw-r--r--common.h65
1 files changed, 33 insertions, 32 deletions
diff --git a/common.h b/common.h
index 857e87cf..dc692524 100644
--- a/common.h
+++ b/common.h
@@ -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;
/* }}} */