Skip to content
Permalink
Browse files

Fix blocking request cancelation after a redirect occurs

  • Loading branch information
nyalldawson committed Feb 1, 2019
1 parent 150668d commit 4495699bfeee6dbc97149025e321d13bc437ee8e
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/qgsblockingnetworkrequest.cpp
@@ -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();

0 comments on commit 4495699

Please sign in to comment.
You can’t perform that action at this time.