diff options
author | thiagoftsm <thiagoftsm@gmail.com> | 2020-08-19 16:44:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-19 16:44:23 +0000 |
commit | 41168009c6e20ad4c925c42adc8cf788e049fd5f (patch) | |
tree | 00367fb8b22a8136c6a73c1dd428208eb70d773e /libnetdata/socket | |
parent | c177910666871afd86e8284c73c59a03370de6b5 (diff) |
Fix proxy redirect
Fix proxy redirect considering variables available on proxy side.
Diffstat (limited to 'libnetdata/socket')
-rw-r--r-- | libnetdata/socket/security.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libnetdata/socket/security.h b/libnetdata/socket/security.h index 01703d7863..6eee80324f 100644 --- a/libnetdata/socket/security.h +++ b/libnetdata/socket/security.h @@ -10,6 +10,7 @@ # define NETDATA_SSL_FORCE 32 //We only accepts HTTPS request # define NETDATA_SSL_INVALID_CERTIFICATE 64 //Accepts invalid certificate # define NETDATA_SSL_VALID_CERTIFICATE 128 //Accepts invalid certificate +# define NETDATA_SSL_PROXY_HTTPS 256 //Proxy is using HTTPS #define NETDATA_SSL_CONTEXT_SERVER 0 #define NETDATA_SSL_CONTEXT_STREAMING 1 @@ -30,7 +31,7 @@ struct netdata_ssl{ SSL *conn; //SSL connection - int flags; //The flags for SSL connection + uint32_t flags; //The flags for SSL connection }; extern SSL_CTX *netdata_opentsdb_ctx; |