Commit graph

88 commits

Author SHA1 Message Date
30ce3a97c9 replace log,pretty_env_logger by tracing,tracing_subscriber and add time 2023-08-27 16:13:29 +02:00
a3602eac82 Take into account unhealthy nodes 2023-08-27 15:58:47 +02:00
b5e8d1fcd8 stdout: prettier formatting of proxy config 2023-08-27 15:26:19 +02:00
48a421a3b6
feat: warmup memory store when starting 2023-08-08 18:04:21 +02:00
3999723308 update df-consul to fix some issues 2023-06-13 11:40:13 +02:00
f59b4fe37a Change example links to be permalinks (fix #7) 2023-06-05 11:18:40 +02:00
3cccda0e8e cargo fmt 2023-01-26 11:51:35 +01:00
d83624e8f3
Add Grafana dashboards 2023-01-03 20:44:20 +01:00
f163d1d348
Don't do the hack with same_site and same_node, separate lb flags 2023-01-02 17:33:05 +01:00
3c5aa3680e
status code just as integer, drop canonical reason string 2022-12-11 21:21:40 +01:00
6fda16048a
Update cargo2nix 2022-12-07 15:36:47 +01:00
fad172e54a
Externalise Consul module to df-consul crate 2022-12-07 14:28:29 +01:00
752593e274
Remove host="" metric parameter for most things 2022-12-07 11:13:43 +01:00
731b59a41f
More precise histograms 2022-12-06 15:02:35 +01:00
9bd922adf9
Cargo clippy 2022-12-06 14:24:00 +01:00
8d1162f206
Change scheduling algo to deprioritize slow backends + refactoring 2022-12-06 14:02:32 +01:00
ba5bf133f6
Add duration metric and improve others as well 2022-12-05 19:10:15 +01:00
5d38f2cf7f
Add basic support for metrics 2022-12-05 18:43:48 +01:00
43a0fe14b2
Update dependencies 2022-12-05 17:52:27 +01:00
d523c27ae4
Make rustfmt work in Nix 2022-12-05 17:52:27 +01:00
32a0d5e148
Try rustfmt in nix 2022-12-02 12:34:45 +01:00
15ab38cdb6
deactivate fmt (doesnt work for some reason) 2022-12-01 17:11:39 +01:00
4bbedc7ae8
use nix run 2022-12-01 17:07:22 +01:00
ee18ddcebc
Add Drone CI 2022-12-01 17:05:32 +01:00
0ae7f5fbd9
Make Nix flake 2022-12-01 15:46:57 +01:00
5007077f1d
Add possibility to skip TLS server certificate verification 2022-08-24 17:53:33 +02:00
698236cdb4
Enable upgrades on http module 2022-05-10 12:11:59 +02:00
cbf7a03836
Handle HTTP/1.1 SWITCHING_PROTOCOL to handle Connection: Upgrade correctly 2022-05-10 12:02:19 +02:00
df4a36990c
Try again to fix connection: upgrade bug 2022-05-06 12:34:19 +02:00
8c6114c3d3
Try to clean up code and to fix WebSocket problems 2022-05-06 12:21:15 +02:00
6383d98772
Support headers with spaces in their value 2022-05-04 09:14:39 +02:00
625fd24113
Make Tricot available under AGPLv3 license 2022-04-23 12:29:26 +02:00
4ba13a3fcb
Correct cookie concatenation 2022-02-27 19:53:06 +01:00
d85ef18269
Try to fix cookie issue: concatenate multiple cookie headers 2022-02-27 19:47:41 +01:00
b1ac01f53e
Try to fix duplicate Host header issue
- disable http2 to backend connections even when using tls
- forbid hyper from adding a host header
2022-01-25 17:01:39 +01:00
ea050c7045
Actually that was quite a stupid way of handling timeouts 2022-01-24 20:55:26 +01:00
7d5070c57d
Fix busy loop 2022-01-24 20:06:31 +01:00
10d13b194b
Kill connections lasting more than 24h 2022-01-24 19:49:14 +01:00
21ea26bbff
Handle proxy timeouts 2022-01-24 19:38:13 +01:00
5e5299a6d0
Add graceful shutdown and memory tracing 2022-01-24 19:28:18 +01:00
d7511c683d
Write proxy config to stdout to separate it from logs 2022-01-19 14:53:19 +01:00
de4bc8abc4
Add info about logs 2022-01-13 12:34:24 +01:00
f8d21c8b37
Add sentence in doc 2022-01-13 12:28:08 +01:00
85e1e7d8a4
Add support for tricot-site-lb and tricot-global-lb tags 2022-01-13 12:24:25 +01:00
e446d6763e
Configuration by example 2022-01-13 12:15:07 +01:00
cca85653b1
Write up how Tricot works 2022-01-13 12:11:32 +01:00
ced324bc87
Make nodes aware of where they are and use that to priorize backends 2022-01-13 11:36:52 +01:00
c030c47645
cargo fmt and improve error message 2021-12-30 20:45:28 +01:00
bcc185df40
Add support for Consul TLS 2021-12-30 20:08:10 +01:00
d13066b12b
Implement basic domain accesibility check before asking for certificate 2021-12-14 11:31:22 +01:00