Priority: P3: Somewhat important
Affects Version/s: 4.8.0, 4.8.1, 5.0.0
Fix Version/s: None
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.
|Field||Original Value||New Value|
|Status||Reported [ 10011 ]||Open [ 1 ]|
|Assignee||Shane Kearns [ shkearns ]|
|Priority||Not Evaluated [ 6 ]||P3: Somewhat important [ 4 ]|
|Workflow||Qt Bug Tracking [ 286542 ]||Qt Bug Tracking v2.0 [ 305896 ]|