]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-http: http-client-host - Prevent erroneously starting host idle timeout during...
authorStephan Bosch <stephan.bosch@open-xchange.com>
Sun, 20 Sep 2020 23:14:20 +0000 (01:14 +0200)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 7 Oct 2020 11:58:33 +0000 (14:58 +0300)
commitac4173fa382f4493948794feb7335288f221d665
treed560b55e1aefbbe8af71d2895fe162267f4258bf
parent29f3be1af8881726b4b80417ad39974ee6423958
lib-http: http-client-host - Prevent erroneously starting host idle timeout during request retry.

During request retry the request is first dropped from and subsequently added to
the queue. Dropping a request from the queue can start the host idle timeout
when it is the very last one. The timeout was not removed later on anymore when
the request was submitted again, because it was added prematurely (before
dropping the request).
src/lib-http/http-client-host.c