Skip to content

Commit

Permalink
lib-http: client: peer: Log debug message before calling peer pool in…
Browse files Browse the repository at this point in the history
… http_client_peer_connection_success().
  • Loading branch information
stephanbosch authored and villesavolainen committed Sep 7, 2018
1 parent cc93191 commit 24b39e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib-http/http-client-peer.c
Expand Up @@ -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);

Expand Down

0 comments on commit 24b39e6

Please sign in to comment.