diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-08 09:01:30 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-10-08 09:01:30 +0100 |
commit | ac9751f06a1fd97d264772b294c4c4de3728fee9 (patch) | |
tree | 1f96c13822c8447f3dc7c70368bb7090e8a63348 /src/fuzzy_storage.c | |
parent | 0e8dbac3d41dcf47c06ea05484a0df40b393660f (diff) | |
download | rspamd-ac9751f06a1fd97d264772b294c4c4de3728fee9.tar.gz rspamd-ac9751f06a1fd97d264772b294c4c4de3728fee9.zip |
[Fix] Fix race condition in watcher handler
Diffstat (limited to 'src/fuzzy_storage.c')
-rw-r--r-- | src/fuzzy_storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index d0d69c83c..f7aec3e27 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -517,8 +517,8 @@ rspamd_fuzzy_reply_io (EV_P_ ev_io *w, int revents) { struct fuzzy_session *session = (struct fuzzy_session *)w->data; - rspamd_fuzzy_write_reply (session); ev_io_stop (EV_A_ w); + rspamd_fuzzy_write_reply (session); REF_RELEASE (session); } |