]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-http: client: peer: Notify all peers in a peer pool about a successful connection.
authorStephan Bosch <stephan.bosch@dovecot.fi>
Thu, 6 Sep 2018 13:22:30 +0000 (15:22 +0200)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Fri, 7 Sep 2018 06:18:56 +0000 (09:18 +0300)
commit2335b991407febd8a53ff61df0443079839188b9
treeee0dee70dfefd18d51429287d9f40b2380a6b469
parent2ec17d0da0abb7aaf0ad4575be47510fa9d31b0d
lib-http: client: peer: Notify all peers in a peer pool about a successful connection.

This allows peers for which the last connection attempt failed (which was not
the last pending attempt in the pool) to try again. This solves a problem that
could potentially cause a hang with multiple parallel clients creating serveral
new connections at once.
src/lib-http/http-client-peer.c
src/lib-http/http-client-private.h