Results 1 to 2 of 2

Thread: QHttp get delay request

  1. #1
    Join Date
    Nov 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default QHttp get delay request

    I've got a problem with a little launcher using QHttp to read a status.php and perform a GET checkupdate.php?ver=%1 and with those actions the launcher gets the status and update number. But now that the webhost QHttp connects to is using DDoS protection which waits 5 seconds to let you through the requests are not getting the correct data. Is there a way to insert a delay between the connection and the actual data request?

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QHttp get delay request

    Denial of service and anti-leaching defences are likely to limit the total number of connections and the connection rate. They are very unlikely to expect a delay between the establishment of a TCP connection to a HTTP port and the receipt of a GET request because that would break every browser on the planet. I suggest you reconsider what you are trying to do, what you are asking, and why you are using the deprecated QHttp class in the first place.

Similar Threads

  1. QHttp request
    By nimsnx in forum Qt Programming
    Replies: 1
    Last Post: 2nd July 2009, 20:54
  2. Replies: 11
    Last Post: 20th January 2009, 14:10
  3. QHTTP get request
    By s410i in forum Qt Programming
    Replies: 1
    Last Post: 5th September 2008, 17:35
  4. Difference between QHttp::get and QHttp.request
    By LMZ in forum Qt Programming
    Replies: 2
    Last Post: 6th September 2007, 16:15
  5. Qhttp::request(...) method and GET request
    By mikhailt in forum Qt Programming
    Replies: 4
    Last Post: 15th September 2006, 12:26

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
  •  
Qt is a trademark of The Qt Company.