Commit graph

68 commits

Author SHA1 Message Date
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
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
207f467b87
Support totally ignoring backend HTTPS certificate stuff 2021-12-08 23:45:24 +01:00
ca8c5aad23
Handle HTTPS targets 2021-12-08 22:58:19 +01:00
55f57df82e
Cleanup locks 2021-12-08 22:38:01 +01:00
62c745898d
Inverse how priorities work 2021-12-08 22:29:08 +01:00
7dbf848de3
Different logging 2021-12-08 22:24:58 +01:00
25ddb1b23e
Special handling of hostname:port 2021-12-08 17:52:42 +01:00
3bdb417bfb
Exit more agressively on certain errors 2021-12-08 17:50:40 +01:00
0e6e60d35a
better split 2021-12-08 17:36:01 +01:00
8d47bef9d4
Fix path prefixes 2021-12-08 17:27:27 +01:00