Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How can I get 10 different URLs?
victor wang last edited by A Former User
I'm using Q t5.5 on my computer.
I want to get 10 different Urls.
But when i using connect to do it will lost connect of the Url.
This is my code here.
And this is the replyFinished() slot here.
How can i solve this problem?
Is the slot called those many times ? Since u r firing 10 request u may b hitting issue. Can u try firing 6 requests and try?
victor wang last edited by
I can firing for 5 times without any problem.
But when i firing for 6 or more it will cause the problem sometimes.
It cannot connect to the server.
Your server probably can't cope with so many requests at once.
Slow down. Wait for the first request to finish before you send your second one.
QNetworkAccess manager can only handle max 6 requests in parallel. That may be causing the issue.
@dheerendra while the number of parallel queries is correct, it should not have an influence here. The following queries will be queued and started once another as been completed. I think @JKSH is likely on the right track with a server side problem.