diff options
| author | Lu Qiuwen <[email protected]> | 2018-09-03 10:30:47 +0800 |
|---|---|---|
| committer | Lu Qiuwen <[email protected]> | 2018-09-03 10:30:47 +0800 |
| commit | 8ddb847224f81057e1a96ad7b5a28d27dc76b7b4 (patch) | |
| tree | 72f5203334bb93188e0384d5c9ad2abc2f4d2a8d /platform/src/proxy.cpp | |
| parent | a473aa3c3cf724dcf9065ddf6573c4d357171073 (diff) | |
变更tfe_stream.h中的部分公用结构体定义。
Diffstat (limited to 'platform/src/proxy.cpp')
| -rw-r--r-- | platform/src/proxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/src/proxy.cpp b/platform/src/proxy.cpp index 8d13a8a..f0f9208 100644 --- a/platform/src/proxy.cpp +++ b/platform/src/proxy.cpp @@ -73,7 +73,7 @@ int tfe_proxy_fds_accept(struct tfe_proxy * ctx, const struct tfe_proxy_accept_p if (para->passthrough || ctx->tcp_all_passthrough) { bool __true = true; - enum tfe_session_proto __session_type = SESSION_PROTO_PLAIN; + enum tfe_stream_proto __session_type = STREAM_PROTO_PLAIN; tfe_stream_option_set(stream, TFE_STREAM_OPT_PASSTHROUGH, &__true, sizeof(__true)); tfe_stream_option_set(stream, TFE_STREAM_OPT_SESSION_TYPE, &__session_type, sizeof(__session_type)); |
