Commit graph

85 commits

Author SHA1 Message Date
Armaël Guéneau
60e8aacfd7 Add a metrics counter measuring in-flight requests 2024-05-01 11:43:59 +02:00
d31212e56b
fix formatting 2023-12-13 10:49:58 +01:00
5a326222c4
correctly warmup cert store 2023-12-13 09:57:55 +01:00
b9b035034f
centralize all the checks in the same place 2023-11-30 17:35:12 +01:00
753903ee02
implement feature 2023-11-30 16:53:04 +01:00
ca449ebff4
some comments 2023-11-30 15:35:32 +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
e943fd3772 prometheus: disable counter suffixes 2023-10-02 16:23:31 +02:00
4818e8cccc cargo upgrades: update opentelemetry dependency to 0.20/prometheus to 0.13 2023-10-02 13:11:42 +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
3cccda0e8e cargo fmt 2023-01-26 11:51:35 +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
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
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
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
85e1e7d8a4
Add support for tricot-site-lb and tricot-global-lb tags 2022-01-13 12:24:25 +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
7488d8e907
Exclude partial content from compression 2021-12-10 16:40:05 +01:00
e3a030ceaf
Brotli seems to cause issues, disable it 2021-12-10 00:10:00 +01:00
f7a5b29b71
cargo clippy 2021-12-09 23:38:56 +01:00