TSG-14930 TFE支持发送控制报文给SAPP

This commit is contained in:
wangmenglan
2023-05-09 12:07:48 +08:00
parent 7c3b77fb2f
commit ceffc9b168
7 changed files with 133 additions and 117 deletions

View File

@@ -493,6 +493,7 @@ static void __stream_bev_passthrough_readcb(struct bufferevent * bev, void * arg
TFE_PROXY_STAT_INCREASE(STAT_STREAM_BYPASS, 1);
_stream->is_first_call_rxcb = 1;
tfe_set_intercept_metric(&_stream->head, 1, 0, 0, 0, 0);
tfe_cmsg_set_flag(_stream->cmsg, TFE_CMSG_FLAG_USER0);
}
int inbuff_len = evbuffer_get_length(__input_buffer);
@@ -1276,6 +1277,8 @@ void ssl_downstream_create_on_success(future_result_t * result, void * user)
TFE_PROXY_STAT_INCREASE(STAT_STEERING_SSL_CONN, 1);
}
tfe_cmsg_set_flag(_stream->cmsg, TFE_CMSG_FLAG_USER0);
return;
}