summaryrefslogtreecommitdiffstats
path: root/src/network/access
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-08-27 10:20:34 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-08-27 10:24:03 (GMT)
commit2c18dd72d51efffa64ed54f058c64f6e4fc5c597 (patch)
treeac0efecd2ced7ff038222d7b101e7ab99e3ac4bf /src/network/access
parentf4a2e715dea26ab732352839f614f6236fce604b (diff)
downloadQt-2c18dd72d51efffa64ed54f058c64f6e4fc5c597.zip
Qt-2c18dd72d51efffa64ed54f058c64f6e4fc5c597.tar.gz
Qt-2c18dd72d51efffa64ed54f058c64f6e4fc5c597.tar.bz2
QNAM HTTP Code: Reduce connection count for Symbian
For mobile devices with high latency network it does not make sense to have 6 HTTP connections per host:port. Reduced it to 3.
Diffstat (limited to 'src/network/access')
-rw-r--r--src/network/access/qhttpnetworkconnection.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/access/qhttpnetworkconnection.cpp b/src/network/access/qhttpnetworkconnection.cpp
index 7b5a6e2..6ef124f 100644
--- a/src/network/access/qhttpnetworkconnection.cpp
+++ b/src/network/access/qhttpnetworkconnection.cpp
@@ -65,7 +65,11 @@
QT_BEGIN_NAMESPACE
+#ifdef Q_OS_SYMBIAN
+const int QHttpNetworkConnectionPrivate::defaultChannelCount = 3;
+#else
const int QHttpNetworkConnectionPrivate::defaultChannelCount = 6;
+#endif
// the maximum amount of requests that might be pipelined into a socket
// from what was suggested, 3 seems to be OK