Re: some question about squid source

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 22 Aug 2001 23:01:47 +0200

fatemeh bishemar wrote:

> hi all,
> I want to find the exact point in squid source that
> the http reply body retrieved completely.

There is no such location. The reply body is "streamed".

> 1) I think find it.is it 533 line in http.c file?
> 2)does squid do any save operate before it?

Squid starts saving the reply body as soon as 4KB has been received.

> 3) how can I find it is a html code or not?

You should do this by the mime type header. This does not require access to
the reply body. Squid-2.5 even has built in access controls for matching
reply headers.

> 4)and after returning from redirector program if it's
> response is not true where should I go to fetch
> another url?

???

> 5)where is your archive questions?
> thanks for great help.

See www.squid-cache.org. There is archives for both squid-users and
squid-devel.

--
Henrik Nordstrom
Squid Hacker
Received on Wed Aug 22 2001 - 15:03:22 MDT

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