aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
Commit message (Collapse)AuthorAgeFilesLines
* Some fixes to buffered IO.Vsevolod Stakhov2013-11-081-0/+1
|
* Zero dispatcher structure before using.Vsevolod Stakhov2013-11-081-1/+1
|
* Improve output buffering architecture.Vsevolod Stakhov2013-10-101-107/+86
|
* Another try to fix skipped messages.Vsevolod Stakhov2013-09-111-0/+1
|
* Another buffers fix.Vsevolod Stakhov2013-06-061-1/+0
|
* Update buffers logic for streaming read.Vsevolod Stakhov2013-06-061-2/+9
|
* Force restful replies for restful sessions (not tested with all commands).Vsevolod Stakhov2012-09-161-3/+3
|
* Another debian license fix.Vsevolod Stakhov2012-09-101-1/+1
| | | | | Add apache license for regexp that were delivered from SpamAssassin project. Fix debian/copyright for src/dns.c.
* Update copyright (required by debian).Vsevolod Stakhov2012-09-041-3/+3
|
* Allow rspamd dispatcher code to process half-closed connections.Vsevolod Stakhov2012-04-201-8/+36
|
* Use DB_HASH access method for bdb backend.Vsevolod Stakhov2012-03-011-1/+1
| | | | Fix signed and unsigned comparasion while I'm here.
* Forgot event_del.Vsevolod Stakhov2012-02-211-0/+1
|
* Some fixes to dispatcher code to allow change policy more flexible.Vsevolod Stakhov2012-02-211-1/+7
|
* Add support of buffered IO reset to support persistent connections.Vsevolod Stakhov2012-02-161-8/+20
|
* Release read lock lately.Vsevolod Stakhov2011-11-071-0/+3
|
* * Significate performance improving by vectorizing IO output (about 4 times ↵Vsevolod Stakhov2011-10-311-22/+94
| | | | for kv storage).
* * Fix threading in kvstorage.Vsevolod Stakhov2011-10-311-3/+3
| | | | Rspamd now can detect and work with libevent-2.
* * Use event_base thread safe API to allow parallelism based on threadsVsevolod Stakhov2011-10-261-1/+16
|
* Fix signness in arithmetic operations.Vsevolod Stakhov2011-08-041-5/+5
|
* Fix dispatcher restoration (fix for controller's logic)Vsevolod Stakhov2011-08-011-4/+9
|
* Fix controller stages and debug info.Vsevolod Stakhov2011-08-011-2/+2
| | | | Handle timeouts in librspamdclient correctly.
* * Add max_tokens options to avoid classifying and learning with too much ↵Vsevolod Stakhov2011-07-261-8/+6
| | | | | | tokens from one message. Fix stupid memory leakage on client's timeout.
* Do not try to use information about dispatcher after callback fails (found ↵Vsevolod Stakhov2011-07-191-1/+0
| | | | by valgrind).
* Use event_set correctly after event_del.Vsevolod Stakhov2011-07-181-0/+1
|
* * Add learn_spam/learn_ham interface to librspamdclient and to rspamcVsevolod Stakhov2011-07-141-0/+9
| | | | | * Improve logic of io dispatcher restoration Remove correction factor from bayes as it leads to classify errors.
* * Rework build process:Vsevolod Stakhov2011-05-101-1/+1
| | | | | | | | | | - add librspamdserver - link this library to all daemons and utils of rspamd - use subdirectories more often * Rework global variables logic - move them to the main process * Fix logging to handle utf-8 correctly * Add statshow utility and make it working * Move printf functions to separate source file
* Fixes bugs found with clang-static analyser.Vsevolod Stakhov2010-10-111-20/+22
| | | | | Strictly follow c99 standart. Turn on pedantic c99 checks.
* Fixes types (use glib ones) no functional change.Vsevolod Stakhov2010-10-061-12/+14
| | | | | Now all comments in commit logs beginning with '*' would be included in changelog, so important changes would be separated from small ones.
* * Many fixes to statfile syncronization systemVsevolod Stakhov2010-09-021-0/+4
| | | | * Fixed statfile pool initialization and synchronization with disk
* * Allocate some more bytes for read buffer to avoid incorrect behavoiurVsevolod Stakhov2010-07-271-2/+2
|
* * Pass env from main() arguments instead of platform specific global environVsevolod Stakhov2010-06-221-1/+1
|
* * Darwin sendfile(2) supportVsevolod Stakhov2010-06-221-4/+9
|
* * Rewrite buffered input for line policy (again)Vsevolod Stakhov2010-06-221-34/+41
| | | | | | | | * Fix issue with links that are ip addresses in numeric form in surbl * On Darwin use BSD style sendfile definition * Reorganize platform specific knobs in CMakeLists * Use gettimeofday on systems that have not clock_getres * Use ftime for dns trans id generation on systems without clock_getres
* * Try to fix memmove issues in io dispatcherVsevolod Stakhov2010-06-211-5/+11
| | | | * Remove debug from SURBL module
* * Some performance improvements to IO dispatcher (do not drain the whole ↵Vsevolod Stakhov2010-06-181-14/+35
| | | | | | buffer after a single line readed) * Fix smtp data input
* * Check messages received via smtp proxyVsevolod Stakhov2010-06-101-8/+178
| | | | | | * Add support for sendfile in io dispatcher * Fix issues with compatibility of worker_task and smtp proxy * Proxy DATA command
* * Implement basic SMTP dialog:Vsevolod Stakhov2010-06-091-0/+6
| | | | | | | | - delay - helo - mail from - rcpt * Implement interaction with smtp upstream (with support of XCLIENT)
* * Continue implementing smtp proxyVsevolod Stakhov2010-05-261-0/+5
|
* * Introduce new logging system:Vsevolod Stakhov2009-12-221-11/+11
| | | | | | | | | - independent and customizeable buffering - line buffering - errors handling support - custom (ip based) debug - append function name automaticaly (based on __FUNCTION__) - add some logic to logs system
* * Another fixes to synchronization of statfilesVsevolod Stakhov2009-12-031-0/+5
|
* * Adopt printf function from nginx for comfortable printing of some data ↵Vsevolod Stakhov2009-11-301-3/+4
| | | | | | | types (fixed strings, pids etc) * Fix work of http maps (they were broken in some places before) * Fix sync of statfiles (not fully tested yet)
* * Retab, no functional changesVsevolod Stakhov2009-10-021-109/+100
|
* * Fix CRLF parsingVsevolod Stakhov2009-09-241-1/+1
| | | | * Fix pidfile in start script
* * Implement new system of async events handling (experimental)Vsevolod Stakhov2009-09-221-42/+29
|
* * Add time out for sync IO as it can cause unpredictable errorsVsevolod Stakhov2009-09-211-0/+3
|
* * Improve google perf tools supportVsevolod Stakhov2009-08-251-6/+22
| | | | * Pass to event_add only copies of struct timeval to avoid timing problems
* * Add urls output to urls commandVsevolod Stakhov2009-07-021-5/+13
| | | | * Improve performance of dispatcher by avoiding double allocating and copying of dynamic buffers
* * Remove some warningsVsevolod Stakhov2009-07-011-1/+1
|
* * Improve performance of IO reading by reworking IO dispatcher algorithmVsevolod Stakhov2009-05-081-41/+39
|
* * Fix bug in url parser with freeing memory allocated by memory_pool allocatorVsevolod Stakhov2009-03-041-4/+3
| | | | * Do not write to log if we don't do any read operation in dispatcher library