mirror of
https://github.com/oven-sh/bun
synced 2026-02-11 19:38:58 +00:00
Fixed potential hang in binary upload test if server closes connection before 256 bytes are received: - Added close handler that resolves promise if not already resolved - Ensures test proceeds deterministically even if connection closes early - Allows assertions to run and fail appropriately if response is incomplete All 7 tests pass with 281 expect() calls. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>