aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd_proxy.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-08-05 18:44:02 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-08-05 18:44:02 +0100
commitf01d6118e09d08e718efe0c0db6e3f88264f32d1 (patch)
tree6d760024162ff51ce2d8f9b246995374e0c1ea07 /src/rspamd_proxy.c
parenta770359830ce35e877c729da9655c772b5e4b2c3 (diff)
downloadrspamd-f01d6118e09d08e718efe0c0db6e3f88264f32d1.tar.gz
rspamd-f01d6118e09d08e718efe0c0db6e3f88264f32d1.zip
[Minor] Propagate proxy log tag
Diffstat (limited to 'src/rspamd_proxy.c')
-rw-r--r--src/rspamd_proxy.c2
1 files changed, 2 insertions, 0 deletions
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);