On Wed, 8 Nov 2000, Sitangshu Supakar wrote:
> Thanks for the reply. The documentation you referred tells the
> functions by which the headers can be manipulated. What I need is
> where to manipulate the header? Are there any hooks or callbacks.
> Thanks and Regards Sitangshu
Well, you can grep for a few functions that manipulate the headers and
you will, eventually, with some effort, get the idea where to place
your calls. There are no "pure" callbacks you are looking for; you
will have to modify code that processes the requests/replies. For
example, see how the Connection header field is handled, and how it
affects other fields.
Looking at the "squid -kd" debugging trace for a Squid that processes
one request at a time may also be useful.
When you are done with your manipulations, if you feel that a generic
"hook" is needed and feasible to implement, please contribute such a
patch so that folks after you will not have to suffer.
HTH,
Alex.
-- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Wed Nov 08 2000 - 13:15:20 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:17 MST