Browse Source

Get TestDownload to pass

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Kevin Ottens 5 years ago
parent
commit
b1dc14977f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/libsync/abstractnetworkjob.cpp

+ 1 - 1
src/libsync/abstractnetworkjob.cpp

@@ -161,7 +161,7 @@ void AbstractNetworkJob::slotFinished()
 
 #if (QT_VERSION >= 0x050800)
     // Qt doesn't yet transparently resend HTTP2 requests, do so here
-    const auto maxHttp2Resends = 5;
+    const auto maxHttp2Resends = 3;
     QByteArray verb = requestVerb(*reply());
     if (_reply->error() == QNetworkReply::ContentReSendError
         && _reply->attribute(QNetworkRequest::HTTP2WasUsedAttribute).toBool()) {