new option for timeout, longer timeout in shell, new untested command auth to set basic authentication credentials
This commit is contained in:
@@ -60,13 +60,13 @@ class NetworkAccessManager: public QNetworkAccessManager {
|
||||
return QNetworkAccessManager::configuration();
|
||||
}
|
||||
void connectToHost(const QString& hostName, quint16 port = 80) {
|
||||
//log(__PRETTY_FUNCTION__);
|
||||
//log(__PRETTY_FUNCTION__ + QString(" -> ") + hostName);
|
||||
QNetworkAccessManager::connectToHost(hostName, port);
|
||||
}
|
||||
void connectToHostEncrypted(const QString& hostName, quint16 port = 443,
|
||||
const QSslConfiguration& sslConfiguration
|
||||
= QSslConfiguration::defaultConfiguration()) {
|
||||
//log(__PRETTY_FUNCTION__);
|
||||
//log(__PRETTY_FUNCTION__ + QString(" -> ") + hostName);
|
||||
QNetworkAccessManager::connectToHostEncrypted(hostName, port,
|
||||
sslConfiguration);
|
||||
}
|
||||
@@ -171,7 +171,7 @@ class NetworkAccessManager: public QNetworkAccessManager {
|
||||
virtual QNetworkReply* createRequest(Operation op,
|
||||
const QNetworkRequest& req,
|
||||
QIODevice* outgoingData = 0) {
|
||||
//log(__PRETTY_FUNCTION__);
|
||||
//log(__PRETTY_FUNCTION__ + QString(" -> ") + req.url().url());
|
||||
switch (op) {
|
||||
case QNetworkAccessManager::HeadOperation: break;
|
||||
case QNetworkAccessManager::GetOperation: break;
|
||||
|
||||
Reference in New Issue
Block a user