From 1e0b833045132febdf8473841db1aaf1417452af Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 5 Aug 2024 18:51:52 +0100 Subject: [PATCH] [Minor] Show HTTP result for mirrors as well --- src/rspamd_proxy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c index 604cb7d09..6c8869e22 100644 --- a/src/rspamd_proxy.c +++ b/src/rspamd_proxy.c @@ -1398,7 +1398,8 @@ proxy_backend_mirror_finish_handler(struct rspamd_http_connection *conn, bk_conn->err = "cannot parse ucl"; } - msg_info_session("finished mirror connection to %s", bk_conn->name); + msg_info_session("finished mirror connection to %s; HTTP code: %d", + bk_conn->name, msg->code); rspamd_upstream_ok(bk_conn->up); proxy_backend_close_connection(bk_conn); -- 2.39.5