Expand description
Concurrent SFTP access over a single stream.
A Mutex around the stream would serialise every HTTP handler, turning a page’s N parallel subresource fetches back into N round trips — the exact failure this exists to avoid. Instead two tasks own the stream and replies are demultiplexed by request id, so any number of callers share one connection and their requests coalesce into one flush.