aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/lua/http.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/lua/http.lua')
-rw-r--r--test/functional/lua/http.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/lua/http.lua b/test/functional/lua/http.lua
index a433a9d93..1981c8734 100644
--- a/test/functional/lua/http.lua
+++ b/test/functional/lua/http.lua
@@ -43,7 +43,7 @@ local function http_symbol(task)
callback = http_dns_callback,
timeout = 1,
})
---[[
+
rspamd_logger.errx(task, 'rspamd_http.request[before]')
local err, response = rspamd_http.request({
@@ -73,7 +73,6 @@ local function http_symbol(task)
else
task:insert_result('HTTP_CORO_DNS_ERROR', 1.0, err)
end
- --]]
end
@@ -110,7 +109,8 @@ rspamd_config:register_symbol({
name = 'SIMPLE_TEST',
score = 1.0,
callback = http_symbol,
-no_squeeze = true
+no_squeeze = true,
+flags = 'coro'
})