Results 1 to 4 of 4

Thread: Qhttp request and response debugging

  1. #1
    Join Date
    Jun 2007
    Posts
    24
    Thanks
    11
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Qhttp request and response debugging

    OS: Windows XP/Vista
    Qt version: 4.6.1
    Using OpenSSL

    I need to watch the actual requests and responses that is going through the wire for QHttp requests and responses. I tried with few of the http debuggers available in the market but they seem to work only for requests that are using the WinInet functions. Unfortunately, the openssldump utility is not present on windows platforms. If you have written something like this, can you share it?

    Thank you.

  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 request and response debugging

    Wireshark may be your friend.

  3. #3
    Join Date
    Jun 2007
    Posts
    24
    Thanks
    11
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qhttp request and response debugging

    Thank you for the reply.

    Unfortunately, Wireshark can not interrupt a request. When the response comes in, I like to interrupt and make the application look as though the response never came in.

  4. #4
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qhttp request and response debugging

    So create a firewall rule to prevent the response from arriving.

Similar Threads

  1. QHttp Response content
    By ct in forum Qt Programming
    Replies: 9
    Last Post: 11th July 2010, 11:06
  2. Replies: 0
    Last Post: 25th April 2010, 15:50
  3. Replies: 0
    Last Post: 13th March 2010, 21:00
  4. Replies: 11
    Last Post: 20th January 2009, 14:10
  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.