Vsevolod Stakhov
8262bfa73f
[Minor] Another try to fix reuseport damage
3 years ago
Vsevolod Stakhov
1b474dbb56
[Minor] Another fix of reload case
3 years ago
Vsevolod Stakhov
a742fed63c
[Minor] Terminate old workers after new workers are spawned
3 years ago
Vsevolod Stakhov
4d5f68b647
[Minor] Remove some useless includes
4 years ago
Vsevolod Stakhov
903111c6cc
[Project] Do not listen sockets in the main process
4 years ago
Vsevolod Stakhov
ae6f563623
[Project] Preliminary usage of the reuseport
4 years ago
Vsevolod Stakhov
488f72bad4
[Minor] Add flags to listen socket creation
4 years ago
Vsevolod Stakhov
4f69d50e5e
[Minor] Add flag for systemd sockets
4 years ago
Vsevolod Stakhov
45f223de8f
[Minor] Close sockets that do not belong to a current worker
4 years ago
Vsevolod Stakhov
26e5e6d668
[Minor] Show count of workers to be killed
4 years ago
Vsevolod Stakhov
192c6b791d
[Minor] Try harder to avoid races on child termination
4 years ago
Vsevolod Stakhov
0e1e5111e3
[Minor] Do not use signalfd - it is totally broken in libev
4 years ago
Vsevolod Stakhov
856a786462
[Fix] Try hard to deal with ghost workers
4 years ago
Thierry Fournier
a13343134a
[Minor] Segfault for some configuration.
When the configuration file contains only these two lines, rspamd
try to send log which announce that it can bind the soket, but
"bind_conf" is NULL and it is dereferenced, so we have a segfault.
worker "normal" {
}
This patch fix the segfault.
4 years ago
Thierry Fournier
6d651a8d09
[Minor] --var doesn't work
We can add varaibels on the command line after argument or using --var parameter.
When --var is used, an assertion is triggered:
./rspamd.install/bin/rspamd --var LOGDIR=/tmp/
(rspamd:7171): GLib-CRITICAL **: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed
The hash table is not initialized, because the table is initialized after
the argument parser.
This patch initialize the hash table on demand.
Note: the patch is tested on 1.9 version and not on master, because I can't compile the master branch.
Note: I suggest to backport the patch on 1.9 version
4 years ago
Vsevolod Stakhov
b65f3234c4
[Minor] Fix strict config checks
4 years ago
Peter Wu
52627a1828
[Fix] Support listening on systemd sockets by name
* Add support for looking up sockets by the systemd socket name, e.g.
`systemd:rspamd-proxy.socket` or the name from `FileDescriptorName`.
https://www.freedesktop.org/software/systemd/man/sd_listen_fds.html
* Replace EOVERFLOW error code to avoid confusing error messages.
Fixes: #2035
4 years ago
Vsevolod Stakhov
6af47225c0
[Minor] Fix daemonisation...
4 years ago
Vsevolod Stakhov
41e28d1148
[Rework] Further project structure reorganisation
4 years ago
Vsevolod Stakhov
3424122c9d
[Rework] Logger: Fix issues found so far
4 years ago
Vsevolod Stakhov
7630467d75
[Rework] More logger refactoring
4 years ago
Vsevolod Stakhov
b4ce11041f
[Minor] Remove some old unused crap
4 years ago
Vsevolod Stakhov
92abcea04f
[Project] Support mempool flags
4 years ago
Vsevolod Stakhov
4a6835185d
[Minor] Improve logging
4 years ago
Vsevolod Stakhov
296c0cd694
[Rework] Rework final scripts logic
4 years ago
Vsevolod Stakhov
87a2bd1097
[Feature] Shutdown timeout is now associated with task timeout
4 years ago
Vsevolod Stakhov
7d237da393
[Minor] Slightly improve logging in case of termination
4 years ago
Vsevolod Stakhov
ad664dd4c6
[Feature] Allow to explicitly set events backend
4 years ago
Vsevolod Stakhov
883bd841dc
[Feature] Improve logging locking logic (remove it actually)
4 years ago
Vsevolod Stakhov
1b7855b977
[Minor] Improve logging reopening
4 years ago
Vsevolod Stakhov
0b85883f8b
[Fix] Fix hearbeats restart issue
4 years ago
Vsevolod Stakhov
39dfdab80d
[Minor] Remove unused struct timeval
4 years ago
Vsevolod Stakhov
1880656d8c
[Fix] Fix reload logic
4 years ago
Vsevolod Stakhov
dda7c33893
[Fix] Do not use ephemeral string
4 years ago
Vsevolod Stakhov
3b92c50951
[Minor] Try to fix use after free
4 years ago
Vsevolod Stakhov
04127efeba
[Fix] Distinguish remote and local addrs parsing
4 years ago
Vsevolod Stakhov
66d8b6e434
[Fix] Do not call implicit strlen to avoid issues
4 years ago
Vsevolod Stakhov
884a962a1e
[Project] More work towards heartbeating logic implementation
4 years ago
Vsevolod Stakhov
d4be8b2d63
[Feature] Output number of messages processed to proctitle
4 years ago
Vsevolod Stakhov
3d97675cf4
[Project] Add preliminary support of the heartbeats
4 years ago
Vsevolod Stakhov
f985d29e6a
[Minor] Some more reload fixes
4 years ago
Vsevolod Stakhov
ab3d1bc569
[Rework] Rework config reload
4 years ago
Vsevolod Stakhov
9026da71bb
[Rework] Use libsodium instead of hand crafted crypto implementations
5 years ago
Vsevolod Stakhov
4fb70ed76f
[Minor] Log unlocked when doing cleanup
5 years ago
Vsevolod Stakhov
f85f2461c2
[Minor] Actually, remove all obsoleted options
5 years ago
Vsevolod Stakhov
acf6f748a9
[Minor] Stop support of `-t` flag in Rspamd
5 years ago
Vsevolod Stakhov
364641b4bd
[Minor] Fix various crap
5 years ago
Vsevolod Stakhov
516cc495ba
[Minor] Fix include paths
5 years ago
Vsevolod Stakhov
d289a3e2e2
[Minor] Show used loop backend
5 years ago
Vsevolod Stakhov
7c4eb706c1
[Project] Another try to deal with final events
5 years ago