变更tfe_stream.h中的部分公用结构体定义。
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user