Bug 1421354 - Allow stub installer download resuming in more error cases. r=agashlin

MozReview-Commit-ID: 6UnbJAwmUC1

--HG--
extra : rebase_source : e84cbd6111f34683960a0965af84907535136581
This commit is contained in:
Matt Howell 2017-11-28 10:54:32 -08:00
parent 52d69a63ca
commit 8d0cabec1f
2 changed files with 5 additions and 0 deletions

View File

@ -491,6 +491,11 @@ die:
{
ec = GetLastError();
TRACE(_T("InetBgDl: InternetReadFile failed, gle=%u\n"), ec);
if (ERROR_INTERNET_CONNECTION_ABORTED == ec ||
ERROR_INTERNET_CONNECTION_RESET == ec)
{
ec = ERROR_BROKEN_PIPE;
}
break;
}