summaryrefslogtreecommitdiffstats
path: root/src/rspamd.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-15 15:24:48 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-15 15:24:48 +0100
commitcff17e1ac557a878514e8f332afb2e7fdf4be849 (patch)
treef2638a2f87da7d41ad92f2785a8fcb6d4eb9ced8 /src/rspamd.h
parent7718fb14602c410dc16a316bb4e9cc87850c0ee4 (diff)
downloadrspamd-cff17e1ac557a878514e8f332afb2e7fdf4be849.tar.gz
rspamd-cff17e1ac557a878514e8f332afb2e7fdf4be849.zip
[Fix] Fix race-condition leak on processes reload
Diffstat (limited to 'src/rspamd.h')
-rw-r--r--src/rspamd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rspamd.h b/src/rspamd.h
index 1365a4b23..266571290 100644
--- a/src/rspamd.h
+++ b/src/rspamd.h
@@ -86,6 +86,7 @@ struct rspamd_worker {
main process. [0] - main, [1] - worker */
struct event srv_ev; /**< used by main for read workers' requests */
gpointer control_data; /**< used by control protocol to handle commands */
+ gpointer tmp_data; /**< used to avoid race condition to deal with control messages */
GPtrArray *finish_actions; /**< called when worker is terminated */
};