summaryrefslogtreecommitdiffstats
path: root/src/worker.c
Commit message (Collapse)AuthorAgeFilesLines
* Use is_json for compatibility output.Vsevolod Stakhov2014-04-051-1/+0
|
* Adopt DNS logging.Vsevolod Stakhov2014-02-201-1/+1
|
* Fix empty messages processing.Vsevolod Stakhov2014-02-181-1/+4
|
* Start webui worker adopt to the HTTP world.Vsevolod Stakhov2014-01-281-1/+1
|
* Move fin_task to a common rspamd_fin_task function.Vsevolod Stakhov2014-01-211-118/+4
|
* Implement refcount for http connection.Vsevolod Stakhov2014-01-201-1/+3
|
* Simplify states of task. Disable broken code.Vsevolod Stakhov2014-01-191-7/+39
|
* Parse HTTP requests, cleanup the code.Vsevolod Stakhov2014-01-181-266/+22
| | | | | --HG-- extra : rebase_source : 6b35fbf55fc9fe65d7f033620670bb210928e9b4
* Implement HTTP session for normal worker.Vsevolod Stakhov2014-01-131-6/+31
|
* Start moving to HTTP world.Vsevolod Stakhov2014-01-121-1/+106
|
* Add hostname attribute to rspamc protocol.Vsevolod Stakhov2014-01-061-3/+0
|
* Rework rspamd DNS resolver.Vsevolod Stakhov2013-12-101-4/+10
|
* Remove custom filters as they have never been used.Vsevolod Stakhov2013-10-261-273/+4
|
* Adopt normal worker for new params parsing.Vsevolod Stakhov2013-09-301-9/+29
|
* Another try to fix skipped messages.Vsevolod Stakhov2013-09-111-1/+9
|
* More fixes to skipped tasks processing.Vsevolod Stakhov2013-09-111-1/+16
|
* Allow listening on multiply addresses.Vsevolod Stakhov2013-07-201-22/+4
| | | | | | | Now rspamd can listen on multiply ipv4/ipv6 addresses. Removed legacy workers (lmtp, kvstorage) as they are never used in production. Try to unify workers initialization.
* Fix output for counters command.Vsevolod Stakhov2013-06-071-1/+1
|
* Update buffers logic for streaming read.Vsevolod Stakhov2013-06-061-8/+0
|
* Another fix to streaming handle.Vsevolod Stakhov2013-06-061-0/+1
|
* Fix misprint in operator.Vsevolod Stakhov2013-06-061-1/+1
|
* Stream read fix.Vsevolod Stakhov2013-06-061-2/+10
|
* Allow parsing streams without Content-Length.Vsevolod Stakhov2013-06-061-6/+43
|
* Avoid global variables in map logic.Vsevolod Stakhov2012-09-191-1/+1
| | | | * Add support of simple maps like '/path/to/file' as it seems to be more comfortable than 'file:///...'
* 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
|
* * Rework thread pools locking logic to avoid global lua mutex usage.Vsevolod Stakhov2012-08-221-1/+3
| | | | | | Fixed several memory leaks with modern glib. Fixed memory leak in dkim code. Fixed a problem with static global variables in shared libraries.
* Avoid using global 'counters' hash, include it in struct rspamd_main.Vsevolod Stakhov2012-06-071-187/+0
| | | | | Move worker related utils to separate file and include it in rspamd-mime library. Add some cross-dependencies.
* * Split rspamd build to several independent libraries to reduce overhead.Vsevolod Stakhov2012-06-051-0/+21
|
* * Fix spf plugin that was broken in 0.4.7Vsevolod Stakhov2012-04-201-1/+0
| | | | * Add partial ipv6 support for some rspamd modules.
* Allow rspamd dispatcher code to process half-closed connections.Vsevolod Stakhov2012-04-201-0/+2
|
* * Implement pre-filters that realizes concepts to check mail by some ↵Vsevolod Stakhov2012-03-301-22/+73
| | | | | | | | absolute values like: - greylisting - DNS BL/WL - ratelimits
* * More things to be thread-safe:Vsevolod Stakhov2012-02-131-13/+18
| | | | | | | - 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-131-9/+11
| | | | Another try to fix threading.
* Fixes to threading (still incomplete).Vsevolod Stakhov2012-01-311-1/+38
|
* * Introduce new system of worker's and modules initialization:Vsevolod Stakhov2012-01-161-7/+22
| | | | | | | | - 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.
* Allow for post filters to register async events.Vsevolod Stakhov2011-12-161-7/+25
| | | | Some fixes to lua redis library.
* * Finally get rid of stupid savepoints system and migrate to async events ↵Vsevolod Stakhov2011-12-141-12/+26
| | | | | | logic completely Fix lua redis library.
* Reorganize util.c as it should contain only common utilities.Vsevolod Stakhov2011-12-071-0/+169
| | | | Libkvstorage client is now deprecated as I plan to replace it with hiredis library.
* Check for SIGUSR1 by libevent to avoid signals collisions.Vsevolod Stakhov2011-11-301-9/+25
| | | | Remove greylist_storage as it was never used and is actually replaced with basic kvstorage.
* Fix main rspamd worker to work with buffer.c changes.Vsevolod Stakhov2011-11-071-0/+5
|
* * Use event_base thread safe API to allow parallelism based on threadsVsevolod Stakhov2011-10-261-5/+9
|
* Fix critical bug with lua stack cleaning that caused heavy memory leaks.0.4.3Vsevolod Stakhov2011-08-121-1/+0
| | | | Update to 0.4.3.
* Fix signness in arithmetic operations.Vsevolod Stakhov2011-08-041-1/+1
|
* Fix controller stages and debug info.Vsevolod Stakhov2011-08-011-0/+4
| | | | Handle timeouts in librspamdclient correctly.
* * Add max_tokens options to avoid classifying and learning with too much ↵Vsevolod Stakhov2011-07-261-4/+1
| | | | | | tokens from one message. Fix stupid memory leakage on client's timeout.
* * Implement max tasks per worker settingVsevolod Stakhov2011-07-261-0/+24
|
* * Rework build process:Vsevolod Stakhov2011-05-101-185/+2
| | | | | | | | | | - 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
* * Add ability to learn rspamd via worker (without password)0.3.11Vsevolod Stakhov2011-03-311-17/+40
|
* * Preload statfiles at the early beginning in the main processVsevolod Stakhov2011-03-311-3/+12
| | | | | * Add JSON output for rspamd worker * Add HTTP protocol support for rspamd worker