summaryrefslogtreecommitdiff
path: root/src/tsg_bridge.h
diff options
context:
space:
mode:
authorliuxueli <[email protected]>2023-06-08 17:57:12 +0800
committerliuxueli <[email protected]>2023-06-08 17:58:17 +0800
commit7e7b1165eda3ff3c26b677fef3359eaf7b88b9af (patch)
treea3d33c7e4ab7e508a7d0a0d3a48be9eb0d2e59cc /src/tsg_bridge.h
parentcad3ae8cad22ac9cea9e9f9f132f5e5dfd63cc53 (diff)
提前释放maa_state和process context
Diffstat (limited to 'src/tsg_bridge.h')
-rw-r--r--src/tsg_bridge.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tsg_bridge.h b/src/tsg_bridge.h
index 276331a..416e160 100644
--- a/src/tsg_bridge.h
+++ b/src/tsg_bridge.h
@@ -101,7 +101,7 @@ struct session_runtime_action_context
char udp_data_dropme;
char set_latency_flag;
char direction;
- char padding[1];
+ char padding[5];
enum TSG_METHOD_TYPE method_type;
enum TSG_PROTOCOL protocol;
char *l4_protocol;
@@ -183,6 +183,8 @@ int srt_attribute_set_establish_latecy(const struct streaminfo * a_stream);
int srt_attribute_set_ja3_fingprint(const struct streaminfo *a_stream, const char *ja3_fingerprint);
int srt_attribute_set_reponse_size(const struct streaminfo *a_stream, int http_action_file_size);
+void srt_attribute_free_proxy_tcp_option(const struct streaminfo *a_stream);
+
//gather app identify result
int session_gather_app_results_async(const struct streaminfo * a_stream, void * data);
void *session_gather_app_results_get(const struct streaminfo * a_stream);
@@ -204,3 +206,6 @@ enum TSG_METHOD_TYPE srt_action_context_get_method_type(const struct session_run
const struct session_runtime_process_context *session_runtime_process_context_new(const struct streaminfo * a_stream);
+void session_runtime_process_context_free(const struct streaminfo *a_stream);
+
+