Vsevolod Stakhov
a493c2ca11
[Feature] Add minimal delay to fuzzy storage
3 years ago
Vsevolod Stakhov
f0593307bd
[Minor] Pass fuzzy extra data to lua scripts
3 years ago
Vsevolod Stakhov
39f1caa7b5
[Minor] Fix copy&paste error
3 years ago
Vsevolod Stakhov
b95a54eb68
[Minor] Fix extensions calculations
3 years ago
Vsevolod Stakhov
905d779904
[Minor] Fix fuzzy sessions counter
4 years ago
Vsevolod Stakhov
a52e5197df
[Minor] Fix extensions processing in fuzzy worker
4 years ago
Vsevolod Stakhov
023aa4a7c0
[Minor] Oops, fix encrypted reply
4 years ago
Vsevolod Stakhov
6784ed26d1
[Minor] Replace in6_addr_t with struct in6_addr as defined by POSIX
4 years ago
Vsevolod Stakhov
6808cdc0b2
[Project] Implement extensions logic for fuzzy storage
4 years ago
Vsevolod Stakhov
fd2fb63f90
[Rework] Rework fuzzy commands processing
4 years ago
Vsevolod Stakhov
dc7afbd650
[CritFix] Distinguish socketpairs between different fuzzy workers
4 years ago
Vsevolod Stakhov
0d218b76d1
[Minor] Add shutdown calls to specify one direction for the pipe
4 years ago
Vsevolod Stakhov
25584ee22c
[Minor] Add dedicated_update_worker for fuzzy worker
4 years ago
Vsevolod Stakhov
e85f4bbad9
[Minor] Fix usage of the addr variable
4 years ago
Vsevolod Stakhov
44aa58ddce
[Feature] Support input vectorisation by recvmmsg call
4 years ago
Christian Göttsche
d6da3282ea
[Minor] Enable missing_noreturn compiler warning
4 years ago
Vsevolod Stakhov
baf567789e
[Minor] Fix some issues with lua scripts invocation
4 years ago
Vsevolod Stakhov
d33893c59f
[Feature] Add support for scripts in fuzzy storage
4 years ago
Vsevolod Stakhov
136560c663
[Minor] Improve fuzzy updates logging
4 years ago
Vsevolod Stakhov
557c870057
[Project] CDB maps: Start making cdb a first class citizen
4 years ago
Vsevolod Stakhov
41e28d1148
[Rework] Further project structure reorganisation
4 years ago
Vsevolod Stakhov
c607c36edd
[Rework] Refactor libraries structure
* Move logger implementation to libserver
* Move fuzzy backend files to a separate subdir
TODO: Move HTTP code from libutil
4 years ago
Vsevolod Stakhov
3424122c9d
[Rework] Logger: Fix issues found so far
4 years ago
Vsevolod Stakhov
9374c19e58
[Minor] Destroy ratelimit buckets
4 years ago
Vsevolod Stakhov
db60a7ef3e
[Fix] Try harder to watch the lifetime of the key_stat
4 years ago
Vsevolod Stakhov
a342d2a61c
[Fix] Plug memory leak in fuzzy storage
4 years ago
Vsevolod Stakhov
3c4d373392
[Feature] Allow to limit maps per specific worker
4 years ago
Vsevolod Stakhov
e67550d90d
[Minor] Increase number of connections merely when we have a session
4 years ago
Vsevolod Stakhov
e69038f5a6
[Minor] One more fix to fuzzy termination
4 years ago
Vsevolod Stakhov
54b6d92e1a
[Minor] Fix fuzzy worker termination
4 years ago
Vsevolod Stakhov
5b89bca293
[Minor] Improve logging
4 years ago
Vsevolod Stakhov
296c0cd694
[Rework] Rework final scripts logic
4 years ago
Vsevolod Stakhov
ac9751f06a
[Fix] Fix race condition in watcher handler
4 years ago
Vsevolod Stakhov
6c76c1728c
[Minor] Strictly check worker context magic
4 years ago
Vsevolod Stakhov
797d916601
[Minor] Reduce libev calls by optimizing IO
4 years ago
Vsevolod Stakhov
7495b25535
[Fix] Fix events leak
4 years ago
Vsevolod Stakhov
6836dfd2b3
[Minor] Fuzzy_storage: Init http context to work with maps
4 years ago
Vsevolod Stakhov
f5a7eddda9
[Minor] Fuzzy storage now has no TCP sockets
5 years ago
Vsevolod Stakhov
8e33c251c9
[Project] Rework and simplify fuzzy storage, remove mirroring
5 years ago
Vsevolod Stakhov
98897c1797
[Project] First refactoring step libevent->libev
5 years ago
Vsevolod Stakhov
6943c3c3a4
[Minor] Refactor DNS resolver invocations
5 years ago
Vsevolod Stakhov
34cc551018
[Project] Preliminary support of HTTP proxies
Issue: #572
5 years ago
Vsevolod Stakhov
3a1974cf17
[Rework] Another iteration of HTTP interfaces rework
5 years ago
Vsevolod Stakhov
f7aee39a9d
[Fix] Fix various issues found by PVS Studio
https://www.viva64.com/
5 years ago
Vsevolod Stakhov
3089d894c5
[Minor] Fix another deinit race
5 years ago
Vsevolod Stakhov
ceaafac997
[Minor] Fix cleanup
5 years ago
Vsevolod Stakhov
d8833f06bd
[Project] HTTP: Rework HTTP connections API to simplify its usage
5 years ago
Vsevolod Stakhov
3f00d108df
[Project] Adopt plugins, workers, rspamadm and rspamc for http_context
5 years ago
Vsevolod Stakhov
0f32df6f44
[Fix] Core: Fix address rotation bug
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.
5 years ago
Vsevolod Stakhov
a841d419c9
[Rework] Finish http code split and cleanup
5 years ago