]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
fts: Correctly handle internal http-client response errors main
authorMichael M Slusarz <michael.slusarz@open-xchange.com>
Sun, 16 Jan 2022 02:11:52 +0000 (19:11 -0700)
committertimo.sirainen <timo.sirainen@open-xchange.com>
Tue, 28 Apr 2026 15:47:19 +0000 (15:47 +0000)
commit8aa18063932ec48c03dcd939c84804ffdb8bac11
tree2bc93b8512101d0ad7c11b5173c1b27f393a5e27
parent01f58a6cba79f3831422de23b87f888e0b20e9bb
fts: Correctly handle internal http-client response errors

Previously, only server triggered 5xx errors would cause a retry. However,
there are multiple categories of errors from http-client that should
also cause a retry (9xxx errors).

e.g., setting Tika to restart after every processed file can easily
cause either 9003 (connect failed) or 9005 (connection_lost) errors, which
is a temporary condition.
src/plugins/fts/fts-parser-tika.c