aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil
Commit message (Collapse)AuthorAgeFilesLines
...
* [Minor] Move stuffVsevolod Stakhov2022-06-212-40/+39
|
* [Minor] Remove deprecated stuffVsevolod Stakhov2022-06-191-2/+2
|
* [Minor] Remove unused functionVsevolod Stakhov2022-06-162-30/+0
|
* [Minor] Simplify array_of using types deductionVsevolod Stakhov2022-06-111-2/+3
|
* [Minor] Fix compile issuesVsevolod Stakhov2022-06-071-1/+1
|
* [Minor] Add a memory erasing allocatorVsevolod Stakhov2022-06-061-0/+21
|
* [Minor] Change macro for C++Vsevolod Stakhov2022-05-281-1/+7
|
* [Minor] Implement bits printing for numbersVsevolod Stakhov2022-05-152-11/+21
|
* [Minor] Move common hashing utils to a separate util headerVsevolod Stakhov2022-05-141-0/+54
|
* [Minor] Replace some of macro usesVsevolod Stakhov2022-05-071-2/+2
|
* [Minor] Add enumerate helperVsevolod Stakhov2022-05-041-0/+26
|
* [Minor] Fix empty cache filename caseVsevolod Stakhov2022-05-021-0/+4
|
* [Minor] Handle unexpected casesVsevolod Stakhov2022-05-021-0/+14
|
* [Minor] Improve test stabilityVsevolod Stakhov2022-05-011-6/+12
|
* [Minor] Some more fixesVsevolod Stakhov2022-05-012-3/+5
|
* [Minor] Fix RAII locked fileVsevolod Stakhov2022-05-012-12/+44
|
* [Minor] Remove useless comparisionVsevolod Stakhov2022-05-011-4/+0
|
* [Project] Move some more methodsVsevolod Stakhov2022-04-301-4/+15
|
* [Project] Some more adjustments in symbols registrationVsevolod Stakhov2022-04-121-0/+6
|
* [Minor] Add some testsVsevolod Stakhov2022-04-031-0/+71
|
* [Project] Add raii_sink file helperVsevolod Stakhov2022-04-022-3/+113
|
* [Rework] Rework files structureVsevolod Stakhov2022-04-021-1/+2
|
* [Minor] Also allow mmaps to be RAII protectedVsevolod Stakhov2022-04-022-1/+116
|
* [Minor] Add a simple utility to deal with locked filesVsevolod Stakhov2022-04-022-0/+71
|
* [Minor] Add array allocation methods to handle integer overflowVsevolod Stakhov2022-04-012-0/+34
|
* [Minor] Allow to specify mempool when copying an IP address structureVsevolod Stakhov2022-03-203-4/+4
|
* [Minor] Use wyrand for fast random as we already use mumhash for fast hashingVsevolod Stakhov2022-03-182-49/+45
|
* make gcc 8.5 happyMehmet Suslu2022-03-151-1/+1
| | | gcc 8.5 doesn't compile this file without template parameters for ptr_and_refcnt constructor.
* [Minor] Move summation to a separate routineVsevolod Stakhov2022-03-052-0/+31
|
* Spelling (#4086)Josh Soref2022-02-2211-16/+16
| | | [Rework] Massive spelling fix from @jsoref
* [Minor] Improve error reportingVsevolod Stakhov2022-02-131-2/+8
| | | | Issue: #4076
* [Minor] Off by oneVsevolod Stakhov2022-02-081-1/+2
|
* [Minor] Fix a corner caseVsevolod Stakhov2022-02-071-1/+1
|
* [CritFix] Fix upstreams name resolution when there is also a portVsevolod Stakhov2022-02-071-3/+29
| | | | | | | | This fix is intended to address the case when Rspamd queries for a hostname with a port part when re-resolving upstreams addresses via the upstreams module. Found by: @slavkoja Confirmed by: @moisseev
* [Minor] Remove sequential algorithm as it is not actually a rotation algVsevolod Stakhov2022-01-181-4/+0
| | | | | | | Sequential rotation was used just to rotate all upstreams in the loop (e.g. when you need to do some action for all upstreams). Allowing to specify it as a user defined algorithm was a mistake as it breaks upstreams API expectations. See #4043
* [Rework] Timeouts are now global per event and not reseted by IO activityVsevolod Stakhov2022-01-062-18/+7
| | | | | | This actually reproduces old libevent behaviour and it was changed by a big design mistake. We really want IO timeouts to be fired for the whole set of subsequent events, otherwise it should be designed in a more configurable way...
* [Fix] Fix processing captures from pcre2Vsevolod Stakhov2021-12-141-19/+63
|
* [Minor] More fixes for headers foldingVsevolod Stakhov2021-12-141-56/+53
|
* [Minor] Don't use zero terminated stringsVsevolod Stakhov2021-12-142-11/+14
|
* [Minor] Polish alignment macrosVsevolod Stakhov2021-12-063-8/+4
|
* [Rework] Use xxh3 as a default hash and fix memory/alignment issuesVsevolod Stakhov2021-12-051-1/+0
|
* [Minor] Fix some alignment issuesVsevolod Stakhov2021-12-041-2/+4
|
* [Minor] Fix arguments orderVsevolod Stakhov2021-12-041-1/+2
|
* [Rework] Mempool: Use explicit alignmentVsevolod Stakhov2021-12-042-37/+49
|
* [Minor] Fix alignment issueVsevolod Stakhov2021-12-031-3/+6
|
* [Minor] Allow to get a port for a specific upstreamVsevolod Stakhov2021-11-072-0/+16
|
* [Minor] Add helper to convert a string to a uint64 numberVsevolod Stakhov2021-10-202-20/+38
|
* [Minor] Fix some minor code quality issueVsevolod Stakhov2021-10-121-11/+19
| | | | Found by: coverity scan
* [Minor] Try to fix compiler specific issueVsevolod Stakhov2021-10-111-2/+2
|
* [Minor] Add utility function for the default size mempoolVsevolod Stakhov2021-10-061-0/+2
|