Fix fdfcb09: for content service, fallback to TCP downloads when HTTP stalls (#12056)

This commit is contained in:
Patric Stout
2024-02-11 20:24:28 +01:00
committed by GitHub
parent 8d9fa0ea89
commit 5b3bfe4c4c
5 changed files with 14 additions and 6 deletions

View File

@@ -291,7 +291,7 @@ public:
{
if (widget == WID_NCDS_CANCELOK) {
if (this->downloaded_bytes != this->total_bytes) {
_network_content_client.CloseConnection();
_network_content_client.Cancel();
this->Close();
} else {
/* If downloading succeeded, close the online content window. This will close