Proxy credentials are supported

This commit is contained in:
wiidev 2020-09-07 22:11:42 +01:00
parent 541836a643
commit 242b72add6

View File

@ -367,7 +367,7 @@ void downloadfile(const char *url, struct download *buffer)
#ifdef DEBUG_NETWORK
gprintf("\nConnected\n");
#endif
// Connect to a web proxy without credentials
// Connect to a web proxy
if (getProxyAddress() && getProxyPort() > 0)
{
if (!connect_proxy(&httpinfo, host, getProxyUsername(), getProxyPassword()))