Fixed crash in WebDAV access test observed on MacOS, but probably also relevant for other platforms.

This commit is contained in:
Matthias 2021-02-02 10:53:03 -08:00 committed by Matthias Koefferlein
parent caa601fe68
commit 47777b7eba
1 changed files with 3 additions and 0 deletions

View File

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