From: Timo Sirainen Date: Tue, 28 Sep 2021 21:21:17 +0000 (+0300) Subject: indexer: Abort requests if indexer-worker disconnects unexpectedly X-Git-Tag: 2.3.17~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=75b9572fb350547157aab54d18751da9d9020299;p=thirdparty%2Fdovecot%2Fcore.git indexer: Abort requests if indexer-worker disconnects unexpectedly --- diff --git a/src/indexer/worker-connection.c b/src/indexer/worker-connection.c index f3661e50ae..964865a6fc 100644 --- a/src/indexer/worker-connection.c +++ b/src/indexer/worker-connection.c @@ -48,7 +48,7 @@ void worker_connection_destroy(struct connection *conn) struct worker_connection *worker = container_of(conn, struct worker_connection, conn); - worker->request = NULL; + worker_connection_call_callback(worker, -1); i_free_and_null(worker->request_username); connection_deinit(conn);