diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2008-10-24 19:32:39 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2008-10-24 19:32:39 +0400 |
commit | fb659154cb491bed9b158adfbb34337cadad7a7e (patch) | |
tree | de41f735d21fa2c72f10093584989e95df714b28 /main.h | |
parent | e5f01249a3498ab47c7c7852f83564d466629a8b (diff) | |
download | rspamd-fb659154cb491bed9b158adfbb34337cadad7a7e.tar.gz rspamd-fb659154cb491bed9b158adfbb34337cadad7a7e.zip |
* Stylify and fix util functions that was gathered from libutil code (memory allocation)
* Fix protocol and network functions
* Fix some memory allocation issues
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -109,6 +109,7 @@ struct save_point { /* Control session */ struct controller_session { struct rspamd_worker *worker; + int sock; /* Access to authorized commands */ int authorized; memory_pool_t *session_pool; @@ -126,10 +127,12 @@ struct worker_task { WRITE_REPLY, WRITE_ERROR, WAIT_FILTER, + CLOSING_CONNECTION, } state; size_t content_length; enum rspamd_protocol proto; enum rspamd_command cmd; + int sock; char *helo; char *from; char *rcpt; |