mirror of
https://github.com/rustfs/rustfs.git
synced 2026-10-04 04:21:35 +00:00
2e014d25b3
A restarted peer can accept a pooled connection and never send response headers, so HttpReader::open waited past the client body timeout before the body-stall timer or erasure hedge could run. Bound that header wait by the stall timeout and retry the open once on a fresh connection. After write quorum, MultiWriter still waited out the full disk stall for a silent peer, which matches the client timeout. Give remaining writers one second, then drop them so the caller returns. Signed-off-by: loverustfs <155562731+loverustfs@users.noreply.github.com>