PDA

View Full Version : Qhttp request and response debugging



William Wilson
30th May 2010, 01:49
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.

ChrisW67
30th May 2010, 04:30
Wireshark (http://www.wireshark.org/) may be your friend.

William Wilson
30th May 2010, 22:38
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.

squidge
30th May 2010, 22:51
So create a firewall rule to prevent the response from arriving.