From: Vsevolod Stakhov Date: Mon, 5 Aug 2024 17:50:29 +0000 (+0100) Subject: [Minor] Show better log when proxy finishes it's connection X-Git-Tag: 3.10.0~65^2~1^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a3e950bd07ed216eacc8b37153292561d5dd31cf;p=rspamd.git [Minor] Show better log when proxy finishes it's connection --- diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c index 281cfec4f..604cb7d09 100644 --- a/src/rspamd_proxy.c +++ b/src/rspamd_proxy.c @@ -2212,7 +2212,10 @@ proxy_client_finish_handler(struct rspamd_http_connection *conn, proxy_send_master_message(session); } else { - msg_info_session("finished master connection"); + msg_info_session("finished master connection to %s; HTTP code: %d", + rspamd_inet_address_to_string_pretty( + rspamd_upstream_addr_cur(session->master_conn->up)), + msg->code); proxy_backend_close_connection(session->master_conn); REF_RELEASE(session); }