mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Fix blocking request cancelation after a redirect occurs
This commit is contained in:
parent
150668dda8
commit
4495699bfe
@ -306,6 +306,9 @@ void QgsBlockingNetworkRequest::replyFinished()
|
||||
break;
|
||||
};
|
||||
|
||||
if ( mFeedback )
|
||||
connect( mFeedback, &QgsFeedback::canceled, mReply, &QNetworkReply::abort );
|
||||
|
||||
if ( !mAuthCfg.isEmpty() && !QgsApplication::authManager()->updateNetworkReply( mReply, mAuthCfg ) )
|
||||
{
|
||||
mReplyContent.clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user