Re: [curl-loader-devel] Page being posted to?
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2007-05-17 08:21:59
|
On 5/17/07, Jeremy Hicks <je...@no...> wrote: > > Is there any way to see the actual data being received/sent for the > requests (e.g. the html of the pages)? > Correcting myself. option -o may not to be working any more. However, all the HTTP body bytes passed are seen by the function do_nothing_write_func in loader.c, which just skips the bytes. As a temporary workaround you can place inside the function: -------------------------------------------------------------------------- static FILE* myfile = fopen ("myfile.txt", "w+"); fwrite(ptr, size, nmemb, myfile); return(nmemb*size); --------------------------------------------------------------------------- It should work for a single transfer, whereas a solid solution to be as described in our TODO list. Another option in meanwhile to see the body bytes of the non-encrypted responses is using ethereal/wireshark sniffer. -- Sincerely, Robert Iakobashvili, coroberti %x40 gmail %x2e com ........................................................... http://curl-loader.sourceforge.net A web testing and traffic generation tool. |