Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Fix] Store reference of upstream list in upstreams objects | Vsevolod Stakhov | 2020-08-17 | 1 | -31/+80 |
| | |||||
* | [Minor] Add failure reason in the upstreams code | Vsevolod Stakhov | 2019-11-13 | 1 | -1/+9 |
| | |||||
* | [Rework] Lua core: Use lightuserdata to index classes | Vsevolod Stakhov | 2019-09-16 | 1 | -24/+4 |
| | |||||
* | [Fix] Do not use lightuserdata for traceback | Vsevolod Stakhov | 2019-05-24 | 1 | -3/+1 |
| | | | | | | | | | | LuaJIT limits lightuserdata usage to 47 bits. On Arm64, this leads to break of the C <-> Lua interoperability using this type. This rework has changed traceback function behaviour from lightuserdata opaque pointer (GString * in particular) to luaL_Buffer. Issue: #2906 | ||||
* | [Fix] Core: Fix address rotation bug | Vsevolod Stakhov | 2019-02-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | 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 | -4/+167 |
| | |||||
* | [Feature] Add support for Lua API tracing | Vsevolod Stakhov | 2018-08-09 | 1 | -0/+9 |
| | |||||
* | [Feature] Distinguish IP failures from connection failures | Vsevolod Stakhov | 2018-07-02 | 1 | -1/+7 |
| | |||||
* | [Minor] Fix table argument parsing | Vsevolod Stakhov | 2018-03-12 | 1 | -3/+5 |
| | |||||
* | [Minor] Fix upstreams parsing | Vsevolod Stakhov | 2018-03-12 | 1 | -6/+23 |
| | |||||
* | [Minor] Allow to create upstream lists without rspamd_config | Vsevolod Stakhov | 2018-02-15 | 1 | -6/+16 |
| | |||||
* | [Minor] Allow to get all upstreams from the list in Lua | Vsevolod Stakhov | 2017-12-16 | 1 | -0/+35 |
| | |||||
* | [Minor] Fix various style issues | Vsevolod Stakhov | 2017-03-23 | 1 | -2/+0 |
| | |||||
* | [Feature] Use rspamd specific type checks for userdata | Vsevolod Stakhov | 2016-05-05 | 1 | -2/+2 |
| | |||||
* | Fix some issues found by coverity | Vsevolod Stakhov | 2016-02-09 | 1 | -1/+4 |
| | |||||
* | Switch the rest to apache 2 | Vsevolod Stakhov | 2016-02-04 | 1 | -20/+12 |
| | |||||
* | Use new rotation logic in the code | Vsevolod Stakhov | 2015-11-21 | 1 | -2/+4 |
| | |||||
* | Fix upstreams usage | Vsevolod Stakhov | 2015-11-20 | 1 | -31/+16 |
| | |||||
* | Avoid non-portable lua integers. | Vsevolod Stakhov | 2015-06-23 | 1 | -1/+1 |
| | |||||
* | Forgot @module. | Vsevolod Stakhov | 2015-04-09 | 1 | -0/+1 |
| | |||||
* | Document lua upstream. | Vsevolod Stakhov | 2015-04-09 | 1 | -30/+58 |
| | |||||
* | Fix lua upstream code. | Vsevolod Stakhov | 2014-10-28 | 1 | -275/+46 |
| | |||||
* | Use rspamd_ prefix. | Vsevolod Stakhov | 2014-08-25 | 1 | -2/+2 |
| | |||||
* | Use modules preload for lua. | Vsevolod Stakhov | 2014-08-25 | 1 | -5/+20 |
| | |||||
* | Rework lua function names to avoid ambiguity. | Vsevolod Stakhov | 2014-08-17 | 1 | -7/+7 |
| | |||||
* | Unify style without sorting headers. | Vsevolod Stakhov | 2014-07-23 | 1 | -57/+78 |
| | |||||
* | Revert "Unify code style." | Vsevolod Stakhov | 2014-07-23 | 1 | -79/+58 |
| | | | | This reverts commit e0483657ff6cf1adc828ccce457814d61fe90a0d. | ||||
* | Unify code style. | Vsevolod Stakhov | 2014-07-23 | 1 | -58/+79 |
| | |||||
* | Refactor config API. | Vsevolod Stakhov | 2014-04-30 | 1 | -2/+2 |
| | |||||
* | Adopt to lua 5.2. | Vsevolod Stakhov | 2013-06-08 | 1 | -4/+4 |
| | |||||
* | Avoid arrays addresses manipulation. | Vsevolod Stakhov | 2013-06-06 | 1 | -3/+20 |
| | |||||
* | Rework socket creation logic to support both ipv4 and ipv6 sockets. | Vsevolod Stakhov | 2013-06-01 | 1 | -5/+5 |
| | |||||
* | * Add lua worker type and lua worker bindings. | Vsevolod Stakhov | 2012-07-26 | 1 | -0/+4 |
| | | | | | | | * Add lua utility library for basic utils. * Fixes lua_buffer code. Fix lua loading error. Added some other lua utility functions. | ||||
* | * Add ratelimit plugin | Vsevolod Stakhov | 2012-04-06 | 1 | -1/+1 |
| | | | | Some polishing of lua task api. | ||||
* | * Add lua bindings for upstream API. | Vsevolod Stakhov | 2012-03-26 | 1 | -0/+521 |