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