From: Stephan Bosch Date: Thu, 6 Sep 2018 14:03:58 +0000 (+0200) Subject: lib-http: client: peer: Add debug message for http_client_peer_connection_failure(). X-Git-Tag: 2.3.9~1424 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f783a433562967d8b079b2b446606cb5a417c64b;p=thirdparty%2Fdovecot%2Fcore.git lib-http: client: peer: Add debug message for http_client_peer_connection_failure(). --- diff --git a/src/lib-http/http-client-peer.c b/src/lib-http/http-client-peer.c index abd22b8bc5..94339abcb3 100644 --- a/src/lib-http/http-client-peer.c +++ b/src/lib-http/http-client-peer.c @@ -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); }