Results 1 to 6 of 6

Thread: loss of data recieved using http->readAll()

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    5
    Thanked 86 Times in 81 Posts

    Default Re: loss of data recieved using http->readAll()

    When you receive readyRead signal you must control the size of data available with QHttp::bytesAvailable()
    You can return when bytes Available aren't sufficient for your computation
    A camel can go 14 days without drink,
    I can't!!!

  2. #2
    Join Date
    Apr 2008
    Location
    California
    Posts
    25
    Qt products
    Qt4
    Platforms
    MacOS X Windows
    Thanks
    2

    Default Re: loss of data recieved using http->readAll()

    Hello!

    Thank you for your responses. I believe I understand what is wrong with my logic. Do you happen to have a code snippit which will help me understand the handling of response better?
    - AR

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.