Commit graph

77 commits

Author SHA1 Message Date
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
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
e0912dc5fe
Remove content-length when compressed; don't compress small response 2021-12-09 19:00:50 +01:00
3f2a52dc8e
cargo fmt 2021-12-09 16:19:41 +01:00
87a88931b6
add compressed format 2021-12-09 16:09:41 +01:00
64cfb30a85
Better compression choices 2021-12-09 16:03:19 +01:00
9b30f2b7d1
Compression 2021-12-09 15:43:19 +01:00
e4942490ee
Cargo clippy 2021-12-09 12:20:37 +01:00
fdb83162ce
Improved management of ACME orders and certificate pre-expiration period 2021-12-09 12:18:23 +01:00
8153bdca46
Fix multiple header occurences 2021-12-09 11:20:04 +01:00