aquatic_udp: mio: update access list on SIGHUP instead of regularly

This commit is contained in:
Joakim Frostegård 2021-11-02 20:32:13 +01:00
parent e332ac3052
commit d922e5e680
5 changed files with 92 additions and 46 deletions

21
Cargo.lock generated
View file

@ -79,6 +79,7 @@ dependencies = [
"hashbrown 0.11.2",
"hex",
"indexmap",
"log",
"privdrop",
"rand",
"serde",
@ -181,6 +182,7 @@ dependencies = [
"quickcheck_macros",
"rand",
"serde",
"signal-hook",
"socket2 0.4.2",
]
@ -1754,6 +1756,25 @@ dependencies = [
"opaque-debug",
]
[[package]]
name = "signal-hook"
version = "0.3.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c98891d737e271a2954825ef19e46bd16bdb98e2746f2eec4f7a4ef7946efd1"
dependencies = [
"libc",
"signal-hook-registry",
]
[[package]]
name = "signal-hook-registry"
version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0"
dependencies = [
"libc",
]
[[package]]
name = "simd-json"
version = "0.4.8"