SIGN IN SIGN UP
Homebrew / brew UNCLAIMED

🍺 The missing package manager for macOS (or Linux)

0 0 185 Ruby

Fix race condition in concurrent downloads for duplicate URLs

This commit fixes the issue by:
- Adding @downloads_by_location hash to track downloads by file path
- Deduplicating downloads based on cached_location instead of
  Downloadable object identity
- Ensuring multiple downloadables sharing the same file reuse the same
  download future

Fixes #21425
S
Sanket Kalekar committed
e11589418461393ee604f341d2fdef2297398fb0
Parent: 26fb7f8
Committed by GitHub <noreply@github.com> on 1/28/2026, 1:16:34 PM