Re: some squid questions

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 04 Sep 2001 00:35:49 +0200

> bishomar wrote:
>
> in brief i want to know how is the relation between squid and server?

As per defined by HTTP.

To serevers and other "parent" proxies Squid is just a HTTP client like
any other HTTP client.

> second i want to know if i in http.c do the same in clientredirectdone
> in a similar function, does squid crash?

No idea. Probably not a very wise thing to do that late in the
processing. Most likely better to do it in client_side.c to make sure
the request is fully restarted on the new URL.

For a reference on how to do such things, see for example the error_map
function of the rproxy branch <http://squid.sourceforge.net/rproxy/>.
This intercepts error pages and replaces the body with the content of
some other URL.

--
Henrik Nordstrom
Squid Hacker
Received on Mon Sep 03 2001 - 16:38:35 MDT

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