do not send an error when resetting outstanding requests; refs #5

master
Marc Wäckerlin 15 years ago
parent cbe580f63d
commit a0afaa86f7
  1. 3
      proxyface/autoproxy.hxx

@ -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());

Loading…
Cancel
Save