summaryrefslogtreecommitdiffstats
path: root/src/libutil/upstream.h
Commit message (Collapse)AuthorAgeFilesLines
* [Minor] Allow to capture upstream objectVsevolod Stakhov2021-09-131-0/+12
|
* [Minor] Add failure reason in the upstreams codeVsevolod Stakhov2019-11-131-1/+1
|
* [Feature] Allow exception when choosing upstreamVsevolod Stakhov2019-11-081-0/+11
|
* [Fix] Allow real upstreams configurationVsevolod Stakhov2019-11-011-0/+2
|
* [Minor] Improve logging for upstream failureVsevolod Stakhov2019-11-011-1/+1
|
* [Project] Start SRV upstreams implementationVsevolod Stakhov2019-10-011-0/+1
|
* [Rework] Add C++ guards to all headersVsevolod Stakhov2019-07-081-25/+31
|
* [Project] Rework upstreamsVsevolod Stakhov2019-06-221-1/+1
|
* [Project] First refactoring step libevent->libevVsevolod Stakhov2019-06-221-1/+1
|
* [Project] Preliminary support of HTTP proxiesVsevolod Stakhov2019-03-181-0/+4
| | | | Issue: #572
* [Fix] Core: Fix address rotation bugVsevolod Stakhov2019-02-181-1/+8
| | | | | | | | | | | | | | | | | | | | | | Previously, upstream.get_addr function returned the new address of the upstream. Unfortunately, it was used for printing addresses. It caused the following situation: let's imagine we have A1 and A2 where A1 was initially selected. So the connection was performed to A1: Current addr Selected addr Connect+---------+ A2+------>A1 A1 | +-+Print failure<---+ A1+------>A2 A2 | +----+ +->Mark failure+-------->+ A2 | +----+ But the failure OP as well as log message told about `A2` where the real problem happened with `A1`. This commit adds distinguishing between getting the next and the current address of the upstream resolving this issue.
* [Feature] Allow to add upstream watchers to Lua APIVsevolod Stakhov2018-12-051-0/+1
|
* [Feature] Implement event watchers for upstreamsVsevolod Stakhov2018-12-041-0/+25
|
* [Feature] Allow to set custom limits for upstream listsVsevolod Stakhov2018-10-231-0/+18
|
* [Feature] Distinguish IP failures from connection failuresVsevolod Stakhov2018-07-021-1/+1
|
* [Fix] Fix parsing IPv6 nameservers in resolv.confVsevolod Stakhov2017-06-141-2/+8
|
* [Minor] Add some auxiliary functions for upstreamsVsevolod Stakhov2017-05-151-1/+15
|
* [Feature] Allow forced and non-forced upstreams selectionVsevolod Stakhov2016-03-151-0/+10
|
* [Feature] Allow iterating over upstreamsVsevolod Stakhov2016-03-151-0/+13
|
* [Feature] Add flags and opaque data to upstreamsVsevolod Stakhov2016-03-151-0/+27
|
* Add rspamd_upstream_reresolve routine.Vsevolod Stakhov2015-11-221-0/+5
|
* Rework rotation for upstreamsVsevolod Stakhov2015-11-211-1/+2
|
* Parse rotation type for upstreams listVsevolod Stakhov2015-11-211-2/+3
|
* Add deinitialization for upstreamsVsevolod Stakhov2015-11-201-0/+5
|
* Rework upstreams initializationVsevolod Stakhov2015-11-201-3/+3
|
* Rework upstreams contextVsevolod Stakhov2015-11-201-3/+5
|
* Rework upstreams code for new inet_addr.Vsevolod Stakhov2015-03-121-2/+2
|
* Add sequential order for upstreams.Vsevolod Stakhov2014-12-231-1/+2
|
* Rework IP addresses in upstreams.Vsevolod Stakhov2014-11-071-0/+8
| | | | | | | | | - Select ipv4/unix addresses if they exist and use ipv6 for ipv6 only upstreams (since the support of ipv6 is poor in many OSes and environments). - Free IP list on upstream destruction. - Add test cases for addresses selection. - Allow adding of free form IP addresses to upstreams.
* Use upstreams configuration.Vsevolod Stakhov2014-11-031-0/+15
|
* Some more auxiliary functions.Vsevolod Stakhov2014-10-291-0/+20
|
* Add parsing of multiple upstreams string.Vsevolod Stakhov2014-10-291-1/+13
|
* Fix some more old upstreams code.Vsevolod Stakhov2014-10-291-0/+7
|
* Start new upstreams implementation.Vsevolod Stakhov2014-10-281-3/+4
|
* Rework API completely.Vsevolod Stakhov2014-10-281-104/+43
|
* Unify style without sorting headers.Vsevolod Stakhov2014-07-231-26/+43
|
* Revert "Unify code style."Vsevolod Stakhov2014-07-231-44/+27
| | | | This reverts commit e0483657ff6cf1adc828ccce457814d61fe90a0d.
* Unify code style.Vsevolod Stakhov2014-07-231-27/+44
|
* Rework project structure, remove trash files.Vsevolod Stakhov2014-04-211-0/+127