From ab7db78ee8d11d820c118439df822d4965f6d8de Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 2 Feb 2021 10:53:03 -0800 Subject: [PATCH] Fixed crash in WebDAV access test observed on MacOS, but probably also relevant for other platforms. --- src/tl/tl/tlHttpStreamQt.cc | 3 +++ 1 file changed, 3 insertions(+) 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 ();