fn session_config_with(
cfg: &SessionManagerConfig,
capabilities: Capabilities,
max_frames_behind_gap: Option<usize>,
) -> HoprSessionConfigExpand description
As session_config, with the initiating session’s own head-of-line bound.
None inherits the node default; Some(0) disables the bound for this session; Some(n) sets
it. The zero-disables convention matches the node setting, so the per-session
and node-wide knobs cannot mean opposite things by the same value.
Sessions accepted from a peer pass None: the bound governs how we reassemble what arrives,
so it is ours to choose, not the initiator’s to impose on us.