aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix stupid error in aio_write.Vsevolod Stakhov2012-03-151-0/+3
|
* Fix proxy logic.Vsevolod Stakhov2012-03-133-37/+48
|
* Cleanup callback's data for aio.Vsevolod Stakhov2012-03-131-0/+1
|
* Aio context must be long not int.Vsevolod Stakhov2012-03-111-9/+27
| | | | O_DIRECT on linux requires strict memory alignment.
* Add offset support to aio operations.Vsevolod Stakhov2012-03-112-18/+26
|
* * Add initial implementation of proxy objectVsevolod Stakhov2012-03-079-80/+977
| | | | * Add simple smtp proxy worker
* Fix aio syscall numbers for x86_64 platform.Vsevolod Stakhov2012-03-061-5/+21
|
* Fix asynchronous IO API.Vsevolod Stakhov2012-03-012-40/+64
| | | | Write test case for aio.
* Separate librspamdserver API from plugins and workers functions.Vsevolod Stakhov2012-03-013-596/+600
| | | | Make tests compileable again.
* Use DB_HASH access method for bdb backend.Vsevolod Stakhov2012-03-018-9/+14
| | | | 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
|
* Another workaround for old glib.Vsevolod Stakhov2012-02-212-2/+7
|
* Workaround for old glib.Vsevolod Stakhov2012-02-172-3/+6
|
* Add support of buffered IO reset to support persistent connections.Vsevolod Stakhov2012-02-164-8/+46
|
* Add temporary pages to pool allocator to allow reset of some pool data.Vsevolod Stakhov2012-02-152-14/+130
|
* Fix build.Vsevolod Stakhov2012-02-151-1/+1
|
* More fixes to thread-safe processing.Vsevolod Stakhov2012-02-144-32/+91
|
* * More things to be thread-safe:Vsevolod Stakhov2012-02-1315-40/+189
| | | | | | | - pool allocator is now thread-safe - lua subsystem now holds lock to avoid lua stack corruption - events subsystem now using conditional variables to wait for async_threads - insert_result is thread-safe now
* Add quarks to events to determine source of event inside rspamd.Vsevolod Stakhov2012-02-1312-28/+55
| | | | Another try to fix threading.
* Fix build with glib <= 2.30.Vsevolod Stakhov2012-02-031-1/+11
|
* Fixes to threading (still incomplete).Vsevolod Stakhov2012-01-316-41/+129
|
* Rework events library slightly:Vsevolod Stakhov2012-01-314-66/+45
| | | | | - forced events are no longer checked or created - add async threads to prevent session to be destroyed till all threads are finished
* Fix critical bug with events checking during filters processing.Vsevolod Stakhov2012-01-311-0/+1
|
* Adopt rspamd for the next glib release.Vsevolod Stakhov2012-01-317-76/+177
| | | | | Fix several issues in threads handling inside keystorage. Fix sigsuspend usage in keystorage.
* * Add support to process regexp in multiply threads by using thread pool.Vsevolod Stakhov2012-01-301-9/+66
|
* Fix hashing in events library.Vsevolod Stakhov2012-01-201-10/+1
|
* * Introduce new system of worker's and modules initialization:Vsevolod Stakhov2012-01-1624-297/+294
| | | | | | | | - Removed legacy limitation of worker's types; - Using GQuarks to identify workers and modules; - Remove modules.sh script; - Add a common system of workers and modules; - Write management and configuration for new architecture.
* * Add AIO framework for linux io(3) interface.Vsevolod Stakhov2012-01-162-0/+479
|
* More cleanups and fixes for compiler warnings.0.4.6Vsevolod Stakhov2011-12-206-12/+12
|
* Make compiler happy in several cases, remove warnings.Vsevolod Stakhov2011-12-2010-23/+53
|
* Add expire and whitelist options to ip_score plugin.Vsevolod Stakhov2011-12-164-5/+43
| | | | Some fixes to expiration of keys (still need to be reworked however).
* * Add new plugin ip_score to set and get score for specified ip address.Vsevolod Stakhov2011-12-162-2/+158
|
* Allow for post filters to register async events.Vsevolod Stakhov2011-12-168-33/+126
| | | | Some fixes to lua redis library.
* * Now it is possible to specify local functions to every callback of rspamd ↵Vsevolod Stakhov2011-12-143-52/+200
| | | | | | | | | lua API, that will allow such things as passing different variables via lua closures mechanic. Use config pool for configuration allocation in lua API to avoid leaks on config reload.
* Detect and use fallocate/posix_fallocate.Vsevolod Stakhov2011-12-144-0/+25
|
* * Finally get rid of stupid savepoints system and migrate to async events ↵Vsevolod Stakhov2011-12-1415-301/+202
| | | | | | logic completely Fix lua redis library.
* Add another workaround for CentOS.Vsevolod Stakhov2011-12-142-1/+15
|
* Move some debug logic.Vsevolod Stakhov2011-12-141-27/+16
|
* Fix build with system-wide libhiredis.Vsevolod Stakhov2011-12-131-0/+8
|
* * Add lua bindings to hiredis libraryVsevolod Stakhov2011-12-125-13/+423
| | | | Polish some comments.
* Reorganize util.c as it should contain only common utilities.Vsevolod Stakhov2011-12-076-240/+256
| | | | Libkvstorage client is now deprecated as I plan to replace it with hiredis library.
* If message has no 'To/CC' headers do not try to count elements in nil table.Vsevolod Stakhov2011-12-071-1/+4
|
* Fix stupid glib error with G_REGEX_RAW flag which is actually ~PCRE_UTF8.Vsevolod Stakhov2011-12-071-21/+39
|
* * Add <no_overwrite> flag for keystorage preventing from overwriting keys ↵Vsevolod Stakhov2011-12-016-63/+279
| | | | | | (works for cryptographic keys). * Add <ref> flag for file backend that enables reference count for items in this backend.
* Ignore something that looks like email but has no username.Vsevolod Stakhov2011-12-011-2/+4
|
* Add -i flag allowing to run workers as root.Vsevolod Stakhov2011-11-302-15/+32
|
* * Fix reopening of logs in case of privilleged run.Vsevolod Stakhov2011-11-304-39/+110
|
* Check for SIGUSR1 by libevent to avoid signals collisions.Vsevolod Stakhov2011-11-3012-467/+123
| | | | Remove greylist_storage as it was never used and is actually replaced with basic kvstorage.
* Expire an element if forced expire is required.Vsevolod Stakhov2011-11-301-2/+2
|