Commit graph

101 commits

Author SHA1 Message Date
ca449ebff4
some comments 2023-11-30 15:35:32 +01:00
b04c2bfb0a Merge pull request 'New directive tricot-add-redirect <match-prefix> <redirect-prefix> [301|302|303|307]' (#10) from redirect into main
Reviewed-on: Deuxfleurs/tricot#10
2023-11-29 16:09:56 +00:00
b76b6dcbcc
add tricot-add-redirect in readme 2023-11-29 16:17:42 +01:00
2b3f934247
implement redirection in https.rs 2023-11-29 15:50:25 +01:00
f11592926b
fix tests 2023-11-29 13:06:32 +01:00
de72d6037f
refactor configuration to support redirects 2023-11-29 12:49:55 +01:00
14325395f6 dockerfile: update rustc 2023-10-02 16:47:46 +02:00
e943fd3772 prometheus: disable counter suffixes 2023-10-02 16:23:31 +02:00
ec247ec4c6 flake.nix: update rustc 2023-10-02 13:28:40 +02:00
f211085cd2 update cargo.nix 2023-10-02 13:12:37 +02:00
4818e8cccc cargo upgrades: update opentelemetry dependency to 0.20/prometheus to 0.13 2023-10-02 13:11:42 +02:00
46d517b2f7 cargo upgrades: updage all major versions of deps except opentelemetry 2023-10-02 12:49:50 +02:00
f54ab6e51c cargo update: non-breaking update of all dependencies 2023-10-02 12:43:17 +02:00
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