]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-http: client: peer: Log debug message before calling peer pool in http_client_pee...
authorStephan Bosch <stephan.bosch@dovecot.fi>
Thu, 6 Sep 2018 13:54:02 +0000 (15:54 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 6 Sep 2018 17:03:46 +0000 (17:03 +0000)
src/lib-http/http-client-peer.c

index 5815910893da59457303ab05ac0b3dffd0f18a77..d6861eeb4363d2a4169be95497d8bc91bc4c2882 100644 (file)
@@ -1187,11 +1187,11 @@ void http_client_peer_connection_success(struct http_client_peer *peer)
        struct http_client_peer_pool *ppool = peer->ppool;
        struct http_client_queue *const *queue;
 
-       http_client_peer_pool_connection_success(ppool);
-
        e_debug(peer->event, "Successfully connected (connections=%u)",
                array_count(&peer->conns));
 
+       http_client_peer_pool_connection_success(ppool);
+
        array_foreach(&peer->queues, queue)
                http_client_queue_connection_success(*queue, peer);