1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-09-02 09:36:40 +02:00

add timeout for accepting tls connections (#393)

Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
fakeshadow
2021-11-16 08:22:24 +08:00
committed by GitHub
parent ce8ec15eaa
commit 7e7df2f931
10 changed files with 382 additions and 50 deletions

View File

@@ -47,6 +47,7 @@ derive_more = "0.99.5"
futures-core = { version = "0.3.7", default-features = false, features = ["alloc"] }
http = { version = "0.2.3", optional = true }
log = "0.4"
pin-project-lite = "0.2.7"
tokio-util = { version = "0.6.3", default-features = false }
# openssl
@@ -67,7 +68,9 @@ bytes = "1"
env_logger = "0.9"
futures-util = { version = "0.3.7", default-features = false, features = ["sink"] }
log = "0.4"
rcgen = "0.8"
rustls-pemfile = "0.2.1"
tokio-rustls = { version = "0.23", features = ["dangerous_configuration"] }
trust-dns-resolver = "0.20.0"
[[example]]