Frank Denis
6ba9d36dcf
Add a debug mode
1 year ago
Frank Denis
5c4c6c181e
The first byte of QUIC packets is in the [64,127] range.
1 year ago
Frank Denis
80cdaaad24
Better nail down where QUIC is possibly being used
2 years ago
Frank Denis
606276398c
Mention where we actually may have a QUIC/HTTP/3 packet
...
We may want to support QUIC the same way we forward TLS
2 years ago
Frank Denis
32be74338f
un-pretty toml state file
2 years ago
Frank Denis
e304c75334
Update deps
2 years ago
Frank Denis
70e6021965
Remove unneeded casts
2 years ago
Frank Denis
74b77e64b8
Remove unneeded reference
2 years ago
Frank Denis
68f40b7570
In a future, don't remove cancelled entries
...
They have already been removed by the pop_back() call.
Cancellation in Rust is such a clusterfuck...
2 years ago
Frank Denis
d911c345fb
Remove unneeded borrow
2 years ago
YX Hao
4f99570f22
Improve privdrop condition
2 years ago
YX Hao
87e26a8aaa
Mitigate warning on intentional unused variable
2 years ago
Frank Denis
936ff9f213
Tokio needs descriptors for timers and more
2 years ago
Frank Denis
497770494b
Nits
2 years ago
Frank Denis
baa8f8235b
If we can't bump the file limit high enough, try as high as we can
2 years ago
Frank Denis
479cb956f1
If we are running out of descriptors, drop an old connection and wait
2 years ago
Frank Denis
3499fd2d10
Warn if we can't set limits
2 years ago
Frank Denis
ead91e1ffa
Just move the set_limits function up
2 years ago
Frank Denis
6697aa8c0c
Set resource limits
2 years ago
Frank Denis
9ddeadc2ba
Handle accept() that can fail for Prometheus, too
2 years ago
Frank Denis
2aa378cae4
Tokio's accept() can fail
2 years ago
Frank Denis
fd8d282365
Remove the VecDeque for cancelation, use a slab instead
2 years ago
Frank Denis
9374f340a7
UDP acceptor: cap at udp_max_active_connections not tcp_
2 years ago
YX Hao
18dd7538b5
Add compiling condition for Windows
2 years ago
Frank Denis
748b944a61
Switch from jemalloc to mimalloc
2 years ago
Frank Denis
9a3cde4ba5
Format
2 years ago
Frank Denis
9e52627655
Update serde_big_array
3 years ago
Frank Denis
025c3b99c3
Nits
3 years ago
Frank Denis
714241e2d5
Update clap to v3
3 years ago
Frank Denis
7cf89393c2
Try to daemonize after tokio's runtime has been built
3 years ago
Frank Denis
8b17418372
cache -> key_cache for clarity
3 years ago
Frank Denis
65b11b8380
Nits
3 years ago
Frank Denis
64715db2f6
Metrics appears to be compatible with daemonization now
3 years ago
Frank Denis
f0513d5acc
Initialize the tokio junk after privdrop
3 years ago
Frank Denis
78eb2719ab
Revert "Remove daemonization, it's always been broken"
...
This reverts commit 4f22725931
.
3 years ago
Frank Denis
4f22725931
Remove daemonization, it's always been broken
...
Fixes #68
3 years ago
mibere
7439475d58
Typo
4 years ago
Frank Denis
8c35df5705
Upgrade socket2 - Same thing, just breaking API changes
4 years ago
Frank Denis
f61c2545bd
Shorten
4 years ago
Frank Denis
1eeed9ab83
Remove annoying clippy checks
4 years ago
Frank Denis
dbed0a0867
Create certificates using a rolling state
...
A new key pair is now computed using the previous secret key as a seed.
This still provides forward secrecy, and allows multiple instances
to compute the same ephemeral keys without having to share a state.
Fixes #57
Fixes #27
4 years ago
Frank Denis
631ebd4776
Nits
4 years ago
Evaldas Auryla
3ad33aa32c
Nits
4 years ago
Frank Denis
869e873ad3
Try to use socket2 less
4 years ago
Frank Denis
156adf46c3
Upgrade to tokio 1.0.0
4 years ago
Frank Denis
e405c04236
Prometheus update
4 years ago
Frank Denis
ed72e0e064
Don't bail out if only metrics are enabled
4 years ago
Frank Denis
0526aba47b
Bail out if metrics and daemonization are enabled simultaneously
4 years ago
Frank Denis
24284541b0
Don't hardcode the TCP backlog
4 years ago
Frank Denis
641ba88ab1
Serialization now requires the Copy trait
4 years ago