]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-http: client: peer: Add debug message for http_client_peer_connection_failure().
authorStephan Bosch <stephan.bosch@dovecot.fi>
Thu, 6 Sep 2018 14:03:58 +0000 (16:03 +0200)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Fri, 7 Sep 2018 06:18:56 +0000 (09:18 +0300)
src/lib-http/http-client-peer.c

index abd22b8bc555d7d1cb7fc20b2cb9dcf713fcbab3..94339abcb317efeab44ed8e5b0e2fac559c6c083 100644 (file)
@@ -1203,6 +1203,9 @@ void http_client_peer_connection_failure(struct http_client_peer *peer,
 {
        struct http_client_peer_pool *ppool = peer->ppool;
 
+       e_debug(peer->event, "Connection failed (connections=%u)",
+               array_count(&peer->conns));
+
        http_client_peer_pool_connection_failure(ppool, reason);
 }