Search squid archive

Re: Error from icap during respmod

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

 



Thank you very much for the response. Are you aware of any compatible Python or Java based iCAP server implemenation? 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>
>
> 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
> 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