Skip to main content

DEFAULT_CHUNK_BUDGET

Constant DEFAULT_CHUNK_BUDGET 

Source
pub const DEFAULT_CHUNK_BUDGET: usize = 8191;
Expand description

Default per-chunk SDP budget, in bytes.

IRCv3 specifies a 4094-byte client tag-value ceiling, and ObbyIRCd raises the limit its relay actually carries to 8191. A host on a different ircd, or one that wants headroom for the JSON and tag-value escaping this module does not itself perform, should measure its own server’s real budget and pass that instead of trusting either number blindly.