From f01d6118e09d08e718efe0c0db6e3f88264f32d1 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 5 Aug 2024 18:44:02 +0100 Subject: [Minor] Propagate proxy log tag --- src/rspamd_proxy.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/rspamd_proxy.c') diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c index 4f08e81b9..281cfec4f 100644 --- a/src/rspamd_proxy.c +++ b/src/rspamd_proxy.c @@ -2203,6 +2203,8 @@ proxy_client_finish_handler(struct rspamd_http_connection *conn, rspamd_http_message_remove_header(msg, "Keep-Alive"); rspamd_http_message_remove_header(msg, "Connection"); rspamd_http_message_remove_header(msg, "Key"); + rspamd_http_message_add_header_len(msg, LOG_TAG_HEADER, session->pool->tag.uid, + sizeof(session->pool->tag.uid)); proxy_open_mirror_connections(session); rspamd_http_connection_reset(session->client_conn); -- cgit v1.2.3