Nice work!

Is there any particular reason why you didn't work on Squid-2.6?

There's already an ICAP patch available for Squid-2.6 which could be
improved on.

Have you looked at Squid-3 at all?



Adrian

On Sun, Dec 03, 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.
> 
> [EMAIL PROTECTED]
> 
>  
> 
>  
> 
> Moshe Beeri,
> 
> [EMAIL PROTECTED]
> 
> 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
> 
>  
> 
>  
> 




-- 
- Xenion - http://www.xenion.com.au/ - Hosting and Commercial Squid Support -

Reply via email to