Unlimited mask_relay_max_bytes

This commit is contained in:
Alexey
2026-04-21 11:30:58 +03:00
parent 1e5b84c0ed
commit 09310ff284
3 changed files with 22 additions and 30 deletions

View File

@@ -1768,6 +1768,7 @@ pub struct AntiCensorshipConfig {
pub mask_shape_above_cap_blur_max_bytes: usize,
/// Maximum bytes relayed per direction on unauthenticated masking fallback paths.
/// Set to 0 to disable byte cap (unlimited within relay/idle timeouts).
#[serde(default = "default_mask_relay_max_bytes")]
pub mask_relay_max_bytes: usize,