diff --git a/src/tl/tl/tlHttpStreamQt.cc b/src/tl/tl/tlHttpStreamQt.cc index f31426767..053802d72 100644 --- a/src/tl/tl/tlHttpStreamQt.cc +++ b/src/tl/tl/tlHttpStreamQt.cc @@ -345,6 +345,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 ();