Browse Source

[Minor] Set ok flag on success

tags/3.3
Vsevolod Stakhov 1 year ago
parent
commit
d0c8549bc3
No account linked to committer's email address
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/lua/lua_http.c

+ 4
- 0
src/lua/lua_http.c View File

@@ -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);

Loading…
Cancel
Save