aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_http.c')
-rw-r--r--src/lua/lua_http.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lua/lua_http.c b/src/lua/lua_http.c
index d7f8c74f4..a53145c7c 100644
--- a/src/lua/lua_http.c
+++ b/src/lua/lua_http.c
@@ -260,6 +260,10 @@ lua_http_finish_handler (struct rspamd_http_connection *conn,
}
lua_thread_pool_prepare_callback (cbd->cfg->lua_thread_pool, &lcbd);
+ if (cbd->up) {
+ rspamd_upstream_ok(cbd->up);
+ }
+
L = lcbd.L;
lua_rawgeti (L, LUA_REGISTRYINDEX, cbd->cbref);