diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-06-18 18:18:20 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-06-18 18:18:20 +0400 |
commit | 7ac1c6efb3361614aa68aa31494346903cd27fcc (patch) | |
tree | e687be443263b75895f3ccd38c89d0375abb0fef /src/buffer.h | |
parent | da8c2bff3fb4b959ceb4ce5c8b72d6e83ec81f03 (diff) | |
download | rspamd-7ac1c6efb3361614aa68aa31494346903cd27fcc.tar.gz rspamd-7ac1c6efb3361614aa68aa31494346903cd27fcc.zip |
* Some performance improvements to IO dispatcher (do not drain the whole buffer after a single line readed)
* Fix smtp data input
Diffstat (limited to 'src/buffer.h')
-rw-r--r-- | src/buffer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer.h b/src/buffer.h index 9f3897d1c..cbb6c190a 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -50,6 +50,7 @@ typedef struct rspamd_io_dispatcher_s { size_t file_size; int sendfile_fd; gboolean in_sendfile; /**< whether buffer is in sendfile mode */ + gboolean strip_eol; /**< strip or not line ends in BUFFER_LINE policy */ #ifndef HAVE_SENDFILE void *map; #endif |