diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-02-16 17:13:09 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-02-16 17:13:09 +0400 |
commit | 632e9a8987961769fe478b0f60251f4fda5ca732 (patch) | |
tree | 514a3aed6f40252169ffa4557066091b4105aa3b /src/buffer.h | |
parent | bf2371d272bac279db965abeca2c5979155d8cc3 (diff) | |
download | rspamd-632e9a8987961769fe478b0f60251f4fda5ca732.tar.gz rspamd-632e9a8987961769fe478b0f60251f4fda5ca732.zip |
Add support of buffered IO reset to support persistent connections.
Diffstat (limited to 'src/buffer.h')
-rw-r--r-- | src/buffer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/buffer.h b/src/buffer.h index 96e38d471..ce2cf3d2e 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -123,4 +123,10 @@ void rspamd_dispatcher_restore (rspamd_io_dispatcher_t *d); */ void rspamd_remove_dispatcher (rspamd_io_dispatcher_t *dispatcher); +/** + * Cleanup dispatcher freeing all temporary data + * @param dispatcher pointer to dispatcher's object + */ +void rspamd_dispacther_cleanup (rspamd_io_dispatcher_t *dispatcher); + #endif |