We'd have to see some code of yours. But basically TCP connections have a timeout and should naturally die if there is no traffic on the connection within a defined period of time so it shouldn't be the case.
We'd have to see some code of yours. But basically TCP connections have a timeout and should naturally die if there is no traffic on the connection within a defined period of time so it shouldn't be the case.
I've attached downloading parts. Most of this downloader code isn't mine, I'm a noob so I didn't know how to make simultaneous connections with QHttp, I found some code on internet.
Yeah, I read that before, but this tool is supposed to work with ~300 requests / min, so I'm not sure if they timeout fast enough.But basically TCP connections have a timeout and should naturally die if there is no traffic on the connection within a defined period of time so it shouldn't be the case.
Well, this isn't compilable so it's hard to check what is going on there. In general I would suggest to replace all that with QNetworkAccessManager which is much easier to use than QHttp.
I thought you're going to read it so I removed unimportant parts. Can I PM you with a whole project, don't want to upload everything here?
I am not going to read through a whole project. If you want me to work on some code, prepare a minimal compilable example reproducing the problem. Otherwise convert your application to QNetworkAccessManager.
Is QNetworkAccessManager going to fix my problem?
If not, I have no reason to convert, I get everything I want from QHttp except that problem :/
Bookmarks