Fix: Client Bootstrapper ignores proxy
Ignore the proxy settings when downloading the client
This commit is contained in:
@@ -140,6 +140,9 @@ namespace Disco.ClientBootstrapper
|
|||||||
string clientSourceLocation = Path.Combine(tempWorkingDirectory, "PreparationClient.zip");
|
string clientSourceLocation = Path.Combine(tempWorkingDirectory, "PreparationClient.zip");
|
||||||
using (var webClient = new WebClient())
|
using (var webClient = new WebClient())
|
||||||
{
|
{
|
||||||
|
// Don't use a proxy when downloading the Client
|
||||||
|
webClient.Proxy = new WebProxy();
|
||||||
|
|
||||||
webClient.DownloadFile("http://disco:9292/Services/Client/PreparationClient", clientSourceLocation);
|
webClient.DownloadFile("http://disco:9292/Services/Client/PreparationClient", clientSourceLocation);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.0411.1608")]
|
[assembly: AssemblyVersion("1.2.0418.1759")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0411.1608")]
|
[assembly: AssemblyFileVersion("1.2.0418.1759")]
|
||||||
|
|||||||
Reference in New Issue
Block a user