From: Vsevolod Stakhov Date: Mon, 5 Aug 2024 17:51:52 +0000 (+0100) Subject: [Minor] Show HTTP result for mirrors as well X-Git-Tag: 3.10.0~65^2~1^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1e0b833045132febdf8473841db1aaf1417452af;p=rspamd.git [Minor] Show HTTP result for mirrors as well --- 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);