FS#5875 - Bananas: online content doesn't stop downloading when canceled

Attached to Project: OpenTTD
Opened by Ricardo (Samu) - Friday, 24 January 2014, 15:39 GMT
Last edited by andythenorth (andythenorth) - Sunday, 03 September 2017, 06:23 GMT
Type Bug
Category Interface
Status Confirmed
Assigned To No-one
Operating System Windows
Severity Low
Priority Normal
Reported Version other
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


OpenTTD 1.4.0-beta3
Windows 7 64-bit SP1

I clicked Check Online Content from the main menu, waited a bit for the data to fill in, then click Select upgrades. It picked zBase (version r251), sized 273 MiB. I click Download, but since I'm on a slow internet, I decided to cancel before it finished.

While the game shows no indication of a download in progress, I noticed there was still a download activity on my connection. I went to check out what was happening and there was a connection maintaned to by openttd.exe.

Only by exiting and restarting OpenTTD, did this download stop.
This task depends upon

Comment by andythenorth (andythenorth) - Sunday, 03 September 2017, 06:23 GMT
Reproduced on r27910 (on OS X). Following steps Samu describes:
- zBase continues to be download after cancelling in game
- the tar is unpacked from the .gz on conclusion of the download

As expected, OpenTTD then won't see the unpacked tar until the game is restarted. Until restarted, zBase remains available for download, even though a local copy is now present (conventional behaviour, base sets are only rescanned on launch afaik).