Skip to content

Commit

Permalink
Disable setDecompressedSafetyCheckThreshold (#10956)
Browse files Browse the repository at this point in the history
Fixes: #10902
  • Loading branch information
TheOneRing authored Jun 23, 2023
1 parent 66e29f0 commit 7668e0a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libsync/abstractnetworkjob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ void AbstractNetworkJob::sendRequest(const QByteArray &verb,
// we don't follow redirects, if we receive one the ConnectionValidor is triggered
_request.setAttribute(QNetworkRequest::RedirectPolicyAttribute, QNetworkRequest::ManualRedirectPolicy);

// allow to transfer files with a big compression ratio
_request.setDecompressedSafetyCheckThreshold(-1);

_request.setAttribute(QNetworkRequest::CacheSaveControlAttribute, _storeInCache);

if (_cacheLoadControl.has_value()) {
Expand Down

0 comments on commit 7668e0a

Please sign in to comment.