Skip to main content

subscription_suppressed

Function subscription_suppressed 

Source
pub fn subscription_suppressed(request: &Request, response: &Response) -> bool
Expand description

Whether a transferor asked for no implicit subscription (RFC 4488 §3).

Refer-Sub: false on a REFER says “do not create one”. It exists because the implicit subscription is the expensive part of a transfer for a network that does many: each one is a dialog, a NOTIFY, and a terminating NOTIFY, for progress the transferor may not want.

§3 is careful about who decides: the transferor requests it and the transferee agrees by echoing Refer-Sub: false in its 2xx. A transferor that assumed agreement would stop watching for notifications the transferee is still sending.