Re: [squid-users] test ICAP server

2025-02-07 Thread Robin Wood
know there are other ways to do this, but this is more a curiosity project now, especially as it didn't work first time and there is a new protocol to learn. Robin On Fri, 7 Feb 2025, 21:12 Amos Jeffries, wrote: > On 8/02/25 04:35, Robin Wood wrote: > > Hi > > I wouldn't

Re: [squid-users] test ICAP server

2025-02-07 Thread Robin Wood
with some work, I've got it built, but it wasn't obvious what needed doing. I'll have a play, it won't be as flexible as I wanted, but I'll hopefully learn something, and that might help debug the other servers. Robin On Fri, 7 Feb 2025 at 14:56, Alex Rousskov wrote:

Re: [squid-users] test ICAP server

2025-02-07 Thread Robin Wood
200 OK Encapsulated: req-hdr=0, null-body=155 Host: 192.168.0.7:1344 Date: Fri, 07 Feb 2025 12:26:25 GMT Encapsulated: req-hdr=0, null-body=93 Allow: 204, trailers X-Modified-By: Go ICAP Server Squid then gives the same error as before, ERR_ICAP_FAILURE. Robin On Fri, 7 Feb 2025 at 10:15, Rob

[squid-users] test ICAP server

2025-02-07 Thread Robin Wood
Hi I want to write my own ICAP server, but all the sample code I've found is failing, the majority with this error from squidclient: squidclient -h 192.168.0.7 -p 1344 icap://192.168.0.7:1344/request_mod ICAP/1.0 400 Bad Request And this error when accessed through Squid itself: ICAP protocol er

Re: [squid-users] StoreID Question

2025-01-01 Thread Robin Wood
I've not got time to read your whole email, but you are asking about regular expressions. ^http:\/\/[^\.]+\.dl\.sourceforge\.net\/(.*) http://dl.sourceforge.net.squid.internal/$1 What this means is to match the first URL and "capture" the bit at the end, the bit in brackets. This then gets rewrit

Re: [squid-users] Thoughts on caching aspx jsp asp cgi-bin

2025-01-01 Thread Robin Wood
the main ones that cause issues. > Is it just for dynamic content? > > On Dec 31, 2024, at 14:47, Robin Wood wrote: > > I would say that it depends on what the dynamic content is. If it is > public content from a CMS and you are OK with it potentially being your > cache age out of

Re: [squid-users] Thoughts on caching aspx jsp asp cgi-bin

2024-12-31 Thread Robin Wood
I would say that it depends on what the dynamic content is. If it is public content from a CMS and you are OK with it potentially being your cache age out of date, then caching it rather than reloading it from the database every page load is fine. If the pages are for anything sensitive, for exampl

Re: [squid-users] Adding an extra header to TLS connection

2024-05-23 Thread Robin Wood
8:49, Alex Rousskov < > rouss...@measurement-factory.com> wrote: > > > > On 2024-05-22 03:49, Robin Wood wrote: > > > >> I'm trying to work out how to add an extra header to a TLS connection. > > > > I assume that you want to add a header field to an

[squid-users] Adding an extra header to TLS connection

2024-05-22 Thread Robin Wood
Hi I'm trying to work out how to add an extra header to a TLS connection. I've found information on how to do it on what I think is the pre-3.5 release, but I can't find any useful information on doing it on the current version. Could someone give me an example or point me at some documentation o