The sendWindowUpdate function acquires the writeMutex and writes to the channel. Since Accept() holds the metadataMutex, this prevents processing other connections.
In all other places we carefully drop the metadata mutex before writing. Accept was an oversight.
The
sendWindowUpdate
function acquires thewriteMutex
and writes to the channel. SinceAccept()
holds themetadataMutex
, this prevents processing other connections.In all other places we carefully drop the metadata mutex before writing. Accept was an oversight.
Signed-off-by: David Scott dave@recoil.org