Skip to content

Commit 6910f69

Browse files
PhilipOakleydscho
authored andcommitted
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]> Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 58b29c3 commit 6910f69

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

compat/vcbuild/vcpkg_install.bat

+6
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ REM ================================================================
8080
:sub__install_one
8181
echo Installing package %1...
8282

83+
REM vcpkg may not be reliable on slow, intermittent or proxy
84+
REM connections, see e.g.
85+
REM 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
86+
REM which explains the hidden 21 second timeout
87+
REM (last post by Dave : Microsoft - Windows Networking team)
88+
8389
.\vcpkg.exe install %1:%arch%
8490
IF ERRORLEVEL 1 ( EXIT /B 1 )
8591

0 commit comments

Comments
 (0)