PDA

View Full Version : How to abort only a single request leaving the remaining unaffected in QHttp?



Ferdous
7th September 2008, 17:20
I'm working on an application which does the following:

Given the paths and time periods, I've to download a number of files. If a file can't be downloaded within the associated time constraint, that particular request has to be canceled but the remaining ones must be unaffected and the application should continue with other requests.

abort() function doesn't serve this purpose. I've read the doc for QHttp but haven't found anything that can help me regarding this.

Please give me hint on how I can do it.

jacek
9th September 2008, 01:10
It seems that QHttp doesn't give you such opportunity. You could keep your own queue of requests and only give one request to QHttp at a time.