[squid-users] Re: Malformed urls

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 18 Feb 2004 13:35:18 +0100 (CET)

On Wed, 18 Feb 2004, Deepa D wrote:

> Hi,
> Thanks for the response.
> access.log is listing the urls correctly. Sample :-
> http://in.yimg.com/i/in/adv/hp/pbhp_84x28_blu_yahoo.gif
>
> The redirector code is as follows :-
>
> char buff[MAX_BUFF] = "";
> setbuf(stdout, NULL);
> memset(buff,'\0',MAX_BUFF);
>
> while(fgets(buff, MAX_BUFF, stdin) != NULL) {
>
> log(LOG_INFO," Client - read from stdin = ",
> buff);
> }
>

What does the log function look like?

Also try strace/truss of the redirector process to verify that what it
logs matches what it reads from Squid.

Regards
Henrik
Received on Wed Feb 18 2004 - 05:35:22 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:02 MST