summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* * New rspamd protocol (changed replies)Vsevolod Stakhov2009-03-031-5/+5
| | | | | | | | * Add ability to attach string lists to symbols * Check destructors and do not add identical destructors (argument and function) to pool's destructors * Remove 2 warnings when building with gmime22 * Attach url names to surbl symbols * Fix bug with blocking on read (I think it is linux specific thought)
* * Fix dispatcher bugs and add some debug outputVsevolod Stakhov2009-03-021-3/+29
| | | | * Fix log output for surbl
* * Fix character policy in dispatcherVsevolod Stakhov2009-03-021-3/+9
|
* * Fix dispatcher timeouts handlingVsevolod Stakhov2009-02-201-10/+34
| | | | * Add wanna_die flag that can be used in dispatcher's callbacks
* * Implement rspamd IO with IO dispatcher (TODO: still some issues with ↵Vsevolod Stakhov2009-02-191-0/+355
timeouts must be resolved)