Bug 811646 - Make stub use higher timeout values and increase stub version. r=rstrong

This commit is contained in:
Brian R. Bondy 2012-11-16 21:39:17 -05:00
parent d6a9337d42
commit 98d2753189
2 changed files with 3 additions and 2 deletions

View File

@ -35,7 +35,7 @@
!define BETA_UPDATE_CHANNEL
!endif
!define BaseURLStubPing "http://download-stats.mozilla.org/stub/v2/"
!define BaseURLStubPing "http://download-stats.mozilla.org/stub/v3/"
# NO_INSTDIR_FROM_REG is defined for pre-releases which have a PreReleaseSuffix
# (e.g. Alpha X, Beta X, etc.) to prevent finding a non-default installation

View File

@ -929,7 +929,8 @@ FunctionEnd
Function StartDownload
${NSD_KillTimer} StartDownload
InetBgDL::Get "${URLStubDownload}" "$PLUGINSDIR\download.exe" /END
InetBgDL::Get "${URLStubDownload}" "$PLUGINSDIR\download.exe" \
/CONNECTTIMEOUT 120 /RECEIVETIMEOUT 120 /END
StrCpy $4 ""
${NSD_CreateTimer} OnDownload ${DownloadIntervalMS}
${If} ${FileExists} "$INSTDIR\${TO_BE_DELETED}"