mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-30 17:00:48 +01:00
Each accepted connection previously spawned an unbounded worker thread that could block forever in peek, letting idle clients exhaust threads. Cap in-flight connections per listener and give the header peek a read deadline, cleared again before traffic is proxied. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>