aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_http.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-12-14 19:05:56 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-12-14 19:05:56 +0300
commit4499fc92189905fde71139822d784ab7819b181c (patch)
tree4057f60b1af82b52649d05f79a804543c57ae6f4 /src/lua/lua_http.c
parent7072f8548414cf0e88babd7556f1f893c93ba3dc (diff)
downloadrspamd-4499fc92189905fde71139822d784ab7819b181c.tar.gz
rspamd-4499fc92189905fde71139822d784ab7819b181c.zip
* Finally get rid of stupid savepoints system and migrate to async events logic completely
Fix lua redis library.
Diffstat (limited to 'src/lua/lua_http.c')
-rw-r--r--src/lua/lua_http.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/lua/lua_http.c b/src/lua/lua_http.c
index 3764c96cc..16f237a36 100644
--- a/src/lua/lua_http.c
+++ b/src/lua/lua_http.c
@@ -103,13 +103,6 @@ lua_http_push_error (gint code, struct lua_http_ud *ud)
ud->parser_state = 3;
remove_normal_event (ud->task->s, lua_http_fin, ud);
-
- ud->task->save.saved--;
- if (ud->task->save.saved == 0) {
- /* Call other filters */
- ud->task->save.saved = 1;
- process_filters (ud->task);
- }
}
static void
@@ -151,12 +144,6 @@ lua_http_push_reply (f_str_t *in, struct lua_http_ud *ud)
}
remove_normal_event (ud->task->s, lua_http_fin, ud);
- ud->task->save.saved--;
- if (ud->task->save.saved == 0) {
- /* Call other filters */
- ud->task->save.saved = 1;
- process_filters (ud->task);
- }
}
/*
@@ -384,7 +371,6 @@ lua_http_make_request_common (lua_State *L, struct worker_task *task, const gcha
if (make_dns_request (task->resolver, task->s, task->task_pool, lua_http_dns_callback, ud,
DNS_REQUEST_A, hostname)) {
task->dns_requests ++;
- task->save.saved++;
}
return 0;