- From: Richard Atterer <richard@list03.atterer.net>
- Date: Mon, 1 Sep 2003 07:12:16 -0400 (EDT)
- To: Martial Gourde <mgourde@coredev.com>
- Cc: www-lib-request@w3.org
On Thu, Aug 28, 2003 at 09:49:05AM -0400, Martial Gourde wrote:
> I am looking for a way to disable the creation and writing of data to
> the file ‘w3chttp.out’ .
>
> I disabled all the traces (no mask) , defined callback procedure for
> print, trace and data trace but when I execute my
> program I still see the ‘w3chttp.out’ file with a copy of the request
> and the response.
w3chttp.out is written if both of this is true:
- libwww is compiled with HTDEBUG. This is usually the case (and IMHO
it's a good thing)
- PROT_TRACE is turned on. This happens when the "p" character is passed
to HTSetTraceMessageMask()
My own code contains the following, and wc3http.out is only written when
libwwwDebug is true:
if (libwwwDebug) {
HTSetTraceMessageMask("flbtspuhox");
HTTrace_setCallback(tracer);
}
HTH,
Richard
--
__ _
|_) /| Richard Atterer | GnuPG key:
| \/¯| http://atterer.net | 0x888354F7
¯ '` ¯
Received on Monday, 1 September 2003 12:38:41 UTC