Add a little bit of debugging output for system proxy URLs on linux
This commit is contained in:
parent
32e03ad8a3
commit
a707b4c502
@ -25,6 +25,8 @@ NetworkProxyFactory::NetworkProxyFactory()
|
||||
urls << QString::fromLocal8Bit(getenv("ALL_PROXY"));
|
||||
urls << QString::fromLocal8Bit(getenv("all_proxy"));
|
||||
|
||||
qDebug() << "Detected system proxy URLs:" << urls;
|
||||
|
||||
foreach (const QString& url_str, urls) {
|
||||
if (url_str.isEmpty())
|
||||
continue;
|
||||
@ -82,6 +84,7 @@ QList<QNetworkProxy> NetworkProxyFactory::queryProxy(
|
||||
ret.setType(QNetworkProxy::HttpProxy);
|
||||
else
|
||||
ret.setType(QNetworkProxy::Socks5Proxy);
|
||||
qDebug() << "Using proxy URL:" << env_url_;
|
||||
}
|
||||
break;
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user