do not send an error when resetting outstanding requests; refs #5
This commit is contained in:
@@ -114,9 +114,6 @@ namespace proxy {
|
|||||||
#ifdef QT_NETWORK_LIB
|
#ifdef QT_NETWORK_LIB
|
||||||
//! Reset, stop all outstanding checks
|
//! Reset, stop all outstanding checks
|
||||||
void reset() {
|
void reset() {
|
||||||
if (_requests.size() || _timeout1.isActive() || _timeout2.isActive())
|
|
||||||
// error when we need to abort
|
|
||||||
proxyError(QNetworkReply::TimeoutError);
|
|
||||||
_timeout1.stop();
|
_timeout1.stop();
|
||||||
_timeout2.stop();
|
_timeout2.stop();
|
||||||
for (Requests::iterator it(_requests.begin());
|
for (Requests::iterator it(_requests.begin());
|
||||||
|
Reference in New Issue
Block a user