diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-08-05 18:44:02 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-08-05 18:44:02 +0100 |
commit | f01d6118e09d08e718efe0c0db6e3f88264f32d1 (patch) | |
tree | 6d760024162ff51ce2d8f9b246995374e0c1ea07 /src/rspamd_proxy.c | |
parent | a770359830ce35e877c729da9655c772b5e4b2c3 (diff) | |
download | rspamd-f01d6118e09d08e718efe0c0db6e3f88264f32d1.tar.gz rspamd-f01d6118e09d08e718efe0c0db6e3f88264f32d1.zip |
[Minor] Propagate proxy log tag
Diffstat (limited to 'src/rspamd_proxy.c')
-rw-r--r-- | src/rspamd_proxy.c | 2 |
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); |