2
0
mirror of https://github.com/jedisct1/encrypted-dns-server synced 2024-11-10 19:10:25 +00:00
Commit Graph

408 Commits

Author SHA1 Message Date
Frank Denis
d4d53ec5ed
Merge pull request #96 from DNSCrypt/dependabot/cargo/clap-3.2.13
Bump clap from 3.2.12 to 3.2.13
2022-07-20 12:58:20 +02:00
dependabot[bot]
ff6415b379
Bump clap from 3.2.12 to 3.2.13
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.12 to 3.2.13.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.12...v3.2.13)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 04:23:08 +00:00
Frank Denis
ea6090b315 Tokio 1.20 2022-07-15 11:13:30 +02:00
Frank Denis
0374976c66 Add Cargo.lock
Fixes #90
2022-07-12 23:22:12 +02:00
Frank Denis
214351be32 Remove the parking_lot feature from tokio
Mutexes from the standard library have been improved in recent Rust
versions. Only in Linux, though.
2022-07-02 17:46:13 +02:00
Frank Denis
4edc14c0ee Bump 2022-06-30 15:39:58 +02:00
Frank Denis
415257cbde Require slabigator 0.1.4 2022-06-30 15:36:12 +02:00
Frank Denis
98f53b4461 Update deps 2022-06-30 15:15:07 +02:00
Frank Denis
62e2ccd67d Merge branch 'master' of github.com:jedisct1/rust-dnscrypt-server
* 'master' of github.com:jedisct1/rust-dnscrypt-server:
  Improve privdrop condition
  Mitigate warning on intentional unused variable
2022-06-25 16:03:40 +02:00
Frank Denis
724dd6d0ba
Merge pull request #88 from lifenjoiner/win 2022-06-25 15:42:40 +02:00
YX Hao
4f99570f22 Improve privdrop condition 2022-06-25 21:29:42 +08:00
YX Hao
87e26a8aaa Mitigate warning on intentional unused variable 2022-06-25 21:19:58 +08:00
Frank Denis
93937c92e7 Bump 2022-06-24 20:37:45 +02:00
Frank Denis
936ff9f213 Tokio needs descriptors for timers and more 2022-06-24 18:33:33 +02:00
Frank Denis
ae5195cc7e Bump the example number of allowed TCP connections 2022-06-24 12:09:17 +02:00
Frank Denis
497770494b Nits 2022-06-24 12:02:38 +02:00
Frank Denis
baa8f8235b If we can't bump the file limit high enough, try as high as we can 2022-06-24 12:01:56 +02:00
Frank Denis
30dbbd6964 Bump 2022-06-24 11:43:36 +02:00
Frank Denis
76208fc494 Bring back the process feature of prometheus
This is extremely useful, in particular to watch the number of
file descriptors used by the application.

Unfortunately, the prometheus crate is currently broken on 32-bit
platforms.

For that reason, Until https://github.com/tikv/rust-prometheus/pull/446
is merged, we have to use a fork on that crate.
2022-06-24 11:41:35 +02:00
Frank Denis
479cb956f1 If we are running out of descriptors, drop an old connection and wait 2022-06-24 10:28:04 +02:00
Frank Denis
3499fd2d10 Warn if we can't set limits 2022-06-24 10:21:25 +02:00
Frank Denis
ead91e1ffa Just move the set_limits function up 2022-06-24 08:21:51 +02:00
Frank Denis
6697aa8c0c Set resource limits 2022-06-23 22:30:16 +02:00
Frank Denis
d011f82e0d Bump 2022-06-23 03:39:57 +02:00
Frank Denis
b33836a4cc Update minimum dep versions 2022-06-23 03:22:48 +02:00
Frank Denis
9ddeadc2ba Handle accept() that can fail for Prometheus, too 2022-06-23 03:19:39 +02:00
Frank Denis
2aa378cae4 Tokio's accept() can fail 2022-06-23 03:16:26 +02:00
Frank Denis
fd8d282365 Remove the VecDeque for cancelation, use a slab instead 2022-06-22 20:47:58 +02:00
Frank Denis
9374f340a7 UDP acceptor: cap at udp_max_active_connections not tcp_ 2022-06-21 18:14:51 +02:00
Frank Denis
9a0f13b8b9 Merge branch 'master' of github.com:jedisct1/rust-dnscrypt-server
* 'master' of github.com:jedisct1/rust-dnscrypt-server:
  Update readme.md
  Add compiling condition for Windows
2022-06-19 14:09:25 +02:00
Frank Denis
88c8db8ab2
Merge pull request #87 from lifenjoiner/win
Add compiling condition for Windows
2022-06-19 14:09:03 +02:00
YX Hao
cb2944ca40 Update readme.md 2022-06-19 16:06:15 +08:00
YX Hao
18dd7538b5 Add compiling condition for Windows 2022-06-19 15:45:02 +08:00
Frank Denis
2b9bf1ff5a Revert "Don't enable the parking_lot feature in tokio"
This reverts commit a9c6061862.
2022-06-16 08:32:48 +02:00
Frank Denis
69baa4020e Require the latest tokio version 2022-06-12 11:24:19 +02:00
Frank Denis
8a8d459148 bump 2022-06-12 11:23:29 +02:00
Frank Denis
a9c6061862 Don't enable the parking_lot feature in tokio
That seems to be causing the event loop to randomly deadlock and the
server to stop accepting connections.
2022-06-12 11:21:33 +02:00
Frank Denis
528161044a Bump 2022-05-30 13:25:07 +02:00
Frank Denis
a7dd01c6c6 Upgrade hyper 2022-05-30 12:20:38 +02:00
Frank Denis
0a4a4b5a52 Update deps 2022-05-25 12:29:12 +02:00
Frank Denis
7c2b7a3b42 Don't enable the prometheus "process" feature
It's broken on non-Linux system as well as at least linux/armv7l
2022-05-24 22:03:47 +02:00
Frank Denis
748b944a61 Switch from jemalloc to mimalloc 2022-05-24 20:45:18 +02:00
Frank Denis
9a3cde4ba5 Format 2022-05-14 01:30:16 +02:00
Frank Denis
9e52627655 Update serde_big_array 2022-03-28 11:21:12 +02:00
Frank Denis
0deb4f4d0b Update deps (parking_lot in particular) 2022-01-31 08:51:49 +01:00
Frank Denis
025c3b99c3 Nits 2022-01-01 10:24:15 +01:00
Frank Denis
714241e2d5 Update clap to v3 2022-01-01 10:24:02 +01:00
Frank Denis
6a6c4d71e4 Y++ 2022-01-01 10:20:34 +01:00
Frank Denis
7b39ea4554 Update deps; includes a nasty bug in tokio 2021-11-17 22:36:46 +01:00
Frank Denis
9bbefc42e8 Update deps 2021-10-29 19:54:23 +02:00