Skip to main content

TCP_LOGIN_REDIRECT_SAFETY_LIMIT

Constant TCP_LOGIN_REDIRECT_SAFETY_LIMIT 

Source
pub const TCP_LOGIN_REDIRECT_SAFETY_LIMIT: usize = 3;
Expand description

Rust transport safety bound shared by Platform/Broker login loops.

C++ re-establishes immediately and relies on the server-managed TTL rather than exposing a client-side numeric cap (logger.cpp:718-748). Rust keeps the existing three-redirect bound to avoid an unbounded malicious/broken redirect chain. Replace this only when a server/config cap is available or channel-runtime owns a stronger cycle detector.