diff options
author | Yu Ping <ping.yu@intel.com> | 2019-05-08 00:40:24 +0800 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2019-05-09 03:18:20 +0000 |
commit | 7b74b073e4e351fdc0ca1f94655c572405176a1b (patch) | |
tree | 93a29c80d5eeb399d81b54507c8f48b9debbd46f /src/vcl/ldp.h | |
parent | f40ee3a206b2abd2ca2b8b94e0d233c2f1ade801 (diff) |
ldp: add option to eanble transparent TLS connections
If LDP_TRANSPARENT_TLS is set, LDP transparently converts TCP into TLS
connnection.
Verified in Nginx LD_PRELOAD mode.
Change-Id: I2229be61a0deb723bf5d94a2193ecb792dd997fb
Signed-off-by: Yu Ping <ping.yu@intel.com>
Diffstat (limited to 'src/vcl/ldp.h')
-rw-r--r-- | src/vcl/ldp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vcl/ldp.h b/src/vcl/ldp.h index 5646df6a56e..8d78ead0875 100644 --- a/src/vcl/ldp.h +++ b/src/vcl/ldp.h @@ -30,6 +30,9 @@ #define LDP_ENV_DEBUG "LDP_DEBUG" #define LDP_ENV_APP_NAME "LDP_APP_NAME" #define LDP_ENV_SID_BIT "LDP_SID_BIT" +#define LDP_ENV_TLS_CERT "LDP_TLS_CERT_FILE" +#define LDP_ENV_TLS_KEY "LDP_TLS_KEY_FILE" +#define LDP_ENV_TLS_TRANS "LDP_TRANSPARENT_TLS" #define LDP_SID_BIT_MIN 5 #define LDP_SID_BIT_MAX 30 |