diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-01-20 21:37:03 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-01-21 12:10:55 (GMT) |
commit | 0a9e29a58bd501af2e52f868386b27b29ebb1a72 (patch) | |
tree | ac9cc93f2c919ac52613e7f29a3764c729d574f0 /src/network/access/qhttpnetworkconnection_p.h | |
parent | 694be5a31be7e24761753ab9eccd87e8d08607e0 (diff) | |
download | Qt-0a9e29a58bd501af2e52f868386b27b29ebb1a72.zip Qt-0a9e29a58bd501af2e52f868386b27b29ebb1a72.tar.gz Qt-0a9e29a58bd501af2e52f868386b27b29ebb1a72.tar.bz2 |
QNAM HTTP: make it give some better error messages in case of socket failure.
Reviewed-By: Peter Hartmann
Diffstat (limited to 'src/network/access/qhttpnetworkconnection_p.h')
-rw-r--r-- | src/network/access/qhttpnetworkconnection_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/access/qhttpnetworkconnection_p.h b/src/network/access/qhttpnetworkconnection_p.h index 76da883..03cf09c 100644 --- a/src/network/access/qhttpnetworkconnection_p.h +++ b/src/network/access/qhttpnetworkconnection_p.h @@ -185,7 +185,8 @@ public: void createAuthorization(QAbstractSocket *socket, QHttpNetworkRequest &request); - QString errorDetail(QNetworkReply::NetworkError errorCode, QAbstractSocket *socket); + QString errorDetail(QNetworkReply::NetworkError errorCode, QAbstractSocket *socket, + const QString &extraDetail = QString()); #ifndef QT_NO_COMPRESS bool expand(QAbstractSocket *socket, QHttpNetworkReply *reply, bool dataComplete); |