nroi / cpcache

central pacman cache
MIT License
15 stars 3 forks source link

Connection to remote mirror interrupted when other clients are still downloading #13

Closed nroi closed 5 years ago

nroi commented 5 years ago

Suppose client A starts to download a file, and client B begins to download the same file a few seconds later, while the download of client A still hasn't finished. No new connection to the remote mirror is started (which is intended), instead, client B uses the download initiated by client A. However, if client A now interrupts the download (i.e., closes the connection), the download will stall for client B.