summaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h8
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 */