diff --git a/src/tl/tl/tlHttpStreamQt.cc b/src/tl/tl/tlHttpStreamQt.cc index 48510c697..96a8fca39 100644 --- a/src/tl/tl/tlHttpStreamQt.cc +++ b/src/tl/tl/tlHttpStreamQt.cc @@ -311,6 +311,9 @@ InputHttpStreamPrivateData::issue_request (const QUrl &url) delete mp_buffer; mp_buffer = 0; + // remove old request (important for redirect) + close (); + // reset the retry counters -> this way we can detect authentication failures s_auth_handler->reset ();