PDA

View Full Version : closing file objects of pending requests in QHttp



nisha0609
11th January 2007, 09:46
Hello All,

When we have multiple requests pending for the QHttp class, and if an error occurs during any such request processing then abort() slot is called automaticaly.
Now I need to close all the files pointed to by the file objects of the pending requests, before the requests are aborted

Can anyone help me in this??

Nisha

wysota
18th January 2007, 10:52
Before they are aborted? If you need it to happen before abort() is called, I suggest you connect to QHttp::requestFinished() signal and act there.