Results 1 to 2 of 2

Thread: How to abort only a single request leaving the remaining unaffected in QHttp?

  1. #1
    Join Date
    Sep 2008
    Location
    Bangladesh
    Posts
    17
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Windows

    Default How to abort only a single request leaving the remaining unaffected in QHttp?

    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.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to abort only a single request leaving the remaining unaffected in QHttp?

    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.

Similar Threads

  1. KDE/QWT doubt on debian sarge
    By hildebrand in forum KDE Forum
    Replies: 13
    Last Post: 25th April 2007, 06:13

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.