]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
plugins/fts: Return back comment about Server Error.
authorSergey Kitov <sergey.kitov@open-xchange.com>
Tue, 12 Dec 2017 14:07:52 +0000 (16:07 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Tue, 12 Dec 2017 14:47:59 +0000 (16:47 +0200)
src/plugins/fts/fts-parser-tika.c

index 19ea80fa822cd40353d768a7691f732f3d8901f5..e75fd770a043985ccace261ef242da37639a60b1 100644 (file)
@@ -111,6 +111,10 @@ fts_tika_parser_response(const struct http_response *response,
                break;
        default:
                if (response->status / 100 == 5) {
+                       /* Server Error - the problem could be anything (in Tika or
+                          HTTP server or proxy) and might be retriable, but Tika has
+                          trouble processing some documents and throws up this error
+                          every time for those documents. */
                        parser->parser.may_need_retry = TRUE;
                        i_free(parser->parser.retriable_error_msg);
                        parser->parser.retriable_error_msg =