pub async fn relay_bidirectional_boxed(
stream_a: BoxStream,
stream_b: BoxStream,
idle_timeout: Option<Duration>,
) -> Result<(), ProtocolError>Expand description
Relay between boxed streams (plaintext TCP boxed, or TLS-wrapped).
Used when the control channel is TLS-protected while the external side
remains plaintext TCP. Half-close semantics match
relay_bidirectional_with_timeout.