You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (setting != InstallerDownloader::WinInet && m_proxyUri)
{
AICLI_LOG(Core, Info, << "Forcing use of wininet for download as DO does not support proxy");
return InstallerDownloader::WinInet;
}
else// Default or DO
{
return InstallerDownloader::DeliveryOptimization;
}
}
As the comment in above method explained, winget should use WinINet if specified by settings, or if the user wants to use a proxy.
But if I set the network.downloader settings to "wininet", then winget still uses DO downloader.
Steps to reproduce
If you use proxy and set network.downloader setting to "do" or "default", then Winget uses WinINet downloader.
In other cases, Winget uses DO downloader.
Brief description of your issue
winget-cli/src/AppInstallerCommonCore/NetworkSettings.cpp
Lines 26 to 41 in 6df6ded
As the comment in above method explained, winget should use WinINet if specified by settings, or if the user wants to use a proxy.
But if I set the network.downloader settings to "wininet", then winget still uses DO downloader.
Steps to reproduce
If you use proxy and set network.downloader setting to "do" or "default", then Winget uses WinINet downloader.
In other cases, Winget uses DO downloader.
network.downloader: "wininet"
&> winget.exe install --verbose <package>
-> uses DO downloader.network.downloader: "wininet"
&> winget.exe install --verbose --proxy http://127.0.0.1:8118 <package>
-> uses DO downloader.network.downloader: "do"
&> winget.exe install --verbose --proxy http://127.0.0.1:8118 <package>
-> uses WinINet downloader.Expected behavior
Winget should use WinINet downloader instead of DO downloader when the user set the network.downloader settings to "wininet".
Actual behavior
Winget uses DO downloader.
Environment
The text was updated successfully, but these errors were encountered: