Skip to main content

MAX_CLIENT_TAG_BYTES

Constant MAX_CLIENT_TAG_BYTES 

Source
pub const MAX_CLIENT_TAG_BYTES: usize = 4094;
Expand description

The byte budget a client may spend on its own +-prefixed tags.

A server may raise this, and no ISUPPORT token advertises it, so a client cannot discover the real ceiling and has to be told. ObbyIRCd allows 8191 for general client tags so one TAGMSG can carry a whole escaped WebRTC SDP, while holding the e2ee tag to this value on the same connection. Treat this as the floor to assume, not the limit to use.