> For log messages like "Unsupported Cache-Control directive x-gzip-ok --
> ignored." would it be possible to include the url from which this header was
> produced? A global config option to include the url would be appreciated.
> Pointers on where to do a possible patch for this would also be welcomed.
Okay, I've done most of the work.
The variable scrubLogs controls whether URLs go into log files. Most
of the messages that may contain URLs will obey this variable.
In order to get URLs into new messages, locate the place where the
message is generated (grep for "do_log") and add a "%s" somewhere in
the string, and "scrub(foo)" in the parameter list.
A good place to look for candidates is http_parse.c.
Juliusz
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users