Vsevolod Stakhov
fa56ac77de
[Fix] Do not read out-of-boundary when doing base64 encoding
2 weeks ago
Vsevolod Stakhov
917cdf87bf
[Minor] Add function to reschedule events at specific timer
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
2038f3c92a
[CritFix] Protect regexp matcher from regexps with empty patterns
Issue: #4885
Closes: #4885
1 month ago
Vsevolod Stakhov
05636d9af8
[Minor] Deny zero length in regexp search functions
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
4fd676e6f5
[Minor] Add some convenience methods
3 months ago
Vsevolod Stakhov
1fee9a3901
[Fix] Make words selection random deterministic upon content
3 months ago
Vsevolod Stakhov
18c4390ea0
[Minor] Allow to steal variables from the mempool
5 months ago
Vsevolod Stakhov
b4d6ebf474
[Project] Move the whole backend to C++
Easier to work further.
5 months ago
Vsevolod Stakhov
e1a73af0a8
[Minor] Preserve old environ on exit
5 months ago
Vsevolod Stakhov
3e29be1422
[Fix] Another try to fix setproctitle
6 months ago
Vsevolod Stakhov
ac2ee05594
[Fix] Do not pollute public headers with libev internals
8 months ago
Vsevolod Stakhov
76e6c79558
[Minor] Improve error message
8 months ago
Vsevolod Stakhov
0b51255f33
[Fix] Try to fix unzip function
8 months ago
Linus Nordberg
8f901645d9
[Minor] Remove unused variables
8 months ago
Vsevolod Stakhov
deddd07176
[Minor] Do not use crypto PRG for mempool uids
8 months ago
Vsevolod Stakhov
eb6f412f8f
[Minor] Allow rspamd_lua_require_function to work without function
8 months ago
Vsevolod Stakhov
87c6b54923
[Minor] Fix some docs
8 months ago
Vsevolod Stakhov
0f87071944
[Minor] Restore mempool_strdup bahaviour when arg is NULL
8 months ago
Vsevolod Stakhov
66fc7bc9a7
[Minor] Add missing include
8 months ago
Vsevolod Stakhov
a0987ff8ad
[Feature] Add utility to split string like stuff for C++ code
No ranges, as they are a bit ugly to use yet
8 months ago
Vsevolod Stakhov
b9dd5123ec
[Rework] Some final fixes
9 months ago
Vsevolod Stakhov
ef58324535
[Rework] More steps to do refactoring
9 months ago
Vsevolod Stakhov
6a6536afd9
[Rework] Further conversion routines
9 months ago
Vsevolod Stakhov
81d9b6e8f4
[Rework] Finish utils rework
9 months ago
Vsevolod Stakhov
8f4a6729d1
[Rework] Use more c++ in cfg_utils
9 months ago
Vsevolod Stakhov
ffbab4fbf2
[CritFix] Fix leak in `gzip` function
Issue: #4564
9 months ago
Vsevolod Stakhov
cd520f2ef0
[Minor] Add missing include
9 months ago
Vsevolod Stakhov
537a7180a0
[Rework] Use clang-format to unify formatting in all sources
No meaningful changes.
9 months ago
Vsevolod Stakhov
eab26882e1
[Minor] Use unique ptr
9 months ago
Vsevolod Stakhov
4fef58d837
[Feature] Add function to transliterate utf8 to ascii with some normalisation
9 months ago
Vsevolod Stakhov
06f52fae3a
[Minor] One more compatibility fix
10 months ago
Vsevolod Stakhov
4041045abc
[Minor] Try to be more compatible
10 months ago
Vsevolod Stakhov
c241116bcf
[Minor] Fix log message
10 months ago
Vsevolod Stakhov
0a040522ca
[Minor] Missing include?
10 months ago
Vsevolod Stakhov
ce2b90a3e1
[Tests] Add unit tests
10 months ago
Vsevolod Stakhov
43adbcff65
[Minor] Add utility to split strings on some character
10 months ago
Vsevolod Stakhov
8c1c1ddd88
[Minor] Add utility to iterate over a list of newline separated strings
10 months ago
Vsevolod Stakhov
c477b4b525
[Minor] Define simple ftok hash and equal functions
11 months ago
Vsevolod Stakhov
d465bd79e1
[Minor] Avoid using of gio in Rspamd
11 months ago
Vsevolod Stakhov
5c43b0d609
[Minor] Make read_passphrase utility more universal
11 months ago
Vsevolod Stakhov
7f7e053030
[Minor] Lua_util: Add normalize_utf8 utility
Issue: #4475
1 year ago
Vsevolod Stakhov
5f338096c1
[Minor] Fix some issues with the in-place gzip, add gunzip
1 year ago
Vsevolod Stakhov
a39f78ab83
[Feature] Use in-place deflation for strings
1 year ago
Vsevolod Stakhov
cc9369cdf9
[Test] Add some more test cases
1 year ago
Vsevolod Stakhov
044a7abd8a
[Minor] Add safe-guard for a number of regular expressions to be cached
1 year ago
Vsevolod Stakhov
f6dce92229
[Minor] Use mkstemp for temporary hyperscan cache file
1 year ago