Re: [squid-users] redirect program - returning two urls

From: Henrik Nordström <hno@dont-contact.us>
Date: Mon, 15 Jul 2002 18:10:00 +0200

Zé Luís wrote:
> Hi everybody.
>
> I am working with redirect_program.
> I wrote a program c that it receives the parameters from squid.
> My doubt is this: when I make this:
>
> printf("%s %s %s %s\n",url_user,src_address,ident,"GET"); fflush(stdout);
>
> it functions correctly.

You don't actually need to return that much.. Of the returned data only the
URL is used.

> - the URL that the user requested
> and
> - another URL

???? What would this "another URL" be? What should Squid do with the two
URL's? The client only expects one result..

Regards
Henrik

-- 
Basic free Squid support provided thanks to MARA Systems AB
Your source of advanced reverse proxy solutions or customized
Squid solutions. http://www.marasystems.com/products/
Received on Mon Jul 15 2002 - 10:10:24 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:15 MST