diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-19 00:27:54 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-19 00:27:54 +0000 |
commit | 7e4a21dc554d42d31afc611fd92aaddd7da1bb6c (patch) | |
tree | 1a423d9ca90425eed230aca69d1193a3a511bf0a /src/main.h | |
parent | e2f2eed337ecdb17c897fe7e04626dfffe32f2a2 (diff) | |
download | rspamd-7e4a21dc554d42d31afc611fd92aaddd7da1bb6c.tar.gz rspamd-7e4a21dc554d42d31afc611fd92aaddd7da1bb6c.zip |
Simplify states of task. Disable broken code.
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/main.h b/src/main.h index ea1172468..3acd5a870 100644 --- a/src/main.h +++ b/src/main.h @@ -176,16 +176,12 @@ struct controller_session { struct worker_task { struct rspamd_worker *worker; /**< pointer to worker object */ enum { - READ_COMMAND, - READ_HEADER, READ_MESSAGE, - WRITE_REPLY, - WRITE_ERROR, WAIT_PRE_FILTER, WAIT_FILTER, WAIT_POST_FILTER, - CLOSING_CONNECTION, - WRITING_REPLY + WRITE_REPLY, + CLOSING_CONNECTION } state; /**< current session state */ enum rspamd_command cmd; /**< command */ struct custom_command *custom_cmd; /**< custom command if any */ |