Hi Puchar,
I included the whole ICAP extension, since the original patch couldn't
patch
To STABLE 10, I thought it might be helpful for some.
Do you still think it is too match??
I used the following command to generate the patch:
diff -urNp squid-2.5.STABLE10 squid-icap-2.5.STABLE10 >
PURESIGHT_squid-icap-2.5.STABLE10.patch
Moshe.
-----Original Message-----
From: Wojciech Puchar [mailto:wojtek@tensor.3miasto.net]
Sent: Sunday, December 03, 2006 11:45 PM
To: Moshe Beeri
Cc: squid-dev@squid-cache.org
Subject: Re: ICAP Parental Control Extension, patch to 2.5 STABLE 10
how did you managed to make 4.4MB patch?
On Sun, 3 Dec 2006, Moshe Beeri wrote:
> Hi All,
>
>
>
> Patch file for squid 2.5 stable 10 is attached.
>
> This patch file should be patch using the following command in the
> squid-2.5-STABLE10 folder using the following command:
>
> Patch -p1 < PURESIGHT_squid-icap-2.5.STABLE10.patch
>
>
>
> I included a simple "squid.conf" file for example of use.
>
> I hope the patch will be usefull and that it will be used.
>
> I have left the build script I used to compile and test, PSMakefile,
you
> can run it as is, it will configure and make.
>
>
>
>
>
> The following features where added [All changes were made in the
> separate of squid dev team]:
>
>
>
> 1. Direct response to client in case the server permits at req_mod.
>
> 2. Client context information that will be passed to client at
resp_mod.
>
>
>
> Read the conf file, changes are explained at the bottom of the file.
>
>
>
>
>
>
>
> The main changes in squid are:
>
>
>
> file function name
> remarks
>
>
------------------------------------------------------------------------
>
------------------------------------------------------------------------
> ------------------------
>
> icap_reqmod.c icapReqModReadIcapPart
> icap_direct_response and icap_server_session_context extracting and
> handling
>
> icap_respmod.c icapRespModStart
> decides if to go direct, if not lets
> icap->respmod.icap_server_session_context to handle the context
>
> getICAPRespModString
> writes the context to ICAP resp mod request header.
>
> icap_common.c icapStateFree
> release (if needed) icap_server_session_context
>
>
>
> http.c look 4 icapRespModStart
when
> calling icapRespModStart it may have -2 in return, they it continues
> with a normal http flow.
>
> structs.h fde
store
> our information regarding each session
>
> _IcapStateData
store
> our information for ICAP resp_mod session
>
> _IcapConfig stop
> icap related configuration, should be coordinated with cf.data.pre
in
> case you like to add new.
>
> cf.data.pre icap_req_mod_direct_reply
> -
>
>
> icap_req_mod_direct_reply_resp_info_tag_name -
>
> icap_req_mod_direct_reply_values
> - all our added configuration.
>
> icap_session_context_tag_name
> -
>
>
>
> For any other Q's do not hesitate to email me.
>
> Moshe.beeri@gmail.com
>
>
>
>
>
> Moshe Beeri,
>
> Moshe.B@puresight.com
>
> Senior Software Engineer,
>
> Servers and Networking team leader.
>
> PureSight Technologies Ltd,
>
> http://www.puresight.com <http://www.puresight.com/>
>
> 16 Basel st.
> P.O.B. 4145
> Petah Tikva 49130
> ISRAEL
>
>
>
>
>
>
Received on Mon Dec 04 2006 - 02:19:34 MST
This archive was generated by hypermail pre-2.1.9 : Sat Dec 30 2006 - 12:00:04 MST