We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b432c7 commit 2ed65bfCopy full SHA for 2ed65bf
remoc/src/robj/rw_lock/mod.rs
@@ -14,6 +14,14 @@
14
//! and the remote endpoints, thus its performance is limited by the physical connection
15
//! latency.
16
//!
17
+//! # Security
18
+//!
19
+//! This module is **not** designed for use with untrusted remote peers.
20
+//! A malicious peer can hold a [ReadGuard](ReadGuard) or [WriteGuard](WriteGuard)
21
+//! indefinitely, which blocks the [Owner](Owner) from processing any further
22
+//! read or write requests, effectively causing a denial of service for all peers.
23
+//! Only use this module with trusted peers.
24
25
//! # Usage
26
27
//! [Create an RwLock owner](Owner::new) and use [Owner::rw_lock] to acquire
0 commit comments