On Fri, Aug 09, 2002, Joey Coco wrote:
> > I'm going to address 1) now, 2) is much harder (although some work is
> > underway now that will make developing 2) patchs much easier in the
> > future).
> >
>
> It's #2.. #1 we got figured out. What we want to do is if the content
> matches a certain "criteria" either blank out the content, or display a
> squid access denied page..
Ah. yes. Well, if you wanna do html filtering, you'll need to
code your filter in such a way that if you discover a partial match
at the end of a buffer, to keep the buffer around somewhere until
the next buffer comes along so you can do a 'complete match'.
You _COULD_ also, with some of the stuff that'll go into squid-HEAD
soonish, write a filter module that buffers all text/html content
until the complete amount has been read in, and _THEN_ send it to
the store/client, without affecting other stuff.
Adrian
Received on Fri Aug 09 2002 - 07:54:05 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:16:02 MST