summaryrefslogtreecommitdiff
path: root/platform/src/proxy.cpp
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2023-04-23 16:55:30 +0800
committerluwenpeng <[email protected]>2023-04-23 16:55:30 +0800
commitcbf424884c0ea184353abb28e1bf8ba86ca19cf5 (patch)
tree574970685d68d940ba95e073ad75c88b1633534b /platform/src/proxy.cpp
parent2138d7f13e677d9d629b23eacb99a0b619ace34c (diff)
cmsg适配控制报文类型, TFE_CMSG_SSL_INTERCEPT_STATE/TFE_CMSG_SSL_PINNING_STATE/TFE_CMSG_SSL_CERT_VERIFY的类型从uint64改为uint8
Diffstat (limited to 'platform/src/proxy.cpp')
-rw-r--r--platform/src/proxy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/src/proxy.cpp b/platform/src/proxy.cpp
index d2fc87b..8ea88d7 100644
--- a/platform/src/proxy.cpp
+++ b/platform/src/proxy.cpp
@@ -194,7 +194,7 @@ int tfe_proxy_fds_accept(struct tfe_proxy *ctx, int fd_downstream, int fd_upstre
if (unlikely(ctx->tcp_all_passthrough) || tcp_passthrough > 0)
{
bool __true = true;
- uint64_t ssl_intercept_status = SSL_ACTION_PASSTHROUGH;
+ uint8_t ssl_intercept_status = SSL_ACTION_PASSTHROUGH;
enum tfe_stream_proto __session_type = STREAM_PROTO_PLAIN;
tfe_stream_option_set(stream, TFE_STREAM_OPT_PASSTHROUGH, &__true, sizeof(__true));