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
parent 84863cce71
commit ab7db78ee8
1 changed files with 3 additions and 0 deletions

View File

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