From b3626faf8f2a69dd30ba24d6534dd26d4ba02ed9 Mon Sep 17 00:00:00 2001 From: Dengfeng Liu Date: Thu, 14 Nov 2024 09:47:46 +0800 Subject: [PATCH] fix: refactor TCP multiplexing message handling to allow mutable header processing Signed-off-by: Dengfeng Liu --- control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control.c b/control.c index 0aabe15..2683cf9 100644 --- a/control.c +++ b/control.c @@ -592,7 +592,7 @@ static int process_stream_data(struct bufferevent *bev, return 0; } -static void handle_tcp_mux_message(const struct tcp_mux_header *tmux_hdr, +static void handle_tcp_mux_message(struct tcp_mux_header *tmux_hdr, struct tmux_stream *cur) { if (cur == &abandon_stream) {