]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Show HTTP result for mirrors as well 5092/head
authorVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 5 Aug 2024 17:51:52 +0000 (18:51 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 5 Aug 2024 17:51:52 +0000 (18:51 +0100)
src/rspamd_proxy.c

index 604cb7d096c254d8bfadbcd00f80059ffe5fdb7a..6c8869e22c7b61de1e099e12199b687a2f0bbc50 100644 (file)
@@ -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);