Skip to content

Commit 790b5db

Browse files
committed
vcpkg_install: add comment regarding slow network connections
The vcpkg downloads may not succeed. Warn careful readers of the time out. A simple retry will usually resolve the issue. Signed-off-by: Philip Oakley <[email protected]>
1 parent d5f4a0c commit 790b5db

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

compat/vcbuild/vcpkg_install.bat

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ REM ================================================================
8080
:sub__install_one
8181
echo Installing package %1...
8282

83+
REM vcpkg may not be reliable on slow, intermittent or proxy connections
84+
REM e.g. https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/4a8f7be5-5e15-4213-a7bb-ddf424a954e6/winhttpsendrequest-ends-with-12002-errorhttptimeout-after-21-seconds-no-matter-what-timeout?forum=windowssdk
85+
REM which explains the hidden 21 second timeout
86+
REM (last post by Dave : Microsoft - Windows Networking team)
87+
8388
.\vcpkg.exe install %1:%arch%
8489
IF ERRORLEVEL 1 ( EXIT /B 1 )
8590

0 commit comments

Comments
 (0)