Vsevolod Stakhov
12f965bf98
[Fix] Allow to set 0 as number of rows to disable roll history
Issue: #4947
Closes: #4947
1 week ago
Vsevolod Stakhov
6dd417bc9f
[Minor] Deal with descriptors in the wait queue
2 weeks ago
Vsevolod Stakhov
af228fdec3
[Minor] Do not use pointers to local variables, sigh
2 weeks ago
Vsevolod Stakhov
bd95a45f15
[Minor] Try to fix mess with refcounts
2 weeks ago
Vsevolod Stakhov
6d1762d85e
[Rework] Serialize control commands
In fact, we cannot send multiple commands and read them through the pipe. It has
caused multiple weird issues in the past but I can now see clearly how it should
be done. We should send commands and serialize all requests pending to let them
being sent one by one, after reply for the previous command has been received.
2 weeks ago
Vsevolod Stakhov
a96ff38346
[Project] Adjust some final bits
1 month ago
Vsevolod Stakhov
ae103665a2
[Project] Rework grow factor as it is currently broken
1 month ago
Vsevolod Stakhov
f4f89705b3
[Fix] Fix shared memory proxying when compression is set
1 month ago
Vsevolod Stakhov
fbc6e35dba
[Feature] Allow custom milter quarantine and tempfail messages
Issue: #4892
Closes: #4892
1 month ago
Vsevolod Stakhov
2038f3c92a
[CritFix] Protect regexp matcher from regexps with empty patterns
Issue: #4885
Closes: #4885
1 month ago
Vsevolod Stakhov
14c13854d3
[Rework] Further types conversion (no functional changes)
1 month ago
Vsevolod Stakhov
6b2b416718
[Rework] Remove some of the GLib types in lieu of standard ones
This types have constant conflicts with the system ones especially on OSX.
1 month ago
Vsevolod Stakhov
1d0ff299f5
[Fix] Do not save multipatterns to FS in certain cases
1 month ago
Vsevolod Stakhov
fa45782ada
[Minor] Fix invocation
2 months ago
Vsevolod Stakhov
9b78be4f03
[Feature] Support reply in message pack format
Rspamd currently sends reply in JSON format. However, message pack seems to
be a better choice for a compatible client. It is faster and does not need
escaping or even UTF8 validation. This is a surface for further updates.
2 months ago
moisseev
e6bde4044a
[Minor] Add HTTP_MAGIC_SVG key
2 months ago
moisseev
1ef13a2419
[Minor] Serve SVG with the correct CT
2 months ago
Vsevolod Stakhov
75327b3889
[Project] Convert the remaining
2 months ago
Vsevolod Stakhov
8238dc0a23
[Project] Start optimization of userdata hashing
2 months ago
Vsevolod Stakhov
6296080e41
[Fix] Fix initial maps load
2 months ago
Vsevolod Stakhov
f8210a5ba9
[Test] Add unit tests
3 months ago
Vsevolod Stakhov
d3a56d9509
[Fix] Try to fix url path issue
3 months ago
Vsevolod Stakhov
cb6478111d
[Minor] Add LOG_CONS flag to `openlog`
3 months ago
Vsevolod Stakhov
d650562632
[Feature] Support JSON logging when in syslog mode
3 months ago
Vsevolod Stakhov
4015346e2f
[Fix] Fix potential double free by expclicitly zeroing pointers
3 months ago
Julien Voisin
177e3e6f61
Update cfg_utils.cxx
Fix another dumb s/NULL/nullptr/g
4 months ago
Julien Voisin
2a8909f88b
Update cfg_rcl.cxx
Fixed an overzealous s/NULL/nullptr/g
4 months ago
Adam Majer
8ff289c53d
[CritFix] - Fix reported length of logging structure
The logging code contains one place where the apparent size of the
logging structure is defined and then it's actually utilized in another
place. Re-writes and refactoring this code ended up with these
values to not co-relate what was previously there resulting in a stack
overwrite in last version or currently in log truncation.
Move assignment of logging structure to the place where it's actually
used, reducing future logic de-sync dangers. Also move the g_assert() to
the end as it should be a development aid only.
5 months ago
Vsevolod Stakhov
b4d6ebf474
[Project] Move the whole backend to C++
Easier to work further.
5 months ago
Vsevolod Stakhov
1e02b32deb
[Rework] Use a more sane data structure and refactor
5 months ago
Vsevolod Stakhov
f3c299ded9
[Fix] Fix some corner cases when parsing maps with no newlines
5 months ago
Vsevolod Stakhov
d907a95ac2
[Minor] Fix build with no hyperscan
Issue: #4702
5 months ago
Vsevolod Stakhov
3e29be1422
[Fix] Another try to fix setproctitle
6 months ago
Vsevolod Stakhov
2da8749c23
[Fix] Fix various issues with canonicalisation of the paths
6 months ago
Vsevolod Stakhov
aca7d247cc
[Fix] Fix bad access when printing pending events on failure path
6 months ago
Vsevolod Stakhov
1fbc13099e
[Feature] Support ping command in fuzzy storage
6 months ago
Vsevolod Stakhov
3e228133bb
[Minor] Document `gtube_patterns`
6 months ago
Vsevolod Stakhov
c203493c90
[Feature] Reiterate on gtube patterns
6 months ago
Vsevolod Stakhov
843b08d0b9
[Minor] Improve diagnostic by rising log level
6 months ago
Vsevolod Stakhov
e50a30ca35
[Minor] Use floating point ts instead of microseconds
6 months ago
Vsevolod Stakhov
be7504e393
[Fix] Do not cleanup hyperscan files unless new ones are loaded
6 months ago
Vsevolod Stakhov
52c535ad6a
[Feature] Escape JSON when needed
6 months ago
Vsevolod Stakhov
5a56747242
[Minor] Fix some minor issues
6 months ago
Vsevolod Stakhov
bae5cd020f
[Project] Preliminary support of JSON logging
6 months ago
Vsevolod Stakhov
ae8621d2fb
[Minor] Really fix the issue
6 months ago
Vsevolod Stakhov
8d70c4a501
[Fix] A workaround for brain-damaged std::filesystem behaviour
Issue: #4665
6 months ago
Vsevolod Stakhov
48fffd3548
[Minor] Simplify by using <filesystem>
6 months ago
Vsevolod Stakhov
65bb5ba99e
[Feature] Allow to set HTTP auth parameters for the maps
7 months ago
Vsevolod Stakhov
b59249576f
[Minor] Refactor logging function to join console and file
7 months ago
Vsevolod Stakhov
ac2ee05594
[Fix] Do not pollute public headers with libev internals
8 months ago