Mikhail Galanin
43d3cc3d8a
[Minor] Log should not depend on config
When config is being closed, some destructors could be called, and that dtors could write into log. Hence, it is better to terminate config and only then close log. And log should not refer disposed config
5 years ago
Vsevolod Stakhov
6b71fcb72f
[Rework] Run post-loads when all initialization is completed
7 years ago
Vsevolod Stakhov
8c673af470
[Feature] Improve maps checking frequency
7 years ago
Alexander Moisseev
bb5a9f8e45
[Minor] Massive spelling correction
by a bot https://github.com/ka7/misspell_fixer
7 years ago
Vsevolod Stakhov
99886642f9
[Fix] Fix abstract context layout
7 years ago
Vsevolod Stakhov
8fbd198065
[Minor] Refactor destroy -> free
7 years ago
Vsevolod Stakhov
0bb9a7f42c
[Fix] Forgotten worker
7 years ago
Vsevolod Stakhov
653ecce56f
[Fix] Plug termination memory leaks
7 years ago
Vsevolod Stakhov
26d6ee9911
[Fix] Fix usage of config during reload
7 years ago
Vsevolod Stakhov
47b84671de
[Minor] Rename lua_worker metatable
7 years ago
Vsevolod Stakhov
be3414a88c
[Feature] Execute on_load scripts with ev_base ready
7 years ago
Vsevolod Stakhov
0988e1b1b1
[Feature] Add protection against open files limit and accepting sockets
8 years ago
Vsevolod Stakhov
8fd0795fef
[Feature] Rework listening system to allow multiple socket types per worker
8 years ago
Vsevolod Stakhov
6a74976d44
[Feature] Add magic for all workers' contexts
8 years ago
Vsevolod Stakhov
c442adeaa2
[Feature] Rework system of workers' flags
8 years ago
Vsevolod Stakhov
e4d146bfc8
Fix maps initialisation
8 years ago
Vsevolod Stakhov
6bc5286496
Refactor UCL API
8 years ago
Vsevolod Stakhov
d54124d738
Add versions to rspamd modules and workers
8 years ago
Vsevolod Stakhov
c2cbcd8d98
Fix some issues found by coverity
8 years ago
Vsevolod Stakhov
b35299b4e3
Fix leaks in lua error paths
8 years ago
Vsevolod Stakhov
8766fba694
Switch the rest to apache 2
8 years ago
Vsevolod Stakhov
49df9c2db6
Add documentation for all workers' options
8 years ago
Vsevolod Stakhov
4ce549ad00
Remove shit added by CLion
8 years ago
Vsevolod Stakhov
19f28d8547
Add ability to insert documentation strings
Issue: #461
8 years ago
Vsevolod Stakhov
d48900e14e
Block signals when exiting event loop
8 years ago
Vsevolod Stakhov
c1a9b4988a
Remove global rspamd_main.
8 years ago
Vsevolod Stakhov
eb737947eb
Reorganize includes to reduce namespace pollution.
8 years ago
Vsevolod Stakhov
3afc4aba24
Rename main.h and main.c to `rspamd.X`
8 years ago
Vsevolod Stakhov
25b0522484
Avoid global rspamd_main usage.
9 years ago
Vsevolod Stakhov
2a5e10cd47
Hide workers and modules definitions.
9 years ago
Vsevolod Stakhov
c39cf8095a
Push inet addr instead of the string for lua worker.
9 years ago
Vsevolod Stakhov
18f65c160d
Fix lua worker.
9 years ago
Vsevolod Stakhov
d2150fc165
Refactor function names.
9 years ago
Vsevolod Stakhov
df48f709f8
Rework lua function names to avoid ambiguity.
10 years ago
Vsevolod Stakhov
379055dbbb
Unify style without sorting headers.
10 years ago
Vsevolod Stakhov
fe79d8c5a3
Revert "Unify code style."
This reverts commit e0483657ff
.
10 years ago
Vsevolod Stakhov
e0483657ff
Unify code style.
10 years ago
Vsevolod Stakhov
133ea7b1ca
Adopt for the new lua ucl API.
10 years ago
Vsevolod Stakhov
d6643f35d7
Refactor config API.
10 years ago
Vsevolod Stakhov
6120d29402
Use unified signal handlers.
10 years ago
Vsevolod Stakhov
53e8a8b05b
Finish conversion to new inet addr structure.
10 years ago
Vsevolod Stakhov
baeb17562f
Deprecate xml config utilities finally.
10 years ago
Vsevolod Stakhov
ea2e597208
Adopt new libucl.
10 years ago
Vsevolod Stakhov
1b251c6d60
Adopt DNS logging.
10 years ago
Vsevolod Stakhov
b0684dcde3
Unbreak lua_worker with ucl.
10 years ago
Vsevolod Stakhov
486f0cdddc
Convert webui worker.
10 years ago
Vsevolod Stakhov
8abd76b18f
Allow listening on multiply addresses.
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.
11 years ago
Vsevolod Stakhov
7cc8754ad9
Adopt to lua 5.2.
11 years ago
Vsevolod Stakhov
813f1f407f
Fix some warnings that actually are dangerous.
11 years ago
Vsevolod Stakhov
8e399cdba1
* Use murmur hash for all hashes as it is more efficient and provides more uniform distribution as glib's default one.
* Fix probability renormalization while using advanced classification.
11 years ago