Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Project] Make it compileable again... | Vsevolod Stakhov | 2019-06-22 | 1 | -3/+1 |
| | |||||
* | [Project] Rework upstreams | Vsevolod Stakhov | 2019-06-22 | 1 | -15/+13 |
| | |||||
* | [Project] First refactoring step libevent->libev | Vsevolod Stakhov | 2019-06-22 | 1 | -2/+2 |
| | |||||
* | [Minor] Pass variables from the environment to rspamd_env | Vsevolod Stakhov | 2019-03-27 | 1 | -8/+5 |
| | |||||
* | [Project] Preliminary support of HTTP proxies | Vsevolod Stakhov | 2019-03-18 | 1 | -23/+29 |
| | | | | Issue: #572 | ||||
* | [Project] Allow to hash and compare inet addresses considering port | Vsevolod Stakhov | 2019-03-04 | 1 | -1/+1 |
| | |||||
* | [Minor] Oops, fix type | Vsevolod Stakhov | 2019-02-18 | 1 | -1/+5 |
| | |||||
* | [Fix] Core: Fix address rotation bug | Vsevolod Stakhov | 2019-02-18 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | | | | | | | 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 API | Vsevolod Stakhov | 2018-12-05 | 1 | -0/+6 |
| | |||||
* | [Feature] Implement event watchers for upstreams | Vsevolod Stakhov | 2018-12-04 | 1 | -2/+68 |
| | |||||
* | [Minor] Allow to create upstreams without a context | Vsevolod Stakhov | 2018-10-23 | 1 | -1/+12 |
| | |||||
* | [Feature] Allow to set custom limits for upstream lists | Vsevolod Stakhov | 2018-10-23 | 1 | -24/+68 |
| | |||||
* | [Minor] Fix event pending checks | Vsevolod Stakhov | 2018-10-06 | 1 | -1/+1 |
| | |||||
* | [Feature] Distinguish IP failures from connection failures | Vsevolod Stakhov | 2018-07-02 | 1 | -5/+7 |
| | |||||
* | [Minor] Allow to create upstream lists without rspamd_config | Vsevolod Stakhov | 2018-02-15 | 1 | -21/+37 |
| | |||||
* | [Fix] Fix upstream addrs updating | Vsevolod Stakhov | 2018-01-16 | 1 | -4/+4 |
| | |||||
* | [Minor] Save nameserver name when parsing upstreams from resolv.conf | Vsevolod Stakhov | 2017-11-26 | 1 | -1/+1 |
| | |||||
* | [Minor] Add probabilistic reset of errors in upstream addrs | Vsevolod Stakhov | 2017-11-26 | 1 | -2/+7 |
| | |||||
* | [Fix] Delay upstream re-resolving when one upstream is defined | Vsevolod Stakhov | 2017-11-26 | 1 | -11/+13 |
| | |||||
* | [Fix] Do not constantly re-resolve failed upstreams with a single | Vsevolod Stakhov | 2017-11-26 | 1 | -13/+35 |
| | | | | element | ||||
* | [Minor] Further g_slice cleanup | Vsevolod Stakhov | 2017-10-28 | 1 | -10/+10 |
| | |||||
* | [Fix] Fix parsing IPv6 nameservers in resolv.conf | Vsevolod Stakhov | 2017-06-14 | 1 | -6/+38 |
| | |||||
* | [Minor] Add some auxiliary functions for upstreams | Vsevolod Stakhov | 2017-05-15 | 1 | -1/+16 |
| | |||||
* | [Fix] Reresolve upstreams even if there is a single server there | Vsevolod Stakhov | 2017-05-15 | 1 | -47/+35 |
| | |||||
* | [Minor] Refactor destroy -> free | Vsevolod Stakhov | 2017-04-29 | 1 | -2/+2 |
| | |||||
* | [Fix] Some more memory issues are fixed | Vsevolod Stakhov | 2017-01-19 | 1 | -1/+0 |
| | |||||
* | [Fix] Further memory leaks fixes | Vsevolod Stakhov | 2017-01-18 | 1 | -3/+6 |
| | |||||
* | [Fix] More leaks... | Vsevolod Stakhov | 2017-01-18 | 1 | -3/+5 |
| | |||||
* | [Feature] Properly implement unweighted round-robin algorithm | Vsevolod Stakhov | 2016-07-19 | 1 | -17/+36 |
| | |||||
* | [Fix] Fix adding upstream to an active queue | Vsevolod Stakhov | 2016-06-24 | 1 | -1/+0 |
| | |||||
* | [Fix] Try to fix upstreams with one element | Vsevolod Stakhov | 2016-06-23 | 1 | -2/+5 |
| | |||||
* | [Fix] Another fix for marking upstreams inactive | Vsevolod Stakhov | 2016-06-23 | 1 | -53/+71 |
| | |||||
* | [Fix] Fix errors counting in upstreams | Vsevolod Stakhov | 2016-06-23 | 1 | -6/+9 |
| | |||||
* | [Fix] Fix round-robin selection when upstreams have no weight | Vsevolod Stakhov | 2016-06-23 | 1 | -0/+9 |
| | |||||
* | [Feature] New abstract hashing API in cryptobox | Vsevolod Stakhov | 2016-05-10 | 1 | -2/+3 |
| | |||||
* | [Feature] Add workaround for master-slave definitions | Vsevolod Stakhov | 2016-03-15 | 1 | -0/+8 |
| | |||||
* | [Feature] Allow forced and non-forced upstreams selection | Vsevolod Stakhov | 2016-03-15 | 1 | -4/+25 |
| | |||||
* | [Fix] Fix parsing upstreams from UCL | Vsevolod Stakhov | 2016-03-15 | 1 | -9/+8 |
| | |||||
* | [Feature] Allow iterating over upstreams | Vsevolod Stakhov | 2016-03-15 | 1 | -0/+15 |
| | |||||
* | [Feature] Add flags and opaque data to upstreams | Vsevolod Stakhov | 2016-03-15 | 1 | -4/+29 |
| | |||||
* | Fix couple of issues found by gcc-6 | Vsevolod Stakhov | 2016-02-16 | 1 | -1/+2 |
| | |||||
* | Refactor UCL API | Vsevolod Stakhov | 2016-02-16 | 1 | -1/+1 |
| | |||||
* | Switch the rest to apache 2 | Vsevolod Stakhov | 2016-02-04 | 1 | -21/+12 |
| | |||||
* | Fix names for parsed addresses | Vsevolod Stakhov | 2016-01-24 | 1 | -1/+1 |
| | |||||
* | Rework upstreams library | Vsevolod Stakhov | 2015-12-03 | 1 | -34/+72 |
| | | | | Now each address has its own errors count, so rspamd will prefer upstream addrs with no errors to addrs with errors. This might help to resolve issues on systems where ipv6 does not work. | ||||
* | Fix some memory issues | Vsevolod Stakhov | 2015-11-23 | 1 | -1/+1 |
| | |||||
* | Do not reresolve upstreams with no resolver defined | Vsevolod Stakhov | 2015-11-23 | 1 | -1/+1 |
| | |||||
* | Test for atomic ops. | Vsevolod Stakhov | 2015-11-23 | 1 | -0/+2 |
| | |||||
* | Add rspamd_upstream_reresolve routine. | Vsevolod Stakhov | 2015-11-22 | 1 | -45/+92 |
| | |||||
* | Use context variables instead of default ones | Vsevolod Stakhov | 2015-11-22 | 1 | -11/+14 |
| |