From 47777b7eba9de171f40a216b32b8a9361aee15e0 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 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 ();