Skip to content

Instantly share code, notes, and snippets.

@mnutt
Last active November 22, 2017 23:12
Show Gist options
  • Save mnutt/5369b12f3063d90918a09903ee643926 to your computer and use it in GitHub Desktop.
Save mnutt/5369b12f3063d90918a09903ee643926 to your computer and use it in GitHub Desktop.
diff --git a/qtbase/src/network/access/qhttpnetworkconnection.cpp b/qtbase/src/network/access/qhttpnetworkconnection.cpp
index e6a15ccfc4..d635930bf7 100644
--- a/qtbase/src/network/access/qhttpnetworkconnection.cpp
+++ b/qtbase/src/network/access/qhttpnetworkconnection.cpp
@@ -67,10 +67,10 @@
QT_BEGIN_NAMESPACE
-const int QHttpNetworkConnectionPrivate::defaultHttpChannelCount = 6;
+const int QHttpNetworkConnectionPrivate::defaultHttpChannelCount = 1000;
// The pipeline length. So there will be 4 requests in flight.
-const int QHttpNetworkConnectionPrivate::defaultPipelineLength = 3;
+const int QHttpNetworkConnectionPrivate::defaultPipelineLength = 60;
// Only re-fill the pipeline if there's defaultRePipelineLength slots free in the pipeline.
// This means that there are 2 requests in flight and 2 slots free that will be re-filled.
const int QHttpNetworkConnectionPrivate::defaultRePipelineLength = 2;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment