aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/upstream.c
Commit message (Expand)AuthorAgeFilesLines
* [Minor] Allow to create upstream lists without rspamd_configVsevolod Stakhov2018-02-151-21/+37
* [Fix] Fix upstream addrs updatingVsevolod Stakhov2018-01-161-4/+4
* [Minor] Save nameserver name when parsing upstreams from resolv.confVsevolod Stakhov2017-11-261-1/+1
* [Minor] Add probabilistic reset of errors in upstream addrsVsevolod Stakhov2017-11-261-2/+7
* [Fix] Delay upstream re-resolving when one upstream is definedVsevolod Stakhov2017-11-261-11/+13
* [Fix] Do not constantly re-resolve failed upstreams with a singleVsevolod Stakhov2017-11-261-13/+35
* [Minor] Further g_slice cleanupVsevolod Stakhov2017-10-281-10/+10
* [Fix] Fix parsing IPv6 nameservers in resolv.confVsevolod Stakhov2017-06-141-6/+38
* [Minor] Add some auxiliary functions for upstreamsVsevolod Stakhov2017-05-151-1/+16
* [Fix] Reresolve upstreams even if there is a single server thereVsevolod Stakhov2017-05-151-47/+35
* [Minor] Refactor destroy -> freeVsevolod Stakhov2017-04-291-2/+2
* [Fix] Some more memory issues are fixedVsevolod Stakhov2017-01-191-1/+0
* [Fix] Further memory leaks fixesVsevolod Stakhov2017-01-181-3/+6
* [Fix] More leaks...Vsevolod Stakhov2017-01-181-3/+5
* [Feature] Properly implement unweighted round-robin algorithmVsevolod Stakhov2016-07-191-17/+36
* [Fix] Fix adding upstream to an active queueVsevolod Stakhov2016-06-241-1/+0
* [Fix] Try to fix upstreams with one elementVsevolod Stakhov2016-06-231-2/+5
* [Fix] Another fix for marking upstreams inactiveVsevolod Stakhov2016-06-231-53/+71
* [Fix] Fix errors counting in upstreamsVsevolod Stakhov2016-06-231-6/+9
* [Fix] Fix round-robin selection when upstreams have no weightVsevolod Stakhov2016-06-231-0/+9
* [Feature] New abstract hashing API in cryptoboxVsevolod Stakhov2016-05-101-2/+3
* [Feature] Add workaround for master-slave definitionsVsevolod Stakhov2016-03-151-0/+8
* [Feature] Allow forced and non-forced upstreams selectionVsevolod Stakhov2016-03-151-4/+25
* [Fix] Fix parsing upstreams from UCLVsevolod Stakhov2016-03-151-9/+8
* [Feature] Allow iterating over upstreamsVsevolod Stakhov2016-03-151-0/+15
* [Feature] Add flags and opaque data to upstreamsVsevolod Stakhov2016-03-151-4/+29
* Fix couple of issues found by gcc-6Vsevolod Stakhov2016-02-161-1/+2
* Refactor UCL APIVsevolod Stakhov2016-02-161-1/+1
* Switch the rest to apache 2Vsevolod Stakhov2016-02-041-21/+12
* Fix names for parsed addressesVsevolod Stakhov2016-01-241-1/+1
* Rework upstreams libraryVsevolod Stakhov2015-12-031-34/+72
* Fix some memory issuesVsevolod Stakhov2015-11-231-1/+1
* Do not reresolve upstreams with no resolver definedVsevolod Stakhov2015-11-231-1/+1
* Test for atomic ops.Vsevolod Stakhov2015-11-231-0/+2
* Add rspamd_upstream_reresolve routine.Vsevolod Stakhov2015-11-221-45/+92
* Use context variables instead of default onesVsevolod Stakhov2015-11-221-11/+14
* Rework rotation for upstreamsVsevolod Stakhov2015-11-211-8/+11
* Parse rotation type for upstreams listVsevolod Stakhov2015-11-211-0/+31
* Add deinitialization for upstreamsVsevolod Stakhov2015-11-201-0/+6
* Rework upstreams initializationVsevolod Stakhov2015-11-201-7/+13
* Rework upstreams contextVsevolod Stakhov2015-11-201-17/+76
* Fix dereference of NULL pointer.Vsevolod Stakhov2015-07-141-2/+2
* Check upstream before freeing.Vsevolod Stakhov2015-05-041-9/+11
* Fix sorting order and unit test for upstreams.Vsevolod Stakhov2015-03-121-5/+4
* Rework upstreams code for new inet_addr.Vsevolod Stakhov2015-03-121-46/+35
* Use xxh64 for upstreams hashing.Vsevolod Stakhov2015-02-231-8/+3
* Silent warnings.Vsevolod Stakhov2015-01-061-0/+3
* Zero memory for inet address.Vsevolod Stakhov2014-12-301-2/+2
* Add sequential order for upstreams.Vsevolod Stakhov2014-12-231-0/+9
* Another try to fix race condition in the upstreams.Vsevolod Stakhov2014-11-211-24/+27