Details
Description
QNetworkAccessManager uses "6" concurrent requests on desktop platforms according to the documentation. There is no documentation on other platforms. It is my wish that we could query for the number of concurrent connections (max and active) as well as set it.
My reasoning is as follows: when communicating with an embedded device, having any kind of concurrency is bad. I would like to limit it to 1 connnection at a time, which helps not overload the device. (memory buffers and scheduling) (For this device in paricular having multiple requests slows down all other requests such that X requests takes X *(1+Y) ) If I need to communicate to other non-embedded hosts then I should be able to use another QNetworkAccessManager instance.
I've looked into subclassing QNetworkAccessManager, but I realized that I have to re-implement s good bit of what QNetworkAccessManager already does, so the best solution is to just tweak the existing class.
Attachments
Issue Links
- is duplicated by
-
QTBUG-108215 Configurable number of concurrent connections in QNetworkAccessManager
-
- Closed
-
- relates to
-
QTBUG-20726 QNetworkAccessManager connection cache timeout should be configurable
-
- Closed
-
-
QTBUG-8468 QNetworkAccessManager Configurable max number of connections
-
- Closed
-
For Gerrit Dashboard: QTBUG-25280 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
446992,1 | tst_QNetworkReply: check whether we actually use six TCP connections in HTTP/1 | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: NEW | 0 | 0 |