diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-08-05 18:50:29 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-08-05 18:50:29 +0100 |
commit | a3e950bd07ed216eacc8b37153292561d5dd31cf (patch) | |
tree | 2b1d6287107500e6ac831a4268cd55c1ad4cc4c9 /src | |
parent | f01d6118e09d08e718efe0c0db6e3f88264f32d1 (diff) | |
download | rspamd-a3e950bd07ed216eacc8b37153292561d5dd31cf.tar.gz rspamd-a3e950bd07ed216eacc8b37153292561d5dd31cf.zip |
[Minor] Show better log when proxy finishes it's connection
Diffstat (limited to 'src')
-rw-r--r-- | src/rspamd_proxy.c | 5 |
1 files changed, 4 insertions, 1 deletions
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); } |