Search squid archive

Re: Error from icap during respmod

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2024-05-06 19:39, Arun Kumar wrote:
Are you aware of any compatible Python or Java based iCAP server implemenation?

I am not aware of any Python- or Java-based ICAP service that I can recommend. AFAIK, most folks looking for a free ICAP service (that resist the temptation to reinvent a rather complex wheel) use c-icap, but c-icap is written in C: https://c-icap.sourceforge.net/

Please note that if my triage is correct, then the issue here is not "compatibility" with Squid. It is a serious ICAP service bug or misconfiguration.


Good luck,

Alex.


We want to implement custom virus scanning of the response. I got the book /Squid: The Definitive Guide /and going over for more understanding. Saw your name mentioned by the author. I am very proud to work with great people like you.


On Thursday, May 2, 2024 at 04:18:45 PM EDT, Alex Rousskov <rousskov@xxxxxxxxxxxxxxxxxxxxxxx> wrote:


On 2024-04-29 13:06, Arun Kumar wrote:
 > Configured python based icap server (pyicap) and getting 500 Internal
 > Server error during respmod.

AFAICT, this ICAP RESPMOD service is buggy: It sends what looks like an
HTTP response body chunk after sending an ICAP 100 Continue control
message. Instead, it is supposed to send the final ICAP response headers
and HTTP response headers _before_ sending that HTTP response body chunk.


     00:50:54.989 ... ReadNow: conn33 ... size 65535, retval 25
     ICAP/1.0 100 Continue


     00:50:54.991 ReadNow: conn33 ... size 65535, retval 137
     83
     {"activity":...}


HTH,

Alex.


> https://drive.google.com/file/d/19yirXfxKli7NXon4ewiy-v3GpLvECT1i/view?usp=sharing <https://drive.google.com/file/d/19yirXfxKli7NXon4ewiy-v3GpLvECT1i/view?usp=sharing> <https://drive.google.com/file/d/19yirXfxKli7NXon4ewiy-v3GpLvECT1i/view?usp=sharing <https://drive.google.com/file/d/19yirXfxKli7NXon4ewiy-v3GpLvECT1i/view?usp=sharing>>
 >
 > Squid configuration:
 > icap_enable on
 > icap_send_client_ip on
 > icap_send_client_username on
 > icap_client_username_encode off
 > icap_client_username_header X-Authenticated-User
 > icap_preview_enable on
 > icap_preview_size 1024
 >
 > icap_service service_req reqmod_precache bypass=0
 > icap://127.0.0.1:13440/example
 > icap_service service_resp respmod_precache bypass=0
 > icap://127.0.0.1:13441/example

 >
 >
 >
 > _______________________________________________
 > squid-users mailing list
> squid-users@xxxxxxxxxxxxxxxxxxxxx <mailto:squid-users@xxxxxxxxxxxxxxxxxxxxx> > https://lists.squid-cache.org/listinfo/squid-users <https://lists.squid-cache.org/listinfo/squid-users>



_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux