diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-21 13:14:04 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-21 13:14:23 +0000 |
commit | 3d293752557974fdedfec048fe95179fd70f6803 (patch) | |
tree | 2701df6ecf02430aa27af6d9da3adb888e3c9021 /src/plugins | |
parent | 198e242157ed81b871671f6a77e3d525a57350a5 (diff) | |
download | rspamd-3d293752557974fdedfec048fe95179fd70f6803.tar.gz rspamd-3d293752557974fdedfec048fe95179fd70f6803.zip |
[Fix] Fix ES sending logic (restore from coroutines mess)
Issue: #2808
Closes: #2808
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/elastic.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/elastic.lua b/src/plugins/lua/elastic.lua index b6da33bf8..03462f9eb 100644 --- a/src/plugins/lua/elastic.lua +++ b/src/plugins/lua/elastic.lua @@ -96,7 +96,7 @@ local function elastic_send_data(task) end end - rspamd_http.request({ + return rspamd_http.request({ url = push_url, headers = { ['Content-Type'] = 'application/x-ndjson', |